@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: #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;
    --main-box-gauss: 12px;
    --main-box-gauss-plus: blur(calc(var(--main-box-gauss) * 1.533));
    --search-blur: var(--main-box-gauss-plus);
    --main-bg-blur: blur(calc(var(--main-box-gauss) * 0.666));
    --main-font-weight: 500;
    /* 时间样式变量 */
    --time-font-size: 2.75rem;
    --time-font-weight: 700;
    --time-opacity: 1;
    --time-width: 29.5px;
    /* 日期样式变量 */
    --date-font-size: 1.15rem;
    --date-font-weight: 400;
    --date-opacity: 1;
    --date-width: 13.5px;
    --date-display-opacity: var(--date-opacity);
    --date-display-margin: 0px;
    --clock-blink-animation: fadenum 4s infinite;
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

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

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

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

/*文字闪烁*/
@-webkit-keyframes fadenum {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadenum {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadenum {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadenum {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/*渐入动画*/
@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes digitFlip {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.98);
        opacity: 0.95;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

#bg {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.10);
    filter: var(--main-bg-blur);

    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s, transform .25s, filter .25s;
    backface-visibility: hidden;
    z-index: -1;
}

#bg-video {
    opacity: 0;
    transform: scale(1.10);
    filter: blur(0px);
    transition: 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
}

img.error {
    display: none;
}

#bg[src=""],
#bg[src=" "] {
    content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFAQMAAAC3obSmAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAANQTFRFAAAAp3o92gAAAAF0Uk5TAEDm2GYAAAAMSURBVHicY2RghEIAACgABrG3ah0AAAAASUVORK5CYII=");
}

.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: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.con {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.sou {
    max-width: 680px;
    width: calc(100% - 60px);
    /* transform: translateY(-150%); */
}

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

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

.open #bg {
    transform: scale(1.08) !important;
    filter: blur(var(--main-box-gauss)) !important;
    transition: ease 0.5s !important;
}

.open #bg-video {
    transform: scale(1.08) !important;
    filter: blur(var(--main-box-gauss)) !important;
    transition: ease 0.5s !important;
}

.close #bg {
    transform: scale(1) !important;
    filter: blur(0) !important;
    transition: ease 0.5s !important;
}

.close #bg-video {
    transform: scale(1) !important;
    filter: blur(0) !important;
    transition: ease 0.5s !important;
}

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

/*搜索框*/
.onsearch .all-search {
    background-color: var(--main-text-form-hover-color);
    transform: translateY(-140%) !important;
    transition: cubic-bezier(0.25, 0.05, 0.70, 1) 0.25s !important;
}

/*背景模糊*/
.onsearch #bg {
    transform: scale(1.08) !important;
    filter: blur(var(--main-box-gauss)) !important;
    transition: ease 0.3s !important;
}

.onsearch #bg-video {
    transform: scale(1.08) !important;
    filter: blur(var(--main-box-gauss)) !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(-160%) scale(0.9) !important;
}

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

/*时间*/
.tool-all {
    opacity: 0;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-50%) scale(1);
    z-index: 1;
    transition: all 0.633s cubic-bezier(0.22, 1, 0.36, 1);
    padding-bottom: 10px;
}

.time {
    color: var(--main-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fade;
    -webkit-animation: fade 0.3s;
    -moz-animation: fade 0.3s;
    -o-animation: fade 0.3s;
    -ms-animation: fade 0.3s;
}

.timeNum {
    display: inline-block;
    width: 80%;
    text-align: center;
    font-size: var(--time-font-size);
    font-weight: var(--time-font-weight);
    color: var(--main-text-color);
    text-shadow: var(--main-text-shadow);
    min-width: var(--time-width) !important;
    max-width: var(--time-width) !important;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.timeNum.changing {
    animation: digitFlip 0.4s ease-in-out;
    animation-play-state: var(--clock-num-animation-enabled, running);
}

.dayNum {
    display: inline-block;
    width: 80%;
    font-size: var(--date-font-size);
    font-weight: var(--date-font-weight);
    text-align: center;
    color: var(--main-text-color);
    text-shadow: var(--main-text-shadow);
    min-width: var(--date-width) !important;
    max-width: var(--date-width) !important;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.dayNum.changing {
    animation: digitFlip 0.4s ease-in-out;
    animation-play-state: var(--clock-num-animation-enabled, running);
}

#point {
    margin: 0px 4px;
    animation: var(--clock-blink-animation);
    -webkit-animation: var(--clock-blink-animation);
    -moz-animation: var(--clock-blink-animation);
    -o-animation: var(--clock-blink-animation);
    -ms-animation: var(--clock-blink-animation);
}

#day #point {
    display: none !important;
}

#time_text {
    font-size: var(--time-font-size);
    font-weight: var(--time-font-weight);
    opacity: var(--time-opacity);
    margin: 6px 0px;
    text-shadow: var(--main-text-shadow);
    transition: 0.2s, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    align-items: baseline;
    position: relative
}

