body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
    margin: 0;
    padding: 0;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f7f8fa;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(229, 57, 53, 0.2);
    border-top: 5px solid #e53935;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
header {
    background: #fff;
    border-bottom: 2px solid #e53935;
    padding: 32px 0 16px 0;
    text-align: center;
}
.site-title {
    color: #e53935;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}
main {
    max-width: 800px;
    margin: 40px auto 0 auto;
    background: transparent;
    padding: 0 16px;
}
.article-list {
    column-count: 2;
    column-gap: 40px;
    margin-bottom: 32px;
    padding-top: 8px;
}
.article-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(229,57,53,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 32px 28px 24px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    vertical-align: top;
    box-sizing: border-box;
}
.article-card:hover {
    box-shadow: 0 8px 32px rgba(229,57,53,0.16), 0 3px 12px rgba(0,0,0,0.08);
    transform: translateY(-4px) scale(1.01);
}
.article-title {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    font-weight: 600;
}
.article-title a {
    color: #e53935;
    text-decoration: none;
    transition: color 0.2s;
}
.article-title a:hover {
    color: #b71c1c;
}
/* 移除未使用的 .quote 类，统一使用 .quote-box */
.comment {
    color: #888;
    margin: 4px 0 12px 0;
    font-size: 1rem;
}
/* 移除未使用的 .summary-box 类，统一使用 .summary-text */
.article-detail h2 {
    color: #e53935;
    font-size: 2rem;
    margin-bottom: 12px;
}
.article-detail .quote-box {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.article-detail .comment {
    color: #888;
    margin-bottom: 16px;
}
.quote-box {
    background: #fff4f2;
    color: #e53935;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 1.13rem;
    margin: 12px 0 14px 0;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 1px 4px rgba(229,57,53,0.06);
    border-left: 4px solid #e53935;
}
.summary-text {
    color: #333;
    font-size: 1.05rem;
    margin: 8px 0 10px 0;
    line-height: 1.7;
    background: #fff4f2;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 1px 4px rgba(229,57,53,0.06);
    border-left: 4px solid #e53935;
}
.article-detail .content {
    color: #222;
    font-size: 1.13rem;
    line-height: 1.8;
    margin-bottom: 18px;
    margin-top: 8px;
}
.back-link {
    display: inline-block;
    margin-top: 16px;
    color: #e53935;
    text-decoration: none;
    border: 1px solid #e53935;
    border-radius: 6px;
    padding: 6px 18px;
    transition: background 0.2s, color 0.2s;
}
.back-link:hover {
    background: #e53935;
    color: #fff;
}
footer {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    margin: 32px 0 12px 0;
}

.error-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(229,57,53,0.08), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 32px 28px;
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
}

.error-container h2 {
    color: #e53935;
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-message {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}
.card-actions {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}
.read-more-btn, .origin-btn {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(229,57,53,0.06);
}
.read-more-btn {
    background: #e53935;
    color: #fff;
    border: none;
}
.read-more-btn:hover {
    background: #b71c1c;
    color: #fff;
}
.origin-btn {
    background: #fff;
    color: #e53935;
    border: 1.5px solid #e53935;
}
.origin-btn:hover {
    background: #e53935;
    color: #fff;
}
@media (max-width: 900px) {
    .article-list {
        column-count: 1;
        column-gap: 0;
    }
    .article-card {
        margin-bottom: 28px;
    }
}
@media (max-width: 600px) {
    main {
        padding: 0 12px;
        margin-top: 20px;
    }
    .article-card {
        padding: 20px 16px 16px 16px;
        margin-bottom: 24px;
    }
    .article-title {
        font-size: 1.3rem;
    }
    .summary-text {
        font-size: 1rem;
        padding: 12px 14px;
        line-height: 1.6;
    }
    .quote-box {
        font-size: 1.05rem;
        padding: 10px 14px;
    }
    .card-actions {
        flex-direction: column;
        gap: 10px;
    }
    .read-more-btn, .origin-btn {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .site-title {
        font-size: 2rem;
    }
}