:root {
    --primary-color: #333;
    --secondary-color: #666;
    --light-color: #f5f5f5;
    --border-color: #eee;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
body {
    background-color: #f8f8f8;
    color: var(--primary-color);
    line-height: 1.6;
}
.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 8px;
}
/* 头部导航 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 100;
}
.back-btn {
    font-size: 20px;
    color: #333;
}
.page-title {
    font-size: 18px;
    font-weight: 500;
}

.article-header {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top:50px;
}
.article-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}
.article-meta {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 14px;
}
.meta-item {
    text-align: center;
    width: 45%;
}
.meta-item i {
    margin-right: 5px;
    font-size: 14px;
}
.article-content {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 100px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.article-content p {
    margin-bottom: 15px;
    font-size: 16px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.up-or-next a{line-height: 30px;font-size: 14px;color: #286aff;}

/* 底部导航 */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: white;
    display: flex;
    border-top: 1px solid var(--border-color);
}
.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    padding: 5px 0;
}
.nav-tab.active {
    color: #3B82F6;
}
.nav-tab i {
    margin-bottom: 3px;
    font-size: 18px;
}