#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);
}

.ampm {
    position: absolute;
    left: calc(100% + 8px);
    top: 45%;
    transform: translateY(-50%);
    font-size: calc(0.38 * var(--time-font-size));
    font-weight: var(--time-font-weight);
    opacity: var(--time-opacity);
    white-space: nowrap;
    color: var(--border-bottom-color-hover);
    text-shadow: var(--main-text-shadow);
}

#day {
    font-size: var(--date-font-size);
    font-weight: var(--date-font-weight);
    opacity: var(--date-display-opacity);
    text-shadow: var(--main-text-shadow);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    margin-top: var(--date-display-margin);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        margin-top 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/*搜索框*/
.search,
.wd,
.s {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: none;
    display: flex;
    justify-content: center;
    animation: fade;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
}

#search-form-container {
    transform: translateY(-70%);
}

.wd::-webkit-input-placeholder {
    letter-spacing: 2px;
    font-size: 1.05rem;
}

.all-search {
    transform: translateY(200%);
    display: flex;
    align-items: center;
    width: 100%;
    height: 43px;
    border-radius: 30px;
    color: var(--main-text-color);
    background-color: var(--main-background-color);
    box-shadow: var(--main-search-shadow);
    -webkit-backdrop-filter: var(--search-blur);
    backdrop-filter: var(--search-blur);
    overflow: hidden;
    transition: ease-in-out 0.25s !important;
}

.all-search:hover {
    box-shadow: var(--main-search-hover-shadow);
}

.con .sou form .wd {
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-indent: 4px;
    font-size: 1.25rem;
    color: var(--main-text-form-color);
    /* background-color: transparent; */
}

.con .sou form input:hover,
.con .sou form input:active {
    box-shadow: none;
}

.sou form .se,
.sou form .s {
    width: 40px;
    height: 40px;
    display: flex;
    padding: 10px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

#icon-se,
#icon-sou {
    font-size: 1.5rem;
    color: var(--main-text-color);
}

.sou form .se {
    transition: 0.3s;
    border-radius: 0px 30px 30px 0px;
}

.sou form .se:hover {
    transition: 0.3s;
    background: var(--main-background-color);
    border-radius: 0px 30px 30px 0px;
}

.sou-button {
    transition: 0.3s;
    border-radius: 30px 0px 0px 30px;
}

.sou-button:hover {
    transition: 0.3s;
    background: var(--main-background-color);
    border-radius: 30px 0px 0px 30px;
}

.all-search input::-webkit-input-placeholder {
    color: var(--main-input-text-placeholder-color);
    text-align: center;
    transition: all 0.3s;
}

.all-search input::-moz-placeholder {
    color: var(--main-input-text-placeholder-color);
    text-align: center;
    transition: all 0.3s;
}

.all-search input:-ms-input-placeholder {
    color: var(--main-input-text-placeholder-color);
    text-align: center;
    transition: all 0.3s;
}

.all-search:hover input::-webkit-input-placeholder {
    color: var(--main-text-color);
}

.all-search:hover input::-moz-placeholder {
    color: var(--main-text-color);
}

.all-search:hover input:-ms-input-placeholder {
    color: var(--main-text-color);
}

/*切换搜索引擎*/
.search-engine {
    position: absolute;
    margin-top: 2px;
    margin-left: -30px;
    padding: 10px;
    color: var(--main-text-color);
    background-color: var(--main-background-color);
    box-shadow: var(--main-search-shadow);
    -webkit-backdrop-filter: var(--main-box-gauss-plus);
    backdrop-filter: var(--main-box-gauss-plus);
    border-radius: 8px;
    display: none;
    z-index: 999;
    animation: fade;
    -webkit-animation: fade 0.4s;
    -moz-animation: fade 0.4s;
    -o-animation: fade 0.4s;
    -ms-animation: fade 0.4s;
    transition: opacity 800ms, transform 800ms;
}

.search-engine-list {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
    height: 152px;
    overflow-y: auto;
    overflow-x: hidden;
}

.se-li {
    flex: 1;
    width: 23%;
    min-width: 23%;
    max-width: 23%;
    width: 100%;
    padding: 8px 0px;
    margin: 1%;
    border-radius: 8px;
    transition: 0.3s;
    background: var(--main-background-color);
}

.se-li:hover {
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
    background-color: var(--main-background-hover-color);
}

