/* ============================================
   widget.css - 极主题小工具样式整合
   已移除与推荐专题、微信联系群小工具冲突的样式
   以两个小工具的CSS为准
   ============================================ */

/* ============================================
   一、公共样式（两个小工具共用）
   ============================================ */

/* 空状态提示 - 两个小工具共用 */
.jitheme-empty-msg {
    text-align: center;
    color: #999;
    padding: 20px 0;
    font-size: 13px;
}


/* ============================================
   二、推荐专题小工具样式（独立）
   类名前缀：.jitheme-tjzt-*
   ============================================ */

/* 网格容器 */
.jitheme-tjzt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* 专题卡片 */
.jitheme-tjzt-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f2f5;
    position: relative;
}
.jitheme-tjzt-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #e8ecf1;
}

/* 链接 */
.jitheme-tjzt-link {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    padding: 10px 12px;
    gap: 12px;
}
.jitheme-tjzt-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 缩略图 */
.jitheme-tjzt-thumb {
    width: 70px;
    min-width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #f0f2f5;
}
.jitheme-tjzt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 占位图 */
.jitheme-tjzt-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* 信息区域 - 高度与图片一致 */
.jitheme-tjzt-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
    height: 70px;
}

/* 专题名称 */
.jitheme-tjzt-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 元数据 */
.jitheme-tjzt-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
/* 推荐专题描述 - 强制单行，超出显示省略号 */
.jitheme-tjzt-desc {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    white-space: nowrap;      /* 强制不换行 */
    overflow: hidden;         /* 超出隐藏 */
    text-overflow: ellipsis;  /* 超出显示 ... */
    max-width: 100%;
    width: 100%;              /* 保证它撑满父容器 */
    display: block;           /* 保证块级渲染 */
    font-size: 12px;          /* 保持和您之前的一样 */
    color: #999;
}
.jitheme-tjzt-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}
.jitheme-tjzt-meta-item i {
    font-size: 13px;
}

/* 角标 - 右上角，素雅毛玻璃效果 */
.jitheme-tjzt-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #999;
    border-radius: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    letter-spacing: 0.5px;
}
.jitheme-tjzt-item:hover .jitheme-tjzt-badge {
    color: #666;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

/* 底部按钮 - 查看全部专题 */
.jitheme-tjzt-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
    text-align: center;
}
.jitheme-tjzt-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #999;
    transition: color 0.3s ease;
    text-decoration: none;
}
.jitheme-tjzt-more:hover {
    color: #333;
    text-decoration: none;
}
.jitheme-tjzt-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.jitheme-tjzt-more:hover i {
    transform: translateX(3px);
}

/* 推荐专题移动端适配 */
@media screen and (max-width: 480px) {
    .jitheme-tjzt-thumb {
        width: 60px;
        min-width: 60px;
        height: 60px;
    }
    .jitheme-tjzt-info {
        height: 60px;
    }
    .jitheme-tjzt-name {
        font-size: 13px;
    }
    .jitheme-tjzt-meta {
        font-size: 11px;
        gap: 8px;
    }
    .jitheme-tjzt-link {
        padding: 8px 10px;
        gap: 8px;
    }
    .jitheme-tjzt-badge {
        font-size: 10px;
        padding: 1px 8px;
        top: 6px;
        right: 6px;
        border-radius: 10px;
    }
}


/* ============================================
   三、微信联系群小工具样式（独立）
   类名前缀：.jitheme-wechat-*
   ============================================ */

/* 容器 */
.jitheme-wechat-wrapper {
    padding: 5px 0;
}

/* 网格布局 - 2列 */
.jitheme-wechat-wrapper .wechat-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

/* 群组项 */
.jitheme-wechat-wrapper .wechat-group-item {
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}
.jitheme-wechat-wrapper .wechat-group-item:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
    transform: translateY(-1px);
}

/* 编号 - 无背景色，仅文字颜色 */
.jitheme-wechat-wrapper .wechat-group-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}
.jitheme-wechat-wrapper .wechat-group-item:hover .wechat-group-num {
    transform: scale(1.1);
    font-weight: 600;
}

/* 群组名称 */
.jitheme-wechat-wrapper .wechat-group-name {
    font-size: 13px;
    color: #555;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

/* 管理员区域 */
.jitheme-wechat-wrapper .wechat-admin-section {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-top: 5px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.jitheme-wechat-wrapper .wechat-admin-section:hover {
    background: #f5f5f5;
    border-color: #e8e8e8;
}

/* 二维码头像 */
.jitheme-wechat-wrapper .wechat-admin-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    background: #f0f0f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.jitheme-wechat-wrapper .wechat-admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.jitheme-wechat-wrapper .wechat-admin-avatar .no-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    color: #bbb;
    font-size: 20px;
}

/* 管理员信息 */
.jitheme-wechat-wrapper .wechat-admin-info {
    flex: 1;
    margin-left: 14px;
}
.jitheme-wechat-wrapper .wechat-admin-name {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin: 0 0 3px 0;
}
.jitheme-wechat-wrapper .wechat-admin-name .label {
    font-size: 10px;
    font-weight: 400;
    color: #999;
    margin-left: 6px;
    background: #f0f0f0;
    padding: 1px 10px;
    border-radius: 10px;
}

/* 管理员描述 */
.jitheme-wechat-wrapper .wechat-admin-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.6;
}
.jitheme-wechat-wrapper .wechat-admin-desc .tag {
    display: inline-block;
    background: #e8f5e9;
    color: #66bb6a;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 10px;
    margin-right: 4px;
    line-height: 18px;
    font-weight: 500;
}
.jitheme-wechat-wrapper .wechat-admin-desc .tag-icon {
    display: inline-block;
    margin-right: 2px;
}

