@charset "UTF-8";
/*!
 * aiuu.top v5.0.0 (https://ainto.org/)
 * Copyright 2022 By Ainto Studio
 */

:root {
    --primary: #2a7dee;
    --secondary: #585858;
    --success: #2eca6b;
    --info: #17a2b9;
    --warning: #ffd25f;
    --danger: #da2f3d;
    --red: #da2f3d;
    --orange: #fd790d;
    --yellow: #ffd25f;
    --green: #2eca6b;
    --cyan: #17a2b9;
    --blue: #2a7dee;
    --gray: #d1d1d1;
    --white: #f8f8f8;
}

.theme-main {
    --interface-font: "Microsoft YaHei", sans-serif;
    --scrollbar-width: .3rem;
    --scrollbar-bg: #d1d1d1;
    --scrollbar-hover-bg: #585858;
    --text-light: #f8f8f8;
    --text-dark: #010101;
    --btn-color: #585858;
    /* --btn-color: var(--yellow); */
    --btn-hover-bg: #d1d1d1;
    /* --btn-hover-bg: var(--secondary); */
    --btn-radius: 3px;
    --tabs-normal-color: #585858;
   /*  --tabs-normal-color: var(--white); */
    --tabs-active-color: #2a7dee;
    --tabs-active-color: var(--orange);
    --main-color: #2a7dee;
    --main-color: var(--orange);
    --card-bg: #e8e8e8;
    --card-color: #f8f8f8;
    --card-radius: 3px;
    --box-title-top: 5rem;
    --box-title-text-color: #fff;
    --box-search-top: 1rem;
    --box-search-width: 35%;
    --box-search-height: 3rem;
    --box-search-radius: 3px;
    --box-search-bg: #fff;
    --box-search-opacity: .9;
    --box-search-font-size: 1rem;
    --box-suggest-width: 35%;
    --box-suggest-height: 2.5rem;
    --box-suggest-radius: 3px;
    --box-suggest-bg: #fff;
    --box-suggest-font-size: .85rem;
}


/* 滚动条样式 */
::-webkit-scrollbar {
    width: var(--scrollbar-width);
    min-width: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-bg);
    box-shadow: none;
    min-height: 5rem;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover-bg);
}

::-webkit-scrollbar-track {
    background: none;
    border: none;
}

::-webkit-scrollbar-track:hover {
    background: none;
    border: none;
}

::-webkit-scrollbar-thumb:window-inactive {
    background-color: var(--scrollbar-bg);
}

/* 基础样式调整 */
* {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    height: 100%;
}

body {
    height: 100%;
    overflow-x: hidden;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    font-family: var(--interface-font);
}

a {
    text-decoration: none;
    background-color: transparent;
}

/* 顶部提示条 */
.close-support-tips {
    display: none;
}

