:root {
    --auth-bg: #071120;
    --auth-panel: rgba(10, 25, 47, .94);
    --auth-panel-soft: rgba(16, 35, 62, .76);
    --auth-border: rgba(148, 180, 224, .17);
    --auth-text: #eef6ff;
    --auth-muted: #91a6c2;
    --auth-primary: #39a7ff;
    --auth-primary-2: #6d5dfc;
    --auth-success: #47dfb1;
    --auth-warning: #ffbd5b;
    --auth-danger: #ff6b81;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.login-layout {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--auth-text);
    font-family: "Microsoft JhengHei", "Microsoft YaHei", "PingFang SC",
                 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(57, 167, 255, .21), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(109, 93, 252, .18), transparent 32%),
        linear-gradient(145deg, #06101e 0%, #0a172a 48%, #07111f 100%) !important;
    overflow-x: hidden;
}

body.login-layout::before,
body.login-layout::after {
    position: fixed;
    z-index: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    filter: blur(10px);
}

body.login-layout::before {
    top: -190px;
    right: -120px;
    border: 1px solid rgba(57, 167, 255, .13);
    box-shadow:
        0 0 0 46px rgba(57, 167, 255, .025),
        0 0 0 96px rgba(57, 167, 255, .018);
}

body.login-layout::after {
    bottom: -220px;
    left: -100px;
    border: 1px solid rgba(109, 93, 252, .12);
    box-shadow:
        0 0 0 55px rgba(109, 93, 252, .022),
        0 0 0 116px rgba(109, 93, 252, .014);
}

.auth-page {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 42px 24px;
}

.auth-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, .92fr) minmax(380px, 1.08fr);
    width: min(920px, 100%);
    min-height: 570px;
    overflow: hidden;
    border: 1px solid var(--auth-border);
    border-radius: 28px;
    background: var(--auth-panel);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, .42),
        0 0 0 1px rgba(255, 255, 255, .025) inset;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.auth-shell--register {
    grid-template-columns: minmax(320px, .78fr) minmax(500px, 1.22fr);
    width: min(1080px, 100%);
    min-height: 760px;
}

.auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 50px 46px 42px;
    overflow: hidden;
    border-right: 1px solid rgba(148, 180, 224, .12);
    background:
        linear-gradient(155deg, rgba(57, 167, 255, .13), rgba(109, 93, 252, .07)),
        rgba(8, 21, 39, .76);
}

.auth-brand::before {
    position: absolute;
    top: -92px;
    right: -98px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 167, 255, .22), transparent 66%);
    content: "";
}

.auth-brand::after {
    position: absolute;
    right: -110px;
    bottom: -130px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(109, 93, 252, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(109, 93, 252, .025);
    content: "";
}

.auth-brand-main,
.auth-brand-footnote {
    position: relative;
    z-index: 1;
}

.auth-brand-logo,
.auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-brand-logo {
    margin-bottom: 70px;
}

.auth-brand-mark {
    position: relative;
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--auth-primary), var(--auth-primary-2));
    box-shadow: 0 10px 30px rgba(57, 167, 255, .28);
    place-items: center;
}

.auth-brand-mark::after {
    position: absolute;
    top: -50%;
    left: -70%;
    width: 70%;
    height: 200%;
    background: rgba(255, 255, 255, .24);
    content: "";
    transform: rotate(28deg);
}

.auth-brand-name {
    min-width: 0;
}

