/* ===== 访问统计 - V3.4 §11.1 规范 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 6px;
    text-align: center;
    min-height: 60px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.stat-item .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    display: block;
    width: 100%;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-item .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-top: 5px;
    display: block;
    line-height: 1.2;
}

/* 父容器溢出控制 */
.right-sidebar-container {
    overflow-x: hidden;
}

.stats-section {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
