.background{
	position: absolute;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	background-origin: border-box;
	background-position: center;
	background-size: cover;
	transition: all .3s;
    transform: perspective(1000px);
	transform-origin: center;
}
.background:before{
	content: ' ';
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,var(--mask));
	backdrop-filter: blur(var(--blur));
    transform: translateZ(0);
}
.drop-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    background-color: #0000004d;
    color: #ffffffcc;
    font-size: 16px;
    height: 200px;
    width: 200px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border: 2px dashed #ffffffcc;
    border-radius: 16px;
    user-select: none;
    backdrop-filter: blur(12px) ;
    transform-origin: left top;
    transition: all .3s;
}
@keyframes drop-zone-in{
	from{transform: scale(.5) translate(-50%, -50%) translateZ(0);opacity: .5;}
	to{transform: scale(1) translate(-50%, -50%) translateZ(0);opacity: 1;}
}
@keyframes drop-zone-out{
	from{transform: scale(1) translate(-50%, -50%) translateZ(0);opacity: 1;}
	to{transform: scale(.5) translate(-50%, -50%) translateZ(0);opacity: 0;}
}
.highlight {
    background: #00000080;
    border-color: #ffffff; 
    transform: scale(1.1) translate(-50%, -50%);
}

.sidebar{
	position: fixed;
    height: 100vh;
    width: 52px;
    background: #00000033;
    left: 0;
    top: 0;
    backdrop-filter: blur(12px);
    border-right: 1px solid #ffffff1a;
    color: #ffffffb3;
    padding: 36px 0 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
    align-items: center;
    transform: translateZ(0);
    transition: all .3s;
}
@media only screen and (max-width: 768px){
	.sidebar{
		display: none;
	}
}
.sidebar button{
	width: 48px;
	height: 48px;
	background: transparent;
	color: #ffffffb3;
	border: none;
	font-size: 20px;
	transition: background .3s,color .3s,border-radius .3s;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
/*.sidebar button span.desc{
	font-size: 12px;
    margin-left: 2px;
}*/
.sidebar button icon{
	transition: all .3s;
}
.sidebar button:hover{
	color: #ffffff;
}
.sidebar button:hover icon{
	transform: scale(1.1) rotate(10deg);
}
.sidebar button:active{
	transform: scale(.9);
    background: rgb(255 255 255 / 10%);
    border-radius: 8px;
    transition: all .3s;
}
.sidebar button.setting:hover icon{
	transform: rotate(180deg) scale(1.1);
}
.sidebar .sidebar-center{
	overflow-y: auto;
	scrollbar-gutter: stable;
	overflow-x: hidden;
}

.sidebar .sidebar-bottom{
	border-top: 1px solid #ffffff1a;
}
.ghost {
    background: #00000033 !important;
    border-radius: 8px !important;
    color: white !important;
}
/**/
.time{
	margin: auto;
    color: white;
    position: relative;
    width: 100vw;
    display: flex;
    align-items: center;
    margin-top: 80px;
   	user-select: none;
    cursor: pointer;
    flex-direction: column;
    transition: all .3s;
	text-shadow: 0px 0px 10px #00000080;
}
.time .now-time{
    font-size: 60px;
}
.time .bottom{
	display: flex;
	gap: 4px;
}
/**/
.search{
	width: min(75vw, 540px);
    position: relative;
    margin: auto;
    margin-top: 30px;
}
.search-box{
	width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00000033;
    border-radius: 16px;
    transform: translateZ(0);
    backdrop-filter: blur(12px);
    border: 1px solid #ffffff1a;
    color: #ffffffb3;
    transition: all .3s;
	justify-content: space-between;
	overflow: hidden;
}
.search-box:hover,.search-box:focus-within{
	background: #0000004d;
}

.search-box button ,.search-box input{
	border: none;
	background: transparent;
}
.search-box button{
	width: 48px;
	height: 46px;
	transition: all .3s;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffffb3;
	position: relative;
}
.search-box button:hover{
    background: #00000033;
}
.search-box button:active icon{
    transform: scale(.9);
}
.search-box button .small-down{
    position: absolute;
    right: -4px;
    top: 12px;
}
.search-box input{
	width: calc(100% - 96px);
	padding: 0 6px;
	color: #ffffffb3;
	height: 46px;
}
#suggestions{
	margin-top: 8px;
	background: #00000033;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    transform: translateZ(0);
    border: 1px solid #ffffff1a;
    color: #ffffffb3;
    transition: all .3s;
    overflow: hidden;
}
#suggestions div{
	height: 32px;
	display: flex;
	align-items: center;
	padding: 0 12px;
    transition: all .3s;
    cursor: pointer;
    user-select: none;
    position: relative;
}
#suggestions div:hover{
	background: #00000033;
	padding-left: 24px;
}
#suggestions div icon{
	font-size: 18px;
	margin-right: 4px;
}
#suggestions div.translate{
    height: 30px;
    border-bottom: 1px solid #ffffff1a;
    display: flex;
    justify-content: space-between;
}
#suggestions div.translate span{
    overflow: hidden;
    width: calc(100% - 6px);
    white-space: nowrap; 
    text-overflow: ellipsis;
}
#suggestions div.translate kbd{
	width: 52px;
    font-size: 12px;
}
@keyframes suggestions-in{
	from{transform: translateY(-20px);opacity: .5;}
	to{transform: translateY(0px);opacity: 1;}
}
@keyframes suggestions-out{
	from{transform: translateY(0px);opacity: 1;}
	to{transform: translateY(-20px);opacity: 0;}
}
#engineList{
	background: #00000033;
    border-radius: 18px;
    backdrop-filter: blur(12px);
    border: 1px solid #ffffff1a;
    transform: translateZ(0);
    color: #ffffffb3;
    transition: all .3s;
    overflow: hidden;
    height: 80px;
    margin: 8px 0;
    padding: 8px;
    overflow-x: auto;
    align-items: center;
}