.auth-brand-name strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-brand-name span {
    display: block;
    margin-top: 4px;
    color: var(--auth-muted);
    font-size: 12px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.auth-brand-copy h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.auth-brand-copy h1 span {
    display: block;
    margin-top: 6px;
    color: transparent;
    background: linear-gradient(90deg, #6bc8ff, #8a7cff);
    -webkit-background-clip: text;
    background-clip: text;
}

.auth-brand-copy p {
    max-width: 310px;
    margin: 0;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.8;
}

.auth-brand-points {
    display: grid;
    gap: 12px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.auth-brand-points li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #bed0e6;
    font-size: 14px;
}

.auth-brand-points i {
    display: grid;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    color: var(--auth-success);
    font-size: 12px;
    border: 1px solid rgba(71, 223, 177, .2);
    border-radius: 9px;
    background: rgba(71, 223, 177, .08);
    place-items: center;
}

.auth-brand-footnote {
    margin-top: 34px;
    color: #627791;
    font-size: 12px;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 50px 58px;
    background: rgba(10, 24, 44, .72);
}

.auth-shell--register .auth-form-panel {
    align-items: flex-start;
    padding: 42px 56px;
}

.auth-form-wrap {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.auth-shell--register .auth-form-wrap {
    max-width: 560px;
}

.auth-mobile-brand {
    display: none;
    margin-bottom: 34px;
}

.auth-heading {
    margin-bottom: 27px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: #6bc8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.auth-kicker::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auth-success);
    box-shadow: 0 0 0 5px rgba(71, 223, 177, .09);
    content: "";
}

.auth-heading h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.auth-heading p,
.auth-intro {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-intro {
    margin: -11px 0 23px;
    padding: 13px 15px;
    border: 1px solid rgba(57, 167, 255, .13);
    border-radius: 12px;
    background: rgba(57, 167, 255, .055);
}

.auth-validation,
.auth-status {
    margin: 0 0 18px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 12px;
}

.auth-validation {
    color: #ffd8df;
    border: 1px solid rgba(255, 107, 129, .24);
    background: rgba(255, 107, 129, .09);
}

.auth-status {
    color: #c8ffed;
    border: 1px solid rgba(71, 223, 177, .24);
    background: rgba(71, 223, 177, .09);
}

.auth-validation .alert,
.auth-validation > div,
.auth-validation ul {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: inherit;
    border: 0;
    background: transparent;
}

.auth-validation ul {
    padding-left: 19px;
}

.auth-field {
    margin-bottom: 17px;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    color: #b8cae0;
    font-size: 13px;
    font-weight: 700;
}

.auth-input,
.auth-select {
    position: relative;
    display: block;
}

.auth-input > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 17px;
    width: 18px;
    color: #6f86a3;
    font-size: 16px;
    text-align: center;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color .2s ease;
}

.auth-input .form-control,
.auth-select .form-control {
    width: 100%;
    height: 50px;
    color: #eef6ff;
    font-size: 14px;
    border: 1px solid rgba(148, 180, 224, .19);
    border-radius: 13px !important;
    outline: none;
    background-color: rgba(5, 17, 33, .66);
    box-shadow: none !important;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.auth-input .form-control {
    padding: 0 17px 0 49px;
}

.auth-select .form-control {
    padding: 0 45px 0 16px;
    appearance: none;
    -webkit-appearance: none;
}

.auth-select .form-control option {
    color: #e7f2ff;
    background: #0b1c33;
}

.auth-select::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6f86a3;
    border-bottom: 2px solid #6f86a3;
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.auth-input .form-control::placeholder {
    color: #61758e;
    opacity: 1;
}

.auth-input .form-control:hover,
.auth-select .form-control:hover {
    border-color: rgba(107, 200, 255, .34);
    background-color: rgba(7, 21, 40, .78);
}

.auth-input .form-control:focus,
.auth-select .form-control:focus {
    border-color: rgba(57, 167, 255, .75);
    background-color: rgba(7, 21, 40, .94);
    box-shadow: 0 0 0 4px rgba(57, 167, 255, .1) !important;
}

.auth-input:focus-within > i {
    color: var(--auth-primary);
}

.auth-input .form-control[readonly] {
    color: #9eb3cc;
    border-style: dashed;
    background-color: rgba(8, 21, 39, .52);
    cursor: default;
}

.auth-input .form-control:-webkit-autofill,
.auth-input .form-control:-webkit-autofill:hover,
.auth-input .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #eef6ff;
    caret-color: #eef6ff;
    border-color: rgba(57, 167, 255, .5);
    box-shadow: 0 0 0 1000px #091b31 inset !important;
    transition: background-color 9999s ease-out 0s;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 19px;
    padding: 5px;
    border: 1px solid rgba(148, 180, 224, .15);
    border-radius: 14px;
    background: rgba(5, 17, 33, .5);
}

.auth-role-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 41px;
    margin: 0;
    color: #8298b3;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
}

.auth-role-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-role-option:hover {
    color: #d8e8f8;
    background: rgba(57, 167, 255, .06);
}

.auth-role-option.is-active {
    color: #fff;
    border-color: rgba(107, 200, 255, .2);
    background: linear-gradient(105deg, rgba(57, 167, 255, .88), rgba(109, 93, 252, .88));
    box-shadow: 0 8px 20px rgba(57, 167, 255, .17);
}

.auth-strength {
    display: none;
    margin-top: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
}

.auth-strength.is-weak {
    display: block;
    color: #ff9aaa;
    background: rgba(255, 107, 129, .08);
}

.auth-strength.is-medium {
    display: block;
    color: #ffd28a;
    background: rgba(255, 189, 91, .08);
}

.auth-strength.is-strong {
    display: block;
    color: #8ef1d1;
    background: rgba(71, 223, 177, .08);
}

.auth-captcha {
    width: 100%;
    margin: 7px 0 17px;
    overflow-x: auto;
    overflow-y: hidden;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 3px 0 20px;
    color: #a9bdd4;
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
    cursor: pointer;
    user-select: none;
}

.auth-check > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-check-ui {
    position: relative;
    display: inline-block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    border: 1px solid rgba(148, 180, 224, .34);
    border-radius: 6px;
    background: rgba(5, 17, 33, .65);
    transition: all .2s ease;
}

.auth-check > input:checked + .auth-check-ui {
    border-color: transparent;
    background: linear-gradient(145deg, var(--auth-primary), var(--auth-primary-2));
    box-shadow: 0 5px 14px rgba(57, 167, 255, .18);
}

.auth-check > input:checked + .auth-check-ui::after {
    position: absolute;
    top: 3px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.auth-link {
    color: #75c8ff;
    text-decoration: none;
    transition: color .2s ease;
}

.auth-link:hover,
.auth-link:focus {
    color: #a7dcff;
    text-decoration: none;
}

.auth-actions {
    display: grid;
    grid-template-columns: minmax(110px, .34fr) minmax(180px, .66fr);
    gap: 12px;
}

.auth-actions--single {
    display: block;
}

.auth-btn,
.auth-btn.btn,
.auth-btn.btn-primary,
.auth-btn.btn-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 20px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.3px;
    border: 0 !important;
    border-radius: 13px !important;
    outline: none;
    background: linear-gradient(105deg, var(--auth-primary), var(--auth-primary-2)) !important;
    box-shadow: 0 13px 30px rgba(57, 167, 255, .22) !important;
    text-shadow: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.auth-btn:hover,
.auth-btn:focus {
    color: #fff !important;
    background: linear-gradient(105deg, #50b2ff, #7a6aff) !important;
    box-shadow: 0 17px 36px rgba(57, 167, 255, .3) !important;
    transform: translateY(-1px);
}

.auth-btn--secondary,
.auth-btn--secondary.btn {
    color: #b5c8de !important;
    border: 1px solid rgba(148, 180, 224, .2) !important;
    background: rgba(17, 37, 63, .74) !important;
    box-shadow: none !important;
}

.auth-btn--secondary:hover,
.auth-btn--secondary:focus {
    color: #fff !important;
    border-color: rgba(107, 200, 255, .34) !important;
    background: rgba(25, 51, 82, .9) !important;
    box-shadow: none !important;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 25px 0 18px;
    color: #60758e;
    font-size: 12px;
    white-space: nowrap;
}

.auth-divider::before,
.auth-divider::after {
    width: 100%;
    height: 1px;
    background: rgba(148, 180, 224, .13);
    content: "";
}

.auth-footer {
    margin: 0;
    color: #8298b3;
    font-size: 13px;
    text-align: center;
}

.auth-footer .auth-link {
    margin-left: 5px;
    font-weight: 700;
}

.auth-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 19px;
    border-top: 1px solid rgba(148, 180, 224, .11);
}

.auth-footer-links .auth-link {
    font-size: 13px;
    font-weight: 700;
}
.sf-layer-msg .layui-layer-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px !important;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

.sf-msg-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ef6b6b;
    background: #fff1f2;
}

.sf-msg-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
/* Layer：msg / alert / confirm / open / loading 统一深色皮肤 */
body.login-layout .layui-layer-shade {
    background: #020812 !important;
    opacity: .68 !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

body.login-layout .layui-layer {
    overflow: hidden;
    color: var(--auth-text);
    border: 1px solid rgba(107, 200, 255, .2) !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(57, 167, 255, .12), transparent 38%),
        linear-gradient(145deg, rgba(12, 29, 52, .98), rgba(7, 18, 35, .98)) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .52),
        0 0 0 1px rgba(255, 255, 255, .025) inset !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.login-layout .layui-layer-title {
    height: 54px;
    padding: 0 58px 0 21px;
    overflow: hidden;
    color: #eef6ff;
    font-size: 15px;
    font-weight: 800;
    line-height: 54px;
    border: 0;
    border-bottom: 1px solid rgba(148, 180, 224, .13);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, rgba(57, 167, 255, .1), rgba(109, 93, 252, .06));
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.login-layout .layui-layer-title::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--auth-success);
    box-shadow: 0 0 0 5px rgba(71, 223, 177, .09);
    content: "";
    vertical-align: 1px;
}

