/* 在谷歌浏览器内核中，使滚动条不占用容器的宽度 */
.sidebar-nav-inner .flex-fill {
    overflow-y: overlay;
}
.io-grey-mode .sidebar-nav,.io-grey-mode .sidebar-popup.sidebar-menu-inner ul {
    background: var(--sidebarBgColorGrey,#f0f2f4);
    box-shadow: 0 0 2rem 0 var(--sidebarShadowGrey,transparent) !important;
}
.io-grey-mode .sidebar-nav-inner {
    background: var(--sidebarBgColorGrey,#f9f9f9);
}
.io-grey-mode .sidebar-logo {
    background: var(--sidebarBgColorGrey,#FFF);
}
/* 调整行高 */
.sidebar-menu ul li.sidebar-item > a {
    height: var(--sidebarLineHeight,45px);
}
.sidebar-menu ul li.sidebar-item > i {
    line-height: var(--sidebarLineHeight,45px) !important;
}

/* 顶部菜单从 74 -> 60 */
.header-mini-btn {
    height: var(--headerMenuHeight);
    width: 40px;
}
.header-mini-btn svg {
    margin: 0 -20px;
    height: var(--headerMenuHeight);
}
#sidebar .sidebar-logo{
    height: var(--headerMenuHeight);
}
.sidebar-nav .logo {
    line-height: var(--headerMenuHeight);
}
@media (min-width: 768px) {
    .page-header+.placeholder {
        height: var(--headerMenuHeight);
    }
  
}
 /* 顶部菜单 使用 毛玻璃效果 */
.big-header-banner.header-bg .page-header {
    color: initial;
    background: var(--greyPageHeaderFilter,rgba(255,255,255,1));
    backdrop-filter: blur(var(--backdropFilter,0px));
}
.io-black-mode .big-header-banner.header-bg .page-header {
    color: #fff;
    background:  var(--blackPageHeaderFilter,rgba(255,255,255,1));
    backdrop-filter: blur(var(--backdropFilter,45px));
    box-shadow: 0 0 25px 5px rgba(17, 12, 12, 0.25);
}
/* 首页部分 */
.slider-menu-father{
    border-radius: var(--ajaxTabRadius);
}
/* 20211129 新版改成这样了 */
.slider_menu[sliderTab]{
    border-radius: var(--ajaxTabRadius);
}
.slider_menu[sliderTab] .anchor {
    border-radius: var(--ajaxTabRadius);
}
.slider_menu[sliderTab] >.menu {
    border-radius: var(--ajaxTabRadius);
}

/* 黑暗模式和日间模式下得背景颜色 */
body.io-grey-mode{
    background-color: var(--bodyBgColor);
}

body{
    overflow-y: overlay;
}
@media only screen and (min-device-width:768px){
    ::-webkit-scrollbar-thumb{background-color:rgba(130,130,130,.5);-webkit-border-radius:4px;border-radius:4px}
    ::-webkit-scrollbar-thumb:hover{background-color:var(--hy-scrollbar-color);-webkit-border-radius:4px;border-radius:4px}
    ::-webkit-scrollbar{width:5px;height:5px} 
    ::-webkit-scrollbar-thumb:active{background-color:var(--hy-scrollbar-color);-webkit-border-radius:4px;border-radius:4px}
    ::-webkit-scrollbar-corner{background:rgba(0,0,0,0);border-radius:0 0 8px 0}
    ::-webkit-scrollbar-button{background-color:rgba(0,0,0,0);height:2px;width:2px}
}


/*首页自定义导航5个颜色*/
.user-custome .url-card:nth-child(5n+1) .url-body a {
	background: var(--homeCustomeColor1);
}

.user-custome .url-card:nth-child(5n+2) .url-body a {
	background: var(--homeCustomeColor2);
}

.user-custome .url-card:nth-child(5n+3) .url-body a {
	background: var(--homeCustomeColor3);
}

.user-custome .url-card:nth-child(5n+4) .url-body a {
	background: var(--homeCustomeColor4);
}

.user-custome .url-card:nth-child(5n+5) .url-body a {
	background: var(--homeCustomeColor5);
}

/*详情页弹窗*/
.sites-template-default .modal-lg, .sites-template-default .modal-xl {
  max-width: var(--hyPopupSize);
}

/*tab栏自定义颜色弹窗*/
.custome_popup {
    display: none;
}
.custome_popup .point{
    width: 10px;
    height: 10px;
    border: 3px solid var(--mainColor);
    border-radius: 50%;
    position: absolute;
}
.custome_popup .main{
    position: absolute;
    left: 15px;
    top: 10px;
    width: 260px;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
    box-shadow:0 0 2rem 0 var(--sidebarShadowGrey,transparent) !important
}
.io-black-mode .custome_popup .main {
    background: #2c2e2f;
}
.custome_popup p{
    font-size: 14px;
}
.custome_popup .colorList{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}
.custome_popup .colorList div,.custome_popup .colorList input{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 6px;
}
.io-grey-mode .custome_popup .colorList div{
    border: 1px solid #e5e7eb;
}
.io-grey-mode .custome_popup .colorList input{
    border: 1px dashed #cfcfcf;
}
.custome_popup .colorList div:hover,.custome_popup .colorList input:hover{
    border: 3px solid #e5e7eb;
}
.custome_popup .options{
    display: flex;
    margin-top: 10px;
}
.custome_popup .options a{
    cursor: default;
    padding: 5px;
    border-radius: 6px;
    color: #fff!important;
    font-size: 14px;
    margin-right: 10px;
}

/*更多网址块*/
.more-link strong{
    color: var(--mainColor)!important;
}
/* .leaderboard 类的样式 */
.leaderboard {
  max-width: 490px;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

/*.leaderboard header {
  height: 130px;
  background-image: linear-gradient(to right, #5b7cfa, #3659db);
  border-radius: 12px 12px 0 0;
  position: relative;
}*/

.leaderboard__profiles {
  background-color: #fff;
  padding: 8px 8px 8px;
  display: grid;
  row-gap: 8px;
  border-radius: 12px 12px 12px 12px;
}

.leaderboard__profile {
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98), box-shadow 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98);
  position: relative;
  z-index: 1;
}

.leaderboard__profile:hover {
  transform: scale(1.2);
  box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0.23);
  z-index: 10;
}