/* 微信联系群移动端适配 */
@media screen and (max-width: 480px) {
    .jitheme-wechat-wrapper .wechat-group-grid {
        gap: 6px;
    }
    .jitheme-wechat-wrapper .wechat-group-item {
        padding: 6px 8px;
    }
    .jitheme-wechat-wrapper .wechat-group-num {
        min-width: 20px;
        font-size: 11px;
        margin-right: 6px;
    }
    .jitheme-wechat-wrapper .wechat-group-name {
        font-size: 12px;
    }
    .jitheme-wechat-wrapper .wechat-admin-section {
        padding: 12px 14px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .jitheme-wechat-wrapper .wechat-admin-info {
        margin-left: 0;
        margin-top: 10px;
        flex: 0 0 100%;
    }
    .jitheme-wechat-wrapper .wechat-admin-avatar {
        width: 40px;
        height: 40px;
    }
}


/* ============================================
   四、widget.css 中原有的其他小工具样式（保留不冲突的）
   ============================================ */

/* 筛选器样式 */
.ask-widget-fliter .b2-color {
    color: #333 !important;
    background-color: var(--b2color);
    background: #fff;
    box-shadow: 0 0 1px #19191a14, 0 2px 8px #19191a1f;
    transition: left .15s ease-in;
    border-radius: 6px;
    font-size: 17px;
    height: 40px;
    line-height: 24px;
    font-weight: 600;
}
.ask-widget-fliter {
    padding: 15px;
    margin: 16px 0px!important;
    border-left: 0;
    border-right: 0;
    background-color: #f7f7f9;
}
.ask-widget-fliter span {
    margin-right: 10px;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: var(--ji--radius);
}

/* ============================================
   4.1 问答案例列表（极主题新版）
   整合了统一浅色背景、悬停动效、大图标与状态标签
   ============================================ */
.ask-widget-ul { list-style: none; margin: 0; padding: 0; }
            
/* 列表项及悬停动效 */
.ask-widget-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 10px!important;
    background: #fff;
    margin: 10px 0px!important;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s 
ease;
    border: 1px solid #f0f2f5;
    position: relative;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.ask-widget-item:last-child {
    border-bottom: none;
}
.ask-widget-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.link-block {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.ask-widget-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
}

/* 图标：统一浅灰色背景，字体更大 */
.ask-widget-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #f3f4f6; /* 统一浅灰背景 */
    font-size: 28px;    /* 字体进一步增大 */
    line-height: 1;
    color: #6b7280;     /* 默认图标颜色 */
    transition: all 0.3s ease;
}

/* 前3名 (火) 赋予红色文字，突出显示 */
.Jifont-fire-1,
.Jifont-fire-2,
.Jifont-fire-3 {color: #dc2626;font-size: 25px;} 

/* 4-6名 (水) 保持统一灰色或蓝色 */
.Jifont-fire-4,
.Jifont-fire-5,
.Jifont-fire-6 { color: #6b7280;font-size: 25px; } 

.ask-widget-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标题：限制最多显示2行 */
.ask-widget-title {
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.ask-widget-item:hover .ask-widget-title {
    color: #1890ff;
}

/* 底部元数据 flex 布局 */
.ask-widget-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #9ca3af;
}

/* 状态标签样式 */
.ask-status-tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    background: #dcfce7;
    color: #16a34a;
    line-height: 1.4;
}
.ask-status-tag.ask-waiting {
    background: #f3f4f6;
    color: #9ca3af;
}

/* 间隔圆点 */
.ask-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin: 0 12px;
}