.flex-center {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.close-support-tips:checked+.browser-support-tips {
    display: none;
}

.browser-support-tips {
    width: 100%;
    z-index: 9999;
    padding: .5rem 0;
    color: var(--text-light);
    text-align: center;
    background: var(--info);
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-support-tips label {
    position: absolute;
    height: 1.5rem;
    right: 16px;
}

.browser-support-tips label:hover {
    cursor: pointer;
    color: var(--secondary);
}

/* SVG按钮基础样式 */
.svg-icon-btn {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
}

.svg-icon-btn svg {
    width: 1.2rem;
    color: var(--btn-color);
    box-sizing: content-box;
    vertical-align: middle;
    fill: currentColor;
}

.svg-icon-btn:hover {
    background: var(--btn-hover-bg);
}

/* 背景容器 */
.background-container {
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* XXX */
    /* filter: brightness(.5)!important; */
    /* filter: blur(10px); */
}

.background-container .pure {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: all .5s ease-in-out;
}

.background-container .image {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    /* XXX */
    object-fit: cover;
    transition: all .5s ease-in-out;
}

.background-container .video {
    display: none;
    opacity: 0;
    width: 100%;
    height: 100%;
    /* XXX */
    object-fit: cover;
    position: absolute;
    transition: all .5s ease-in-out;
}

/* 顶部栏 */
.header-container {
    margin: 0;
    width: 100%;
    display: flex;
    height: 3.75rem;
    padding: 0 1.5rem;
    align-items: center;
    background: transparent;
    box-sizing: border-box;
}

/* 菜单按钮大小调整 */
.menu-btn svg {
    width: 1.5rem;
}

/* 视图切换部件 */
.switch-tabs {
    display: flex;
    align-items: center;
    margin-left: .5rem;
}

/* 视图切换子项 */
.switch-tabs a {
    display: block;
    flex: 0 0 auto;
    color: var(--tabs-normal-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .25rem;
    text-indent: 0.25rem;
    line-height: 3.75rem;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    margin: 0 1rem 0 .5rem;
    transition: all .3s;
}

/* 视图切换焦点项 */
.switch-tabs a.active {
    color: var(--tabs-active-color);
    border-bottom: 2px solid var(--tabs-active-color);
}

.switch-tabs a:hover {
    color: var(--tabs-active-color);
    font-size: 1.2rem;
    font-weight: 700;
}

/* 空白占位栏 */
.blank-block {
    display: flex;
    flex: 1 0 auto;
}

/* 小部件盒 */
.widget-box {
    display: flex;
    align-items: center;
    height: 3.75rem;
    line-height: 3.75rem;
}

/* 小部件盒子项目调整 */
.widget-box .item {
    margin: 0 .5rem;
}

.widget-box .item:last-child {
    margin: 0 0 0 .5rem;
}

.widget-box .application-btn svg {
    width: 1rem;
    box-sizing: content-box;
    vertical-align: middle;
}

.widget-box .login-btn {
    color: var(--text-light);
    background: var(--main-color);
    font-size: .9rem;
    letter-spacing: .5rem;
    text-indent: 0.5rem;
    text-align: center;
    border-radius: var(--btn-radius);
    box-sizing: border-box;
    cursor: pointer;
    height: 2.5rem;
    line-height: 2.5rem;
    width: 5rem;
    transition: all .2s ease-in-out;
}

.widget-box .login-btn:hover {
    opacity: .8;
    font-size: .8rem;
}

/* Slide */
.slide-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: block;
    position: fixed;
    overflow: hidden;
    visibility: hidden;
}

.slide-container .mask {
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    background: #000;
    position: absolute;
    transition: all .5s cubic-bezier(.15, .85, .35, 1);
}

.slide-container .slide-box {
    position: relative;
    background: var(--card-bg);
    height: 100%;
    width: 25rem;
    transform: translateX(-25rem);
    transition: all .5s cubic-bezier(.15, .85, .35, 1);
}

.slide-container.open {
    visibility: visible;
}

.slide-container.open .mask {
    opacity: .5;
}

.slide-container.open .slide-box {
    transform: translateX(0);
}

.slide-box .close-btn {
    position: absolute;
    right: -3rem;
    top: .5rem;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
    color: var(--card-color);
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    border-radius: 50%;
    visibility: hidden;
    transition: all .3s cubic-bezier(.15, .85, .35, 1);
}

.slide-box .close-btn span {
    font-size: 1.5rem;
}

.slide-box .close-btn:hover {
    color: var(--text-dark);
    background-color: var(--text-light);
}

.slide-container.open .close-btn {
    visibility: visible;
}

.slide-box .slide-list {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.slide-list .user-card {
    padding: 1rem;
    margin: 1rem;
    background: var(--card-color);
    border-radius: var(--card-radius);
    border-bottom: 1px solid transparent;
    margin-top: 5rem;
}

.user-card .user-info {
    text-align: center;
}

.user-card .avatar {
    margin-top: -3.5rem;
}

.user-card .avatar img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
}

.user-card .nickname {
    font-size: 1.25rem;
    font-weight: 300;
    margin-top: 1rem;
}

.user-card .email {
    margin-top: .25rem;
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 300;
}

.user-card .action-block {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--card-bg);
    transform-origin: center;
    transition: all .3s ease-in-out;
    border-radius: var(--card-radius);
}

.user-card .action-block:hover {
    background-color: var(--card-bg);
}

.slide-item {
    padding: 1rem;
    margin: 1rem;
    background: var(--card-color);
    border-radius: var(--card-radius);
}

.slide-item.close {
    cursor: pointer;
}

.slide-item .slide-item-head {
    margin-bottom: .75rem;
}

.slide-item .slide-item-fold {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-item .slide-fold-btn {
    height: 1.5rem;
    line-height: 1.5rem;
    cursor: pointer;
    transition: all .5s ease-in-out;
}

.slide-item .slide-fold-btn:hover {
    opacity: .7;
}

.slide-item.close .slide-fold-btn {
    transform: rotate(180deg);
}

.slide-item .slide-item-head .title {
    display: block;
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
}

.slide-item .slide-item-head .describe {
    display: block;
    margin-top: .5rem;
    font-size: .75rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.25rem;
    opacity: .7;
}

.slide-item .slide-item-body {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: .75rem 0;
    transition: height 1s ease-in-out 0s;
}

.slide-item.close .slide-item-body {
    overflow: hidden;
    height: 0px;
    margin: unset;
}

/* alert */
.alert-block {
    width: 100%;
    margin: 1rem 0;
}

.alert-block .title {
    opacity: .9;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 .5rem 0;
}

.alert-block .describe {
    font-size: .6rem;
    color: var(--text-dark);
    font-weight: 500;
    opacity: .7;
    line-height: 1.25rem;
    margin-bottom: .25rem;
}

.alert-block div {
    margin: 0 !important;
}

/* switch */
.switch-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.switch-block p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: .8;
    height: 1.25rem;
    line-height: 1.25rem;
}

.switch-block .describe {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: .5;
    height: 1rem;
    line-height: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 18rem;
}

/* select */
.select-block {
    display: flex;
    flex-direction: column;
    margin-bottom: .5rem;
}

.select-block p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: .8;
    height: 1.25rem;
    line-height: 1.25rem;
}

