@charset "utf-8";

:root {
    --body-background-color: #333333;
    --main-text-color: #efefef;
    --main-text-form-color: #333333;
    --main-text-form-hover-color: #efefef;
    /* --main-background-color: #ffffff40;
    --main-background-hover-color: #ffffff60;
    --main-background-active-color: #ffffff80; */
    --main-background-color: #00000040;
    --main-background-hover-color: #acacac60;
    --main-background-active-color: #8a8a8a80;
    --main-button-color: #ffffff40;
    --main-button-hover-color: #00000030;
    --main-button-active-color: #00000020;
    --main-input-color: #ffffff30;
    --main-input-text-placeholder-color: #ffffff70;
    --main-text-shadow: 0px 0px 8px #00000066;
    --main-search-shadow: 0 0 20px #0000000d;
    --main-search-hover-shadow: 0 0 20px #00000033;
    --border-bottom-color-hover: #efefef80;
    --border-bottom-color-active: #efefef;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--body-background-color);
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    font-family: 'MiSans', sans-serif;
}

*,
a,
p {
    text-decoration: none;
    transition: 0.3s;
    color: var(--main-text-color);
    user-select: none;
}

section {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 600px;
    opacity: 0;
    transition: ease 1.5s;
}

.noclickn {
    pointer-events: none;
}

/*背景*/
.bg-all {
    z-index: 0;
    position: absolute;
    top: calc(0px + 0px);
    left: 0;
    width: 100%;
    height: calc(100% - 0px);
    transition: .25s;
}

#bg {
    transform: scale(1.10);
    filter: blur(10px);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s, transform .25s, filter .25s;
    backface-visibility: hidden;
}

img.error {
    display: none;
}

.cover {
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .5) 100%), radial-gradient(rgba(0, 0, 0, 0) 33%, rgba(0, 0, 0, .3) 166%);
    transition: .25s;
}

/*总布局*/
#content {
    width: 100%;
    height: 140%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.con {
    max-width: 640px;
    width: calc(100% - 60px);
    animation: fade;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
    /* transform: translateY(-150%); */
}

/* .box .sou {
    display: none;
} */

.box .all-search {
    opacity: 0;
    transition: 0.3s;
}

/*
搜索框点击后更改样式
*/

/*搜索框*/
.onsearch .all-search {
    background-color: var(--main-text-form-hover-color);
    transform: translateY(-140%);
    transition: ease 0.3s !important;
}

/*背景模糊*/
.onsearch #bg {
    transform: scale(1.08) !important;
    filter: blur(10px) !important;
    transition: ease 0.3s !important;
}

/*搜索引擎按钮*/
.onsearch #icon-se {
    color: var(--main-text-form-color) !important;
    transition: ease 0.5s;
}

/*搜索按钮*/
.onsearch #icon-sou {
    color: var(--main-text-form-color) !important;
    transition: ease 0.5s;
}

/*时间上移*/
.onsearch .tool-all {
    transform: translateY(-140%) !important;
}

/*搜索引擎选择上移*/
.onsearch .search-engine {
    transform: translateY(-38%) !important;
}


/*时间*/
.tool-all {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-120%);
    z-index: 1;
}

.time {
    color: var(--main-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#point {
    margin: 0px 4px;
    animation: fadenum 2s infinite;
    -webkit-animation: fadenum 2s infinite;
    -moz-animation: fadenum 2s infinite;
    -o-animation: fadenum 2s linear infinite;
    -ms-animation: fadenum 2s linear infinite;
}

#time_text {
    font-size: 3rem;
    margin: 6px 0px;
    text-shadow: var(--main-text-shadow);
    transition: 0.2s;
}

#time_text:hover {
    cursor: pointer;
    transition: 0.2s;
    transform: scale(1.08);
}

#time_text:active {
    transition: 0.2s;
    opacity: 0.6;
    transform: scale(1.02);
}

#day {
    font-size: 1.15rem;
    opacity: 0.8;
    margin: 4px 0px;
    text-shadow: var(--main-text-shadow);
}

