:root {
    --font-color: #3D3D3D;
    --theme-color: #2BA0E3;
    --bg-color: #000;
    --bg-color-rgb: 0,0,0;
    --fg-color: #FFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: inherit;
    font-size: inherit;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    position: relative;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-wrap {
    background-color: var(--bg-color);
    color: var(--fg-color);
    padding: 0 20px;
}

.section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.theme-btn {
    display: inline-block;
    color: var(--fg-color);
    background-color: var(--theme-color);
    padding: 12px 20px;
    min-width: 140px;
    text-align: center;
    border-radius: 8px;
}

.scale-btn {
    cursor: pointer;
    user-select: none;
    transition: .3s ease;
    transition-property: transform, opacity;
}
.scale-btn:hover{
    opacity: 0.9;
}
.scale-btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.disable-btn {
    opacity: 0.5;
    pointer-events: none;
}

.no-data {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    grid-gap: 10px;
    font-size: 15px;
    color: #6A6F73;
    letter-spacing: 1px;
}

.no-data-flex {
    display: flex;
}

::-webkit-scrollbar {
    width: 4px;
    height: 6px;
}

::-webkit-scrollbar-button {
    background-color: transparent;
    width: 0;
    height: 0;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-webkit-scrollbar-track {
    width: 2px;
    background-color: transparent;
    height: 2px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--fg-color);
    width: 2px;
    height: 2px;
}

/* lem_toast 弹窗样式*/
.lem_toast {
    position: fixed;
    z-index: 3000;
    top: 40px;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    background-color: rgba(39, 39, 39, 0.8);
    border: 1px solid rgba(39, 39, 39, 1);
    color: #fff;
    padding: 3px 10px;
    font-size: 14px;
    border-radius: 5px;
    opacity: 0;
    letter-spacing: 1px;
    transition: 0.3s ease;
    transform-origin: opacity transform;
}

.lem_toast.active {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
}

/* popup-mask */

.popup-mask {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
    transition-property: opacity;
}

.popup-mask.show {
    opacity: 1;
    pointer-events: unset;
}

.popup-inner {
    transform: translate3d(0, 100px, 0);
    transition: .3s ease;
    transition-property: transform;
}

.popup-mask.show>.popup-inner {
    transform: translate3d(0, 0, 0);
}

/* dialog-popup */
.dialog-popup {
    position: relative;
    background-color: #FFF;
    padding: 24px 30px;
    width: 100%;
    max-width: 380px;
    margin: 0 20px;
}

.dialog-popup>h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.dialog-popup>p {
    font-size: 13px;
    margin-bottom: 24px;
}

.dialog-popup>.theme-btn {
    width: 100%;
    font-size: 14px;
}

.dialog-popup>.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
}

/* login-popup */

.login-popup {
    position: relative;
    background-color: var(--fg-color);
    padding: 24px 30px;
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
}

.login-popup>h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.login-popup>.tips {
    font-size: 13px;
    margin-bottom: 24px;
}

.login-popup>.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
}

.login-popup>.theme-btn {
    width: 100%;
    font-size: 14px;
}

.input-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.input-wrap>input {
    width: 100%;
    padding: 10px 17px;
    border: 1px solid #1C1D1F;
    border-radius: 4px;
}

.input-wrap>p {
    cursor: pointer;
    display: block;
    width: 80%;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}

.login-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    font-size: 14px;
}

.login-btn.login-loading {
    opacity: 0.5;
    pointer-events: none;
}

.login-btn::after {
    opacity: 0;
    transition: .3s ease;
    transition-property: opacity;
}

.login-btn.login-loading::after {
    content: '';
    opacity: 1;
    position: absolute;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    border: 3px solid #FFF;
    clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 100%);
    margin-right: 100px;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

.third-login-list {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px 0;
}

.third-login-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    grid-gap: 7px;
    font-size: 12px;
}

.third-login-item>img {
    width: 48px;
    height: 48px;
    min-width: 48px;
}

.agreement-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #3D3D3D;
    padding-top: 30px;
}

.agreement-wrap>a {
    color: #1C1D1F;
    font-weight: bold;
}

.wechat-login-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wechat-login-wrap.loading>.wechat-login-loading {
    opacity: 1;
}

.wechat-login-loading {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: #FFF;
    font-size: 18px;
    font-weight: 400;
    opacity: 0;
}

.wechat-login-loading::after {
    content: '';
    opacity: 1;
    position: absolute;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    border: 3px solid #000;
    clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 100%);
    margin-left: -130px;
    animation: rotate 1s linear infinite;
}



@media screen and (max-width: 600px) {

    .dialog-popup {
        padding: 20px;
    }

    .dialog-popup>h2 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .dialog-popup>p {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .dialog-popup>.theme-btn {
        font-size: 12px;
    }

    .login-popup {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        width: 100%;
        max-width: 100%;
    }

    .login-popup>.close-btn {
        width: 35px;
        height: 35px;
        right: 18px;
    }
}