body.login-layout .layui-layer-content {
    color: #d7e5f5;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.75;
}

body.login-layout .layui-layer-dialog {
    min-width: 300px;
    max-width: min(430px, calc(100vw - 30px));
}

body.login-layout .layui-layer-dialog .layui-layer-content {
    padding: 25px 26px 22px;
    overflow-wrap: anywhere;
}

body.login-layout .layui-layer-dialog .layui-layer-padding {
    min-height: 76px;
    padding: 25px 26px 25px 70px !important;
}

body.login-layout .layui-layer-dialog .layui-layer-content .layui-layer-ico {
    top: 50%;
    left: 24px;
    margin-top: 0;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .28));
    transform: translateY(-50%);
}

body.login-layout .layui-layer-msg,
body.login-layout .layui-layer-hui {
    width: auto !important;
    min-width: 270px;
    max-width: min(430px, calc(100vw - 30px));
    border-radius: 15px !important;
    background:
        linear-gradient(110deg, rgba(57, 167, 255, .13), rgba(109, 93, 252, .08)),
        rgba(7, 19, 37, .97) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .44) !important;
}

body.login-layout .layui-layer-msg .layui-layer-content,
body.login-layout .layui-layer-hui .layui-layer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 15px 23px !important;
    color: #eef6ff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

