/*
 *-------------------------------------------------------------------------------
 * 文章小工具 start
 *-------------------------------------------------------------------------------
*/
.widget-aside {
    margin-left: 10px;
}

.widget_post_custom_widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.post-aggregate-widget .widget-title {
    margin: 0 10px 10px;
}

.post-aggregate-widget .widget-title::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 20px;
    transform: translateY(-50%);
    height: 18px;
    width: 4px;
    background: linear-gradient(to bottom, #409EFF, #67C23A);
    border-radius: 2px;
}

/* 文章聚合小工具样式 */
.widget-aggregation-widget .widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-aggregation-widget .widget-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
}

.widget-aggregation-widget .thumbnail-mode-none .widget-item {
    display: block;
}

.widget-aggregation-widget .widget-thumbnail {
    display: block;
    margin-right: 15px;
    flex-shrink: 0;
}

.widget-aggregation-widget .thumbnail-mode-none .widget-thumbnail {
    display: none;
}

.widget-aggregation-widget .thumbnail-mode-small .widget-thumbnail img {
    width: 80px;
    height: 60px;
    object-fit: cover;
}

.widget-aggregation-widget .thumbnail-mode-large .widget-thumbnail img {
    width: 120px;
    height: 90px;
    object-fit: cover;
}

.widget-aggregation-widget .widget-content {
    flex-grow: 1;
}

.widget-aggregation-widget .widget-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.widget-aggregation-widget .widget-title a {
    text-decoration: none;
    color: inherit;
}

.widget-aggregation-widget .widget-title a:hover {
    color: #0073aa;
}

.widget-aggregation-widget .widget-meta {
    font-size: 12px;
    color: #666;
}

.widget-aggregation-widget .widget-meta span {
    margin-right: 10px;
}

.widget {
    background: #ffff;
    margin-left: 15px;
    padding: 10px 15px;
    margin-bottom: 10px;
    position: relative;
}

.widget_post_custom_widget h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.mi-widget-h3 {
    margin: 6px 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #2c3e50;
    font-size: 14px;
    padding: 0;
}

.widget-item {
    display: flex;
    font-size: 12px;
    align-items: center;
}

.widget-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    margin-right: 10px;
    max-width: 100%;
    margin: 2px 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.widget-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.widget-meta .widget-comments {
    /* font-size: 12px; */
}

.widget-num {
    color: #888;
    padding: 2px 5px;
    border-radius: 5px;
}

.widget-num-1 {
    color: #ff5473;
    background-color: rgba(255, 84, 115, 0.1);
}

.widget-num-2 {
    color: #ff6f06;
    background-color: rgba(255, 111, 6, 0.1);
}

.widget-num-3 {
    color: #e434e1;
    background-color: rgba(213, 72, 245, 0.1)
}

.widget-num-4 {
    color: #2997f7;
    background-color: rgba(41, 151, 247, 0.1);
}

.widget-num-5 {
    color: #18a52a;
    background-color: rgba(18, 185, 40, 0.1);
}

.widget-num-6 {
    color: #1a85ff;
    background-color: rgba(18, 185, 40, 0.1);
}

.widget-item-smallThumb {
    position: relative;
    height: 150px;
}

