body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header h1 { margin: 0 0 12px; }
nav a { margin-right: 12px; text-decoration: none; }
.card { background: #fff; padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
button { padding: 8px 14px; border: 1px solid #2563eb; background: #3b82f6; color: #fff; border-radius: 8px; cursor: pointer; }
button:hover { opacity: .9; }
.table-wrapper { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #eee; padding: 8px; text-align: left; }
.error { margin-top: 12px; color: #b91c1c; }

.content-center section:first-child {
    margin-bottom: 0px;
}

main .welcome-title {
    font-family: 'Times New Roman', serif !important;
    font-size: 26px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 12px !important;
}

main .modification-info {
    font-family: 'Times New Roman', serif !important;
    font-size: 20px !important;
    line-height: 1.5;
    font-weight: normal !important;
    text-align: justify !important;
    margin-bottom: 0px !important;
}

main .instruction-text {
    font-family: 'Times New Roman', serif !important;
    font-size: 18px !important;
    font-weight: normal !important;
    text-align: center !important;
    margin-top: 0px !important;
}

.predict-link {
    color: #3b82f6 !important;
    font-weight: bold !important;
    text-decoration: none;
}
.predict-link:hover {
    color: #2563eb !important;
    text-decoration: underline;
}
.predict-link:visited {
    color: #3b82f6 !important;
}

main:not(.download-main) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.home-image-container {
    text-align: center;
    margin: 10px auto;
    padding: 0px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    /* 创建滚动容器来显示完整图片 */
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.home-image {
    display: inline-block;
    margin: 0 auto;
    /* 直接放大图片 */
    width: 70%;
    max-width: none;
    height: auto;
    border-radius: 0px;
    object-fit: contain;
    /* 确保图片可以水平滚动查看完整内容 */
    vertical-align: middle;
}

/* 隐藏滚动条但保持滚动功能 */
.home-image-container::-webkit-scrollbar {
    display: none;
}

.home-image-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content-center {
    width: 100%;
    max-width: 1200px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* 访问统计样式 */
.visit-stats-section {
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visit-stats-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.visit-stats-container:hover {
    transform: none;
    box-shadow: none;
}

.visit-stats-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
}

.visit-stats-icon i {
    font-size: 20px;
    color: #3b82f6;
}

.visit-stats-content {
    display: flex;
    align-items: center;
    gap: 0;
}

.visit-stats-label {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    font-weight: normal;
    color: #374151;
    letter-spacing: 0;
}

.visit-stats-number {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    font-weight: normal;
    color: #374151;
    text-shadow: none;
    margin-left: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .visit-stats-container {
        padding: 12px 25px;
        gap: 12px;
    }
    
    .visit-stats-icon {
        width: 40px;
        height: 40px;
    }
    
    .visit-stats-icon i {
        font-size: 20px;
    }
    
    .visit-stats-label {
        font-size: 16px;
    }
    
    .visit-stats-number {
        font-size: 24px;
    }
}