body.login-layout .layui-layer-msg .layui-layer-padding {
    justify-content: flex-start;
    min-height: 64px;
    padding-left: 62px !important;
    text-align: left;
}

body.login-layout .layui-layer-msg .layui-layer-content .layui-layer-ico {
    top: 50% !important;
    left: 20px !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
}

body.login-layout .layui-layer-btn {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 17px 20px 20px !important;
    border-top: 1px solid rgba(148, 180, 224, .11);
    background: rgba(4, 14, 28, .22);
}

body.login-layout .layui-layer-btn a {
    height: 40px;
    margin: 0 !important;
    padding: 0 20px;
    color: #afc2d8;
    font-size: 13px;
    font-weight: 800;
    line-height: 40px;
    border: 1px solid rgba(148, 180, 224, .18);
    border-radius: 11px;
    background: rgba(20, 41, 68, .72);
}

body.login-layout .layui-layer-btn .layui-layer-btn0 {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(105deg, var(--auth-primary), var(--auth-primary-2));
    box-shadow: 0 10px 24px rgba(57, 167, 255, .2);
}

body.login-layout .layui-layer-setwin {
    top: 17px;
    right: 17px;
}

body.login-layout .layui-layer-setwin .layui-layer-close1,
body.login-layout .layui-layer-setwin .layui-layer-close2 {
    position: relative;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    margin: -4px 0 0;
    border-radius: 9px;
    background: rgba(148, 180, 224, .08) !important;
}

