:root {
    color-scheme: light;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #172234;
    background: #eef4f8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 280px;
    min-height: 100vh;
    background:
        linear-gradient(180deg, #f5fafc 0, #eef4f8 260px, #eef4f8 100%);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.login-panel {
    width: min(100%, 600px);
    padding: 34px 38px 28px;
    border: 1px solid #d7e2ea;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(32, 63, 88, 0.10);
}

.product-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.product-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #1478b8;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.product-name,
.product-caption,
.eyebrow,
.lead,
.login-action p,
.purpose p,
.security-points,
.legal {
    margin-top: 0;
}

.product-name {
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 700;
}

.product-caption {
    margin-bottom: 0;
    color: #708197;
    font-size: 13px;
}

.eyebrow {
    margin-bottom: 8px;
    color: #1478b8;
    font-size: 13px;
    font-weight: 700;
}

h1 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
}

.lead {
    color: #4b5c71;
    font-size: 15px;
    line-height: 1.8;
}

.login-action {
    margin: 24px 0 28px;
    padding: 18px 0 4px;
    text-align: center;
}

.qq-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    min-height: 48px;
    line-height: 0;
}

.qq-login-button:focus-visible {
    outline: 3px solid rgba(20, 120, 184, 0.35);
    outline-offset: 5px;
}

.qq-login-button img {
    display: block;
    width: 230px;
    height: 48px;
}

.login-action .login-action-note {
    margin: 14px 0 0;
    color: #708197;
    font-size: 13px;
    line-height: 1.7;
}

.purpose {
    padding-top: 20px;
    border-top: 1px solid #e3eaf0;
}

.purpose h2 {
    margin: 0 0 8px;
    font-size: 16px;
}

.purpose p,
.security-points {
    color: #516175;
    font-size: 14px;
    line-height: 1.75;
}

.security-points {
    margin: 16px 0 22px;
    padding-left: 20px;
}

.security-points li + li {
    margin-top: 5px;
}

.legal {
    margin-bottom: 0;
    color: #7a8798;
    font-size: 12px;
    line-height: 1.7;
}

a {
    color: #1478b8;
}

.document-shell {
    width: min(100%, 760px);
}

.document-panel {
    padding: 34px 40px;
    border: 1px solid #d7e2ea;
    border-radius: 8px;
    background: #ffffff;
}

.document-panel h1 {
    font-size: 25px;
}

.document-panel h2 {
    margin: 24px 0 8px;
    font-size: 17px;
}

.document-panel p,
.document-panel li {
    color: #4b5c71;
    font-size: 14px;
    line-height: 1.8;
}

.document-panel ul {
    padding-left: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .login-shell {
        align-items: start;
        padding: 16px 12px 24px;
    }

    .login-panel,
    .document-panel {
        padding: 24px 20px;
    }

    h1 {
        font-size: 24px;
    }

    .login-action {
        margin-top: 20px;
    }
}
