body {
    background-image: url(../img/login背景.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    background-attachment: fixed; /* 背景图片固定 */
}

#log_0 {
    position: absolute;
    width: 100%;
    height: 650px;
    z-index: -1;
    background: radial-gradient(rgba(24, 26, 33, 0) 0%, #181A21 100%) fixed no-repeat, url(https://store.fastly.steamstatic.com/public/shared/images/joinsteam/new_login_bg_strong_mask.jpg) center top no-repeat, #181A21;
}

header.nav.custom-container .container {
    width: 964px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#log_1 {
    width: 100%;
    height: auto;
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

#log_2 {
    width: 100%;

}

.log_forms {
    display: flex;
    width: 100%;
    padding: 24px 32px;
    justify-content: space-between;
}

.log_forms-email {
    justify-content: center;
    padding: 0
}

.log_forms-invalid{
    gap: 12px;
    flex-direction: column;
    align-items: center;
}

.log_forms-invalid h2{
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.log_forms-invalid h4{
    color: #fff;
    font-size: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.log_forms-invalid button{
    position: relative;
    background: linear-gradient(90deg, #06BFFF 0%, #2D73FF 100%);
    border-radius: 2px;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    width: 80px;
    padding: 12px 24px;
}

#log_h {
    justify-content: space-between;
    color: #fafafa;
}

#log_h1 {
    color: #1b65d9;

}

#log_h2 {
    color: #fdfdfd;
}

#log_h3 {
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: white;
}

#log_4 {
    position: absolute;
    left: 20px;
    right: 20px;
}

#log_5 {
    position: absolute;
    left: 20px;
    right: 20px;
}

.log_button {
    display: flex;
    justify-content: center;
}

#log_button {
    background: linear-gradient(90deg, #06BFFF 0%, #2D73FF 100%);
    width: 270px;
    height: 48px;
}

#log_button:hover {
    background: linear-gradient(90deg, #06BFFF 30%, #2D73FF 100%)
}


button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
}

button:hover {
    background-color: #0d6efd;
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.turnstile-container {
    transform: scale(0.8); /* 整体缩放80% */
    transform-origin: left top; /* 从左上角缩放 */
    width: 125%;
    margin-top: 30px;
}


#log_form {


    width: 100%;
    height: auto;
}

#form-width1 {
    width: 64%;
}

#form-width2 {

}

#form-width2-left {
    margin-left: 20px
}

.code-login {
    font-size: 12px;
    color: #1999ff;
    height: 24px;
}

#log_6 {
    background-color: #181a21;
    width: 100%;
    height: auto;
    margin-top: 50px;
}

.zhuche {
    width: 50%;
    padding-top: 50px;
}

#zhuche {
    width: 100%;
    margin-top: 120px;
    display: flex;

}

#zhuche-meg {
    width: 100%;
    font-size: 15px;
    text-align: center;
    color: #E9E9E9;
    font-weight: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 300px;
}

#zhuche-meg a{
    color: #b8b6b4;
    text-decoration: underline;
    text-align: center;
    font-size: 14px;
}

#zhuche-meg a:hover{
    color: #ffffff;
    text-decoration: none;
}

#log_button1 {
    background: linear-gradient(90deg, #06BFFF 0%, #2D73FF 100%);
    border-radius: 2px;
    width: 120px;
    height: 30px;
    padding: 3px 20px;
    text-align: center;
    margin: 10px 0 10px 0;
}

#log_button1:hover {
    background: linear-gradient(90deg, #06BFFF 30%, #2D73FF 100%)
}

#b {
    position: absolute;
    top: 150%;
}

.code-login-img {
    background-color: whitesmoke;
    width: 200px;
    height: 200px;
    border-radius: 10px
}

.code-login-img img {
    border-radius: 10px
}


@media (max-width: 700px) {
    #log_0 {
        background: radial-gradient(rgba(24, 26, 33, 0) 0%, #181A21 100%) fixed no-repeat, url(https://store.fastly.steamstatic.com/public/shared/images/joinsteam/new_login_bg_strong_mask_mobile.jpg) center top no-repeat, #181A21;
    }

    .log_forms {
        display: block;
    }

    .log_forms-email{
        display: flex;
    }

    .log_forms-invalid{
        display: flex;
    }



    .log_h {
        display: flex;
        justify-content: center;
    }

    #log_1 {
        margin-top: 50px;
    }

    #log_6 {
        display: flex;
        justify-content: center;
        background-color: transparent;
    }

    .log_forms {
        width: 100%;

    }

    .log_forms #form-width1 {

        width: 100%;
    }

    .log_forms #form-width2 {
        margin-top: 50px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #form-width2-left {
        margin-left: 0;
    }

    .code-login {
        display: flex;
        justify-content: center;
    }

    #log_button {
        width: 100%;
    }

    #zhuche {
        display: block;
        margin-top: 0;
    }

    .zhuche {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    #zhuche-meg {
        width: 50%;

    }
}

/* 默认显示 desktop 导航 */
.desktop-nav {
    display: flex;
}


:root {
    --steam-bg: #181a21;
    --card-bg: #212429;
    --input-area-bg: #32353c;
    --text-primary: #f3f3f3;
    --text-secondary: #afafaf;
    --steam-blue: #17b6ff;
    --link-gray: #666;
}

.steam-auth-wrapper {
    width: 100%;
    max-width: 540px;
    text-align: center;
}

.header-section h2 {
    font-size: 18px;
    font-weight: 500;
    color: #afafaf;
}

.header-section p {
    color: #afafaf;
    font-size: 14px;
    opacity: .5;
    font-weight: 500;
}

.auth-card {
    padding: 30px 40px;
    border-radius: 3px;
}

.header-section span{
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.input-dark-zone {
    background-color: var(--input-area-bg);
    padding: 25px 15px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}
.input-dark-zone-error{
    color: #c15755;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.code-inputs {
    max-width: 330px;
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 2px;
    padding: 10px 28px 20px;
    background-color: #2b2e33;
}

.code-inputs input {
    width: 20%;
    height: 45px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #5a5d63;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    outline: none;
    text-transform: uppercase;
    transition: border-color 0.2s;
}

.code-inputs input:focus {
    border-bottom-color: var(--steam-blue);
}

.app-hint {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 25px;
    gap: 15px;
}

.app-hint span {
    font-size: 15px;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.4;
}

.phone-svg {
    width: 60px;
    height: 60px;
    fill: var(--steam-blue);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-links a {
    font-size: 13px;
    transition: color 0.2s;
    text-decoration: underline;
}

.link-help {
    color: var(--link-gray);
}

.footer-links a:hover {
    color: #fff;
}