/*
 *-------------------------------------------------------------------------------
 * MiPlus Bee Design · 侧边栏小工具统一样式
 * 海棠红温润质感 · 统一字体规范
 *-------------------------------------------------------------------------------
 */
.widget-aside {
    margin-left: 10px;
}

.widget_post_custom_widget h3 {
    font-size: var(--bee-widget-title, 15px);
    font-weight: 700;
    margin-bottom: 20px;
}

.post-aggregate-widget h2.widget-title {
    margin: 0 10px 10px;
    font-size: var(--bee-widget-title, 15px);
    font-weight: 700;
}

.post-aggregate-widget .widget-title::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 25px;
    transform: translateY(-50%);
    height: 18px;
    width: 4px;
    background: linear-gradient(to bottom, var(--bee-pri, #FB5A78), var(--bee-sec, #FD8A9E));
    border-radius: 2px;
}

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

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

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

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

.post-aggregate-widget .thumbnail-mode-none .widget-thumbnail {
    display: none;
}

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

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

.post-aggregate-widget .widget-content {
    flex-grow: 1;
}

.post-aggregate-widget .widget-title {
    margin: 0 0 5px 0;
    font-size: var(--bee-widget-content, 13px);
    line-height: 1.5;
}

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

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

.post-aggregate-widget .widget-meta {
    font-size: 12px;
    color: var(--bee-text3, #86909C);
}

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

/* 均等模式：无背景 · hover 上浮 · 40px 缩略图 · 舒适间距 */
.post-aggregate-widget .thumbnail-mode-equal .widget-item-equal {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 8px;
    padding: 7px 8px;
    margin: 0 0 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-item-equal:last-child {
    margin-bottom: 0;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-item-equal:hover {
    background: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-thumb {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-thumb picture,
.post-aggregate-widget .thumbnail-mode-equal .widget-equal-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-item-equal:hover .widget-equal-thumb img {
    transform: scale(1.05);
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-title {
    font-size: var(--bee-widget-content, 13px);
    font-weight: 600;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: var(--bee-text, #1D2129);
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-meta {
    font-size: 12px;
    line-height: 1.3;
    color: var(--bee-text3, #86909C);
    display: flex;
    align-items: center;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-meta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    background: transparent;
    transition: color 0.2s ease;
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-meta a:hover {
    background: transparent;
    color: var(--bee-text, #1D2129);
}

.post-aggregate-widget .thumbnail-mode-equal .widget-equal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* 暗色模式适配 */
.mi-dark .post-aggregate-widget .thumbnail-mode-equal .widget-equal-title a,
.dark .post-aggregate-widget .thumbnail-mode-equal .widget-equal-title a {
    color: var(--bee-text, #E5E7EB);
}

/* 无图模式：排名徽章 + 双行标题 + 元信息 */
.post-aggregate-widget .thumbnail-mode-none .widget-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 6px;
    padding: 6px 2px;
    border-bottom: none;
    transition: transform 0.25s ease;
}

.post-aggregate-widget .thumbnail-mode-none .widget-item:last-child {
    margin-bottom: 0;
}

.post-aggregate-widget .thumbnail-mode-none .widget-item:hover {
    transform: translateY(-1px);
}

.post-aggregate-widget .thumbnail-mode-none .widget-num {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #f2f3f5;
    color: #86909c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.post-aggregate-widget .thumbnail-mode-none .widget-num-1 {
    background: linear-gradient(135deg, #FB5A78 0%, #FD8A9E 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(251, 90, 120, 0.25);
}

.post-aggregate-widget .thumbnail-mode-none .widget-num-2 {
    background: linear-gradient(135deg, #FF9F43 0%, #FFC078 100%);
    color: #fff;
}

.post-aggregate-widget .thumbnail-mode-none .widget-num-3 {
    background: linear-gradient(135deg, #9B8AFB 0%, #C3B8FF 100%);
    color: #fff;
}

/* hover 时序号颜色保持锁定，不随标题变色 */
.post-aggregate-widget .thumbnail-mode-none .widget-item:hover .widget-num {
    color: #86909c;
}

.post-aggregate-widget .thumbnail-mode-none .widget-item:hover .widget-num-1,
.post-aggregate-widget .thumbnail-mode-none .widget-item:hover .widget-num-2,
.post-aggregate-widget .thumbnail-mode-none .widget-item:hover .widget-num-3 {
    color: #fff;
}

.post-aggregate-widget .thumbnail-mode-none .widget-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
}

.post-aggregate-widget .thumbnail-mode-none .widget-desc {
    margin: 0;
    padding: 0;
    max-width: 100%;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--bee-text, #1D2129);
    -webkit-line-clamp: 2;
}

.post-aggregate-widget .thumbnail-mode-none .widget-desc a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-aggregate-widget .thumbnail-mode-none .widget-item:hover .widget-desc a {
    color: var(--bee-pri, #FB5A78);
}

.post-aggregate-widget .thumbnail-mode-none .widget-none-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    font-size: 12px;
    line-height: 1.2;
    color: var(--bee-text3, #86909C);
}

.post-aggregate-widget .thumbnail-mode-none .widget-none-meta > span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.post-aggregate-widget .thumbnail-mode-none .widget-cat {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-aggregate-widget .thumbnail-mode-none .widget-cat a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-aggregate-widget .thumbnail-mode-none .widget-cat a:hover {
    color: var(--bee-text2, #4E5969);
}

.post-aggregate-widget .thumbnail-mode-none .widget-none-meta > span + span::before {
    content: '·';
    margin-right: 2px;
    color: #C9CDD4;
}

/* 无图模式暗色适配 */
.mi-dark .post-aggregate-widget .thumbnail-mode-none .widget-num:not(.widget-num-1):not(.widget-num-2):not(.widget-num-3),
.dark .post-aggregate-widget .thumbnail-mode-none .widget-num:not(.widget-num-1):not(.widget-num-2):not(.widget-num-3) {
    background: rgba(255, 255, 255, 0.08);
    color: #A9B0BB;
}

.mi-dark .post-aggregate-widget .thumbnail-mode-none .widget-desc,
.dark .post-aggregate-widget .thumbnail-mode-none .widget-desc {
    color: var(--bee-text, #E5E7EB);
}

.widget {
    background: var(--bee-card, #ffffff);
    margin-left: 15px;
    padding: 14px 16px;
    margin-bottom: 12px;
    position: relative;
    border-radius: var(--bee-radius, 5px);
    box-shadow: var(--bee-shadow, 0 1px 3px rgba(0,0,0,.05));
    border: 1px solid var(--bee-border, #F0E2E4);
    transition: box-shadow 0.3s;
}
.widget:hover {
    box-shadow: var(--bee-shadow-md, 0 4px 16px rgba(0,0,0,.06));
}

.widget_post_custom_widget h2 {
    font-size: var(--bee-widget-title, 15px);
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--bee-text, #1D2129);
}

.mi-widget-h3 {
    margin: 6px 0;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--bee-text, #1D2129);
    font-size: var(--bee-widget-content, 13px);
    padding: 0;
    line-height: 1.5;
}

.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: var(--bee-card, #ffffff);
    border-radius: var(--bee-radius, 5px);
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--bee-border, #F0E2E4);
    box-shadow: var(--bee-shadow, 0 1px 3px rgba(0,0,0,.05));
}

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

.mi-UserCredit-greeting {
    font-size: var(--bee-widget-title, 15px);
    font-weight: 700;
    color: var(--bee-text, #1D2129);
}

.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 12px;
    font-size: var(--bee-widget-title, 15px);
    font-weight: 700;
    color: var(--bee-text, #1D2129);
}
/* 侧边栏标题统一样式 - 带温润装饰条 */
.mi-widget-header h3::before,
#mi-sidebar .widget-title:not(.post-aggregate-widget .widget-title)::before,
.mi-indexSidebar h3::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--bee-grad, linear-gradient(135deg, #FB5A78, #FD8A9E));
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

.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: 700;
    opacity: 0.85;
}

.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: 40px;
    height: 40px;
    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: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bee-border, #F0E2E4);
}
.mi-widgetcomment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.mi-widgetcomment-author-name {
    font-weight: 600;
    color: var(--bee-text, #1D2129);
    font-size: var(--bee-widget-content, 13px);
}
.mi-widgetcomment-date {
    font-size: 12px;
    color: var(--bee-text3, #86909C);
}
.mi-widgetcomment-content p {
    font-size: var(--bee-widget-content, 13px);
    color: var(--bee-text2, #4E5969);
    line-height: 1.6;
}

#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-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: var(--bee-text3, #86909C);
    font-size: 12px;
}

.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-daka-item .mi-real-vip-badge{
    bottom: -7px;
    right: -7px;
}
.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: grid;
    gap: 5px;
    grid-template-columns: repeat(5, 1fr);
}

.mi-newuser-info {
    position: relative;
    height: 50px;
}

.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;
    font-size: 12px;
    margin: 3px 5px;
}

.mi-newuser-skeleton {
    position: relative;
    height: 50px;
    background-color: #f0f0f0;
    animation: mi-pulse 1.5s infinite;
}

/*
 *-------------------------------------------------------------------------------
 * 欢迎新用户小工具 end
 *-------------------------------------------------------------------------------
 */


/*
 *-------------------------------------------------------------------------------
 * 文章下载小工具 start
 *-------------------------------------------------------------------------------
*/
.mi-download-container {
    overflow: hidden;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.mi-download-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mi-download-section {
    margin-bottom: 0;
    position: relative;
}

.mi-download-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mi-download-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 3px 2px 3px -5px #0000007a, 0 0px 5px #606266b8;
}

.mi-download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mi-download-title {
    font-weight: 500;
    line-height: 1.3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

.mi-download-title-h1 {
    font-size: 14px;
}

.mi-download-desc {
    font-size: 10px;
    opacity: 0.75;
}

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

.mi-download-user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mi-download-avatar-link {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.mi-download-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mi-download-nick-desc {
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.mi-download-count {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
}

.mi-download-section-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    padding-left: 8px;
}

.mi-download-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    transform: translateY(-50%);
    height: 18px;
    width: 4px;
    border-radius: 2px;
}

.mi-download-prop-item {
    font-size: 13px;
    padding: 4px 10px;
}

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

.mi-download-shuxing {
    display: flex;
    justify-content: space-between;
}

.mi-download-prop-label {
    font-weight: 500;
}

.mi-download-prop-value {
    font-weight: 500;
}

.unlock-detail {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.unlock-type-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.unlock-desc {
    font-size: 12px;
}

.mi-download-codes {
    display: flex;
    gap: 12px;
    background: #fef9e6;
    border-radius: 16px;
    padding: 10px 12px;
}

.mi-download-code-item {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
}

.mi-download-code-label {
    color: #b97f10;
    font-weight: 500;
}

.mi-download-code-value {
    color: #c98600;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mi-download-drive-row {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.mi-download-drive-select {
    flex: 1;
}

.mi-download-drive-select .el-input__inner {
    border-radius: 20px;
}

.mi-download-download-btn {
    flex-shrink: 0;
}

.mi-download-download-btn button {
    padding: 10px 25px;
    border: none;
}

.mi-download-demo-btn {
    border-color: #6fbf4c;
    color: #6fbf4c;
}

.mi-download-buttons {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

.mi-download-buttons .el-button {
    flex: 1;
    padding: 12px 15px;
    color: #606266;
    text-align: left;
}

.mi-download-comment-area {
    margin-top: 4px;
    background: #fafefa;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #ddebd8;
    scroll-margin-top: 80px;
}

.comment-title {
    font-size: 13px;
    font-weight: 600;
    color: #558b2f;
    margin-bottom: 8px;
}

.comment-list {
    font-size: 12px;
    color: #4a5b3e;
}

.mi-skeletonxz-container {
    overflow: hidden;
}

.mi-skeletonxz-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mi-skeletonxz-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mi-skeletonxz-thumb {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mi-skeletonxz-title {
    height: 16px;
    background: #f0f0f0;
    width: 80%;
    animation: pulse 1.2s infinite ease-in-out;
}

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

.mi-skeletonxz-user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mi-skeletonxz-avatar {
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-nick {
    width: 50px;
    height: 16px;
    background: #f0f0f0;
    border-radius: 10px;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-count {
    width: 60px;
    height: 16px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-props {
    background: #f0f0f0;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mi-skeletonxz-prop-line {
    height: 14px;
    background: #f0f0f0;
    width: 100%;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-unlock {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mi-skeletonxz-unlock-item {
    width: 55px;
    height: 28px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-codes {
    display: flex;
    gap: 12px;
}

.mi-skeletonxz-code {
    flex: 1;
    height: 32px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-drive {
    display: flex;
    gap: 12px;
}

.mi-skeletonxz-select {
    flex: 1;
    height: 32px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-btn {
    width: 70px;
    height: 32px;
    background: #f0f0f0;
    animation: pulse 1.2s infinite ease-in-out;
}

.mi-skeletonxz-actions {
    display: flex;
    gap: 12px;
}

.mi-skeletonxz-action {
    flex: 1;
    height: 34px;
    background: #f0f0f0;
    ;
    animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/*
 *-------------------------------------------------------------------------------
 * 文章下载小工具 end
 *-------------------------------------------------------------------------------
*/
/*
 *-------------------------------------------------------------------------------
 * 打卡 start
 *-------------------------------------------------------------------------------
*/
.el-dialog.mi-daka-dialog{
    width: 350px;
}
.widget.mi-userdaka-widget{
    padding: 0;
}
.mi-daka-box{
    padding: 5px;
}
/* 头部 */
.mi-daka-head {
    padding: 10px 10px 0;
}

.mi-daka-head-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mi-daka-greet {
    font-size: 16px;
    font-weight: 600;
}

.mi-daka-streak {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.mi-daka-head-sub {
    font-size: 12px;
    opacity: 0.9;
}

/* 打卡区 */
.mi-daka-check {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mi-daka-check-title {
    font-size: 15px;
    font-weight: 700;
}

.mi-daka-check-title i{
    margin-right: 5px;
    font-size: 20px;
}
.mi-daka-check-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.mi-daka-check-btn.done {
    background: #ccc;
    cursor: default;
}

/* 周进度 */
.mi-daka-week {
    padding: 0 10px 10px;
}

.mi-daka-week-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.mi-daka-week-row {
    display: flex;
    justify-content: space-between;
}

.mi-daka-week-day {
    text-align: center;
}

.mi-daka-week-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.mi-daka-week-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #999;
    margin: 0 auto;
}

.mi-daka-week-dot.checked {
    background: #66bb6a;
    color: #fff;
}

.mi-daka-week-dot.pending {
    color: #ccc;
}

.mi-daka-week-dot.today {
    border: 1px solid #fff;
}

.mi-daka-week-dot.missed {
    color: #ff9800;
    background: #fff3e0;
    font-size: 10px;
    cursor: pointer;
}

.mi-daka-week-dot.missed:hover {
    color: #ff9800;
    background: #fff3e0;
}

/* 补卡提示 */
.mi-daka-buk-tip {
    border-radius: 4px;
    padding: 10px;
    font-size: 12px;
    color: #fff;
    text-align: center;
}

.mi-daka-buk-tip strong {
    color: #ff9800;
}

/* 动态 */
.mi-daka-feed {
    padding: 10px;
}

.mi-daka-feed-title {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.mi-daka-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.mi-daka-item:last-child {
    margin-bottom: 0;
}
.mi-daka-item a{
    position: relative;
    width: 36px;
    height: 36px;
}
.mi-daka-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mi-daka-body {
    flex: 1;
    min-width: 0;
}

.mi-daka-item-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.mi-daka-name {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.mi-daka-name a {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.85;
}

.mi-daka-time {
    font-size: 11px;
    color: #999;
}

.mi-daka-point {
    margin-left: auto;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mi-daka-point-val {
    color: #e67e22;
    font-weight: 600;
}

.mi-daka-exp-val {
    line-height: 1.5;
    font-size: 12px;
    color: #606266;
}

.mi-daka-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* v-cloak: Vue 编译前隐藏未解析的模板插值 */
[v-cloak] {
    display: none;
}

/* 全组件骨架屏 — 布局与真实内容完全对应，样式与原 .mi-dakagjp-* 一致 */
.mi-daka-skeleton {
    padding: 5px;
}

.mi-daka-skeleton-check-icon,
.mi-daka-skeleton-check-btn,
.mi-daka-skeleton-week-title,
.mi-daka-skeleton-week-dot,
.mi-daka-skeleton-avatar,
.mi-daka-skeleton-line,
.mi-daka-skeleton-foot {
    animation: mi-pulse 1.5s infinite;
}

/* 打卡按钮区域骨架 */
.mi-daka-skeleton-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.mi-daka-skeleton-check-icon {
    width: 80px;
    height: 22px;
    background: #eee;
}

.mi-daka-skeleton-check-btn {
    width: 76px;
    height: 32px;
    background: #eee;
}

/* 本周进度骨架 */
.mi-daka-skeleton-week {
    padding: 10px;
}

.mi-daka-skeleton-week-title {
    width: 56px;
    height: 14px;
    margin-bottom: 10px;
    background: #eee;
}

.mi-daka-skeleton-week-row {
    display: flex;
    justify-content: space-between;
}

.mi-daka-skeleton-week-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eee;
}

/* 打卡列表骨架 */
.mi-daka-skeleton-feed {
    padding: 10px;
}

.mi-daka-skeleton-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.mi-daka-skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #eee;
}

.mi-daka-skeleton-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.mi-daka-skeleton-line {
    height: 10px;
    background: #eee;
}

.mi-daka-skeleton-line.w40 {
    width: 40%;
}

.mi-daka-skeleton-line.w70 {
    width: 70%;
}

.mi-daka-skeleton-line.w90 {
    width: 90%;
}

/* 底部骨架 */
.mi-daka-skeleton-foot {
    height: 16px;
    width: 60%;
    margin: 8px 10px 12px;
    background: #eee;
}
/* 底部 */
.mi-daka-foot {
    padding: 10px;
    text-align: center;
}

.mi-daka-foot a,.mi-daka-foot span{
    font-size: 12px;
    text-decoration: none;
}
.mi-daka-foot span:hover{
    cursor: pointer;
}
/* 弹窗 */
.mi-daka-dialog .el-dialog {
    width: 300px !important;
    border-radius: 8px;
}

.mi-daka-dialog .el-dialog__header {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.mi-daka-dialog .el-dialog__title {
    color: #333;
    font-size: 15px;
}

.mi-daka-dialog .el-dialog__body {
    padding: 15px;
}

.mi-daka-pop {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mi-daka-pop-label {
    font-size: 12px;
    color: #999;
}

.mi-daka-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mi-daka-preset {
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}
.mi-daka-input-wrap {
    position: relative;
}

.mi-daka-input {
    width: 100%;
    padding: 10px;
    padding-bottom: 22px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    resize: none;
    outline: none;
}

.mi-daka-input:focus {
    border-color: #66bb6a;
}

.mi-daka-count {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 11px;
    color: #999;
}

.mi-daka-submit {
    padding: 10px;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.mi-daka-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 提示 */
.mi-daka-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #66bb6a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
}

.mi-daka-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}







/*
 *-------------------------------------------------------------------------------
 * 打卡 end
 *-------------------------------------------------------------------------------
*/

/*
 *-------------------------------------------------------------------------------
 * 文章作者小工具 start · 星轨名片（2025 全新版）
 *-------------------------------------------------------------------------------
 */

.widget.mi-author-post-widget {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.mi-acard {
    --mi-acard-accent: var(--mi-author-follow-color, var(--bee-pri, #FB5A78));
    --mi-acard-accent-rgb: var(--mi-author-follow-rgb, 251, 90, 120);
    --mi-acard-gold: var(--mi-author-gold, #FFD98A);
    --mi-acard-gold-rgb: var(--mi-author-gold-rgb, 255, 217, 138);
    --mi-acard-violet: var(--mi-author-violet, #7B5CFF);
    --mi-acard-ink: var(--mi-author-text, #171A2E);
    --mi-acard-ink-2: var(--mi-author-text-secondary, #5A5F7A);
    --mi-acard-ink-3: var(--mi-author-text-muted, #9298B3);
    --mi-acard-surface: var(--mi-author-bg, #FFFFFF);
    --mi-acard-line: var(--mi-author-border, rgba(23, 26, 46, .08));
    --mi-acard-radius: var(--mi-author-radius, 16px);
    --mi-acard-cover: none;
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    border-radius: var(--mi-acard-radius);
    background: var(--mi-acard-surface);
    border: 1px solid var(--mi-acard-line);
    /* box-shadow:
        0 24px 60px -34px rgba(13, 16, 40, .45),
        0 3px 10px rgba(13, 16, 40, .05); */
    color: var(--mi-acard-ink);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

/* ========== 顶部星海横幅 ========== */
.mi-acard__banner {
    position: relative;
    height: 116px;
    overflow: hidden;
    background-color: transparent;
    background-image: var(--mi-acard-cover, none);
    background-size: cover;
    background-position: center;
}

.mi-acard__banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff96 100%);
    pointer-events: none;
}

.mi-acard__eyebrow {
    position: absolute;
    top: 15px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .74);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.mi-acard__join {
    position: absolute;
    top: 15px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-size: 9.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .68);
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ========== 头像与身份区 ========== */
.mi-acard__hero {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: -30px;
    padding: 0 16px;
}

.mi-acard__avatar-link {
    position: relative;
    flex: 0 0 auto;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
    line-height: 0;
    border-radius: 5px;
}

.mi-acard__avatar-frame {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 5px;
    background: transparent;
    box-shadow:
        0 0 0 2px #FFFFFF,
        0 8px 18px -8px rgba(13, 16, 40, .5);
}

.mi-acard__avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.mi-acard__avatar-link:hover .mi-acard__avatar {
    transform: scale(1.03);
}

.mi-acard__vip-badge {
    position: absolute;
    right: -1px;
    bottom: -1px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    color: #5B3A00;
    background: linear-gradient(145deg, #FFF6D2 0%, var(--mi-acard-gold) 46%, #F2A94B 100%);
    border: 1px solid var(--mi-acard-surface);
    box-shadow:
        0 3px 8px rgba(242, 169, 75, .45),
        0 0 0 2px rgba(var(--mi-acard-gold-rgb), .14);
}

.mi-acard__vip-badge svg {
    width: 9px;
    height: 9px;
}

.mi-acard__identity {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 1px;
}

.mi-acard__name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: #FFFFFF;
    text-decoration: none;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
    transition: color .2s ease;
}

.mi-acard__name-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mi-acard__name-spark {
    flex-shrink: 0;
    font-size: 10px;
    color: var(--mi-acard-gold);
    text-shadow: 0 0 10px rgba(var(--mi-acard-gold-rgb), .8);
    opacity: .9;
    transition: transform .4s ease;
}

.mi-acard__name:hover {
    color: rgba(255, 255, 255, .82);
}

.mi-acard__name:hover .mi-acard__name-spark {
    transform: rotate(90deg) scale(1.15);
}

.mi-acard__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mi-acard__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.mi-acard__chip--lv {
    height: auto;
    padding: 0;
    color: rgba(255, 255, 255, .82);
    background: transparent;
    border: 0;
    border-radius: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .38);
}

.mi-acard__chip--lv b {
    font-weight: 600;
    font-style: normal;
}

.mi-acard__chip--vip {
    color: #6B4B00;
    background: linear-gradient(135deg, #FFF6D2, var(--mi-acard-gold));
    border: 1px solid rgba(var(--mi-acard-gold-rgb), .75);
    box-shadow: 0 2px 8px rgba(var(--mi-acard-gold-rgb), .3);
}

/* ========== 简介 ========== */
.mi-acard__bio {
    margin: 10px 18px 0;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--mi-acard-ink-2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

/* ========== 数据统计 ========== */
.mi-acard__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 12px 18px 0;
}

.mi-acard__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 3px 2px;
    text-decoration: none;
    background: transparent;
    border: 0;
}

.mi-acard__stat-value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    color: #34394F;
}

.mi-acard__stat-label {
    font-size: 10px;
    line-height: 1.3;
    color: var(--mi-acard-ink-3);
    white-space: nowrap;
}

/* ========== 操作按钮 ========== */
.mi-acard__actions {
    display: flex;
    gap: 8px;
    padding: 12px 18px 0;
    margin-bottom: 20px;
}

.mi-acard-btn {
    position: relative;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 35px;
    padding: 0 10px;
    overflow: hidden;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--mi-author-btn-radius, 8px);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.mi-acard-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(var(--mi-acard-accent-rgb), .25);
}

.mi-acard-btn--follow {
    color: var(--mi-acard-accent);
    background: transparent;
    box-shadow: none;
}

.mi-acard-btn--follow:hover {
    color: var(--mi-acard-accent);
    background: transparent;
    border-color: rgba(var(--mi-acard-accent-rgb), .8);
    box-shadow: none;
}

.mi-acard-btn--follow:active {
    transform: none;
}

.mi-acard-btn--follow.is-following {
    color: var(--mi-acard-ink-2);
    background: transparent;
    border-color: var(--mi-acard-line);
    box-shadow: none;
}

.mi-acard-btn--follow.is-following:hover {
    color: var(--mi-acard-accent);
    background: transparent;
    border-color: rgba(var(--mi-acard-accent-rgb), .55);
    box-shadow: none;
}

.mi-acard-btn--follow:disabled {
    cursor: not-allowed;
    opacity: .6;
    transform: none;
    box-shadow: none;
}

.mi-acard-btn--msg {
    flex: 0 0 76px;
    color: var(--mi-acard-accent);
    background: transparent;
}

.mi-acard-btn--msg:hover {
    color: var(--mi-acard-accent);
    background: transparent;
    box-shadow: none;
}

.mi-acard-btn--msg:active {
    transform: none;
}

.mi-acard-btn svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.mi-acard-btn__icon {
    display: inline-flex;
    line-height: 0;
}

.mi-acard-btn__spinner {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid rgba(var(--mi-acard-accent-rgb), .25);
    border-top-color: var(--mi-acard-accent);
    animation: mi-acard-spin .7s linear infinite;
}

/* ========== 近期文章 ========== */
.mi-acard__posts {
    margin: 12px 18px 14px;
    padding: 0;
    background: transparent;
    border: 0;
}

.mi-acard__posts-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 0 5px;
}

.mi-acard__posts-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--mi-acard-ink);
}

.mi-acard__posts-more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    color: var(--mi-acard-ink-3);
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.mi-acard__posts-more:hover {
    color: var(--mi-acard-accent);
    transform: translateX(2px);
}

.mi-acard__posts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mi-acard-post {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    text-decoration: none;
}

.mi-acard-post__idx {
    flex: 0 0 22px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    color: var(--mi-acard-ink-3);
    opacity: .62;
    transition: color .2s ease, opacity .2s ease;
}

.mi-acard-post:hover .mi-acard-post__idx {
    color: var(--mi-acard-gold);
    opacity: 1;
}

.mi-acard-post__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mi-acard-post__title {
    display: block;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.42;
    color: var(--mi-acard-ink);
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color .2s ease;
}

.mi-acard-post:hover .mi-acard-post__title {
    color: var(--mi-acard-accent);
}

.mi-acard-post__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 9.5px;
    line-height: 1.3;
    color: var(--mi-acard-ink-3);
}

.mi-acard-post__type {
    display: inline-flex;
    align-items: center;
    height: 15px;
    padding: 0;
    background: transparent;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}

.mi-acard-post__type.is-post {
    color: var(--mi-acard-accent);
}

.mi-acard-post__type.is-doc {
    color: #3F86E8;
}

.mi-acard-post__type.is-notice {
    color: #B67A18;
}

.mi-acard-post__date {
    white-space: nowrap;
}

.mi-acard-post__views {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.mi-acard-post__arrow {
    flex-shrink: 0;
    color: transparent;
    transform: translate(-3px, 3px);
    transition: color .24s ease, transform .24s ease;
}

.mi-acard-post:hover .mi-acard-post__arrow {
    color: var(--mi-acard-accent);
    transform: translate(0, 0);
}

.mi-acard__posts-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 8px 16px;
    font-size: 11px;
    color: var(--mi-acard-ink-3);
}


/* ========== 空状态 ========== */
.mi-acard__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 20px;
    font-size: 12px;
    color: var(--mi-acard-ink-3);
}

/* ========== 动效 ========== */
@keyframes mi-acard-spin {
    to { transform: rotate(360deg); }
}

/* ========== 响应式 ========== */
@media (max-width: 360px) {
    .mi-acard__banner { height: 104px; }
    .mi-acard__hero { gap: 10px; padding: 0 14px; margin-top: -46px; }
    .mi-acard__avatar-link { width: 46px; height: 46px; }
    .mi-acard__name { font-size: 15px; }
    .mi-acard__stats { margin: 10px 14px 0; gap: 0; }
    .mi-acard__stat-value { font-size: 14px; }
    .mi-acard__actions { padding: 10px 14px 0; }
    .mi-acard-btn { height: 33px; font-size: 11.5px; }
    .mi-acard__posts { margin: 10px 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .mi-acard-btn__spinner {
        animation: none !important;
    }

    .mi-acard,
    .mi-acard-btn,
    .mi-acard__stat,
    .mi-acard-post {
        transition: none !important;
    }
}

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

/*
 *-------------------------------------------------------------------------------
 * 分类目录 / 标签目录小工具（星轨目录）
 * 一排排布局 · 星辉胶囊 · 层级脉络
 *-------------------------------------------------------------------------------
 */
.mi-tax-widget {
    --mi-tax-pri: var(--bee-pri, #FB5A78);
    --mi-tax-sec: var(--bee-sec, #FD8A9E);
    --mi-tax-ink: var(--bee-text, #1D2129);
    --mi-tax-ink-3: var(--bee-text3, #86909C);
    --mi-tax-line: var(--bee-border, #EFEFF3);
    margin: 0;
    padding: 0;
}

/* 默认网格：一排排整齐排布 */
.mi-tax-cloud {
    display: grid;
    grid-template-columns: repeat(var(--mi-tax-cols, 2), minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mi-tax-cloud--cols-1 { --mi-tax-cols: 1; }
.mi-tax-cloud--cols-2 { --mi-tax-cols: 2; }

/* 自适应：以内容宽度为基准错落排列，并自动填满整行 */
.mi-tax-cloud--auto {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.mi-tax-cloud--auto .mi-tax-cell {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.mi-tax-cloud--auto .mi-tax-pill {
    width: 100%;
}

.mi-tax-cell {
    min-width: 0;
}

/* 白底胶囊：干净、克制 */
.mi-tax-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #fff;
    color: var(--mi-tax-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.mi-tax-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -10px rgba(17, 24, 39, .18);
}

.mi-tax-pill__mark {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--mi-tax-pri);
    filter: drop-shadow(0 0 5px rgba(251, 90, 120, .35));
    transition: transform .45s ease, filter .3s ease;
}

.mi-tax-pill__mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.mi-tax-pill:hover .mi-tax-pill__mark {
    transform: rotate(18deg) scale(1.06);
    filter: drop-shadow(0 0 7px rgba(251, 90, 120, .55));
}

.mi-tax-pill__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: .2px;
}

.mi-tax-pill__count {
    flex: 0 0 auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--mi-tax-pri);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    transition: background .25s ease, border-color .25s ease;
}
/* 热度榜前三：悬停时徽标点亮 */
.mi-tax-pill.is-hot .mi-tax-pill__count {
    border-color: transparent;
    background: transparent;
    color: var(--mi-tax-pri);
    box-shadow: none;
}

.mi-tax-pill.is-hot:hover .mi-tax-pill__count {
    border-color: transparent;
    background: linear-gradient(135deg, var(--mi-tax-pri), var(--mi-tax-sec));
    color: #fff;
    box-shadow: 0 2px 6px -1px rgba(251, 90, 120, .55);
}

.mi-tax-pill.is-hot .mi-tax-pill__mark {
    filter: drop-shadow(0 0 6px rgba(251, 90, 120, .55));
}

/* 子分类：脉络节点 + 浅灰白底 */
.mi-tax-cell[data-depth="1"] .mi-tax-pill {
    min-height: 32px;
    padding-left: 16px;
    border-color: transparent;
    background: #FBFBFC;
    font-size: 11.5px;
}

.mi-tax-cell[data-depth="1"] .mi-tax-pill::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--mi-tax-sec);
    box-shadow: 0 0 6px rgba(253, 138, 158, .8);
}

.mi-tax-cell[data-depth="1"] .mi-tax-pill__mark {
    width: 12px;
    height: 12px;
    opacity: .75;
}

.mi-tax-empty {
    margin: 0;
    padding: 14px 4px;
    text-align: center;
    font-size: 12px;
    color: var(--mi-tax-ink-3);
}

/* 暗色模式 */
.mi-dark .mi-tax-pill,
.dark .mi-tax-pill {
    border-color: transparent;
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
    color: var(--bee-text, #E5E7EB);
}

.mi-dark .mi-tax-cell[data-depth="1"] .mi-tax-pill,
.dark .mi-tax-cell[data-depth="1"] .mi-tax-pill {
    background: rgba(255, 255, 255, .025);
    border-color: transparent;
}

.mi-dark .mi-tax-pill__count,
.dark .mi-tax-pill__count {
    border-color: transparent;
    background: transparent;
    color: #FF9DB1;
}

.mi-dark .mi-tax-pill:hover .mi-tax-pill__count,
.dark .mi-tax-pill:hover .mi-tax-pill__count {
    border-color: rgba(251, 90, 120, .22);
    background: rgba(251, 90, 120, .18);
}

.mi-dark .mi-tax-pill.is-hot:hover .mi-tax-pill__count,
.dark .mi-tax-pill.is-hot:hover .mi-tax-pill__count {
    border-color: transparent;
    color: #fff;
}

.mi-dark .mi-tax-empty,
.dark .mi-tax-empty {
    color: rgba(255, 255, 255, .45);
}

/* 弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
    .mi-tax-pill,
    .mi-tax-pill__mark {
        transition: none !important;
    }

    .mi-tax-pill:hover {
        transform: none;
    }
}