.widget-item-small:hover .widget-item-smallThumb img {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.widget-item-smallmeta {
    position: absolute;
    bottom: 0px;
    line-height: 25px;
    font-size: 12px;
    color: #f5f7fa;
    border-radius: 3px;
    width: 100%;
    overflow: hidden;
    align-items: center;
    padding: 10px;
    background: linear-gradient(to top, #000000e0, rgba(0, 0, 0, 0.5) 60%, transparent);
}

.widget-smallmeta-view span i {
    color: #fffdfd;
    margin-right: 5px;
}

.mi-smallPt {
    font-size: 12px;
    line-height: 1;
    padding: 5px 10px;
    vertical-align: .1em;
    background: #818b95;
    color: #fff;
    top: 10px;
    text-align: center;
    z-index: 1;
    left: 0px;
    position: absolute;
    border-radius: 0 50px 50px 0;
}

.mi-small-1 {
    background: #eb526e;
    padding: 8px 15px;
    font-size: 15px;
}

.mi-small-2 {
    background: #ef9c1ffa;
}

.mi-small-3 {
    background: #67c23a;
}

.mi-small-1 span {
    font-size: 15px;
}

.widget-smallpt {
    display: flex;
}

.widget-smallptThumb {
    width: 100px;
    height: 80px;
    margin-right: 15px;
    overflow: hidden;
}

.widget-smallptThumb img {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.widget-smallpt:hover .widget-smallptThumb img {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.widget-item-small-pt {
    margin: 10px 0;
    border-radius: 5px;
    position: relative;
}

.widget-item-small-pt:nth-child(n+4) .mi-smallPt {
    display: none;
}

.widget-smallTitle {
    position: absolute;
    top: 0;
}

.widget-item-smallinfo {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: left;
    width: 100%;
    font-size: 12px;
    color: #756f6f;
}

.widget-item-smallNr {
    position: relative;
    flex: 1;
}

.widget-item-small {
    margin-bottom: 10px;
    overflow: hidden;
}

.widget-item-smallmeta p {
    margin: 2px;
    font-size: 12px;
    font-weight: 700;
    color: #fffafa;
}

.widget-smallmeta-view span {
    padding: 2px 10px;
    font-size: 12px;
    text-shadow: 0 0 0;
    border-radius: 3px;
    color: #ffff;
}

.widget-item-small {
    /* box-shadow: 0 0 10px #00000059; */
}

/*
 *-------------------------------------------------------------------------------
 * 文章小工具 end
 *-------------------------------------------------------------------------------
*/

/*
 *-------------------------------------------------------------------------------
 * 积分签到小工具 start
 *-------------------------------------------------------------------------------
*/
.mi-UserCredit-widget {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mi-UserCredit-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mi-UserCredit-greeting {
    font-size: 16px;
    font-weight: 700;
}

.mi-UserCredit-greetingdesc {
    font-size: 12px;
    color: #999;
}

.mi-UserCredit-greetingdesc span {
    margin-left: 3px;
    font-weight: 500;
}

.mi-widget-header h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #303133;
}

.mi-widget-header {
    padding: 5px 0px;
}

.mi-avatar-container {
    position: relative;
}

.mi-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.mi-tabs-container .el-tabs {
    border-bottom: 1px solid #f2f8fded;
    padding-bottom: 10px;
}

.mi-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
}

.mi-badge-success {
    background-color: #67C23A;
}

.mi-badge-warning {
    background-color: #E6A23C;
}

.mi-user-details {
    flex: 1;
}

.mi-user-name {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 500;
    color: #303133;
}

.mi-user-points {
    margin: 0;
    font-size: 14px;
    color: #606266;
}

.mi-points-value,
.mi-consecutive-value {
    font-weight: 600;
    color: #303133;
}

.mi-sign-button {
    padding: 5px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
    width: 100%;
    text-align: center;
    background: none;
    justify-content: center;
    display: flex;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    /* background-image: linear-gradient(90deg, #5919cb 0%, #ff2972 50%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

.mi-sign-button svg {
    width: 1em;
    height: 1em;
    font-size: 20px;
    margin-right: 5px;
}
.mi-sign-button i{
    margin-right: 5px;
}
.mi-tabs-container h3 {
    text-align: center;
    border-top: 1px solid #f2f8fded;
    margin: 0 0 -10px;
    padding-top: 15px;
}

.mi-tabs-container .el-tabs__nav {
    float: none;
    text-align: center;
}

.mi-tabs-container .el-tabs__item {
    color: #333;
    padding: 0px 25px;
    font-size: 12px;
    line-height: 0;
}

.mi-tabs-container .el-tabs__header {
    margin: 0;
}

.mi-tabs-container .el-tabs__item.is-active {
    background-color: rgb(255 255 255 / 40%);
    padding: 10px 31px;
    border-radius: 20px;
    height: auto;
    line-height: 12px;
    font-size: 12px;
}

.mi-tabs-container .el-tabs__active-bar {
    background: none;
}

.mi-tabs-container .el-tabs__nav-wrap::after {
    background: none;
}

.mi-ranking-list {
    margin-top: 15px;
}

.mi-ranking-card {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.mi-ranking-card:last-child {
    margin-bottom: 0;
}

.mi-rank-left {
    position: relative;
    margin-right: 10px;
}

.mi-rank-avatar {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
     background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: backdrop-filter 1.2s ease-in-out, -webkit-backdrop-filter 1.2s ease-in-out;
}
        .mi-rank-avatar.loaded {
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
        }
.mi-rank-number {
    position: absolute;
    top: -2px;
    left: -6px;
    width: 18px;
    height: 18px;
    border-radius: 2px;
    background-color: #909399;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mi-ranking-card:nth-child(n) .mi-rank-number {
    display: none;
}

.mi-rank-top0 {
    background-color: #E6A23C;
}

.mi-rank-top1 {
    background-color: #fb7ea1;
}

.mi-rank-top2 {
    background-color: #67c23a;
}

.mi-rank-middle {
    flex: 1;
    margin-right: 10px;
}

.mi-rank-username {
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 500;
}

.mi-rank-info {
    font-size: 12px;
    color: #606266;
}

.mi-rank-time,
.mi-rank-days {
    display: flex;
    align-items: center;
}

.mi-rank-time i,
.mi-rank-days i {
    margin-right: 3px;
}

.mi-rank-right {
    text-align: right;
}

.mi-rank-points {
    font-size: 14px;
    font-weight: 600;
    color: #E6A23C;
}

.mi-empty-state {
    text-align: center;
    padding: 0;
    color: #909399;
    width: 100%;
}

.mi-empty-state i {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.mi-empty-state .el-empty {
    padding: 0;
}

.mi-credit-dialog {
    width: 710px;
}
.mi-signin-dialog-container {
    display: flex;
    gap: 15px;
    margin: 0 15px;
}

.mi-signin-calendar {
    flex: 1;
    border-right: 1px solid #EBEEF5;
    padding-right: 10px;
}
.mi-signin-calendar .el-calendar__body{
    padding: 0;
}
.mi-signin-calendar .el-button {
    box-shadow: none;
}

.mi-signin-calendar .el-calendar-table .el-calendar-day {
    text-align: center;
    height: auto;
}

.mi-signin-calendar .el-calendar-table thead th {
    padding: 0;
}

.mi-signin-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

.mi-signed-mark {
    background-color: #67C23A;
    color: white !important;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
}

.mi-points-earned {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    font-size: 10px;
    color: #E6A23C;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.mi-points-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.mi-points-card {
    flex: 1;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mi-points-content h3 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #909399;
}

.mi-points-content p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #303133;
}

.mi-signin-button {
    width: 100%;
    margin-bottom: 15px;
    height: 36px;
    font-size: 14px;
}

.mi-recent-signins {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mi-recent-signins h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #606266;
    display: flex;
    align-items: center;
}

.mi-recent-signins h3 i {
    margin-right: 6px;
    font-size: 16px;
}

.mi-signin-table {
    flex: 1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

.mi-signin-table .el-table__body-wrapper {
    max-height: 155px;
    overflow-y: auto;
}

.el-calendar-table td,
.el-calendar-table tr td:first-child,
.el-calendar-table tr:first-child td {
    border: none;
}

/* 日历部分美化 */
.mi-signin-calendar .el-calendar__header {
    padding: 0 0 10px 0;
    margin-bottom: 5px;
}

.mi-signin-calendar .el-calendar__title {
    font-size: 14px;
    font-weight: 700;
    color: #606266;
}

.mi-signin-calendar .el-calendar-table thead th {
    padding: 5px 0;
    font-size: 12px;
    color: #909399;
}

.mi-signin-calendar .el-calendar-table td {
    padding: 2px;
    height: 30px;
}

.mi-calendar-day {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s;
    position: relative;
    padding: 5px;
}

/* 右侧信息部分美化 */
.mi-points-icon {
    font-size: 20px;
    text-align: left;
}

.mi-points-icon h3 {
    margin: 0 0 3px 0;
    font-size: 12px;
    color: #909399;
}

.mi-points-content {
    display: flex;
    justify-content: left;
    align-items: end;
    margin-top: 10px;
}

.mi-points-content i {
    margin-right: 5px;
}

.mi-recent-signins .el-empty__image svg {
    height: 85px;
}

.mi-signin-table .el-table td,
.mi-signin-table .el-table th {
    padding: 8px 0;
}
.mi-user-credit-experience h2,
.mi-user-credit-buy h2,
.mi-userupgrade-Promotion h2 {
    font-size: 18px;
    color: #21283f;
}

/* 签到记录容器 */
.mi-signin-history {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-top: 15px;
}

/* 单条签到记录 */
.mi-signin-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.mi-signin-item:last-child {
    border-bottom: none;
}

.mi-signin-item:hover {
    background: rgba(240, 248, 255, 0.5);
    transform: translateX(5px);
    padding: 16px 16px;
}

/* 左侧图标 */
.mi-signin-icon {
    margin-right: 16px;
    flex-shrink: 0;
}

.mi-icon-tag {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
}

/* 中间内容 */
.mi-signin-content {
    flex-grow: 1;
}

.mi-signin-type {
    margin-bottom: 4px;
}

.mi-type-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    color: #606266;
}

.mi-badge-normal {
    background: #e6f7ff;
    color: #1890ff;
}

.mi-badge-bonus {
    background: #f6ffed;
    color: #52c41a;
}

.mi-badge-special {
    background: #fff2e8;
    color: #fa8c16;
}

.mi-signin-time {
    font-size: 12px;
    color: #999;
}

/* 右侧积分 */
.mi-signin-points {
    text-align: right;
    margin-left: 16px;
    min-width: 80px;
}

.mi-points-value {
    font-size: 16px;
    font-weight: bold;
    color: #ff9800;
    display: block;
}

.mi-consecutive-days {
    font-size: 10px;
    color: #666;
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 4px;
}

.mi-consecutive-daysTime {
    font-size: 10px;
    color: #666;
    /* background: #f5f5f5; */
    padding: 2px 6px;
    border-radius: 20px;
    display: inline-block;
    margin-left: 0px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* 分页 */
.mi-signin-pagination {
    margin-top: 20px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mi-signin-item {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .mi-signin-points {
        width: 100%;
        text-align: left;
        margin-left: 52px;
        margin-top: 8px;
    }
}

/* 骨架屏样式 */
.mi-skeleton-container {
    width: 100%;
}

.mi-skeleton-card {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.mi-skeleton-left {
    position: relative;
    margin-right: 10px;
}

.mi-skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #f0f0f0;
    animation: mi-pulse 1.5s infinite;
}

.mi-skeleton-rank-number {
    position: absolute;
    left: -6px;
    top: 27%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    border-radius: 2px;
    background-color: #f0f0f0;
    animation: mi-pulse 1.5s infinite;
}

.mi-skeleton-middle {
    flex: 1;
}

.mi-skeleton-username {
    width: 50%;
    height: 15px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
    animation: mi-pulse 1.5s infinite;
}

.mi-skeleton-info {
    width: 70%;
    height: 14px;
    background-color: #f0f0f0;
    border-radius: 4px;
    animation: mi-pulse 1.5s infinite;
}

.mi-skeleton-right {
    width: 80px;
}

.mi-skeleton-points {
    width: 40px;
    height: 20px;
    margin-left: auto;
    background-color: #f0f0f0;
    border-radius: 4px;
    animation: mi-pulse 1.5s infinite;
}

/* 骨架屏动画 */
@keyframes mi-pulse {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }

    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }

    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

/*
 *-------------------------------------------------------------------------------
 * 积分签到小工具 end
 *-------------------------------------------------------------------------------
*/

/* 评论列表小工具样式 */
.mi-widgetcomment-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#mi-sidebar-comment .widget-item {
    display: block;
}

.mi-widgetcomment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mi-widgetcomment-author {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.mi-widgetcomment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.mi-widgetcomment-author-info {
    display: flex;
    flex-direction: column;
}

.mi-widgetcomment-author-name {
    font-weight: 600;
    color: #333;
}

.mi-widgetcomment-date {
    font-size: 12px;
    color: #888;
}

.mi-widgetcomment-content {
    margin-bottom: 8px;
    background-color: #f3f3f3;
    padding: 5px 10px;
}

.mi-widgetcomment-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.mi-widgetcomment-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.mi-widgetcomment-post-type {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 10px;
}

.mi-widgetcomment-post-title {
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #888;
}

.mi-widgetcomment-post-title:hover {
    text-decoration: none;
}

/*
 *-------------------------------------------------------------------------------
 * 实时动态 start
 *-------------------------------------------------------------------------------
*/
/* 头部区域 */
.mi-real-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mi-real-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d2129;
}

/* 分页按钮 */
.mi-real-pagination {
    display: flex;
    gap: 6px;
}

.mi-real-btn {
    width: 30px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f8fa;
    border: none;
    color: #4e5969;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mi-real-btn:hover {
    background: #e8eaed;
    color: #1d2129;
}

.mi-real-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f7f8fa;
    color: #c9cdD4;
}

/* 内容列表 */
.mi-real-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
    text-transform: capitalize;
    scrollbar-width: thin; 
    scrollbar-color: transparent transparent;
}
.mi-real-list:hover{
    scrollbar-color: #e8eaed transparent;
}
.mi-real-list::-webkit-scrollbar {
    width: 4px;
    opacity: 0;
}

.mi-real-list::-webkit-scrollbar-thumb {
    background-color: #e8eaed;
    border-radius: 2px;
}

/* 单个动态项 - 统一过渡，hover触发所有子元素变化 */
.mi-real-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    cursor: default;
    transition: background-color 0.2s ease;
    margin-bottom: 15px;
}