.se-li-text {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.se-li-text span {
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

/*搜索建议*/
#keywords {
    position: fixed;
    width: 100%;
    top: -30%;
    font-size: small;
    color: var(--main-text-color);
    background-color: var(--main-background-color);
    box-shadow: var(--main-search-shadow);
    border-radius: 8px;
    display: none;
    z-index: 999;
    -webkit-backdrop-filter: var(--main-box-gauss-plus);
    backdrop-filter: var(--main-box-gauss-plus);
    animation: down;
    -webkit-animation: down 0.5s;
    -moz-animation: down 0.5s;
    -o-animation: down 0.5s;
    -ms-animation: down 0.5s;
}

.keyword {
    padding: 6px 12px;
    border-radius: 8px;
    transition: 0.3s;
    animation: fade;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
}

.keyword i {
    margin-right: 6px;
    font-size: small;
}

.keyword:hover,
.keyword.choose {
    cursor: pointer;
    /* font-weight: bold; */
    transition: 0.3s;
    text-indent: 10px;
    border-radius: 8px;
    background-color: var(--main-background-hover-color);
    border-radius: 8px;
}

/*书签及设置*/
.mark,
.set,
.store,
.plugin_set {
    flex-direction: column;
    align-items: center;
    background: var(--main-background-color);
    backdrop-filter: var(--main-box-gauss-plus);
    -webkit-backdrop-filter: var(--main-box-gauss-plus);
    border-radius: 8px;
    height: 400px;
    max-height: 400px;
    width: 80%;
    max-width: 900px;
    position: absolute;
    z-index: 2000;
    transition: all .3s;
    margin-top: 180px;
}

/* 开启状态 */
.mark.active,
.set.active,
.store.active,
.plugin_set.active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

/* 关闭状态 */
.mark.inactive,
.set.inactive,
.store.inactive,
.plugin_set.inactive {
    opacity: 0;
    transform: scale(0.35) translateY(-20%);
    pointer-events: none;
}

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

.set .tabs,
.store .tabs,
.plugin_set .tabs {
    display: flex;
    position: relative;
    margin-bottom: 0px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    transform: rotateX(180deg);
    padding-top: 4px;
}

.tabs .tab-items .tab_text {
    opacity: 0.95;
}

/* 滚动条 */
.set .tabs::-webkit-scrollbar,
.store .tabs::-webkit-scrollbar,
.plugin_set .tabs::-webkit-scrollbar {
    display: none;
}

/* Firefox滚动条样式 */
@-moz-document url-prefix() {

    .set .tabs,
    .store .tabs,
    .plugin_set .tabs {
        scrollbar-width: none;
    }
}

.set .tabs,
.store .tabs,
.plugin_set .tabs {
    --scrollbar: 0%;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.set .tabs::after,
.store .tabs::after,
.plugin_set .tabs::after {
    display: none;
}

/* 箭头容器 */
.tabs-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 左侧箭头 */
.scroll-arrow-left {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 90%;
    transform: translateX(-20px) scale(0.6);
    font-size: 16px;
    color: var(--main-text-color);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 15;
    cursor: pointer;
    background:
        radial-gradient(ellipse at left, var(--main-background-hover-color) 0%, transparent 0%);
    background-blend-mode: normal;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 30px;
    border-radius: 8px 0px;
}

/* 右侧箭头 */
.scroll-arrow-right {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 90%;
    transform: translateX(20px) scale(0.6);
    font-size: 16px;
    color: var(--main-text-color);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 15;
    cursor: pointer;
    background:
        radial-gradient(ellipse at right, var(--main-background-hover-color) 0%, transparent 0%);
    background-blend-mode: normal;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 30px;
    border-radius: 0px 8px;
}

/* 箭头显示 */
.can-scroll-left .scroll-arrow-left {
    opacity: 0.75;
    transform: translateX(0) scale(1);
    background:
        radial-gradient(ellipse at left, var(--main-background-hover-color) 0.1%, transparent 70%);
    pointer-events: none;

}

.can-scroll-right .scroll-arrow-right {
    opacity: 0.75;
    transform: translateX(0) scale(1);
    background:
        radial-gradient(ellipse at right, var(--main-background-hover-color) 0.1%, transparent 70%);
    pointer-events: none;
}

.scroll-arrow-right .iconfont,
.scroll-arrow-left .iconfont {
    text-shadow: var(--main-text-shadow);
}

.mark .tab .tab-item,
.store .tabs .tab-items,
.plugin_set .tabs .tab-items {
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
    padding-bottom: 2px;
    flex-shrink: 0;
}

.tab_text {
    min-width: 130px;
    padding: 0px 20px;
    white-space: nowrap;
    text-align: center;
}

.tab-item {
    display: flex;
}

.set .tabs .tab-items,
.store .tabs .tab-items,
.plugin_set .tabs .tab-items {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
    padding-bottom: 2px;
    transform: rotateX(180deg);
}

.store-block {
    height: 86%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0px 20px 0px 20px;
}

.store-item {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.store-content {
    height: 310px;
}

.store .store-item .content,
.plugin_set .store-item .content {
    margin: 20px 20px 0px 20px;
    width: -webkit-fill-available;
}

.mark .tab .tab-item:hover,
.set .tabs .tab-items:hover,
#storePage .tabs .tab-items:hover,
.plugin_set .tabs .tab-items:hover {
    opacity: 1;
    transition: 0.3s;
    cursor: pointer;
}

.mark .tab .tab-item:hover::after,
.set .tabs .tab-items:hover::after,
#storePage .tabs .tab-items:hover::after,
.plugin_set .tabs .tab-items:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1;
    width: 100%;
    height: 2px;
    background-color: var(--border-bottom-color-hover);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mark .tab .tab-item.active,
.set .tabs .tab-items.actives,
#storePage .tabs .tab-items.active,
.plugin_set .tabs .tab-items.actives {
    position: relative;
    opacity: 1;
}

.mark .tab .tab-item::after,
#storePage .tabs .tab-items::after,
.plugin_set .tabs .tab-items::after,
.set .tabs .tab-items::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    background-color: var(--border-bottom-color-hover);
    transition:
        opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease;
    transform-origin: left center;
    border-radius: 6px;
}

.mark .tab .tab-item.active::after,
#storePage .tabs .tab-items.active::after,
.plugin_set .tabs .tab-items.actives::after,
.set .tabs .tab-items.actives::after {
    height: 2px;
    left: 0;
    opacity: 1;
    width: 100%;
    background-color: var(--main-text-color);
    transition:
        opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s 0.1s ease;
}

.set .tabs .tab-items.actives:hover::after,
.plugin_set .tabs .tab-items.actives:hover::after,
#storePage .tabs .tab-items.active:hover::after,
.mark .tab .tab-item.active:hover::after {
    left: 0;
    opacity: 1;
    width: 100%;
}

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

.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: var(--main-text-color);
    opacity: 0.7;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.content.products,
.store-item .productss {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.content.products.selected {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.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;
}

/*快捷方式*/
.quick-all,
.quick-alls {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    margin: 0px 20px 20px 20px;
    height: 316px;
    overflow: auto;
    transition: all 0.3s;
}

.quick,
.quicks {
    flex: 1;
    height: 48px;
    background: var(--main-background-color);
    cursor: pointer;
    border-radius: 8px;
    width: 18%;
    min-width: 18%;
    max-width: 18%;
    margin: 0% 1% 2% 1%;
    transition: 0.3s;
}

.quick:hover,
.quicks:hover {
    transition: 0.3s;
    background: var(--main-background-hover-color);
}

.quick:active,
.quicks:active {
    transform: scale(0.95);
    transition: 0.3s;
    background: var(--main-background-active-color);
}

.quick a,
.quicks a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

/* 入口区域统一样式 */
.entry {
    display: flex;
    width: 100%;
    position: absolute;
    top: 6px;
    z-index: 1000000;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.entry-left {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0.3vw;
}

.entry-right {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    margin-right: 0.3vw;
}

.entry-items {
    width: 44px;
    height: 44px;
    z-index: 2000000;
    cursor: pointer;
    transition: 0.5s;
    border-radius: 8px;
    transition: 0.3s;
    animation: fade;
    -webkit-animation: fade 1s;
    -moz-animation: fade 1s;
    -o-animation: fade 1s;
    -ms-animation: fade 1s;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    transition: all 0.3s;
}

.entry-items.active {
    opacity: 1;
    visibility: visible;
}

.entry-items.inactive {
    opacity: 0;
    pointer-events: none;
}

.entry-items:hover {
    cursor: pointer;
    transition: 0.3s;
    background: var(--main-background-color);
    border-radius: 8px;
}

.entry-items:active {
    cursor: pointer;
    transform: scale(0.90);
}

.entry-items i {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 2rem;
    transition: 0.3s;
}

.set_blocks {
    width: 100%;
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
}

.set_blocks_content {
    display: flex;
    margin: 10px 10px 10px 10px;
    height: 430px;
    flex-direction: column;
    justify-content: space-between;
}

.set_blocks_content .se_add_preinstall,
.set_blocks_content .se_add_preinstalls,
.from_items.button {
    display: flex;
    justify-content: center;
}

.set_se_list_add,
.set_se_list_preinstall,
.se_add_save,
.se_add_cancel,
.set_quick_list_add,
.set_quick_list_preinstall,
.quick_add_cancel,
.quick_add_save,
.wallpaper_save,
.my_data_reset,
.store_check_update,
.store_order_set,
.store-order-save,
.store-order-cancel {
    width: 25%;
    display: flex;
    height: 40px;
    border-radius: 8px;
    background: var(--main-background-color);
    margin: 0 20px;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    border-style: unset;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

.set_se_list_add:hover,
.set_se_list_preinstall:hover,
.se_add_save:hover,
.se_add_cancel:hover,
.set_quick_list_add:hover,
.set_quick_list_preinstall:hover,
.quick_add_cancel:hover,
.quick_add_save:hover,
.wallpaper_save:hover,
.my_data_reset:hover,
.store_check_update:hover,
.store_order_set:hover,
.store-order-save:hover,
.store-order-cancel:hover {
    cursor: pointer;
    background: var(--main-background-hover-color);
    transition: 0.3s;
}

.set_se_list_add:active,
.set_se_list_preinstall:active,
.se_add_save:active,
.se_add_cancel:active,
.set_quick_list_add:active,
.set_quick_list_preinstall:active,
.quick_add_cancel:active,
.quick_add_save:active,
.wallpaper_save:active,
.my_data_reset:active,
.store_check_update:active,
.store_order_set:active,
.store-order-save:active,
.store-order-cancel:active {
    transform: scale(0.90);
    background: var(--main-background-active-color);
    transition: 0.3s;
}

.set_blocks_content button {
    width: 40px;
    height: 100%;
    background: var(--main-button-color);
    border: 1px solid transparent;
    transition: 0.3s;
}

.set_blocks_content button:hover {
    cursor: pointer;
    background: var(--main-button-hover-color);
}

.set_blocks_content button:active {
    transform: scale(0.95);
    background: var(--main-button-active-color);
}

.se_list,
.se_add_preinstall,
.se_add_preinstalls,
.quick_list,
.add_content {
    animation: fade;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
}

/*表单内容*/
.add_content {
    display: flex;
    flex-direction: column;
    height: 320px;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
}

.froms {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.froms .from_items {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.from_text {
    width: 60px;
    display: flex;
    justify-content: center;
    margin-right: 10px;
}

input {
    font-size: 1.05rem;
    outline: none;
    height: 40px;
    width: 100%;
    border-radius: 8px;
    padding: 0px 10px;
    border: none;
    background: var(--main-input-color);
}

textarea {
    font-size: 0.95rem;
    outline: none;
    border-radius: 8px;
    padding: 10px;
    border: none;
    background: var(--main-input-color);
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-family), sans-serif;
    white-space: pre-wrap;
    word-wrap: break-word;
}

textarea::-webkit-resizer {
    background: var(--border-bottom-color-hover);
    border-radius: 8px 0px 10px 0px;
    width: 10px;
    height: 10px;
}

input:hover,
input:active,
textarea:hover,
textarea:active {
    box-shadow: var(--main-search-hover-shadow);
}

input::-webkit-input-placeholder,
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--main-input-text-placeholder-color);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--main-text-color);
}

/*快捷方式和搜索引擎设置*/
.quick_list,
.se_list {
    height: 260px;
    overflow-y: auto;
    transition: all 0.3s;
}

.quick_list_table,
.se_list_table {
    display: flex;
    flex-direction: column;
    margin: 0px 10px;
}

.quick_list_div,
.se_list_div {
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    background: var(--main-background-color);
    border-radius: 8px;
    transition: 0.3s;
}

.quick_list_div:hover,
.se_list_div:hover {
    background: var(--main-background-hover-color);
    transition: 0.3s;
}

.quick_list_div_num,
.se_list_num {
    height: 40px;
    width: 40px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--main-background-color);
    border-radius: 8px;
}

.quick_list_div_name,
.se_list_name {
    width: 100%;
    margin-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick_list_div_button,
.se_list_button {
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*背景图片*/
#wallpaper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center
}

.wallpaper_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 0px 5px;
    opacity: 0;
    transition: all 0.3s;
    height: 0px;
    pointer-events: none;
}

.wallpaper_container.show {
    opacity: 1 !important;
    height: 60px !important;
    pointer-events: auto !important;
}

.wallpaper-custom-container {
    width: 70%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#wallpaper_url {
    width: 100%;
    margin: 10px 0px;
    animation: fade;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
}

#wallpaper_name {
    width: 30%;
}

#wallpaper-button {
    margin-top: 12px;
    opacity: 0;
    transition: all 0.3s;
    height: 0px;
    pointer-events: none;
}

