html,
body {
    padding: 0;
    margin: 0;
}

html,
body {
    display: flex;
    /* align-items: center; */
    overflow: hidden;
}

*:not(.dialog) {
    transition: all .15s linear;
    outline: none;
    /* vertical-align: top; */
}

.tea-radio:checked,
input[type=radio]:checked {
    transition: none;
}

::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
}

::selection {
    background: rgba(72, 95, 236, .3);
}

::-moz-selection {
    background: rgba(72, 95, 236, .3);
}

::-webkit-selection {
    background: rgba(72, 95, 236, .3);
}

ul,
li {
    list-style: none;
}

*:not(input, textarea, div.txt, div.list) {
    user-select: none;
}

/* @media (prefers-color-scheme: light) {

	body,
	html {
		background: #FEFEFE;
	}
} */

@media (prefers-color-scheme: dark) {

    body,
    html {
        background: #181a26;
    }

    * {
        color: #FEFDFA;
    }
}

/* chrome */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

@keyframes revolve {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

* {
    -ms-overflow-style: none;
}

iframe {
    outline: none;
    border: none;
}



.loader {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.loader span {
    /* 外圆的宽高、背景颜色 */
    width: 100px;
    height: 100px;
    background-color: #000;
    /* ○ */
    border-radius: 50%;
    /* 边框 */
    border: 3px solid #000;
    /* 阴影，和上一期一样的新拟态风格 */
    box-shadow: -8px -8px 15px #02040cc,
        8px 8px 25px rgba(0, 0, 0, 0.15);
    /* 超出部分隐藏掉 */
    overflow: hidden;

    position: relative;
}

.loader span::before {
    content: "";

    /* 宽高是往内撑开，和上面一样背景颜色、○、边框线、阴影 */
    inset: 20px;
    background-color: #02040c;
    border-radius: 50%;
    border: 2px solid #000;
    box-shadow: -8px -8px 25px #02040cc,
        8px 8px 25px rgba(0, 0, 0, 0.25), inset 3px 3px 10px rgba(0, 0, 0, 0.1),
        inset -1px -1px 15px #02040cc;

    /* 临时加入 logo 背景图片 */
    background: no-repeat url("../img/user.jpg");
    background-size: contain;

    /* 定位让它自己居中叠起来 */
    position: absolute;
    /* 显示层级高一点 */
    z-index: 10;
}

.loader span i {
    /* 往内撑开 0，也就是宽高 100% */
    inset: 0;
    /* 线性渐变颜色 */
    background: linear-gradient(#69bbff, #ff6699, #ffee50);
    /* 同样是个 ○ */
    border-radius: 50%;
    /* 给一点点模糊，让颜色温和一些 */
    filter: blur(10px);

    /* 定位叠起来 */
    position: absolute;

    /* 动画 */
    animation: animate1 2s linear infinite;
}

@keyframes animate1 {

    /* 简单对渐变色的元素进行旋转 */
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 720px) {
    .hide_w720 {
        display: none;
    }
}