* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --panel: #ffffff;
    --bg: #e8ecf2;
    --brand: #4c1d95;
    --brand-deep: #3b0764;
    --brand-soft: rgba(76, 29, 149, 0.08);
    --field-h: 44px;
}

html, body {
    height: 100%;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
}

a { text-decoration: none; }
ul li { list-style: none; }
img, input, button { border: 0; outline: none; }

.dl_bg {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: #e8ecf2;
}

.dl_bg > form {
    width: min(860px, 100%);
    margin: 0;
}

.dl_atmosphere,
.dl_glow,
.dl_swoosh,
.dl_carline {
    display: none;
}

.dl_shell {
    width: 100%;
    display: grid;
    grid-template-columns: 46% 54%;
    background: var(--panel);
    border: 1px solid #dde2ea;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    height: min(560px, calc(100vh - 48px));
    height: min(560px, calc(100dvh - 48px));
}

.dl_brand {
    position: relative;
    margin: 0;
    padding: 0;
    background: #0b0618;
    overflow: hidden;
    border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.dl_brand img,
.dl_brand .dl_brand_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 42%;
}

.dl_eyebrow,
.dl_brand h1,
.dl_sub,
.dl_meta {
    display: none;
}

.dl_formwrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 48px;
    height: 100%;
    min-height: 0;
}

.dl_form_body {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.dl_form_title {
    margin-bottom: 28px;
}

.dl_form_title h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.dl_form_title p {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.dl_main {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.dl_type {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.dl_type li {
    flex: 0 0 auto;
    text-align: center;
    padding: 8px 14px 12px;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.dl_type li:hover {
    color: var(--ink);
}

.dl_type li.sel {
    color: var(--brand);
    font-weight: 600;
    border-bottom-color: var(--brand);
    background: transparent;
    box-shadow: none;
}

.dl_type li.sel::after {
    display: none;
}

.dl_ul {
    min-height: 0;
}

.dl_ul li {
    margin-bottom: 16px;
}

.dl_ul li:last-child {
    margin-bottom: 0;
    margin-top: 8px;
}

.dl_ul .txt {
    display: block;
    width: 100%;
    height: var(--field-h);
    line-height: calc(var(--field-h) - 2px);
    padding: 0 14px 0 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink);
    outline: none;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dl_ul .txt:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
    background-color: #fff;
}

.txt::-webkit-input-placeholder { color: #9ca3af; }
.txt::placeholder { color: #9ca3af; }

.dl_ul .txt_hao {
    background-image: url(/denglu/images/t1.png);
    background-repeat: no-repeat;
    background-position: 13px center;
    background-size: 17px;
}

.dl_ul .txt_pwd {
    background-image: url(/denglu/images/t2.png);
    background-repeat: no-repeat;
    background-position: 13px center;
    background-size: 17px;
}

.dl_ul .li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--muted);
}

.lb_dl {
    cursor: pointer;
    user-select: none;
}

.lb_dl input {
    margin-right: 6px;
    accent-color: var(--brand);
    vertical-align: -2px;
}

.li_yzm {
    display: flex;
    gap: 10px;
    align-items: center;
}

.li_yzm .txt {
    flex: 1;
    min-width: 0;
}

.btn_yzm {
    box-sizing: border-box !important;
    width: 116px !important;
    height: var(--field-h) !important;
    line-height: calc(var(--field-h) - 2px) !important;
    flex-shrink: 0;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
    padding: 0 8px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid var(--brand) !important;
    color: var(--brand) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    cursor: pointer;
}

.btn_yzm:hover {
    background: var(--brand-soft) !important;
    filter: none !important;
}

.dl_ul .btn {
    display: block;
    width: 100%;
    height: var(--field-h);
    line-height: var(--field-h);
    border-radius: 8px;
    border: none;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    text-indent: 4px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: none;
    padding: 0;
}

.dl_ul .btn:hover {
    background: var(--brand-deep);
    filter: none;
    box-shadow: 0 6px 16px rgba(76, 29, 149, 0.2);
}

.dl_ul .btn:active {
    transform: translateY(1px);
}

.dl_ul .btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.dl_foot {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #f0f2f5;
    text-align: left;
    font-size: 12px;
    color: #9ca3af;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.dl_err {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.4;
}

.dl_shake {
    animation: dl_shake 0.4s ease;
}

@keyframes dl_shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.banner { text-align: center; margin-bottom: 20px; }
.banner img {
    height: auto;
    width: min(88%, 300px);
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}
.a_wj { color: var(--brand); font-size: 13px; }

@media (max-width: 780px) {
    .dl_bg {
        padding: 12px;
        align-items: flex-start;
    }
    .dl_shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }
    .dl_brand {
        height: 180px;
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }
    .dl_brand img {
        object-position: center 35%;
    }
    .dl_formwrap {
        padding: 28px 22px 24px;
        height: auto;
        justify-content: flex-start;
    }
    .dl_form_body {
        max-width: none;
    }
    .dl_form_title {
        margin-bottom: 22px;
    }
    .btn_yzm {
        width: 108px !important;
        font-size: 12px !important;
    }
}