#wallpaper-button.show {
    opacity: 1 !important;
    height: 40px !important;
    pointer-events: auto !important;
}

#wallpaper_upload {
    margin: 10px 0px;
    animation: fade;
    -webkit-animation: fade 0.5s;
    -moz-animation: fade 0.5s;
    -o-animation: fade 0.5s;
    -ms-animation: fade 0.5s;
}

.wallpaper-upload-btn {
    width: max-content;
    height: 40px;
    border-radius: 8px;
    background: var(--main-background-color);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--main-search-shadow);
    padding: 0px 15px;
}

.wallpaper-upload-btn:hover {
    background: var(--main-background-hover-color);
    transform: scale(1.02);
}

.wallpaper-upload-btn:active {
    background: var(--main-background-active-color);
    transform: scale(0.98);
}

.wallpaper-file-input {
    display: none;
}

.color-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 100%;
    margin: 5px;
}

.color-picker {
    position: fixed;
    opacity: 0;
    pointer-events: none;
    width: 0px;
    height: 0px;
    left: 80%;
    bottom: 16%;
}

.color-picker-btn {
    width: 20%;
    height: 40px;
    border-radius: 8px;
    background: var(--main-background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0px 15px;
}

.color-picker-btn:hover {
    background: var(--main-background-hover-color);
    transform: scale(1.02);
}

.color-picker-btn:active {
    background: var(--main-background-active-color);
    transform: scale(0.98);
}

#wallpaper_text {
    font-weight: calc(700 + var(--main-font-weight));
    margin-top: 6px;
}