#engineList .item{
    flex-direction: column;
    height: 68px;
    width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    user-select: none;
    cursor: pointer;
    margin-right: 6px;
    font-size: 12px;
    gap: 4px;
    transition: all .3s;
    flex: none;
    position: relative;
    overflow: hidden;
}
#engineList .item.active{
    background: #0000004d;
    color: #ffffff;
}
#engineList .item.active:after{
    content: ' ';
    height: 6px;
    width: 12px;
    border: 2px solid white;
    border-left: none;
    border-bottom: none;
    position: absolute;
    right: 1px;
    top: 4px;
    transform: rotate(135deg) scale(.7);
}
#engineList .item.active:before{
    content: ' ';
    position: absolute;
    right: 0;
    top: 0;
    background: #33cc80;
    height: 15px;
    width: 15px;
    border-radius: 0 0 0 10px;
    animation: popin .5s;
}
@keyframes popin {
	0% {
		opacity: 0;
		transform: scale(0);
	}
	50% {
		opacity: .8;
		transform: scale(1.1);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
#engineList .item icon{
	font-size: 24px;
    height: 36px;
    width: 36px;
    border-radius: 8px;
    background: #00000033;
}
#engineList .item:hover{
	background: #00000033;
    color: #ffffff;
}
#engineList .item:hover icon{
    background: #0000001a;
}
@keyframes enginelist-in{
	from{transform: translateY(-12px);opacity: .5}
	to{transform: translateY(0px);opacity: 1;}
}
@keyframes enginelist-out{
	from{transform: translateY(0px);opacity: 1;}
	to{transform: translateY(-12px);opacity: 0;}
}
/**/
.yiyan{
	position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    max-width: 500px;
    background: #00000033;
    padding: 12px;
    padding-top: 26px;
    border-radius: 12px 12px 0 0;
    color: #ffffffb3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(12px);
    transition: all .3s;
    user-select: none;
	cursor: pointer;
	opacity: .8;
}
.yiyan:hover{
	bottom: 0 !important;
	background: #00000033;
	opacity: 1;
}
.yiyan #yiyanText{
	text-align: center;
}
.yiyan #yiyanForm{
	font-size: 12px;
}
.yiyan .tool{
	position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: all .3s;
    transform: translateY(12px);
}
.yiyan:hover .tool{
	opacity: 1;
    transform: translateY(0px);
}
.yiyan .tool button{
	padding: 0;
    color: #ffffffb3;
    background: #0000001a;
    border: none;
    border-radius: 6px;
    transition: all .3s;
}