/* 头像区域（默认淡白背景 + hover淡白叠加） */
.mi-real-avatar-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #f0f2f5;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    background-color: #f7f8fa;
    /* 核心：默认淡白色背景 */
}

/* 头像淡白叠加层 - 初始透明，hover增强 */
.mi-real-avatar-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.2s ease;
    z-index: 0;
    pointer-events: none;
    box-sizing: border-box;
}

/* hover动态项时：头像叠加层增强 + 内容文字淡色变化 */
.mi-real-item:hover .mi-real-avatar-wrap::after {
    background-color: rgba(255, 255, 255, 0.5);
    /* 叠加层透明度提高，淡白更明显 */
}

.mi-real-item:hover .mi-real-username {
    color: rgba(29, 33, 41, 0.8);
    /* 用户名淡白调 */
}

.mi-real-item:hover .mi-real-time {
    color: rgba(134, 144, 156, 0.8);
    /* 时间淡白调 */
}

.mi-real-item:hover .mi-real-desc {
    color: rgba(78, 89, 105, 0.8);
    /* 描述文字淡白调 */
}

.mi-real-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: opacity 0.2s ease;
    opacity: 0.95;
}
.mi-ranking-vip-badge{
    position: absolute;
    bottom: 2px;
    right: -3px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: none;
}