#wallpaper-url.disabled {
    cursor: no-drop;
    background-color: var(--main-background-color) !important;
}

.wallpapers_content {
    overflow-y: auto;
    margin: 0px 10px 0px 10px;
}

.wallpapers_content .set_blocks_content.hide div,
.from_row_content #wallpaper div,
.wallpaper-list-setting div {
    height: 0px !important;
}

.from_row_content #wallpaper,
.from_row_content #wallpaper div,
.wallpaper-list-setting.show div {
    height: auto !important;
}

.wallpaper-list-container {
    margin-top: 20px;
}

.wallpaper-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    margin: 5px;
}

.wallpaper-list-content {
    background: var(--main-background-color);
    border-radius: 8px;
    max-height: 230px;
    padding: 2px 0px;
}

.wallpaper-list-setting {
    opacity: 0;
    transition: all 0.3s;
    height: 0px;
    pointer-events: none;
}

.wallpaper-list-setting.show {
    opacity: 1 !important;
    height: 250px !important;
    pointer-events: auto;
}

#wallpaper_color {
    opacity: 0;
    transition: all 0.3s;
    height: 0px;
    pointer-events: none;
}

#wallpaper_color.show {
    opacity: 1 !important;
    height: 50px !important;
    pointer-events: auto;
}

.wallpaper-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
}