body.login-layout .layui-layer-setwin .layui-layer-close1::before,
body.login-layout .layui-layer-setwin .layui-layer-close1::after,
body.login-layout .layui-layer-setwin .layui-layer-close2::before,
body.login-layout .layui-layer-setwin .layui-layer-close2::after {
    position: absolute;
    top: 7px;
    left: 13px;
    width: 2px;
    height: 14px;
    border-radius: 2px;
    background: #8fa5bf;
    content: "";
}

body.login-layout .layui-layer-setwin .layui-layer-close1::before,
body.login-layout .layui-layer-setwin .layui-layer-close2::before {
    transform: rotate(45deg);
}

body.login-layout .layui-layer-setwin .layui-layer-close1::after,
body.login-layout .layui-layer-setwin .layui-layer-close2::after {
    transform: rotate(-45deg);
}

body.login-layout .layui-layer-loading {
    min-width: 0;
    overflow: visible;
    border-radius: 16px !important;
    background: rgba(7, 19, 37, .94) !important;
}

body.login-layout .layui-layer-loading .layui-layer-content {
    position: relative;
    width: 86px !important;
    height: 82px !important;
    padding: 0 !important;
    background: none !important;
}

body.login-layout .layui-layer-loading .layui-layer-content::before {
    position: absolute;
    top: 17px;
    left: 27px;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(107, 200, 255, .16);
    border-top-color: var(--auth-primary);
    border-right-color: var(--auth-primary-2);
    border-radius: 50%;
    content: "";
    animation: auth-layer-spin .75s linear infinite;
}

body.login-layout .layui-layer-loading .layui-layer-content::after {
    position: absolute;
    right: 0;
    bottom: 9px;
    left: 0;
    color: #8fa6c1;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    content: "加载中";
}

@keyframes auth-layer-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 860px) {
    .auth-page {
        padding: 28px 18px;
    }

    .auth-shell,
    .auth-shell--register {
        display: block;
        width: min(560px, 100%);
        min-height: 0;
        border-radius: 23px;
    }

    .auth-brand {
        display: none;
    }

    .auth-form-panel,
    .auth-shell--register .auth-form-panel {
        padding: 38px 34px 36px;
    }

    .auth-mobile-brand {
        display: flex;
    }

    .auth-mobile-brand .auth-brand-mark {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 19px;
        border-radius: 13px;
    }

    .auth-mobile-brand .auth-brand-name strong {
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .auth-page {
        align-items: flex-start;
        padding: 14px 10px;
    }

    .auth-shell,
    .auth-shell--register {
        border-radius: 19px;
    }

    .auth-form-panel,
    .auth-shell--register .auth-form-panel {
        padding: 29px 22px 27px;
    }

    .auth-mobile-brand {
        margin-bottom: 29px;
    }

    .auth-heading {
        margin-bottom: 24px;
    }

    .auth-heading h2 {
        font-size: 26px;
    }

    .auth-grid {
        display: block;
    }

    .auth-actions {
        grid-template-columns: 1fr;
    }

    .auth-actions .auth-btn--secondary {
        order: 2;
    }

    .auth-footer-links {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    body.login-layout .layui-layer-dialog:not(.layui-layer-msg) {
        right: 14px !important;
        left: 14px !important;
        width: auto !important;
        min-width: 0;
        max-width: none;
    }

    body.login-layout .layui-layer-msg,
    body.login-layout .layui-layer-hui {
        min-width: 0;
        max-width: calc(100vw - 28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
