body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #2c3e50; /* 深蓝灰色背景 */
    color: #ecf0f1; /* 柔和的白色文字 */
}

.container {
    max-width: 960px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #34495e; /* 深色边框 */
    position: sticky;
    top: 0;
    background-color: #2c3e50; /* 确保背景色一致 */
    z-index: 1000;
    padding-top: 20px;
}

h1 {
    margin: 0;
    font-size: 2rem;
    color: #ecf0f1;
}

#datetime {
    font-size: 1rem;
    color: #bdc3c7; /* 银色时间文字 */
    background-color: #34495e; /* 深灰色背景 */
    padding: 8px 15px;
    border-radius: 6px;
    font-family: "Courier New", Courier, monospace;
}

.rss-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.rss-item {
    background: #34495e; /* 稍亮的深灰区块背景 */
    border: 1px solid #4a627a; /* 边框颜色 */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.rss-item:hover {
    transform: translateY(-3px);
    border-color: #5dade2;
}

.rss-item h2 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #4a627a;
    padding-bottom: 15px;
    color: #5dade2; /* 明亮的蓝色标题 */
}

.rss-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rss-item li {
    padding: 10px 0;
    border-bottom: 1px solid #4a627a;
    display: flex;
    align-items: baseline;
}

.rss-item li:before {
    content: attr(data-index);
    margin-right: 12px;
    color: #95a5a6; /* 序号颜色 */
    min-width: 20px;
    text-align: right;
    font-size: 0.9rem;
}

.rss-item li:last-child {
    border-bottom: none;
}

.rss-item a {
    color: #ecf0f1; /* 链接颜色 */
    text-decoration: none;
    font-weight: 500;
}

.rss-item a:hover {
    text-decoration: underline;
    color: #a9cce3;
}

.loading-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px dashed #4a627a;
    border-radius: 8px;
    color: #95a5a6;
}