.mi-ranking-vip-badge svg{
    width: 1em;
    height: 1em;
    font-size: 15px;
}
/* 迷你VIP角标 - 层级最高，hover不变化 */
.mi-real-vip-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    font-weight: bold;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: none;
}

.mi-real-vip-badge svg{
    width: 1em;
    height: 1em;
    font-size: 15px;
}
/* 内容主体 - 所有文字元素添加过渡 */
.mi-real-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 2px;
}

.mi-real-content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mi-real-user-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mi-real-username {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.mi-real-level {
    font-size: 9px;
    padding: 1px 4px;
    color: #8a734c;
    background-color: #f5e8c7;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: capitalize;
    transition: background 0.2s ease, color 0.2s ease;
}

.mi-real-time {
    font-size: 11px;
    color: #86909c;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* 动态描述文本 */
.mi-real-desc {
    font-size: 12px;
    color: #4e5969;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    align-self: flex-start;
    transition: color 0.2s ease;
}
/* 骨架屏基础样式 - 以mi-skeleton-real开头 */
.mi-skeleton-real {
    width: 100%;
  }
  
  /* 骨架屏加载动画 */
  .mi-skeleton-real-title,
  .mi-skeleton-real-btn,
  .mi-skeleton-real-avatar,
  .mi-skeleton-real-username,
  .mi-skeleton-real-level,
  .mi-skeleton-real-time,
  .mi-skeleton-real-desc,
  .mi-skeleton-real-comment {
    background: linear-gradient(90deg, #f0f2f5 25%, #e8eaed 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: mi-skeleton-real-loading 1.5s infinite linear;
  }
  
  @keyframes mi-skeleton-real-loading {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  
  /* 头部骨架 */
  .mi-skeleton-real-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 10px;
    padding-bottom: 5px;
  }
  
  .mi-skeleton-real-title {
    width: 80px;
    height: 20px;
    border-radius: 4px;
  }
  
  /* 分页按钮骨架 */
  .mi-skeleton-real-pagination {
    display: flex;
    gap: 6px;
  }
  
  .mi-skeleton-real-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }
  
  /* 列表骨架 */
  .mi-skeleton-real-list {
    max-height: 380px;
    overflow: hidden;
  }
  
  /* 单个item骨架 */
  .mi-skeleton-real-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 4px;
    min-height: 60px;
  }
  
  /* 头像骨架 */
  .mi-skeleton-real-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  /* 内容区域骨架 */
  .mi-skeleton-real-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 2px;
  }
  
  .mi-skeleton-real-content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .mi-skeleton-real-user-info {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .mi-skeleton-real-username {
    width: 60px;
    height: 16px;
    border-radius: 4px;
  }
  
  .mi-skeleton-real-level {
    width: 25px;
    height: 14px;
    border-radius: 4px;
  }
  
  .mi-skeleton-real-time {
    width: 50px;
    height: 14px;
    border-radius: 4px;
  }
  
  .mi-skeleton-real-desc {
    width: 80%;
    height: 16px;
    border-radius: 4px;
  }
  
  .mi-skeleton-real-comment {
    width: 70%;
    height: 14px;
    border-radius: 4px;
  }
/*
 *-------------------------------------------------------------------------------
 * 实时动态 end
 *-------------------------------------------------------------------------------
*/
.mi-uservisit-widget .mi-rank-info{
    display: flex;
}
.mi-uservisit-widget .mi-rank-info span{
    margin-right: 5px;
}
/*
 *-------------------------------------------------------------------------------
 * 欢迎新用户小工具 start
 *-------------------------------------------------------------------------------
*/
.mi-newuser-list{
    display: flex;
    flex-flow: wrap;
    align-items: stretch;
}
.mi-newuser-info {
    position: relative;
    width: calc(20% - 5px);
    height: 50px;
    margin: 5px;
}
.mi-newuser-info:nth-child(n){
    margin-left: 0;
}
.mi-newuser-info .mi-ranking-vip-badge{
    bottom: -3px;
    right: -4px;
}
.mi-newuser-list img{
    width: 100%;
    height: 100%;
}
.mi-postnew-user-popover{
    min-width: 100px;
    background-color: #333333ea;
    border:none;
    box-shadow:none
}
.mi-popover-content{
    text-align: center;
}
.el-popover.mi-postnew-user-popover {
    background-color: #333333ea !important;
    color: #fff !important;
  }
  
  /* 修改三角箭头背景色 */
  .el-popover.mi-postnew-user-popover .popper__arrow::after {
    border-bottom-color: #333333ea !important;
  }
  
  /* 根据不同的弹出方向设置三角箭头 */
  .el-popover.mi-postnew-user-popover[x-placement^="top"] .popper__arrow::after {
    border-top-color: #333333ea !important;
  }
  
  .el-popover.mi-postnew-user-popover[x-placement^="bottom"] .popper__arrow::after {
    border-bottom-color: #333333ea!important;
  }
  
  .el-popover.mi-postnew-user-popover[x-placement^="left"] .popper__arrow::after {
    border-left-color: #333333ea !important;
  }
  
  .el-popover.mi-postnew-user-popover[x-placement^="right"] .popper__arrow::after {
    border-right-color: #333333ea !important;
  }
.mi-popover-content p{
    color: #ffff;
}
.mi-newuser-skeleton{
    position: relative;
    width: calc(20% - 5px);
    height: 50px;
    margin: 5px;
    background-color: #f0f0f0;
    animation: mi-pulse 1.5s infinite;
}
/*
 *-------------------------------------------------------------------------------
 * 欢迎新用户小工具 end
 *-------------------------------------------------------------------------------
*/

/*
 *-------------------------------------------------------------------------------
 * 文章作者小工具 start
 *-------------------------------------------------------------------------------
*/
.widget.mi-author-post-widget{
    padding: 0;
}
.mi-gadget-author-container {
    overflow: hidden;
    transition: all 0.4s ease;
}

.mi-gadget-author-container:hover {
    box-shadow: 0 12px 40px rgba(165, 214, 167, 0.18);
}

.mi-gadget-author-header {
    height: 100px;
    width: 100%;
    object-fit: cover;
}

.mi-gadget-author-avatar-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -28px;
    z-index: 2;
}

