/* ----- 计数器卡片容器（与现有卡片风格一致） ----- */
.vercount-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    padding: 0.5rem 1rem;
    margin: 0 0 0.8rem 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* 在深色背景下的适配 */
.vercount-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

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

/* ----- 计数数字 ----- */
.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.25rem;
    border-radius: 4px;
    font-size: 0.78rem;
    line-height: 1.4;
    min-width: 1.6rem;
    display: inline-block;
}

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

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

@media (max-width: 480px) {
    .vercount-card {
        gap: 0.2rem 0.4rem;
        padding: 0.3rem 0.6rem;
        border-radius: 10px;
        margin: 0 0 0.5rem 0;
    }
    
    .vercount-item {
        font-size: 0.65rem;
    }
    
    .vercount-item .num {
        font-size: 0.65rem;
        min-width: 1.2rem;
        padding: 0 0.15rem;
    }
    
    .vercount-sep {
        display: none;
    }
}

/* 超小屏 */
@media (max-width: 360px) {
    .vercount-item {
        font-size: 0.55rem;
    }
    .vercount-item .num {
        font-size: 0.55rem;
        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; }
}