.wallpaper-item:hover {
    transform: scale(1.05);
}

.wallpaper-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wallpaper-item:hover .delete-btn {
    opacity: 1;
}

.wallpaper-item .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    width: 20px;
    height: 20px;
    border-radius: 8px;
}

.wallpaper-list-add {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#add-wallpaper-btn {
    width: 25%;
    display: flex;
    height: 40px;
    border-radius: 8px;
    background: var(--main-background-color);
    margin: 0 20px;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    border-style: unset;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

#add-wallpaper-btn:active {
    transform: scale(0.90);
    background: var(--main-background-active-color);
    transition: 0.3s;
}

#add-wallpaper-btn:hover {
    cursor: pointer;
    background: var(--main-background-hover-color);
    transition: 0.3s;
}

.form-radio {
    padding: 10px;
    flex: none;
    display: flex;
    align-items: center;
    position: relative;
}

.delete-wallpaper {
    background: var(--main-background-color);
    cursor: pointer;
    visibility: hidden;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    user-select: none;
    -webkit-user-select: none;
    border-radius: 0px 8px 8px 0px;
    transform: translateX(-100%);
    opacity: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    z-index: 1;
}

.form-radio.long-pressed {
    margin-right: 32px;
    padding: 6px 9px;
}

.form-radio.long-pressed .delete-wallpaper {
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    right: -23px;
}