/*天气*/
.weather {
    color: #efefef;
    opacity: 1;
    font-size: 1.2rem;
    text-shadow: var(--main-text-shadow);
}

/*书签及设置*/
.mark,
.set {
    flex-direction: column;
    align-items: center;
    background: var(--main-background-color);
    border-radius: 8px;
    height: 150px;
    max-height: 150px;
    width: 80%;
    max-width: 900px;
    max-width: 900px;
    position: absolute;
    margin-top: 0px;
    z-index: 2000;
    animation: fade;
    -webkit-animation: fade 0.75s;
    -moz-animation: fade 0.75s;
    -o-animation: fade 0.75s;
    -ms-animation: fade 0.75s;
}

    .mark .tab,
    .set .tabs {
        height: 40px;
        min-height: 40px;
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 20px;
    }

    .set .tabs {
        margin-bottom: 0px !important;
    }

        .mark .tab .tab-item,
        .set .tabs .tab-items {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.95rem;
            transition: 0.3s;
            border-bottom: 2px solid transparent;
            border-top: 2px solid transparent;
        }

            .mark .tab .tab-item:hover,
            .set .tabs .tab-items:hover {
                transition: 0.3s;
                cursor: pointer;
                border-bottom-color: var(--border-bottom-color-hover);
            }

            .mark .tab .tab-item.active,
            .set .tabs .tab-items.actives {
                border-bottom-color: var(--border-bottom-color-active);
            }

.products,
.productss {
    width: 100%;
    height: 100%;
}

    .products .mainCont,
    .productss .mainConts {
        display: none;
        width: 100%;
        /* overflow: auto; */
        flex-wrap: wrap;
        animation: fade;
        -webkit-animation: fade 0.5s;
        -moz-animation: fade 0.5s;
        -o-animation: fade 0.5s;
        -ms-animation: fade 0.5s;
    }

        .products .mainCont.selected,
        .productss .mainConts.selected {
            display: flex;
        }





/*页脚*/
.foot {
    position: absolute;
    bottom: 10px;
    z-index: 1000;
    text-align: center;
    width: 100%;
    height: 20px;
    line-height: 20px;
}

.power {
    color: var(--main-text-color);
    opacity: 0.8;
    font-size: small;
    text-shadow: var(--main-text-shadow);
}

/*弹窗样式*/
.iziToast {
    backdrop-filter: blur(10px) !important;
}

.iziToast:after {
    box-shadow: none !important;
}

.iziToast>.iziToast-body {
    display: flex;
    align-items: center;
}

.iziToast>.iziToast-body .iziToast-message {
    margin: 0 !important;
}

.iziToast>.iziToast-body .iziToast-texts {
    margin: 0 !important;
}

.iziToast>.iziToast-body .iziToast-buttons>a,
.iziToast>.iziToast-body .iziToast-buttons>button,
.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]) {
    margin: 2px 6px !important;
    color: #efefef !important;
}

.iziToast>.iziToast-body .iziToast-buttons>a:focus,
.iziToast>.iziToast-body .iziToast-buttons>button:focus,
.iziToast>.iziToast-body .iziToast-buttons>input:not([type=checkbox]):not([type=radio]):focus {
    box-shadow: none !important;
}

/*滚动条*/
::-webkit-scrollbar {
    background-color: transparent !important;
    width: 6px;
}

::-webkit-scrollbar-track {
    display: none;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
    background-color: var(--main-background-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--main-background-active-color);
}

/*文字选中*/
::selection {
    background: #00000040;
    color: #000000b3;
}

::-moz-selection {
    background: #00000040;
    color: #000000b3;
}

::-webkit-selection {
    background: #00000040;
    color: #000000b3;
}

.from_items input::selection {
    background: #ffffff60;
    color: #ffffffb3;
}

/*关闭块*/
.close_sou {
    width: 100%;
    height: 100%;
    position: absolute;
}