.mi-gadget-author-avatar {
    width: 56px;
    height: 56px;
    border: 3px solid white;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(139, 198, 129, 0.25);
}
.mi-gadget-author-avatar-wrapper .mi-ranking-vip-badge{
    right: 115px;
}
.mi-gadget-author-info {
    padding: 0 10px 0px;
    text-align: center;
    margin-bottom: 10px;
}

.mi-gadget-author-name {
    font-size: 15px;
    font-weight: 600;
    margin: 5px;
    letter-spacing: 0.2px;
}

.mi-gadget-author-title {
    color: #7a8c7a;
    font-size: 12px;
    line-height: 1.5;
    margin: 10px 0 5px;
}

.mi-gadget-author-stats-container {
    padding: 0;
    margin: 0 12px;
    position: relative;
}

.mi-gadget-author-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mi-gadget-author-stats::-webkit-scrollbar {
    display: none;
}

.mi-gadget-author-stat {
    align-items: center;
    padding: 5px 10px;
    border-radius: 8px;
    flex-shrink: 0;
    text-align: center;
    justify-content: space-around;
    display: flex;
    gap: 5px;
    flex-direction: column;
    width: 25%;
}

.mi-gadget-author-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.mi-gadget-author-stat-icon svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.mi-gadget-author-stat-value {
    font-size: 12px;
}

