html, body {
    height: 100%;
    margin: 0;
}
body.auth-page {
    min-height: 100%;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: #1e3a5f;
    background: #0b3f86;
}
.auth-sky {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(900px 420px at 50% 108%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 62%),
        linear-gradient(180deg, #071e4a 0%, #0c3d86 22%, #1f6eb8 52%, #5aa0dc 78%, #b9ddf6 100%);
    pointer-events: none;
}
.auth-sky.has-photo {
    background: var(--login-bg) center center / cover no-repeat;
    opacity: 0;
    transition: opacity .8s ease;
}
.auth-sky.has-photo.is-on {
    opacity: 1;
}
.auth-stars,
.auth-stars::before,
.auth-stars::after {
    position: fixed;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}
.auth-stars {
    top: 0;
    left: 0;
    box-shadow:
        48px 36px rgba(255,255,255,.9),
        126px 88px rgba(255,255,255,.55),
        210px 42px rgba(255,255,255,.8),
        286px 120px rgba(255,255,255,.45),
        364px 64px rgba(255,255,255,.75),
        452px 28px rgba(255,255,255,.6),
        538px 96px rgba(255,255,255,.85),
        620px 46px rgba(255,255,255,.4),
        708px 132px rgba(255,255,255,.7),
        796px 58px rgba(255,255,255,.55),
        882px 18px rgba(255,255,255,.9),
        968px 104px rgba(255,255,255,.5),
        1044px 40px rgba(255,255,255,.75),
        1140px 86px rgba(255,255,255,.45),
        92px 168px rgba(255,255,255,.5),
        184px 214px rgba(255,255,255,.35),
        302px 186px rgba(255,255,255,.65),
        418px 236px rgba(255,255,255,.3),
        560px 176px rgba(255,255,255,.55),
        674px 228px rgba(255,255,255,.4),
        790px 164px rgba(255,255,255,.7),
        906px 210px rgba(255,255,255,.35),
        1028px 154px rgba(255,255,255,.6),
        1188px 198px rgba(255,255,255,.45);
}
.auth-stars::before {
    content: "";
    box-shadow:
        30px 70px 0 1px rgba(255,255,255,.35),
        160px 24px 0 0 rgba(255,255,255,.8),
        248px 150px 0 1px rgba(255,255,255,.25),
        390px 18px 0 0 rgba(255,255,255,.55),
        510px 140px 0 1px rgba(255,255,255,.3),
        640px 72px 0 0 rgba(255,255,255,.65),
        760px 190px 0 1px rgba(255,255,255,.22),
        860px 84px 0 0 rgba(255,255,255,.5),
        990px 26px 0 1px rgba(255,255,255,.28),
        1110px 150px 0 0 rgba(255,255,255,.6),
        70px 250px rgba(255,255,255,.25),
        220px 280px rgba(255,255,255,.2),
        480px 300px rgba(255,255,255,.18),
        720px 270px rgba(255,255,255,.22),
        960px 310px rgba(255,255,255,.16);
}
.auth-stars::after {
    content: "";
    box-shadow:
        18px 12px rgba(255,255,255,.4),
        140px 130px rgba(255,255,255,.3),
        330px 90px rgba(255,255,255,.45),
        470px 48px rgba(255,255,255,.25),
        600px 160px rgba(255,255,255,.35),
        830px 110px rgba(255,255,255,.28),
        1080px 70px rgba(255,255,255,.4),
        120px 320px rgba(255,255,255,.12),
        400px 340px rgba(255,255,255,.1),
        860px 330px rgba(255,255,255,.12);
}
.auth-wrap {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 36px 8% 28px 16px;
}
.auth-card {
    width: 420px;
    max-width: 94%;
    background: rgba(255, 255, 255, .25);
    color: #24384d;
    border-radius: 10px;
    padding: 36px 34px 26px;
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 16px 48px rgba(6, 32, 72, .18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.auth-title {
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a3d66;
}
.auth-card .sub {
    margin: 10px 0 26px;
    text-align: center;
    color: #7d93a8;
    font-size: 14px;
    letter-spacing: .5px;
}
#panel-login > .sub {
    color: #000;
}
.auth-card h3 {
    margin: 0;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a3d66;
}
.auth-card .form-control {
    height: 46px;
    border-radius: 4px;
    border: 1px solid #e3ebf3;
    background: #fff;
    box-shadow: none;
    color: #24384d;
    font-size: 14px;
    padding: 8px 14px;
}
.auth-card .form-control::-webkit-input-placeholder { color: #b0bec9; }
.auth-card .form-control::-moz-placeholder { color: #b0bec9; }
.auth-card .form-control:-ms-input-placeholder { color: #b0bec9; }
.auth-card .form-control::placeholder { color: #b0bec9; }
.auth-card .form-control:focus {
    border-color: #7eb0dc;
    box-shadow: 0 0 0 3px rgba(47, 127, 200, .12);
}
.auth-card .form-group {
    margin-bottom: 14px;
}
.pwd-field {
    position: relative;
}
.pwd-field .form-control {
    padding-right: 42px;
}
.pwd-toggle {
    position: absolute;
    right: 6px;
    top: 0;
    height: 46px;
    width: 36px;
    border: 0;
    background: transparent;
    color: #8aa0b4;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
}
.pwd-toggle:hover,
.pwd-toggle:focus {
    color: #2f7fc8;
    outline: none;
}
.captcha-field {
    display: flex;
    align-items: center;
    gap: 10px;
}
.captcha-field .form-control {
    flex: 1;
    min-width: 0;
}
.login-captcha {
    height: 46px;
    width: 120px;
    flex: 0 0 120px;
    border: 1px solid #e3ebf3;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
.lock-hint {
    margin: -2px 0 14px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #1a3d66;
}
.btn-verify {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e3ebf3;
    border-radius: 4px;
    color: #2c3e50;
    font-size: 15px;
    cursor: pointer;
}
.btn-verify:hover,
.btn-verify:focus {
    border-color: #c5d7e8;
    outline: none;
}
.btn-verify .verify-ico {
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: #2b2f33;
}
.btn-verify.is-passed {
    color: #1c9a55;
    border-color: #c6ead4;
    background: #f7fffa;
    cursor: default;
}
.btn-verify.is-passed .verify-ico {
    color: #1c9a55;
}
.btn-verify.is-busy {
    color: #7d93a8;
    cursor: wait;
}
.btn-auth {
    height: 46px;
    line-height: 46px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #3b92db;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 6px;
    width: 100%;
    margin-top: 14px;
    box-shadow: none;
}
.btn-auth:hover,
.btn-auth:focus {
    background: #2f82cb;
    color: #fff;
}
.btn-auth:disabled,
.btn-auth[disabled] {
    background: #c5d0dc;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}
.btn-auth:disabled:hover,
.btn-auth[disabled]:hover,
.btn-auth:disabled:focus,
.btn-auth[disabled]:focus {
    background: #c5d0dc;
    color: #fff;
}
.auth-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.auth-actions .btn-auth {
    flex: 1;
    width: auto;
    margin-top: 0;
    text-align: center;
    text-decoration: none;
}
.auth-extra {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: #667a90;
}
.auth-extra a {
    color: #2f7fc8;
    text-decoration: none;
}
.auth-extra a:hover {
    color: #1f64a6;
}
body.reg-page {
    min-height: 100%;
    margin: 0;
    color: #1c2b3a;
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    background:
        radial-gradient(900px 420px at 80% -10%, rgba(47, 127, 200, .16), transparent 60%),
        linear-gradient(180deg, #e7eef5 0%, #f4f7fa 48%, #eef2f6 100%);
}
.reg-page a {
    color: #1c2b3a;
    text-decoration: none;
}
.reg-page a:hover {
    color: #1d6fbf;
}
.reg-shell {
    max-width: calc(1080px + 6em);
    margin: 0 auto;
    padding: 28px 24px 40px;
}
.reg-back {
    text-align: right;
    margin-bottom: 14px;
}
.reg-back a {
    color: #5d6e80;
    font-size: 13px;
}
.reg-back a:hover {
    color: #1d6fbf;
}
.reg-board {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(22, 48, 80, .08);
}
.reg-form-panel {
    flex: 1.15 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 48px 42px 48px calc(42px - 2em);
    background: #fff;
}
.reg-form-panel form {
    width: 100%;
}
.reg-form-head {
    margin: 0 0 28px 210px;
}
.reg-form-head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #16324f;
}
.reg-form-head p {
    margin: 8px 0 0;
    color: #7b8b9c;
    font-size: 13px;
}
.reg-side {
    position: relative;
    flex: 0 0 calc(45.24% + 6em);
    min-width: 0;
    max-width: none;
    padding: 42px 36px 32px 40px;
    background:
        radial-gradient(280px 160px at 100% 0%, rgba(255, 168, 92, .28), transparent 70%),
        radial-gradient(320px 220px at 0% 100%, rgba(47, 137, 214, .2), transparent 72%),
        linear-gradient(165deg, #e7f3fc 0%, #f7fbff 42%, #fff4ee 100%);
    border-left: none;
    box-shadow: inset 4px 0 0 #2f89d6;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-weight: 700;
}
.reg-line {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}
.reg-name {
    width: 210px;
    flex: 0 0 210px;
    text-align: right;
    padding-right: 14px;
    color: #3e5164;
    font-size: 14px;
    line-height: 42px;
}
.reg-name em {
    color: #d64545;
    font-style: normal;
    margin-right: 3px;
}
.reg-control {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reg-control .form-control {
    height: 42px;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    box-shadow: none;
    background: #fbfcfd;
    color: #1c2b3a;
    font-size: 14px;
    padding: 8px 12px;
}
.reg-control .form-control:focus {
    border-color: #7eb6e4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(29, 111, 191, .12);
}
.reg-code-input {
    max-width: none;
}
.reg-addr .form-control {
    flex: 1;
    min-width: 0;
}
.reg-addr-combo {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
}
.reg-addr-combo .form-control {
    width: 100%;
    flex: 1;
    min-width: 0;
}
.reg-addr-panel {
    position: absolute;
    z-index: 40;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    background: #fff;
    border: 1px solid #cfe0ef;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(28, 55, 90, .12);
}
.reg-addr-option,
.reg-addr-empty {
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #314556;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reg-addr-empty {
    color: #8a9aab;
    cursor: default;
}
.reg-addr-option:hover,
.reg-addr-option.is-active {
    background: #eef6fc;
    color: #1d6fbf;
}
.reg-line-check {
    align-items: flex-start;
}
.reg-line-check .reg-name {
    line-height: 32px;
}
.reg-checks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    min-height: 32px;
}
.reg-checks label {
    margin: 0;
    font-weight: 400;
    color: #314556;
    font-size: 14px;
    cursor: pointer;
}
.reg-checks input {
    margin: 0 4px 0 0;
    vertical-align: -2px;
}
.reg-upstream .reg-checks-sub {
    padding: 8px 12px;
    background: #f4f8fc;
    border: 1px solid #e3edf6;
    border-radius: 8px;
}
.reg-captcha {
    height: 42px;
    width: 112px;
    flex: 0 0 112px;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    background: #f4f8fc;
    cursor: pointer;
    object-fit: cover;
}
.reg-go {
    margin: 16px 0 0;
    padding-left: 2em;
    text-align: center;
}
.reg-go button {
    width: 280px;
    max-width: 86%;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: #1d6fbf;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
}
.reg-go button:hover,
.reg-go button:focus {
    background: #185fa6;
    outline: none;
}
.reg-brand {
    margin: 0;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #145a9e;
}
.reg-slogan {
    margin: 10px 0 0;
    text-align: center;
    color: #3d7eb8;
    font-size: 14px;
    font-weight: 700;
}
.reg-words {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    max-width: 280px;
    margin: 22px auto 6px;
    padding: 12px 8px;
    text-align: center;
    color: #d23b3b;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, rgba(47, 137, 214, .1), rgba(226, 91, 91, .12));
    border-radius: 10px;
}
.reg-side h3 {
    margin: 22px 0 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(47, 137, 214, .22);
    color: #d3542c;
    font-size: 16px;
    font-weight: 700;
}
.reg-side ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.reg-side li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 16px;
    color: #314556;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}
.reg-side li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2f89d6;
}
.reg-side h3 + ul li::before {
    background: #e07a3d;
}
.reg-foot {
    margin-top: 18px;
    text-align: center;
    color: #8a9aab;
    font-size: 12px;
}
.reg-foot a {
    color: #8a9aab;
}
body.is-reg-page {
    background: #fff;
}
body.is-reg-page .auth-sky,
body.is-reg-page .auth-stars {
    display: none;
}
body.is-reg-page .auth-footer,
body.is-reg-page .auth-footer a {
    color: #8a9aab;
}
.auth-wrap.is-register {
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
}
.auth-card.is-register {
    width: 720px;
    max-width: 96%;
    background: #fff;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 28px 28px 22px;
}
.auth-card.is-register .sub {
    margin: 8px 0 22px;
    color: #8a9aab;
}
.reg-row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.reg-label {
    width: 196px;
    flex: 0 0 196px;
    text-align: right;
    padding-right: 12px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
}
.reg-label em {
    color: #ff0000;
    font-style: normal;
    margin-right: 2px;
}
.reg-field {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 8px;
}
.reg-field > .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.auth-card.is-register .form-control {
    height: 34px;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    padding: 6px 10px;
}
.auth-card.is-register .form-control:focus {
    border-color: #69c0e8;
    box-shadow: none;
}
.reg-addr {
    gap: 12px;
}
.reg-addr > .form-control,
.reg-addr > .reg-addr-combo {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
}
.reg-captcha-field > .form-control {
    flex: 0 1 220px;
    width: 220px;
    max-width: 220px;
}
.reg-captcha-field .reg-captcha {
    height: 34px;
    width: 118px;
    flex: 0 0 118px;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    background: #eef5fb;
    cursor: pointer;
    object-fit: cover;
}
.reg-submit {
    margin: 16px 0 4px 196px;
    text-align: left;
}
.btn-reg {
    width: 180px;
    height: 42px;
    border: none;
    border-radius: 4px;
    background: #49c7ea;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
}
.btn-reg:hover,
.btn-reg:focus {
    background: #2eb8e0;
    color: #fff;
    outline: none;
}
.auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,.82);
}
.auth-footer a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}
@media (max-width: 768px) {
    .auth-wrap {
        align-items: center;
        padding: 36px 16px 28px;
    }
    .auth-title,
    .auth-card h3 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .auth-card {
        padding: 28px 18px 20px;
    }
    .auth-card .sub {
        font-size: 13px;
    }
    .reg-board {
        flex-direction: column;
        border-radius: 12px;
    }
    .reg-form-panel {
        padding: 28px 18px 24px;
    }
    .reg-form-head {
        margin-left: 0;
    }
    .reg-side {
        flex: none;
        min-width: 0;
        width: auto;
        border-left: none;
        border-top: none;
        box-shadow: inset 0 4px 0 #2f89d6;
        padding: 28px 18px 20px;
    }
    .reg-line {
        flex-direction: column;
        align-items: stretch;
    }
    .reg-name {
        width: auto;
        flex: none;
        text-align: left;
        padding: 0 0 6px;
        line-height: 1.4;
    }
    .reg-go {
        margin-left: 0;
        padding-left: 0;
    }
    .reg-go button {
        width: 100%;
        max-width: 100%;
    }
    .auth-card.is-register {
        padding: 22px 16px 16px;
    }
    .reg-row {
        flex-direction: column;
        align-items: stretch;
    }
    .reg-label {
        width: auto;
        flex: none;
        text-align: left;
        padding: 0 0 6px;
        line-height: 1.4;
    }
    .reg-submit {
        margin-left: 0;
    }
    .reg-captcha-field > .form-control {
        width: auto;
        max-width: none;
        flex: 1 1 auto;
    }
}
.reg-ok {
    padding: 2px 6px 0;
    color: #24364a;
    line-height: 1.7;
}
.reg-ok-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #18a058;
    line-height: 1.65;
}
.reg-ok-mark {
    margin-right: 4px;
    font-weight: 800;
    color: #18a058;
}
.reg-ok-gift {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-weight: 400;
    color: #143a5c;
}
.reg-ok-code-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 0 0 14px;
}
.reg-ok-label {
    color: #143a5c;
    font-size: 15px;
    font-weight: 650;
    white-space: nowrap;
}
.reg-ok-pair {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.reg-ok-code {
    color: #1d6fbf;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}
.reg-ok-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    height: 28px;
    border: 1px solid #1d6fbf;
    border-radius: 6px;
    background: #f3f8fd;
    color: #1d6fbf;
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
}
.reg-ok-copy:hover,
.reg-ok-copy:focus {
    background: #1d6fbf;
    color: #fff;
    outline: none;
}
.reg-ok-tip {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #fff8ee;
    border: 1px solid #f3ddb0;
    border-radius: 8px;
    color: #8a5a12;
    font-size: 14px;
    line-height: 1.6;
}
.reg-ok-desc {
    margin: 0;
    color: #4b5d70;
    font-size: 14px;
    line-height: 1.7;
}