/* button */
.button-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: .5rem;
}

.button-block button {
    width: 8rem;
}

/* radio */
.radio-block {
    width: 100%;
    margin: 1rem 0;
}

.radio-block .title {
    opacity: .9;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 .5rem 0;
    height: 1.25rem;
    line-height: 1.25rem;
}

.radio-block .describe {
    font-size: .6rem;
    color: var(--text-dark);
    font-weight: 500;
    opacity: .7;
    line-height: 1.25rem;
    margin-bottom: .25rem;
}

.radio-block-item {
    display: flex;
    align-items: center;
    margin: .5rem;
}

.radio-block-item p {
    height: 1.25rem;
    line-height: 1.25rem;
    margin-left: .5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: .8;
}

/* color */
.color-block,
.image-block {
    margin-bottom: .5rem;
}

.color-block p,
.image-block p {
    height: 1.25rem;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: .8;
    margin-bottom: .5rem;
}

/* 主体内容 */
.body-container {
    width: 100%;
    height: calc(100% - 5.75rem);
}

.body-container .title-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% / 6);
    width: calc(100% / 4);
    padding-top: var(--box-title-top);
    margin: 0 auto;
    min-height: 6rem;
    min-width: 18rem;
}

.body-container .title-box .image {
    height: 100%;
    width: 100%;
    /* XXX */
    object-fit: contain;
    transition: all .5s ease-in-out;
}

.body-container .title-box .text {
    color: var(--box-title-text-color);
    font-size: 3rem;
    font-weight: 700;
    transition: all .5s ease-in-out;
    text-shadow: 0 0 20px rgb(0 0 0 / 35%);
}

.title-box .text span:nth-child(4),
.title-box .text span:nth-child(5) {
    display: none;
}

.title-box .text.show-seconds span:nth-child(4),
.title-box .text.show-seconds span:nth-child(5) {
    display: unset !important;
}

.body-container .search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding-top: var(--box-search-top);
}

.body-container .search-box form {
    width: var(--box-search-width);
    min-width: 20rem;
}

.search-box .search-bar {
    display: flex;
    align-items: center;
    position: relative;
    height: var(--box-search-height);
    width: 100%;
    overflow: hidden;
    border-radius: var(--box-search-radius);
    opacity: var(--box-search-opacity);
}

.search-box .search-bar.shadow {
    box-shadow: rgb(0 0 0 / 16%) 0px 2px 2px 0px, rgb(0 0 0 / 8%) 0px 0px 0px 1px;
}

.search-box .search-engine-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 100%;
    background-color: var(--box-search-bg);
    color: var(--btn-color);
}

.search-box .search-input {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    height: 100%;
    position: relative;
}

.search-box .search-input input {
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--box-search-bg);
    font-weight: 300;
    padding-left: .5rem;
    padding-right: 3em;
    font-size: var(--box-search-font-size);
    color: var(--text-dark);
}

.search-box .search-input-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    color: var(--btn-color);
    height: var(--box-search-height);
    width: 3rem;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.search-box .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 3.5rem;
    height: 100%;
    background-color: var(--box-search-bg);
    color: var(--btn-color);
}

.body-container .suggest-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 100%;
    margin: 0 auto;
}

.suggest-box .search-suggest {
    display: flex;
    flex-direction: column;
    margin-top: .5rem;
    width: var(--box-suggest-width);
    min-width: 20rem;
    overflow: hidden;
    border-radius: var(--box-suggest-radius);
    background-color: var(--box-suggest-bg);
}

.suggest-box .search-suggest.hide {
    display: none;
}

.suggest-box .suggest-item {
    display: flex;
    align-items: center;
    height: var(--box-suggest-height);
    background-color: var(--box-suggest-bg);
    cursor: pointer;
    font-size: var(--box-suggest-font-size);
    color: var(--text-dark);
    padding-left: 2rem;
    box-sizing: border-box;
}

.suggest-box .suggest-item:hover,
.suggest-box .suggest-item.active {
    background-color: var(--btn-hover-bg);
}

.mask-layer {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1500;
}

/* 加载样式 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    overflow: hidden;
    background: var(--text-light);
    opacity: .8;
    transition: all .3s ease-in-out;
}

.loading::before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid var(--main-color);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}