.mi-gadget-author-scroll-hint {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(90deg, transparent, white 50%);
    pointer-events: none;
}

.mi-gadget-author-actions {
    display: flex;
    gap: 10px;
    padding: 10px 33px;
}

.mi-gadget-author-button {
    flex: 1;
    padding: 6px 12px;
    border-radius: 10px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mi-gadget-author-button-homepage {
    border: 1px solid #d6e9d6;
}

.mi-gadget-author-button svg {
    width: 12px;
    height: 12px;
}

.mi-gadget-author-section {
    padding: 0px 20px 20px;
}

.mi-gadget-author-section-title {
    font-size: 14px;
    font-weight: 600;
    margin: 6px 0 10px;
    display: flex;
    align-items: center;
}

.mi-gadget-author-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 12px;
    background: #8bc681;
    border-radius: 2px;
    margin-right: 8px;
}

.mi-gadget-author-articles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mi-gadget-author-article {
    padding: 0px 10px;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.mi-gadget-author-article::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8bc681;
}

.mi-gadget-author-article:hover .mi-gadget-author-article-title {
    color: #5a9c5a;
    transform: translateX(3px);
}

.mi-gadget-author-article-title {
    font-size: 14px;
    padding: 0;
    transition: all 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #666;
}
.mi-currentauthor-widget-skeleton-container {
    width: 100%;
    background: #fff;
    border-radius: 8px;
}