.leaderboard__profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.leaderboard__profile a {
  position: relative;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-more {
  color: #fff;
  font-size: 16px;
  display: none;
}

.leaderboard__profile:hover .overlay {
  opacity: 1;
}

.leaderboard__profile:hover .view-more {
  display: block;
}

/* 添加角标的样式 */
.ad-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 30px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 7px;
  border-radius: 5px 5px 5px 5px;
}

/* 夜间背景颜色 */
.io-black-mode .leaderboard__profiles {
  background-color:#2c2e2f;
  box-shadow: 0px 0px 0px #131416, 0px 0px 0px #232628
}
/*右上角弹窗广告调整*/
.cookies-link {
    margin-left: 0px !important;
}
#cookies-window {
    position: fixed;
    top: 80px;
    height: 155px;
    margin-right: -10px;
    border: 1px solid #555a6121 !important;
    background-image: url(https://kkok.cc/wp-content/themes/onenav-kkok/img/hallo.webp) !important;
    background-size: 110px !important;
    background-repeat: no-repeat !important;
    background-position: right bottom !important;
}
.cookies-window-content {
    margin-top: 10px !important;
    margin-bottom: 5px;
}
.cookies-link::after {
    content: "超大流量卡点击免费领取";
    display: inline-block;
    padding: 2px;
    margin-left: 5px;
    font-size: 15px;
    font-weight: bold;
}
.relative {
      margin-bottom: 15px;
      position: relative;
}
.relative a {
    color: #6c757d;
}
.line-form-line, .line-form-line:before {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    transition: .8s;
    background: var(--main-border-color);
}
.flex.ac, .inflex.ac {
    align-items: center;
}
.single-metabox {
    right: 0;
    font-size: 15px;
    --meta-color: var(--muted-color);
}
/*博客列表美化*/
 .post-metas {
    background:#ededed;
    right: 0;
    padding: 1px 4px;
    border-radius: 100px;
    color: var(--meta-color);
}
 .post-meta {

    float: right;

}
 .post-meta a, .post-metas a {
    color: #6c757d;
}
.abs-right{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.article-timeout{
  position:relative; 
  border-radius: 8px; 
  position: relative; 
  margin-bottom: 25px; 
  padding: 10px; 
  background-color: #eee;
}

/*tab文章微调*/
.img-post .caption span {
    margin-top: 25px;
    margin-left: 25px;
}

.img-post .caption {
background-image: linear-gradient(to top, rgba(0,0,0,.5), rgb(0 0 0 / 0%) 80%) !important;
    opacity: 1 !important;

}

.post-edit-linkw, .post-edit-linkx {
    float: right;
    margin: 8px 0 0 10px;
    padding: 4px;
    border-radius: 6px;
    background: rgba(138, 138, 138, .15);
    font-size: 10px;
}
/*自定义文章标签*/
.DearLicy_prefix {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    padding: 5px 4px;
    margin-right: 3px;
    height: 19px;
    font-size: 12px;
    top: -3px;
    clip-path: polygon(7% 0, 99% 0, 93% 100%, 0 100%);
}

.DearLicy_prefix:after,
.DearLicy_prefix:after {
    position: absolute;
    content: " ";
    display: block;
    left: -100%;
    top: -5px;
    width: 15px;
    height: 145%;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    animation: sweepTitle 3s ease-in-out infinite;
    transform: rotate(28deg);
}

@keyframes sweepTitle {
    0% {
        left: -100%
    }

    100% {
        left: 100%
    }
}
