* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Microsoft YaHei', Arial, sans-serif;
color: #333;
background: #f8f9fa;
line-height: 1.6;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 10px;
background: #fff;
border-radius: 4px;
box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

header {
border-bottom: 2px solid #1a5cc8;
padding-bottom: 10px;
margin-bottom: 15px;
}

h1 {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
font-size: 20px;
margin-bottom: 8px;
}

h1 a {
color: #000;
text-decoration: none;
white-space: nowrap;
}

h1 a:hover {
color: #1a5cc8;
}

.archiver-link {
font-size: 13px;
font-weight: normal;
color: #666;
padding: 3px 6px;
border: 1px solid #ddd;
border-radius: 3px;
}

.breadcrumb {
margin-bottom: 10px;
color: #666;
font-size: 13px;
}

.breadcrumb a {
color: #1a5cc8;
text-decoration: none;
}

.breadcrumb a:hover {
text-decoration: underline;
}

nav {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin: 10px 0;
}

nav a {
display: inline-block;
padding: 6px 10px;
background: #f5f5f5;
color: #333;
text-decoration: none;
border-radius: 3px;
transition: all 0.3s ease;
border: 1px solid #e0e0e0;
font-size: 13px;
}

nav a:hover {
background: #e8f1ff;
border-color: #1a5cc8;
color: #1a5cc8;
}

nav .on {
background: #1a5cc8;
color: #fff;
border-color: #1a5cc8;
}

.section-title {
font-size: 18px;
font-weight: bold;
margin: 15px 0 10px;
color: #222;
border-left: 3px solid #1a5cc8;
padding-left: 8px;
}

.content-section {
margin-bottom: 20px;
}

.content-section ul {
list-style: none;
}

.content-section li {
padding: 8px 10px;
border-bottom: 1px solid #eee;
transition: background-color 0.3s;
display: flex;
justify-content: space-between;
align-items: center;
white-space: nowrap;
}

.content-section li:hover {
background: #fafafa;
}

.item-link {
color: #1a5cc8;
text-decoration: none;
font-size: 14px;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 10px;
}

.item-link:hover {
text-decoration: underline;
}

.item-date {
color: #888;
font-size: 12px;
flex-shrink: 0;
}

.pages {
margin: 20px 0;
text-align: center;
padding: 10px 0;
}

.pages a, .pages span {
display: inline-block;
padding: 6px 10px;
margin: 0 2px;
background: #f5f5f5;
text-decoration: none;
color: #333;
border-radius: 3px;
border: 1px solid #ddd;
font-size: 13px;
}

.pages a:hover {
background: #e8f1ff;
border-color: #1a5cc8;
}

.pages span {
background: #1a5cc8;
color: #fff;
border-color: #1a5cc8;
}

.empty {
color: #999;
text-align: center;
padding: 30px 0;
font-size: 14px;
}

footer {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #eee;
color: #666;
font-size: 12px;
text-align: center;
}

@media (max-width: 768px) {
.container {
padding: 8px;
}

h1 {
font-size: 18px;
flex-wrap: nowrap;
}

.right-links {
flex-shrink: 0;
}

.archiver-link {
padding: 2px 4px;
font-size: 12px;
}

.section-title {
font-size: 16px;
}

.content-section li {
padding: 6px 8px;
}

.item-link {
font-size: 13px;
}

.item-date {
font-size: 11px;
}
}
