.appPageGroup {
    display: flex;
    align-items: center;
    height: 100%;
}
.floatController {
    left: 10px!important;
    height: clamp(min(480px,70%),636px,70%)!important;
    top: initial!important;
    border-radius: 16px;
    display: grid!important;
    align-content: space-between!important;
    grid-template-rows: auto 1fr auto;
}
.floatController > div:first-child > div:hover {
    background: rgb(209 213 219 / .2);
    border-radius: .5rem;
}
.floatController > div:first-child {
    position: initial!important;
    padding: 10px 0px;
}
.floatController > div:nth-child(2) {
    position: initial!important;
    display: grid;
}    
.floatController > div:nth-child(3) {
    position: initial!important;
    padding-bottom: 10px;
}
.floatController > div:nth-child(3) div {
    margin-top: 0px;
}
.folderBox div {
    height: 50px!important;
}
.setting-controller {
    display: flex;
    justify-content: center!important;
    align-items: center!important;
}
.setting-controller>.el-drawer {
    right: initial!important;
    top: initial!important;
    bottom: initial!important;
    width: 40%!important;
    height: initial!important;
    min-height: 50%!important;
    max-height: 80%!important;
    border-radius: 10px;
}
.el-overlay {
    background-color: rgb(0 0 0 / 50%)!important;
}
.folderBox {
    top: 85px!important;
}
.itemBox {
    animation: none;
    transform: translateY(0);
    transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
}
.itemBox:hover {
    transform: translateY(-4px);
}
.appPageGroup>.floatController {
    background: rgba(0, 0, 0, 0.4)!important;
}
.c8x4 {
    width: 100%;
    height: calc(var(--iconWidth)* 4 + 57px); 
    grid-row: span 8 / span 8;
    grid-column: span 4 / span 4;
}
.footer-component {
    bottom: 5px!important;
}
.loginCard {
    height: auto!important;
}
#addClass i {
    width: initial!important;
    height: initial!important;
    padding: 7px;
}
#addClass:hover i {
    background: rgb(209 213 219 / .2);
    border-radius: .5rem;
}


/* 背景遮罩 */
.iframe-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9); /* 半透明遮罩 */
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease-out; /* 淡出过渡 */
}

/* loading GIF */
.iframe-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    background-image: url('https://tab.htloli.com/custom/loading.gif');
    background-size: cover;
    z-index: 2;
}

/* 添加 fade-out 类后的动画 */
.iframe-loading.fade-out::before {
    opacity: 0; /* 淡出背景 */
}

/*搜索框白色字体*/
#search::-webkit-input-placeholder {
    color: #dcdcdc!important;
}
/*  Mozilla Firefox 4-18使用伪类 */
#search:-moz-placeholder {
  color: #dcdcdc!important;
}
/* Mozilla Firefox 19+ 使用伪元素  */
#search::-moz-placeholder { 
  color: #dcdcdc!important;
}

/*下载浏览器插件*/
.downloadBox a {
    color: #ffffff!important;
}

/*开屏加载*/
#splash-loader {
  position: fixed;
  inset: 0;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.splash-logo {
  font-size: 2rem;
  margin-bottom: 30px;
}
.splash-logo img {
    width: 96px;
    height: 96px;
}
.splash-progress-container {
  width: 200px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  overflow: hidden;
}
.splash-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fbd3e9, #fceabb);
  transition: width 0.2s ease;
}

.c4x2 {
    width: 100%;
    grid-row: span 4 / span 4;
    grid-column: span 2 / span 2;
}

.c4x2 .comp {
    max-height: 351px !important;
}

.c6x4 {
    width: 100%;
    grid-row: span 6 / span 6;
    grid-column: span 4 / span 4;
}

.c6x4 .comp {
    max-height: 546px !important
}

.c4x4 {
    width: 100%;
    grid-row: span 4 / span 4;
    grid-column: span 4 / span 4;
}
/*Live2d*/
div#oml2d-statusBar {
    background-color: rgba(89, 89, 89, 0.15)!important;
    backdrop-filter: blur(0.5rem)!important;
    -webkit-backdrop-filter: blur(0.5rem)!important;
    border: 0.634921px solid rgba(255, 255, 255, 0.18)!important;
    box-shadow: rgba(14, 14, 14, 0.19) 0px 6px 15px 0px!important;
    -webkit-box-shadow: rgba(14, 14, 14, 0.19) 0px 6px 15px 0px!important;
    padding: 10px 8px 10px 12px!important;
    border-radius: 10px!important;
    font-weight: unset!important;
    color: #fff!important;
    font-size: 1em!important;
}
.oml2d-menus-item {
    height: 1.2em!important;
    width: 1.2em!important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    align-items: center;
    transition: all 300ms;
    cursor: pointer;
    background-color: rgba(89, 89, 89, 0.15)!important;
    backdrop-filter: blur(0.5rem)!important;
    -webkit-backdrop-filter: blur(0.5rem)!important;
}
.oml2d-icon {
    height: 0.7em!important;
    width: 0.7em!important;
    fill: #ffffffe0!important;
}
div#oml2d-tips {
    padding: 10px !important;
    min-height: 50px !important;
    background-color: rgb(0 0 0 / 15%) !important;
    backdrop-filter: blur(0.5rem)!important;
    -webkit-backdrop-filter: blur(0.5rem)!important;
    border: 0.634921px solid rgba(255, 255, 255, 0.18)!important;
    box-shadow: none!important;
    -webkit-box-shadow: none!important;
    border-radius: 12px!important;
    -webkit-border-radius: 12px!important;
    color: #fff!important;
    font-size: 1em!important;
}