/* ============================================================
   Vercount 计数器样式 - 独立卡片在主卡片上方
   ============================================================ */

/* ----- 计数器行（在卡片内部居中） ----- */
.vercount-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.15rem 0.4rem;
    width: 100%;
}

/* ----- 单个计数项 ----- */
.vercount-item {
    display: inline-flex;
    align-items: center;
    gap: 0.05rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ----- 计数数字 ----- */
.vercount-item .num {
    font-weight: 700;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 0.15rem;
    border-radius: 3px;
    font-size: 0.65rem;
    line-height: 1.4;
    min-width: 1.6rem;
    display: inline-block;
}

/* ----- 分隔符 ----- */
.vercount-sep {
    color: rgba(255, 255, 255, 0.12);
    font-size: 0.25rem;
    user-select: none;
    flex-shrink: 0;
}

/* ============================================================
   手机端适配
   ============================================================ */

@media (max-width: 480px) {
    .vercount-inline {
        gap: 0.1rem 0.25rem;
    }
    
    .vercount-item {
        font-size: 0.55rem;
    }
    
    .vercount-item .num {
        font-size: 0.55rem;
        min-width: 1.2rem;
        padding: 0 0.1rem;
    }
    
    .vercount-sep {
        display: none;
    }
}

/* 超小屏 */
@media (max-width: 380px) {
    .vercount-inline {
        gap: 0.08rem 0.15rem;
    }
    
    .vercount-item {
        font-size: 0.5rem;
    }
    
    .vercount-item .num {
        font-size: 0.5rem;
        min-width: 1rem;
    }
}

/* ============================================================
   加载状态
   ============================================================ */
.vercount-item .num.loading {
    animation: pulse-loading 1.2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes pulse-loading {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}