.ask-meta-reply {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ask-meta-reply .ico { font-size: 14px; }

.ask-empty {
    padding: 30px 0;
    text-align: center;
    color: #9ca3af;
}

.ask-widget-footer {
    padding-top: 15px;
    margin-top: 5px;
    border-top: 1px solid #f0f2f5;
    text-align: center;
}
.ask-widget-btn {
    display: inline-block;
    font-size: 14px;
    color: #6b7280;
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
    background: #f9fafb;
}
.ask-widget-btn:hover {
    color: #1890ff;
    border-color: #1890ff;
    background: #fff;
}
.widget-content { margin: 0; padding: 0; }

/* 作者小工具 */
.ji-widget-author {
    background-image: url(https://image.uisdc.com/wp-content/uploads/2021/05/uisdc-widget-news.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
}
.ji-widget-author .w-a-info .avatar {
    width: 90px;
    height: 90px;
    border-radius: 90px;
}
.ji-widget-author .ji_author_btn {
    border: none;
    line-height: 30px;
    font-size: 13px;
    border-radius: 4px;
    padding: 20px 0 1rem 0;
    margin: 0 -5px;
    text-align: center;
    justify-content: space-around;
    display: flex;
}
.ji-widget-author .button {
    border: none;
    width: calc(100% * 1 / 3.001 - 10px);
    padding: 5px 0px;
    border-radius: var(--ji--radius);
}
.ji-widget-author .button i {
    vertical-align: -2px;
    margin-right: 6px;
}
.ji-widget-author .user-w-logon {
    background-image: unset;
}
.ji-widget-author .b2-widget-title h2,
.ji-widget-author .widget>h2 {
    font-size: 16px;
    padding: 10px 0 20px;
    font-weight: 600;
    line-height: 1;
}
.ji-widget-author .author-widget-content {
    padding: 0;
}
.ji-widget-author .w-a-info {
    flex-flow: column;
}
.ji-widget-author .w-a-info .picture img {
    border-radius: 50%;
    width: 54px;
    height: 54px;
    margin-bottom: 6px;
}
.ji-widget-author .w-a-info p {
    color: var(--key-color);
    font-size: 1.3rem;
    margin-bottom: .5rem;
    margin-top: .8rem;
}
.ji-widget-author .w-a-info img {
    margin-right: 0;
}
.ji-widget-author .w-a-name {
    text-align: center;
}
.author-widget .w-a-info .w-a-name {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ji-widget-author .w-a-count {
    background: var(--body-bg-color);
}
.ji-widget-author .w-a-count div {
    position: relative;
}
.ji-widget-author .w-a-count div::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-right: 1px solid var(--body-bg-color);
    opacity: .2;
}
.ji-widget-author .w-a-count div:last-child::after {
    display: none;
}
.ji-widget-author .w-a-post-list a {
    margin-bottom: 8px;
    font-size: .95rem;
}
.ji-widget-author .w-a-post-list span {
    opacity: 1;
}
.ji-widget-author .widget-mission-footer a {
    padding: 0;
    border: none;
    background: var(--b2color);
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    width: 60%;
    margin: 0 auto;
    border-radius: 4px;
}
.ji-widget-author .b2-widget-box {
    position: relative;
    padding-bottom: 0;
}

/* 文章列表小工具 */
.ji-widget-post .widget-post:hover .b2-widget-post-title h2 {
    text-decoration: none!important;
    color: var(--b2color);
}
.ji-widget-post .b2-widget-hot ul .widget-post:hover {
    background: var(--b2lightcolor);
    cursor: pointer;
}
.ji-widget-post .widget-area section {
    margin-bottom: 0;
    padding-bottom: 24px;
}
.ji-widget-post .b2-widget-hot ul li:hover,
.ji-widget-post .b2-widget-hot ul li:hover .b2-radius {
    color: var(--b2color);
    opacity: 1;
}
.ji-widget-post .b2-widget-post-order {
    left: unset;
}
.ji-widget-post .widget-post-none .b2-widget-post-order {
    background-color: rgba(0,0,0,0)!important;
}
.ji-widget-post .b2-widget-post-order:after {
    display: none;
}
.ji-widget-post ul li:last-child {
    margin-bottom: 0;
}
.ji-widget-post .widget-post-big {
    margin-top: 0;
    font-size: 14px;
    padding: 0 16px 16px 16px;
}
.ji-widget-post .widget-post-big:first-child {
    padding-top: 16px;
}
.ji-widget-post .widget ul li h2 {
    font-size: 15px;
}
.ji-widget-post .b2-widget-post-title h2 {
    line-height: 20px;
}
.ji-widget-post .b2-widget-post-title .title {
    line-height: 40px;
}
.ji-widget-post .b2-widget-hot li.widget-post-none,
.ji-widget-post .b2-widget-hot li.widget-post-small {
    padding: 0;
    height: auto;
    margin-bottom: 20px;
}
.ji-widget-post .widget-post-none span {
    font-size: 36px;
    width: auto;
    opacity: .5;
    font-size: 30px;
    font-family: Impact;
}
.ji-widget-post li:hover {
    cursor: pointer;
}
.ji-widget-post li:hover .b2-widget-post-order span {
    color: var(--b2color);
    opacity: 1;
}
.ji-widget-post .widget-post-none {
    font-size: 13px;
    padding: 16px 16px 8px 16px;
    box-sizing: border-box;
}
.ji-widget-post .widget-post-none .b2-widget-post-title {
    padding-left: 55px;
}
.ji-widget-post .b2-widget-post-order {
    top: 25px;
}
.ji-widget-post .b2-widget-post-title time {
    font-size: 12px;
    color: #bcbcbc;
}
.ji-widget-post .widget ul li.widget-post-small h2 {
    font-size: 14px;
}
.ji-widget-post .widget-post-small .b2-widget-post-thumb {
    display: flex;
    width: 100%;
    flex-flow: revert;
}
.ji-widget-post .b2-widget-post-thumb-img {
    position: relative;
    left: auto;
    width: 100%;
    height: 60px;
    max-width: 100px;
    margin-right: 12px;
    top: 0;
}
.ji-widget-post .widget-post-small .b2-widget-post-thumb-img {
    -webkit-transition: all .3s;
    transition: all .3s;
}
.ji-widget-post .widget-post-small:hover {
    color: var(--b2color);
    cursor: pointer;
}
.ji-widget-post .widget-post-small .b2-widget-post-order {
    display: none;
}
.ji-widget-post .widget-post-small .b2-widget-post-title {
    padding-left: 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ji-widget-post .b2-widget-post-title h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: unset;
    margin-bottom: 0px;
    word-break: break-all;
}
.ji-widget-post ul li {
    font-size: 13px;
    padding: 16px 0px;
    box-sizing: border-box;
}
.ji-widget-post .widget-post-big .b2-widget-post-title {
    position: absolute;
    bottom: -64px;
    left: 0;
    width: 100%;
    text-decoration: none;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    border-radius: 0 0 4px 4px;
    color: #fff;
    background: rgba(0,0,0,.6);
    transition: all .3s ease;
}
.ji-widget-post .widget-post-big:hover .b2-widget-post-title {
    bottom: 0;
}
.ji-widget-post .widget-post-big:hover .b2-widget-post-title .b2timeago {
    display: none;
}

/* 热点圈子小工具 */
.b2-widget-hot-circle .b2-widget-title button.picked {
    color: #fff;
    background: var(--ji-bg-color);
}
.b2-widget-hot-circle .b2-widget-title button {
    background: var(--main-border-color);
    margin: 5px;
    font-size: 14px;
    background-color: var(--body-bg-color);
}
.b2-widget-hot-circle .b2-widget-title button.picked:before {
    display: none;
}
.b2-widget-hot-circle .b2-widget-title h2 {
    margin: 10px;
    background-color: var(--body-bg-color);
    border-radius: var(--ji--radius);
}
.b2-widget-hot-circle.box {
    background-color: #fff;
    box-shadow: 0 0 2px rgb(98 124 153 / 10%);
}

/* 圈子信息小工具 */
.b2-widget-circle-info .user-w-announcement li {
    padding: 16px 8px;
    border: 0;
}

/* 用户小工具 */
.user-widget-info .user-w-avatar img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: block;
}
.user-credit,
.user-money {
    text-shadow: unset;
    color: var(--key-color);
}
.user-sidebar-count li {
    background-color: var(--body-bg-color);
    border: 5px solid var(--body-bg-color);
    color: var(--key-color);
}

/* 评论区小工具 */
.comment-widget-nav span {
    background-color: var(--body-bg-color);
    border-radius: 50%;
    color: var(--b2color);
}
.comment-widget-nav span i {
    font-size: 25px!important;
}

/* 快讯小工具 */
.b2-widget-newsflashes,
.jitheme-widget-pl,
.jitheme-widget-user,
.widget_tag_cloud {
    padding: 20px;
    padding-top: 0;
}
.b2-widget-newsflashes .b2-widget-title h2,
.jitheme-widget-pl .b2-widget-title h2 {
    padding: 0;
    margin-bottom: 10px;
    padding-bottom: 20px;
    font-size: 20px;
}
.b2-widget-newsflashes ul li {
    font-size: 13px;
    padding: 0 0 16px 0;
    padding-bottom: 16px;
    box-sizing: border-box;
}
.b2-widget-newsflashes {
    padding-bottom: 0;
}
.widget-newsflashes-box ul::before {
    content: '';
    width: 1px;
    position: absolute;
    left: 2px;
    top: 26px;
    bottom: 70px;
}

/* 评论列表小工具 */
.jitheme-widget-pl ul li:last-child {
    padding-bottom: 0;
}
.jitheme-widget-pl .comment-widget-nav {
    right: 20px;
    top: 15px;
}
.jitheme-widget-pl ul li {
    font-size: 13px;
    padding: 0 0 16px 0;
    box-sizing: border-box;
}

/* 标签云小工具 */
.widget_tag_cloud>div {
    padding: 0;
}
.widget .tagcloud a {
    padding: 6px;
}

/* 下载小工具 */
.jitheme-widget-down .widget .w-d-current,
.w-d-role>div span:last-child {
    font-size: unset!important;
}
.jitheme-widget-down .widget .w-d-current {
    line-height: unset!important;
}
.jitheme-widget-down .downloadurl {
    font-size: 18px;
    padding: 0 16px 16px 0;
    border-bottom: 1px dashed var(--main-border-color);
    font-weight: 600;
    line-height: 1;
    width: 100%;
    display: flex;
}
.jitheme-widget-down .downloadurl i {
    color: var(--b2color);
    font-size: 18px;
    margin-right: 8px;
    transform: translateY(-1px);
}
.jitheme-widget-down .w-d-title {
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    padding: 0 16px 16px 0;
}
.jitheme-widget-down .w-d-title .downloadurl-title {
    font-size: 14px!important;
    font-weight: 400;
    margin-top: 12px;
    line-height: 36px;
}
.jitheme-widget-down .w-d-role>div>span:last-child b {
    font-family: DIN;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
}
.jitheme-widget-down .w-d-role {
    padding: 0 12px;
    background: #fff9e4;
    color: var(--key-color);
    border: 2px dashed #ffdd65;
}
.jitheme-widget-down .jitheme-down-qx span {
    color: #f35!important;
}
.jitheme-widget-down .jitheme-down-user img {
    vertical-align: bottom;
}
.jitheme-widget-down .jitheme-down-user {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.jitheme-widget-down .w-d-meta {
    background-color: rgba(87,165,255,.15);
    padding: 8px 0;
}
.jitheme-widget-down .w-d-meta p {
    position: relative;
    display: flex;
    line-height: 28px;
    align-items: center;
    padding-left: 10px;
}
.jitheme-widget-down .w-d-meta p:before {
    position: relative;
    display: block;
    margin-right: 8px;
    width: 12px;
    height: 12px;
    background: url(../img/li-dian.svg);
    content: "";
    opacity: .65;
}
.jitheme-widget-down .cosbtn {
    font-size: 13px;
    padding-top: 20px;
    display: flex;
    margin-bottom: 20px;
    flex-direction: row;
    justify-content: space-between;
}
.jitheme-widget-down .cosbtn a {
    color: var(--key-color);
}
.jitheme-widget-down .cosbtn a:hover {
    color: var(--b2color);
}
.jitheme-widget-down .cosbtn a i {
    font-size: 15px!important;
    margin-right: 3px;
    line-height: 1;
}
.jitheme-widget-down .cosbtn .desc {
    position: relative;
    cursor: pointer;
}
.jitheme-widget-down .cosbtn .desc span {
    color: var(--this-text);
}
.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:before {
    content: " ";
    position: absolute;
    width: 0;
    height: 0;
    right: 14px;
    top: 5px;
    border: 10px solid transparent;
    border-bottom-color: var(--main-bg-color);
}
.jitheme-widget-down .cosbtn .desc .banquan .boxtitle {
    width: 450px;
    height: 100%;
    padding: 20px;
    display: block;
    border-radius: 6px;
    background: var(--main-bg-color);
    box-shadow: 0 0 16px 1px rgba(0,0,0,.1);
    line-height: 1.5;
    color: var(--this-text);
}
.jitheme-widget-down .cosbtn .desc .banquan .boxtitle span {
    text-align: center;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    border-radius: var(--ji--radius);
}

/* 用户列表小工具 */
.jitheme-widget-Userlist .sidebar {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    margin-top: 15px;
}
.jitheme-widget-Userlist .tab-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}
.jitheme-widget-Userlist .tab-header div {
    flex: 1;
    padding: 10px 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background-color 0.2s, color 0.2s;
    position: relative;
    text-align: center;
}
.jitheme-widget-Userlist .tab-header div:hover {
    background-color: #f5f5f5;
}
.jitheme-widget-Userlist .tab-header div.active {
    color: #fff;
    font-weight: 600;
    background-color: var(--b2color);
}
.jitheme-widget-Userlist .tab-header div.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--b2color);
}
.jitheme-widget-Userlist .tab-content-list {
    padding-top: 15px;
}
.jitheme-widget-Userlist .tab-pane {
    display: none;
}
.jitheme-widget-Userlist .tab-pane.active {
    display: block;
}
.jitheme-widget-Userlist .user-list {
    list-style-type: none;
}
.jitheme-widget-Userlist .user-item .author-intro {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.jitheme-widget-Userlist .user-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.jitheme-widget-Userlist .user-avatar {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}
.jitheme-widget-Userlist .user-info {
    flex: 1;
    min-width: 0;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.jitheme-widget-Userlist .user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.jitheme-widget-Userlist .user-name .uname {
    margin-right: 10px;
    font-size: 15px;
    font-weight: 600;
}
.jitheme-widget-Userlist .user-meta {
    color: #666;
    margin-top: 2px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
.jitheme-widget-Userlist .follow-btn {
    padding: 6px 12px;
    background-color: var(--b2color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
    white-space: nowrap;
}
.jitheme-widget-Userlist .follow-btn:hover {
    background-color: #0d8bf2;
}
.jitheme-widget-Userlist h2 {
    padding: 20px 0px 20px;
}
.jitheme-widget-Userlist .follow-btn.following {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}
.jitheme-widget-Userlist .follow-btn.following:hover {
    background-color: #e0e0e0;
}
.jitheme-widget-Userlist .ranking-badge {
    display: flex;
    width: 20px;
    height: 24px;
}
.jitheme-widget-Userlist .ranking-badge i {
    font-size: 25px;
}
.jitheme-widget-Userlist .ranking-badge.top3 {
    background-color: #ffd700;
    color: #333;
}

/* 小工具基础样式 - 保留但不与两个小工具冲突 */
.jitheme-widget-title h2 {
    padding: 16px 0;
    font-size: 18px;
    color: var(--key-color);
    font-weight: 600;
    line-height: 1;
}

.jitheme_widget_padding {
    padding: 10px 16px 16px 16px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* 小工具链接悬停 - 但推荐专题已使用独立样式，不冲突 */
#ji-widget-zt a:hover,
#jitheme-widget-ask a:hover {
    color: var(--b2color);
}

#ji-widget-zt .item-meta,
#jitheme-widget-ask .item-meta {
    font-size: 13px;
    color: var(--this-text);
}

/* 通用小工具标题 */
.b2-widget-newsflashes .b2-widget-title h2,
.jitheme-widget-pl .b2-widget-title h2,
.widget>h2 {
    padding: 15px 0;
}

/* 通用样式 */
.widget-area-left.widget-area {
    margin-left: 0;
    width: 320px!important;
    max-width: 320px!important;
    min-width: 320px!important;
}

.circle .po-topic-textarea textarea:focus {
    border: 1px solid #ff36570;
}

.topic-image-box .img-list-more li>div {
    padding-top: 64%!important;
}

.img-list-more li {
    width: 32%;
    padding: 5px;
    background: var(--fill-3);
    margin-right: 1%;
}

.widget-circle-info-desc {
    display: none;
}
/* ============================================
   用户信息列表 小工具样式
   ============================================ */
.jitheme-userlist-wrapper {
    padding: 2px 0;
}
/* Tab切换头部 */
.jitheme-userlist-tabs {
    display: flex;
    background: #f5f6fa;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 14px;
    border: 1px solid #eef0f4;
}
.jitheme-userlist-tab {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    outline: none;
}
.jitheme-userlist-tab:hover {
    color: #666;
}
.jitheme-userlist-tab.active {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
/* 内容容器 */
.jitheme-userlist-content {
    display: block;
}
.jitheme-userlist-pane {
    display: none;
    animation: jithemeFadeIn 0.3s ease;
}
.jitheme-userlist-pane.active {
    display: block;
}
@keyframes jithemeFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 用户列表 */
.jitheme-userlist-items {
    list-style: none;
    margin: 0;
    padding: 0;
}
.jitheme-userlist-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
    background: #fafbfc;
    border: 1px solid transparent;
    position: relative;
}
.jitheme-userlist-item:last-child {
    margin-bottom: 0;
}
.jitheme-userlist-item:hover {
    background: #f0f2f5;
    border-color: #e8ecf1;
}
.jitheme-userlist-item .author-intro {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    gap: 10px;
}
.jitheme-userlist-item .author-intro:hover {
    text-decoration: none;
}
/* 头像 */
.jitheme-userlist-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    background: #f0f2f5;
}
.jitheme-userlist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 用户信息 - 名字和等级同一行 */
.jitheme-userlist-info {
    flex: 1;
    min-width: 0;
}
.jitheme-userlist-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin: 0 0 2px 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.jitheme-userlist-name .uname {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
    flex-shrink: 1;
}
/* 等级/VIP标签 - 与名字同一行，更小 */
.jitheme-userlist-level {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    height: 16px;
    line-height: 16px;
}
.jitheme-userlist-level .lv-icon,
.jitheme-userlist-level .vip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    height: 16px;
}
.jitheme-userlist-level .lv-icon img,
.jitheme-userlist-level .vip-icon img {
    height: 14px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}
.jitheme-userlist-meta {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}
/* 排名徽章 - 在右侧，保持比例 */
.jitheme-userlist-rank {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}
.jitheme-userlist-rank-img {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    flex-shrink: 0;
}
/* 空状态 */
.jitheme-userlist-empty {
    text-align: center;
    color: #bbb;
    padding: 20px 0;
    font-size: 13px;
}
/* 移动端适配 */
@media screen and (max-width: 480px) {
    .jitheme-userlist-tab {
        font-size: 12px;
        padding: 5px 6px;
    }
    .jitheme-userlist-avatar {
        width: 38px;
        height: 38px;
    }
    .jitheme-userlist-name {
        font-size: 13px;
    }
    .jitheme-userlist-meta {
        font-size: 11px;
        max-width: 80px;
    }
    .jitheme-userlist-item {
        padding: 6px 10px;
    }
    .jitheme-userlist-name .uname {
        max-width: 60px;
    }
    .jitheme-userlist-rank {
        width: 26px;
        height: 26px;
    }
    .jitheme-userlist-rank-img {
        width: 26px;
        height: 26px;
    }
    .jitheme-userlist-level .lv-icon,
    .jitheme-userlist-level .vip-icon {
        font-size: 11px;
        height: 14px;
    }
    .jitheme-userlist-level .lv-icon img,
    .jitheme-userlist-level .vip-icon img {
        height: 12px;
    }
}
/* ============================================
   文章聚合样式 (Jitheme_post)
   ============================================ */

/* 标题 */
.jitheme-widget-title {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: 0.5px;
    margin: 0 0 0 0;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    position: relative;
}

/* 列表容器 */
.jitheme-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== 无图模式 ===== */
.jitheme-post-none {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f6f7;
    transition: all 0.2s ease;
}
.jitheme-post-none:last-child {
    border-bottom: none;
}

/* 序号 */
.jitheme-post-order {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #b0b8c4;
    background: #f5f6f8;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: 1px;
}
.jitheme-post-none:hover .jitheme-post-order {
    background: var(--b2lightcolor);
    color: var(--b2color);
}

/* 前三名特殊颜色 */
.jitheme-post-none .order-1 {
    background: #d4a574;
    color: #fff;
}
.jitheme-post-none .order-2 {
    background: #b8c4d0;
    color: #fff;
}
.jitheme-post-none .order-3 {
    background: #c9b8a8;
    color: #fff;
}
.jitheme-post-none:hover .order-1 {
    background: #c9956a;
}
.jitheme-post-none:hover .order-2 {
    background: #a8b4c0;
}
.jitheme-post-none:hover .order-3 {
    background: #b9a898;
}

/* 文章信息 */
.jitheme-post-none .jitheme-post-info,
.jitheme-post-small .jitheme-post-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.jitheme-post-none .jitheme-post-title,
.jitheme-post-small .jitheme-post-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}
.jitheme-post-none .jitheme-post-title a,
.jitheme-post-small .jitheme-post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}
.jitheme-post-none .jitheme-post-title a:hover,
.jitheme-post-small .jitheme-post-title a:hover {
    color: #5a7a9a;
}
.jitheme-post-none .jitheme-post-date,
.jitheme-post-small .jitheme-post-date {
    font-size: 12px;
    color: #b0b8c4;
}

