/* ============================================================
   Vercount 计数器样式 - 独立文件
   适用于 tianzhuicn.cn 首页（白色/浅色背景）
   ============================================================ */

/* ----- 计数器卡片容器 ----- */
.vercount-card {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* ----- 计数器内部布局 ----- */
.vercount-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.2rem;
    flex-wrap: wrap;
}

/* ----- 单个计数项 ----- */
.vercount-item {
    font-size: 0.78rem;
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
}

/* ----- 计数数字 ----- */
.vercount-item .num {
    font-weight: 700;
    color: #2563eb;
    min-width: 1.2rem;
    display: inline-block;
    text-align: center;
}

/* ----- 分隔符 ----- */
.vercount-sep {
    color: #d1d5db;
    font-size: 0.4rem;
    user-select: none;
}

/* ============================================================
   移动端适配
   ============================================================ */

@media (max-width: 640px) {
    .vercount-inner {
        gap: 0.3rem 0.6rem;
    }
    .vercount-item {
        font-size: 0.7rem;
    }
    .vercount-item .num {
        min-width: 1rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .vercount-inner {
        flex-direction: column;
        gap: 0.15rem 0;
    }
    .vercount-item {
        font-size: 0.65rem;
    }
    .vercount-item .num {
        min-width: 0.9rem;
        font-size: 0.65rem;
    }
    .vercount-sep {
        display: none;
    }
}

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

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