/**/
.jing{
	height: 40px;
    width: 40px;
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 1;
    background: transparent;
    color: #ffffffb3;
    border: none;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    font-size: 20px;
    backdrop-filter: blur(12px);
    transform: translateY(0);
    opacity: .5;
}
.jing:hover{
    background: #00000033;
    opacity: 1;
}
.jing:active{
    transform: scale(.9) translateY(0);
}
/**/
.setting-card{
	height: 80vh;
    width: 80vw;
    position: absolute;
    background: #00000088;
/*    backdrop-filter: blur(12px);*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    border-radius: 16px;
    border: 1px solid #ffffff1a;
    transition: all .3s;
    color: #ffffffb3;
    z-index: 99999;
    animation: setting-card-in .5s;
    transform-origin: left top;
    overflow: hidden;
}
@media only screen and (max-width: 768px){
	.setting-card.wallpaper .tab .tabs{
		width: 25vw !important;
		min-width: 140px;
	}
	.setting-card{
		height: 100vh !important;
		width: 100vw !important;
		border-radius: 0 !important;
	}
	.setting-card .setting-tool button.setting-zoom{
		display: none;
	}
}
@keyframes setting-card-in{
	from{transform: scale(.8)  translate(-50%, -50%) translateZ(0)  rotateX(90deg);opacity: 0;}
	to{transform: scale(1) translate(-50%, -50%) translateZ(0)  rotateX(0deg);opacity: 1;}
}
@keyframes setting-card-out{
	from{transform: scale(1)  translate(-50%, -50%) translateZ(0)  rotateX(0deg);opacity: 1;}
	to{transform: scale(.8) translate(-50%, -50%) translateZ(0)  rotateX(90deg);opacity: 0;}
}
.setting-card .setting-tool{
	position: absolute;
    right: 8px;
    top: 4px;
    display: flex;
    gap: 2px;
}
.setting-card .setting-tool button{
	background: #00000033;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ffffff1a;
    transition: all .3s;
    color: #ffffffb3;
}
.setting-card .setting-tool button.setting-close:hover{
	background: #ffffff33;
}
.setting-card.wallpaper .tab{
    width: 100%;
    height: 100%;
    color: #ffffffb3;
}
.setting-card.wallpaper .tab .tab-pane{
	width: 100%;
	padding: 12px 0 ;
}
.setting-card.wallpaper .tab .tabs{
    background: #00000033;
    color: #ffffffb3;
    width: 240px;
    flex: none;
}
.setting-card.wallpaper .tab .tabs .tab-btn{
    color: #ffffffb3;
}
.setting-card.wallpaper .tab .tabs .tab-indicator{
    background: #ffffff4d;
    border-radius: 8px;
    width: 240px;
}
.setting-card.wallpaper .tab .tabs .title{
	height: 46px;
    font-size: 20px;
    justify-content: center;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ffffff1a;
    width: 100%;
    user-select: none;
    cursor: pointer;
}
.setting-card.wallpaper .tab .tab-content{
	width: 100%;
}
#wallpaperGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	grid-template-rows: 120px;
	grid-auto-flow: dense;
	grid-gap: 12px;
	padding: 8px 12px 0 12px;
	user-select: none;
	overflow-x: hidden;
	scroll-behavior: smooth;
	overflow-y:  scroll;
    width: 100%;
    height: 100%;
}
#wallpaperGrid .wallpaper-item{
	position: relative;
	height: 120px;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	transition: all .3s;
	cursor: pointer;
	animation: opacity .8s;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: top;
}
@keyframes opacity{
	from{transform: translateY(-20px);opacity: 0;}
	to{transform: translateY(0px);opacity: 1;}
}
#wallpaperGrid  .wallpaper-item:after {
	content: ' ';
	height: 100%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: rgb(0 0 0 / 0.4);
	backdrop-filter: blur(6px);
	opacity: 0;
	border-radius: 8px;
	transition: all .3s;
}

#wallpaperGrid  .wallpaper-item:hover:after{
	opacity: 1;
}
#wallpaperGrid  .wallpaper-item:hover img{
	transform: scale(1.2);
}
#wallpaperGrid  .wallpaper-item img{
	transform-origin: center center; 
	height: 120px;
	width: 100%;
	transition: all .3s;
}
#wallpaperGrid  .wallpaper-item.active:after{
	opacity: 1;
}
#wallpaperGrid  .wallpaper-item.active .wallpaper-check{
    opacity: 1;
    background: #33cc80;
    color: white;
}
#wallpaperGrid  .wallpaper-item.active:hover .wallpaper-check{
    opacity: .8;
    animation: none !important;
}
.wallpaper-check{
    position: absolute;
    height: 50px;
    width: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgb(255 255 255 / 0.7);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 1;
    transition: all .3s;
    animation: none;
    transform-origin: center center;
    border: none;
    cursor: pointer;
    font-size: 24px;
}
#wallpaperGrid  .wallpaper-item:hover .wallpaper-check{
    opacity: 1;
    animation: wallpapercheck .5s;
}
#wallpaperGrid  .wallpaper-item .wallpaper-download{
    height: 28px;
    width: 28px;
    position: absolute;
    top: 0;
    right: 0;
    background: #0000004d;
    border-radius: 0 8px;
    z-index: 2;
    opacity: 0;
    transition: all .3s;
    border: none;
    color: rgb(255 255 255 / 0.7);
    padding: 0;
    font-size: 16px;
}
#wallpaperGrid  .wallpaper-item:hover .wallpaper-download{
	opacity: 1;
}
@keyframes wallpapercheck {
	0% {
		transform: scale(0) translate(-50%,-50%);
		opacity: 0;
	}

	50% {
		transform: scale(1.2) translate(-50%,-50%);
		opacity: 1;
	}

	100% {
		transform: scale(1) translate(-50%,-50%);
		opacity: 1;
	}
}

.today-info{
	width: 564px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	justify-content: space-between;
}
.today-info .bing-bing{
	font-size: 20px;
    color: white;
}
.today-info .bing-desc{
	word-break: break-word;
}
.today-info .flex button{
	height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    margin-right: 12px;
    font-size: 14px;
}
.today-info .flex button:hover{
	opacity: .8;
}
.today-info .flex button.go-bing{
	background: #6699ff;
	color: white;
}
.today-info .flex button.xz-bing{
	background: #ffffff40;
	color: white;
}