/*
Theme Name:     小米子主题
Theme URI:      https://www.xmiacg.com
Description:    小米子主题，平民化价格，高端享受。
Author:         小米
Author URI:     https://www.xmiacg.com
Template:       b2
Version:        1.0
*/



/*全站启用OPPO字体开始*/
@font-face {
  font-family: 'moe';
  src: url('https://dsfs.oppo.com/store/public/font/OPPOSans-Medium.woff2') format('woff2');
}
body {
  font-family: 'moe', sans-serif;
}
/*全站启用OPPO字体结束*/
.lv-icon.user-vip b {
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 12px;
}

.lv-icon.b2-vip0 b {
	background: linear-gradient(90.34deg,#d7e5ff .27%,#b9cbff 99.7%);
	color: #000!important;
}

.lv-icon.b2-vip1 b {
	background: linear-gradient(90.34deg,#ffd2a2 .27%,#ffe2c2 99.7%);
	color: #6c4a20!important;
}

.lv-icon.b2-vip2 b {
	background: linear-gradient(90.34deg,#393f68 .27%,#24263c 99.7%);
	color: #ffdbb1!important;
}

.lv-icon.b2-vip3 b {
	background: linear-gradient(90.34deg,#e54b63 .27%,#e54b63 99.7%);
	color: #fff!important;
}
/*下载按钮*/
.single-button-download button {
    background: var(--b2color);
        text-align: center;
        -webkit-text-fill-color: #fff;
	}
/* B2主题懒加载重构*/
img.lazy:not(.loaded) {
    filter: blur(12px) brightness(1)!important;
}
img.lazy.error {
    filter: none!important;
}
img:not([src]):not([srcset]) {
    visibility: hidden!important;
}
img.lazy.loaded {
    transition: filter 427ms .5s, transform .6s!important;
}
/*小图标*/
.icon {
    width: 1.3em; height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}
/*小图标结束*/
/*下载工具栏*/
.widget .w-d-current{
    font-family: DIN;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    display: flex;
    align-items: center;
}
.jitheme-widget-down .widget .w-d-current,.w-d-role > div span:last-child{
    font-size: unset!important;
}


/*下载工具栏*/
/*H2标题*/
.entry-content h1.wp-block-heading,.entry-content h2.wp-block-heading,.entry-content h3.wp-block-heading,.entry-content h4.wp-block-heading,.entry-content h5.wp-block-heading,.entry-content h6.wp-block-heading {
    padding: 0px 0px 0px 35px !important;
    background: url(https://www.xmiacg.com/wp-content/themes/b2child/pic/h3.svg) 10px center no-repeat;
    background-size: 20px 20px;
}
/**修改pc导航字体样式**/
.header-banner-left .menu li.current-menu-item a {
color: var(--b2color);
}
/*首页文章缩略图鼠标悬浮放大特效*/
.thumb-link .post-thumb {
 transition: transform 0.5s ease;
}
.thumb-link:hover .post-thumb {
transform: scale(1.10);
}
/*首页文章缩略图鼠标悬浮放大特效*/

/*小工具下载模块美化开始*/
.w-d-meta span:last-child{
     white-space: nowrap; /* 保证文字在一行内显示 */
  overflow: hidden; /* 隐藏溢出容器的文字 */
  text-overflow: ellipsis; 
}
.w-d-meta span:first-child {
 flex-shrink:0;
}
.w-d-meta p {
   
    position: relative;
    display: flex;
    align-items: center;
    line-height: 28px;
}
.w-d-meta p:before {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    background: var(--b2color);
    border-radius:100%;
    position: relative;
    margin-right: 8px;
    opacity: 0.65;
}
.jitheme-widget-down .w-d-meta:empty{
    display:none;
}
.jitheme-widget-down .downloadurl {
    font-size: 18px;
    padding: 0 16px 16px 0;
    border-bottom: 1px dashed #e2e3e4;
    font-weight: 600;
    line-height: 1;
    width: 100%;
    display: flex;
}
.jitheme-widget-down .downloadurl:before {
    content: '';
    position: absolute;
    background: #f7f9fa;
    width: 20px;
    height: 20px;
    top: 25px;
    left: -30px;
    border-radius: 50%;
}
.jitheme-widget-down .downloadurl i {
    color: #ff6600;
    font-size: 18px;
    margin-right: 8px;
    transform: translateY(1px);
}
.jitheme-widget-down .downloadurl:after {
    content: '';
    position: absolute;
    background: #f7f9fa;
    width: 20px;
    height: 20px;
    top: 25px;
    right: -30px;
    border-radius: 50%;
}
.jitheme-widget-down .cosbtn {
    font-size: 12px;
    padding-top: 20px;
    display: flex;
    margin-bottom: 20px;
    flex-direction: row;
    justify-content: space-between;
}
.jitheme-widget-down .cosbtn a {
    color: #626f86;
}
.jitheme-widget-down .cosbtn a i {
    font-size: 14px !important;
    margin-right: 3px;
    line-height: 1;
}
.jitheme-widget-down .cosbtn .desc {
    position: relative;
    cursor: pointer;
}
.jitheme-widget-down .cosbtn .desc span {
    color: #626f86;
    font-size: 12px;
}
.jitheme-widget-down .cosbtn .desc span i {
    font-size: 14px !important;
    margin-right: 3px;
    line-height: 1;
}
.jitheme-widget-down .cosbtn .desc .banquan {
    display: none;
    position: absolute;
    padding-top: 20px;
    top: 8px;
    right: 0;
    z-index: 10;
}
.jitheme-widget-down .cosbtn .desc:hover .banquan {
    display: block
}
.jitheme-widget-down .cosbtn .desc .banquan .boxtitle {
    width: 300px;
    height: 100%;
    padding: 20px;
    display: block;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0px 0px 16px 1px rgba(0,0,0,.1);
    line-height: 1.5;
    color: #626f86;
}
.jitheme-widget-down .cosbtn .desc .banquan .boxtitle span {
    text-align: center;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}
.jitheme-widget-down .w-d-meta {
    background-color: rgba(87, 165, 255, .15);
    padding:10px;
}
.w-d-meta {
    font-size: .75rem;
}
.jitheme-widget-down .w-d-role {
    padding: 0 12px;
    background: #fff9e4;
    color: var(--key-color);
    border: 2px dashed #ffdd65;
}
.w-d-role>div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 0;
}
.w-d-role>div span:last-child {
    font-size: 12px;
    color: #797c80;
    font-weight: 400;
    cursor: pointer;
}
.jitheme-widget-down .jitheme-down-user {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.jitheme-widget-down .jitheme-down-qx span {
    color: #FF3355 !important;
}
.jitheme-widget-down .jitheme-down-qx span {
    color: #FF3355 !important;
}
.w-d-download {
    margin-top: 16px;
}
.w-d-download span {
    display: block;
}
  .w-d-download span button {
    vertical-align: middle;
    text-align: center;
}

.w-d-download span:nth-child(odd) button {
    background-color: var(--b2color);
    font-weight: 400;
    text-align: center;
    font-size: 14px;
    color: #fff !important;
}
.w-d-download span:nth-child(even) button {
    background-color: var(--b2color);
    font-weight: 400;
    text-align: center;
    font-size: 14px;
    color: #fff !important;
}
.author-widget-content .w-a-info .w-a-name .w-a-lv {
    display: flex;
    justify-content: center
}

/*小工具下载模块美化结束*/

/*登陆弹窗美化-*/
.login-box-content {
margin-top: 0;
width: auto;
display: flex;
position: relative;
background: #fff;
min-width: 750px;
}
.aibk_com_login {
width: 50%;
position: relative;
background: url(https://img2.huashi6.com/images/resource/thumbnail/2025/08/02/212841_32155864264.jpg?imageMogr2/quality/100/interlace/1/thumbnail/2000x%3E);
background-size: cover;
background-position: center 0;
}
.login-box-content .login-box-top {
width: 50%;
padding: 30px 30px 25px;
}
.wxlogin-sidebar {
position: absolute;
bottom: 0;
width: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.8) 100%);
}
.wxlogin-sidebar h3{
color: #fff;
font-size: 18px;
margin-bottom: 10px;
}
.wxlogin-sidebar p{
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
}
.wxlogin-sidebar>div {
padding: 30px;
}
@media screen and (max-width: 768px){
.aibk_com_login {
display: none;
}
.login-box-content{
min-width: auto;
}
.login-box-content .login-box-top{
width: 100%;
}
}

/*文章随机彩色标签开始*/
.post-tags-meat{
    margin-bottom: 10px
}
.post-tags-meat a{
    background-color: #19B5FE;
    color: white;
}
.post-tags-meat a:nth-child(5n){
    background-color: #4A4A4A;
    color: #FFF
}
.post-tags-meat a:nth-child(5n+1){
    background-color: #ff5e5c;
    color: #FFF
}
.post-tags-meat a:nth-child(5n+2){
    background-color: #ffbb50;
    color: #FFF
}
.post-tags-meat a:nth-child(5n+3){
    background-color: #1ac756;
    color: #FFF
}
.post-tags-meat a:nth-child(5n+4){
    background-color: #19B5FE;
    color: #FFF
}
.post-tags-meat a:hover{
    background-color: #1B1B1B;
    color: #FFF
}
.post-tags-meat span.tag-text{
    color: #FFF;
    z-index: 6;
}
/*文章随机彩色标签结束*/


/*文章内页下载模块背景*/
.download-rights{
border-radius: 4px;
    box-shadow: 0px 5px 10px rgba(239, 40, 253, 0.3);
    background: linear-gradient(90deg, #ff2d7a, #ff629b);
        text-align: center;
        -webkit-text-fill-color: #fff;
	}
