/* 高级简约风格 - 网站数据统计小工具 v4.0 */
.site-statistics {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

/* 主要统计区域 */
.site-statistics .stat-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.site-statistics .stat-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.site-statistics .stat-item:first-child {
    text-align: left;
}

.site-statistics .stat-item:last-child {
    text-align: right;
}

.site-statistics .stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.site-statistics .stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
    line-height: 1.2;
}

.site-statistics .stat-sub {
    font-size: 11px;
    color: #888;
    font-weight: normal;
}

/* 详细统计行 */
.site-statistics .stat-details {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.site-statistics .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.site-statistics .stat-row:last-child {
    border-bottom: none;
}

.site-statistics .detail-label {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.site-statistics .detail-value {
    color: #222;
    font-weight: 600;
    font-size: 13px;
    font-feature-settings: "tnum";
}

/* 信息区域 */
.site-statistics .stat-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.site-statistics .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.site-statistics .info-row:last-child {
    border-bottom: none;
}

.site-statistics .info-label {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.site-statistics .info-value {
    color: #222;
    font-weight: 600;
    font-size: 13px;
    text-align: right;
    font-feature-settings: "tnum";
}

/* 底部区域 */
.site-statistics .stat-footer {
    padding-top: 15px;
    text-align: center;
}

.site-statistics .footer-label {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.site-statistics .footer-time {
    font-family: 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    color: #444;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    line-height: 1.4;
    font-weight: 500;
    font-feature-settings: "tnum";
}

/* 短码样式 */
.site-statistics-shortcode {
    max-width: 350px;
    margin: 0 auto;
}

.site-statistics-shortcode h3 {
    text-align: center;
    color: #222;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .site-statistics {
        padding: 16px;
        font-size: 12px;
    }
    
    .site-statistics .stat-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .site-statistics .stat-item {
        text-align: left !important;
        padding: 0;
        width: 100%;
    }
    
    .site-statistics .stat-item:first-child,
    .site-statistics .stat-item:last-child {
        text-align: left !important;
    }
    
    .site-statistics .stat-value {
        font-size: 16px;
    }
    
    .site-statistics .footer-time {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .site-statistics-shortcode {
        max-width: 100%;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .site-statistics {
        background: #1a1a1a;
        border-color: #333;
        color: #e0e0e0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .site-statistics .stat-main,
    .site-statistics .stat-details,
    .site-statistics .stat-info {
        border-color: #333;
    }
    
    .site-statistics .stat-row,
    .site-statistics .info-row {
        border-color: #2a2a2a;
    }
    
    .site-statistics .stat-label,
    .site-statistics .detail-label,
    .site-statistics .info-label {
        color: #aaa;
    }
    
    .site-statistics .stat-value,
    .site-statistics .detail-value,
    .site-statistics .info-value {
        color: #fff;
    }
    
    .site-statistics .stat-sub {
        color: #888;
    }
    
    .site-statistics .footer-label {
        color: #999;
    }
    
    .site-statistics .footer-time {
        background: #222;
        border-color: #333;
        color: #ccc;
    }
    
    .site-statistics-shortcode h3 {
        color: #fff;
        border-color: #444;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-statistics {
    animation: fadeInUp 0.3s ease-out;
}

/* 确保无渐变背景 */
.site-statistics .stat-item,
.site-statistics .footer-time {
    background: transparent !important;
    background-image: none !important;
}

/* 清除所有可能继承的渐变样式 */
.site-statistics * {
    background-image: none !important;
}/* 高级简约风格 - 网站数据统计小工具 v4.0 */
.site-statistics {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

/* 主要统计区域 */
.site-statistics .stat-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.site-statistics .stat-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.site-statistics .stat-item:first-child {
    text-align: left;
}

.site-statistics .stat-item:last-child {
    text-align: right;
}

.site-statistics .stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.site-statistics .stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
    line-height: 1.2;
}

.site-statistics .stat-sub {
    font-size: 11px;
    color: #888;
    font-weight: normal;
}

/* 详细统计行 */
.site-statistics .stat-details {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.site-statistics .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.site-statistics .stat-row:last-child {
    border-bottom: none;
}

.site-statistics .detail-label {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.site-statistics .detail-value {
    color: #222;
    font-weight: 600;
    font-size: 13px;
    font-feature-settings: "tnum";
}

/* 信息区域 */
.site-statistics .stat-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.site-statistics .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.site-statistics .info-row:last-child {
    border-bottom: none;
}

.site-statistics .info-label {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.site-statistics .info-value {
    color: #222;
    font-weight: 600;
    font-size: 13px;
    text-align: right;
    font-feature-settings: "tnum";
}

/* 底部区域 */
.site-statistics .stat-footer {
    padding-top: 15px;
    text-align: center;
}

.site-statistics .footer-label {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.site-statistics .footer-time {
    font-family: 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 12px;
    color: #444;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    line-height: 1.4;
    font-weight: 500;
    font-feature-settings: "tnum";
}

/* 短码样式 */
.site-statistics-shortcode {
    max-width: 350px;
    margin: 0 auto;
}

.site-statistics-shortcode h3 {
    text-align: center;
    color: #222;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .site-statistics {
        padding: 16px;
        font-size: 12px;
    }
    
    .site-statistics .stat-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .site-statistics .stat-item {
        text-align: left !important;
        padding: 0;
        width: 100%;
    }
    
    .site-statistics .stat-item:first-child,
    .site-statistics .stat-item:last-child {
        text-align: left !important;
    }
    
    .site-statistics .stat-value {
        font-size: 16px;
    }
    
    .site-statistics .footer-time {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .site-statistics-shortcode {
        max-width: 100%;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .site-statistics {
        background: #1a1a1a;
        border-color: #333;
        color: #e0e0e0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .site-statistics .stat-main,
    .site-statistics .stat-details,
    .site-statistics .stat-info {
        border-color: #333;
    }
    
    .site-statistics .stat-row,
    .site-statistics .info-row {
        border-color: #2a2a2a;
    }
    
    .site-statistics .stat-label,
    .site-statistics .detail-label,
    .site-statistics .info-label {
        color: #aaa;
    }
    
    .site-statistics .stat-value,
    .site-statistics .detail-value,
    .site-statistics .info-value {
        color: #fff;
    }
    
    .site-statistics .stat-sub {
        color: #888;
    }
    
    .site-statistics .footer-label {
        color: #999;
    }
    
    .site-statistics .footer-time {
        background: #222;
        border-color: #333;
        color: #ccc;
    }
    
    .site-statistics-shortcode h3 {
        color: #fff;
        border-color: #444;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-statistics {
    animation: fadeInUp 0.3s ease-out;
}

/* 确保无渐变背景 */
.site-statistics .stat-item,
.site-statistics .footer-time {
    background: transparent !important;
    background-image: none !important;
}

/* 清除所有可能继承的渐变样式 */
.site-statistics * {
    background-image: none !important;
}