.delete-wallpaper:hover {
    background-color: var(--main-background-hover-color);
    transform: translateY(-50%) translateX(0) scale(1.1);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.delete-wallpaper:active {
    transform: translateY(-50%) translateX(0) scale(0.95) !important;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

input[type="radio"]+label {
    cursor: pointer;
    padding: 6px 10px;
    background: var(--main-background-color);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    z-index: 2;
}

.form-radio.long-pressed .form-radio-label {
    border-radius: 8px 0px 0px 8px;
    padding: 6px 10px;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    border: 2px solid transparent;
    box-shadow: 0 0 0 0px var(--main-background-hover-color);
    height: 24px !important;
    display: flex;
    align-items: center;
}

.form-radio.long-pressed .delete-wallpaper {
    display: flex;
    align-items: center;
}

.form-radio.long-pressed .form-radio-label::before {
    border: 0px solid var(--main-background-hover-color);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

input[type="radio"]:checked+label {
    background: var(--main-background-active-color);
    background-color: var(--main-background-hover-color);
    position: relative;
}

input[type="radio"]:checked+label::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    border-radius: 12px;
    border: 3px solid var(--main-background-hover-color);
    opacity: 1;
    bottom: -6px;
    right: -6px;
    opacity: 1;
    transition: opacity 0.3s;
}

input[type="radio"]:checked+label:hover::before,
input[type="radio"]:checked+label:active::before {
    opacity: 0;
}

input[type="radio"]+label:hover {
    background-color: var(--main-background-hover-color);
    box-shadow: 0 0 0 2px var(--main-background-hover-color);
}

input[type="radio"]+label:hover:active {
    box-shadow: 0 0 0 0px var(--main-background-hover-color);
}

/* 长按状态样式 */
.form-radio.pressing {
    transform: scale(0.98);
}

.form-radio.pressing input[type="radio"]+label {
    background-color: var(--main-background-hover-color);
    box-shadow: 0 0 0 2px var(--main-background-hover-color);
    border-radius: 8px 0px 0px 8px;
}

/*数据备份*/
.set_tip {
    display: flex;
    margin: 20px;
    background: var(--main-background-color);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
    flex-direction: column;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

.set_tip:hover,
.set_tip_about:hover {
    transition: 0.3s;
    box-shadow: 0px 0px 20px 0px #00000020;
    -webkit-box-shadow: 0px 0px 20px 0px #00000020;
}

.set_tip_about {
    display: flex;
    margin: 10px;
    background: var(--main-background-color);
    padding: 10px;
    border-radius: 8px;
    flex-direction: column;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

.set_tip_updateLog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: break-spaces;
    flex-direction: row;
}

.set_tip_updateLog .set_text {
    margin-left: 10px;
}

.tip_new_ac {
    margin: 10px 10px -10px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.tip_new_ac .set_text .iconfont {
    font-size: 27px;
    font-weight: 900 !important;
}

.tip_new_ac .set_text big {
    left: 30px;
    position: absolute;
}

.set_text_wallpaper {
    font-size: medium;
}

.but-ordinary {
    display: flex;
    height: 40px;
    border-radius: 8px;
    background: var(--main-background-color);
    margin: 10px 20px 0px 20px;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

.but-ordinary:hover {
    cursor: pointer;
    background: var(--main-background-hover-color);
    transition: 0.3s;
}

.but-ordinary:active {
    transform: scale(0.90);
    background: var(--main-background-active-color);
    transition: 0.3s;
}

/*页脚*/
.foot {
    position: absolute;
    bottom: 10px;
    z-index: 2000;
    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: var(--main-box-gauss-plus) !important;
    -webkit-backdrop-filter: var(--main-box-gauss-plus) !important;
    background-color: var(--main-background-color) !important;
    box-shadow: var(--main-search-hover-shadow) !important;
}

.iziToast-title,
.iziToast-message {
    color: var(--main-text-color) !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: var(--main-text-color) !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;
}

.iziToast-wrapper.iziToast-wrapper-center .iziToast-capsule {
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 60%;
    max-width: 60%;
    min-height: 60%;
    max-height: 60%;
    border-radius: 8px !important;
    position: fixed;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    display: flex;
}

.iziToast-wrapper.iziToast-wrapper-center .iziToast-body {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.iziToast-wrapper.iziToast-wrapper-center .iziToast-body .iziToast-texts {
    display: flex !important;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
}

/*滚动条*/
::-webkit-scrollbar {
    background-color: transparent !important;
    width: 6px;
    height: 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-hover-color);
}

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

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

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

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

/*关闭块*/
.close_sou {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.4s cubic-bezier(0, 0, 0.4, 0.95);
}

/*隐藏元素*/
.hidden {
    display: none;
}

.onsearch .close_sou {
    transition: cubic-bezier(0.25, 0.05, 0.70, 1) 0.25s !important;
    background-color: rgba(0, 0, 0, 0.3);
}

.fadeHidden {
    opacity: 0 !important;
    overflow: hidden !important;
}

.aboutContainer {
    overflow-y: auto;
    display: flex;
    margin: 20px 20px 0px 20px;
    height: 430px;
    flex-direction: column;
    justify-content: space-between;
}

.text_hover:hover {
    text-decoration: none;
    text-shadow: 0px 0px 20px var(--main-text-color);
}

.set_version {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.set_version-text2 {
    font-size: small;
    color: var(--border-bottom-color-hover);
}

/* 下拉菜单 */
.dropdown {
    width: 150px;
    /* 下拉菜单宽度 */
    background-color: var(--main-background-color);
    /* 修改背景色 */
    color: var(--main-text-form-hover-color);
    padding: 10px;
    border-radius: 6px;
    /* Dropdown 整体圆角 */
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    /* 添加过渡效果 */
    z-index: 10;
    border: 0.2px solid var(--border-bottom-color-hover);
    /* 添加白色边框 */
    display: flex;
    justify-content: space-between;
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

.dropdown:hover {
    box-shadow: 0 0 10px var(--border-bottom-color-active);
    /* 添加发光效果，减弱发光强度 */
    border: 0.2px solid var(--border-bottom-color-active);
    /* 添加白色边框 */
}

.dropdown-content {
    display: block;
    position: absolute;
    background-color: var(--main-button-active-color);
    width: 100%;
    box-shadow: 0px 8px 16px var(--border-bottom-color-hover);
    z-index: 50;
    border-radius: 6px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.3s ease;
    top: 100%;
    left: 0;
    -webkit-backdrop-filter: blur(var(--main-box-gauss));
    backdrop-filter: blur(var(--main-box-gauss));
    overflow-y: auto;
}

.dropdown-content::before {
    filter: blur(var(--main-box-gauss));
}

.dropdown-content.show {
    opacity: 1;
    /* 全部可见 */
    transform: scaleY(1);
}

.dropdown-content div {
    color: var(--main-text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
    background-color: rgb(255 255 255 / 0%);
    transition: all 0.3s;
    justify-content: space-between;
    flex-direction: row-reverse;
    font-size: 0.8em;
}

.dropdown-content div:hover {
    background-color: var(--main-background-hover-color) !important;
    /* 鼠标悬停效果 */
}

.dropdown-selected {
    background-color: var(--main-background-active-color) !important;
    /* 选中项的背景颜色 */
}

.update_logs {
    margin: 0px 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.global-settings {
    position: relative;
}

/* 滑块 */
.slider-container {
    position: relative;
}

.slider-container input {
    padding: 0px;
}

.slider {
    appearance: none;
    width: 130px;
    height: 10px;
    /* 设置滑块的高度 */
    background: linear-gradient(to right, var(--main-input-text-placeholder-color) 0%, var(--main-input-text-placeholder-color) var(--slider-progress), var(--main-background-active-color) var(--slider-progress), var(--main-background-active-color) 100%);
    /* 背景颜色 */
    border-radius: 10px;
    outline: none;
    margin: 0;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    /* 设置滑块球的大小 */
    height: 10px;
    /* 设置滑块球的大小 */
    border-radius: 50%;
    background: var(--main-text-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.slider::-moz-range-thumb {
    appearance: none;
    width: 10px;
    /* 设置滑块球的大小 */
    height: 10px;
    /* 设置滑块球的大小 */
    border-radius: 50%;
    background: var(--main-text-color);
    cursor: pointer;
    transition: background-color 0.2s;
}

.slider_fill {
    position: relative;
    height: 8px;
    background: var(--main-text-color) !important;
    border-radius: 4px;
}

input[type=range]::-moz-range-progress,
input[type=range]:focus::-ms-fill-lower,
input[type=range]::-ms-fill-lower {
    background: var(--main-text-color) !important;
}

/* 滑块数值显示 */
.slider-value {
    position: absolute;
    transform: translateX(-170px);
    background: var(--main-background-color);
    color: var(--main-text-color);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: var(--date-font-weight);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
    width: 20px;
    text-align: center;
}

.slider-value.show {
    opacity: 1;
}

.set_tip_new {
    margin-left: 2.5%;
    margin-right: 2.5%;
    gap: 10px;
}

.text_right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.tip_new_both {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.panelContent {
    overflow-y: auto;
    margin: 0px 5px 0px 10px;
    transition: all 0.3s;
}

.switch {
    max-width: 40px;
    min-width: 40px;
    height: 20px;
    background-color: var(--main-background-active-color);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
    will-change: background-color, transform;
    transform: translateZ(0);
    box-shadow: var(--main-search-shadow);
    -webkit-box-shadow: var(--main-search-shadow);
}

.switch:active::before {
    transform: scaleX(1.1) scaleY(1.05);
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.switch.on:active::before {
    transform: translateX(20px) scaleX(1.1) scaleY(1.05);
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: var(--main-text-color);
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.switch.on {
    background-color: var(--border-bottom-color-hover);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.switch.on::before {
    transform: translateX(20px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.switch.disabled {
    background-color: var(--main-background-color);
}

.switch.disabled::before {
    background-color: var(--main-button-color);
}

#wallpaper-sound-option {
    opacity: 0;
    transition: all 0.3s ease;
    height: 0px !important;
    margin-bottom: -5px;
}

#wallpaper-sound-option.active {
    opacity: 1;
    height: auto !important;
}

.set_blocks_more {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.data_backup_tip {
    width: calc(50% - 60px);
    margin: 10px;
    padding: 20px;
}

.data_backup {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 20px;
}

.about-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}