/* ===== 小图模式 ===== */
.jitheme-post-small {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f6f7;
    transition: all 0.2s ease;
}
.jitheme-post-small:last-child {
    border-bottom: none;
}

.jitheme-post-small .jitheme-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f2f5;
}
.jitheme-post-small .jitheme-post-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.jitheme-post-small .jitheme-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== 大图模式 ===== */
.jitheme-post-big {
    padding: 8px 0;
    border-bottom: 1px solid #f5f6f7;
}
.jitheme-post-big:last-child {
    border-bottom: none;
}
.jitheme-post-big .jitheme-post-thumb {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f2f5;
}
.jitheme-post-big .jitheme-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.jitheme-post-big .jitheme-post-thumb:hover .jitheme-thumb-img {
    transform: scale(1.03);
}
.jitheme-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 14px 16px;
    background: linear-gradient(to top, rgba(44,62,80,0.75) 0%, transparent 100%);
}
.jitheme-post-big .jitheme-post-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}
.jitheme-post-big .jitheme-post-title a {
    color: #fff;
    text-decoration: none;
}
.jitheme-post-big .jitheme-post-title a:hover {
    color: rgba(255,255,255,0.8);
}
.jitheme-post-big .jitheme-post-date {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

/* 空状态 */
.jitheme-empty {
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    color: #b0b8c4;
}

/* 发布文章按钮 */
.jitheme-widget-btn {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.jitheme-jb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #5a7a9a;
    background: #f5f7fa;
    border: 1px solid #e8ecf0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}
.jitheme-jb-btn::before {
    content: "+";
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    color: #7a8a9e;
    transition: color 0.25s ease;
}
.jitheme-jb-btn:hover {
    color: #3a5a7a;
    background: #edf2f7;
    border-color: #d0d8e0;
}
.jitheme-jb-btn:hover::before {
    color: #3a5a7a;
}


/* ============================================
   签到小工具样式 (Mission Widget) - 修复&极简版 V2
   ============================================ */

/* 1. 顶部签到按钮 - 增加间距 */
.b2-widget-box .mission-widget .user-w-qd {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    /* 修复：上下边距加大，防止靠上 */
    margin: 15px 15px 22px 15px; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.2);
}
.b2-widget-box .mission-widget .user-w-qd:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}
.b2-widget-box .mission-widget .user-w-qd.cur {
    background: #f0f2f5; /* 已签到状态变灰 */
    color: #666;
    box-shadow: none;
}