.mi-currentauthor-widget-skeleton-header {
    height: 78px;
    width: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 16px;
    animation: skeleton-loading 1.5s infinite;
}

.mi-currentauthor-widget-skeleton-avatar-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: -50px;
}

.mi-currentauthor-widget-skeleton-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-bottom: 8px;
}
.mi-currentauthor-widget-skeleton-info {
    padding: 0 10px;
    text-align: center;
    margin-bottom: 5px;
}

.mi-currentauthor-widget-skeleton-title {
    height: 18px;
    width: 50px;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    margin: 0 auto 5px;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.mi-currentauthor-widget-skeleton-name {
    height: 16px;
    width: 60%;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    margin: 0 auto 16px;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.mi-currentauthor-widget-skeleton-stats-container {
    padding: 0 12px;
}

.mi-currentauthor-widget-skeleton-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
}

.mi-currentauthor-widget-skeleton-stat {
    width: 22%;
    height: 16px;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.mi-currentauthor-widget-skeleton-scroll-hint {
    width: 50px;
    height: 18px;
    background: linear-gradient(90deg, transparent, #e0e0e0 50%);
    border-radius: 2px;
    animation: skeleton-loading 1.5s infinite;
    margin: 0 10px 5px;
}
.mi-currentauthor-widget-skeleton-posts{
    padding: 0 10px;
}
.mi-currentauthor-widget-skeleton-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.mi-currentauthor-widget-skeleton-button {
    width: 70px;
    height: 20px;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    animation: skeleton-loading 1.5s infinite;
}

.mi-currentauthor-widget-skeleton-article {
    height: 10px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    border-radius: 3px;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/*
 *-------------------------------------------------------------------------------
 * 文章作者小工具 end
 *-------------------------------------------------------------------------------
*/