/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/

/*=====导航渐变扫光=====*/
.gradient{background-image: -webkit-linear-gradient(-30deg, #539FF1, #f00 30%, #002DBF 70%, #539FF1);-webkit-text-fill-color: transparent;-webkit-background-clip: text;-webkit-background-size: 200% 100%;-webkit-animation: text-background-animation 2s infinite linear;}
@-webkit-keyframes text-background-animation {0% {background-position:20% 0}100% {background-position:-120% 0}}
@keyframes text-background-animation {0% {background-position:20% 0}100% {background-position:-120% 0}}

/* vip等级颜色 */
.lv-icon>b {
    background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, purple);
    -webkit-background-clip: text;
    animation: vip 3s linear infinite;
    font-size: 12px;
    border: 1.5px solid;
    border-radius: 5px;
    padding: 0 1px;
    }
.credit-top-info-left>p>span>span>b {
    font-size: 11px;
    }
    @keyframes vip {
    0% {
    filter: hue-rotate(0deg);
    }
    100% {
    filter: hue-rotate(360deg);
    }
    }
/* vip等级颜色结束 */

/* 隐藏文章内页的手动摘要 */
.single .content-excerpt {
    display: none;
}

/* 文章顶部服模块样式 */
.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8f8;
  padding: 16px;
  margin: 20px 0;
  border-radius: 8px;
  flex-wrap: wrap;
}

.contact-text {
  font-size: 16px;
  color: #ef4444;
  flex: 1 1 100%;
  margin-bottom: 10px;
  line-height: 1.5;
  word-break: break-word;
}

.contact-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 100%;
}

.contact-buttons button {
  padding: 8px 16px;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

/* 不同按钮颜色 */
.qq-btn {
  background-color: #ef4444;
}
.qq-btn:hover {
  background-color: #dc2626;
}

.wx-btn {
  background-color: #07c160;
}
.wx-btn:hover {
  background-color: #05a350;
}

@media (min-width: 600px) {
  .contact-box {
    flex-wrap: nowrap;
  }
  .contact-text {
    flex: 1;
    margin-bottom: 0;
  }
  .contact-buttons {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
}

/* MySSL 安全认证图标样式 */
#cc-myssl-id {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 65px;
    height: 65px;
    z-index: 99;
}
#cc-myssl-id img {
    width: 100%;
    height: 100%;
    display: block;
}
@media (max-width: 768px) {
    #cc-myssl-id {
        display: none !important;
    }
}