/* 2. 列表外层容器 */
.b2-widget-box .mission-widget .user-w-qd-list {
    overflow: hidden;
    padding: 0 15px 5px 15px;
}

/* Tab 切换 (纯文字素雅) */
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title {
    display: flex;
    background: transparent;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 10px;
    margin-bottom: 12px;
    /* 修复：改为靠左对齐，名字稍微靠左舒服一点 */
    justify-content: flex-start; 
    gap: 30px;
}
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title p {
    margin: 0;
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title p.picked {
    color: #333;
    font-weight: 500;
}
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title p.picked::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #333; /* 极简黑色下划线 */
}

/* 3. 列表项目 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list ul li {
    display: flex;
    align-items: center; /* 确保头像、名字、数据垂直居中 */
    padding: 12px 0;
    border-bottom: 1px solid #f7f8fa;
    margin: 0;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list ul li:last-child {
    border-bottom: none;
}

/* 头像区域 (靠左) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-link-block {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 36px;
    height: 36px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid #eee;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-link-block span {
    position: absolute;
    bottom: -3px;
    right: -4px;
    line-height: 1;
}

/* 中间信息区 (靠左对齐，拒绝居中) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info {
    flex: 1;
    display: flex;
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center;
    min-height: 36px;
    gap: 10px;
}
/* 修复：名字靠左对齐 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 强制名字靠左 */
    gap: 2px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left a {
    text-decoration: none;
    display: block;
    line-height: 1.2;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left a p {
    font-weight: 500;
    color: #222;
    margin: 0;
    font-size: 14px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left p {
    color: #999;
    margin: 0;
    font-size: 12px;
}

/* 右侧状态区 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* 右侧积分标签 (素雅胶囊) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .credit-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8;
    padding: 2px 10px;
    border-radius: 12px;
    height: 24px;
    gap: 4px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .number-box {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .number-box.is-grey {
    color: #666;
    font-weight: normal;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right svg {
    width: 14px;
    height: 14px;
    fill: #999;
}

/* ============================================
   签到小工具样式 (Mission Widget) - 修复&极简版 V2
   ============================================ */

/* 1. 顶部签到按钮 - 增加间距 */
.b2-widget-box .mission-widget .user-w-qd {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
    /* 修复：上下边距加大，防止靠上 */
    margin: 15px 15px 22px 15px; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.2);
}
.b2-widget-box .mission-widget .user-w-qd:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}
.b2-widget-box .mission-widget .user-w-qd.cur {
    background: #f0f2f5; /* 已签到状态变灰 */
    color: #666;
    box-shadow: none;
}

/* 2. 列表外层容器 */
.b2-widget-box .mission-widget .user-w-qd-list {
    overflow: hidden;
    padding: 0 15px 5px 15px;
}

/* Tab 切换 (纯文字素雅) */
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title {
    display: flex;
    background: transparent;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 10px;
    margin-bottom: 12px;
    /* 修复：改为靠左对齐，名字稍微靠左舒服一点 */
    justify-content: flex-start; 
    gap: 30px;
}
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title p {
    margin: 0;
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title p.picked {
    color: #333;
    font-weight: 500;
}
.b2-widget-box .mission-widget .user-w-qd-list .user-w-qd-list-title p.picked::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #333; /* 极简黑色下划线 */
}

/* 3. 列表项目 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list ul li {
    display: flex;
    align-items: center; /* 确保头像、名字、数据垂直居中 */
    padding: 12px 0;
    border-bottom: 1px solid #f7f8fa;
    margin: 0;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list ul li:last-child {
    border-bottom: none;
}

/* 头像区域 (靠左) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-link-block {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 36px;
    height: 36px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid #eee;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-link-block span {
    position: absolute;
    bottom: -3px;
    right: -4px;
    line-height: 1;
}

/* 中间信息区 (靠左对齐，拒绝居中) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info {
    flex: 1;
    display: flex;
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center;
    min-height: 36px;
    gap: 10px;
}
/* 修复：名字靠左对齐 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 强制名字靠左 */
    gap: 2px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left a {
    text-decoration: none;
    display: block;
    line-height: 1.2;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left a p {
    font-weight: 500;
    color: #222;
    margin: 0;
    font-size: 14px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-left p {
    color: #999;
    margin: 0;
    font-size: 12px;
}

/* 右侧状态区 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* 右侧积分标签 (素雅胶囊) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .credit-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f6f8;
    padding: 2px 10px;
    border-radius: 12px;
    height: 24px;
    gap: 4px;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .number-box {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .number-box.is-grey {
    color: #666;
    font-weight: normal;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right svg {
    width: 14px;
    height: 14px;
    fill: #999;
}

/* 右侧排行图标 (连续签到) - 统一圆圈背景 */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .mission-widget-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background: #f2f3f5; /* 极浅灰背景 */
    border-radius: 50%;
}
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .mission-widget-icon i {
    font-size: 16px;
    color: #555;
}

/* 特殊颜色图标 (前3名) */
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .rank-1 i,
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .rank-2 i,
.b2-widget-box .mission-widget .user-w-qd-list .mission-today-list .user-mission-info-right .rank-3 i {
    color: #dc2626; /* 前3名用红色 */
}

/* 6. 底部按钮 */
.b2-widget-box .mission-widget .widget-mission-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
}
.b2-widget-box .mission-widget .widget-mission-footer a {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.b2-widget-box .mission-widget .widget-mission-footer a:hover {
    color: #333;
}

/* 7. 骨架屏 */
.b2-widget-box .mission-widget .mission-gujia .user-w-qd {
    background: #f0f2f5;
    color: transparent;
    border-radius: 10px;
    margin: 15px 15px 22px 15px;
    position: relative;
    overflow: hidden;
}
.b2-widget-box .mission-widget .mission-gujia .user-w-qd div {
    background: linear-gradient(90deg, #f0f2f5 25%, #e8eaed 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: gujia-loading 1.5s infinite;
    border-radius: 4px;
}
@keyframes gujia-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.b2-widget-box .mission-widget .mission-gujia ul li .avatar-parent span {
    background: #e8eaed;
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 50%;
}
.b2-widget-box .mission-widget .mission-gujia ul li .user-mission-info-left a p,
.b2-widget-box .mission-widget .mission-gujia ul li .user-mission-info-left p time {
    background: #e8eaed;
    color: transparent;
    border-radius: 4px;
    height: 12px;
    width: 80px;
    display: block;
}
/* ============================================
   评论小工具样式 (Comment Widget)
   ============================================ */

/* 隐藏 Vue 加载前的闪烁 */
[v-cloak] { display: none; }

/* 标题 */
.b2-widget-comment .b2-widget-title {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: 0.5px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    position: relative;
}

.b2-widget-comment .b2-widget-box {
    padding: 16px 0 0 0;
}

/* 列表重置 */
.b2-widget-comment .comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 评论列表项 */
.b2-widget-comment .comment-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f6f7;
    transition: all 0.2s ease;
}
.b2-widget-comment .comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 头像 */
.b2-widget-comment .comment-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f2f5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.b2-widget-comment .comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.b2-widget-comment .comment-avatar a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 评论主体 */
.b2-widget-comment .comment-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 元数据 */
.b2-widget-comment .comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.b2-widget-comment .comment-author {
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: 0.3px;
}
.b2-widget-comment .comment-date {
    font-size: 11px;
    color: #b0b8c4;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

/* 评论内容 */
.b2-widget-comment .comment-text {
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.b2-widget-comment .comment-img {
    -webkit-line-clamp: unset;
    overflow: visible;
    margin: 2px 0 0 0;
}
.b2-widget-comment .comment-img img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

/* 来源标签 */
.b2-widget-comment .comment-source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9aa5b5;
    background: #f5f6f8;
    padding: 3px 10px 3px 8px;
    border-radius: 12px;
    max-width: 100%;
    margin-top: 2px;
    transition: background 0.2s ease;
}
.b2-widget-comment .comment-source:hover {
    background: #edf0f5;
}
.b2-widget-comment .comment-source svg {
    flex-shrink: 0;
    color: #b8c4d0;
}
.b2-widget-comment .comment-source a {
    color: #7a8a9e;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    display: inline-block;
    vertical-align: middle;
    transition: color 0.2s ease;
}
.b2-widget-comment .comment-source a:hover {
    color: #5a7a9a;
}

/* 骨架屏 */
.b2-widget-comment .gujia-item {
    animation: gujiaShimmer 1.8s ease-in-out infinite;
    background: #f9fafb;
    border-radius: 6px;
    padding: 14px 12px;
    margin: 0 -8px;
}
.b2-widget-comment .gujia-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eef1f4;
    flex-shrink: 0;
}
.b2-widget-comment .gujia-line {
    background: #eef1f4;
    border-radius: 4px;
    display: inline-block;
}
.b2-widget-comment .gujia-name {
    width: 56px;
    height: 12px;
}
.b2-widget-comment .gujia-date {
    width: 40px;
    height: 10px;
}
.b2-widget-comment .gujia-text {
    width: 100%;
    height: 36px;
    margin: 2px 0;
}
.b2-widget-comment .gujia-source {
    width: 80px;
    height: 10px;
    border-radius: 8px;
}

@keyframes gujiaShimmer {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}


/* ============================================
   移动端隐藏
   ============================================ */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
}