/* 页面特定样式 - 从HTML文件中提取的内联CSS */

/* ========== 404页面样式 ========== */
.four-oh-four {
    font-family: 'Arial', sans-serif;
    text-align: center;
    padding: 50px;
    background-color: #f8f9fa;
    color: #333;
}

.four-oh-four h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dc3545;
}

.four-oh-four p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.four-oh-four a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* ========== 用户协议页面样式 ========== */
.agreement {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    background-color: #f9f9f9;
}

.agreement h1, .agreement h2 {
    color: #555;
}

.agreement a {
    color: #1e90ff;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

.agreement p {
    margin-bottom: 1em;
}

/* ========== 加载页面样式 ========== */
.loading-page body, .loading-page html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-page #loading-ink {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
}

/* ========== 文章页面样式 ========== */
.article-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", "Segoe UI", sans-serif;
}

.article-page body, .article-page html {
    height: 100%;
    background: #fcfcfc;
    color: #444;
    line-height: 1.6;
}

.article-page header {
    display: flex;
    align-items: center;
    padding: 10px 24px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
    position: relative;
    transition: all 0.3s ease;
    min-height: 80px;
}

.article-page header img {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.article-page header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
    margin: 0;
}

.article-page .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.article-page .logo-container {
    display: flex;
    align-items: center;
}

.article-page .header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.article-page .header-quote {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    text-align: center;
    margin: 2px 0 0 0;
    letter-spacing: 0.5px;
    width: 100%;
}

.article-page .sisyphus-svg {
    margin-left: 20px;
}

.article-page .header-subtitle {
    display: none;
}

.article-page .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-page .container {
    display: flex;
    height: calc(100% - 120px);
}

.article-page .sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
    overflow-y: auto;
    padding: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-page .sidebar ul {
    list-style: none;
}

.article-page .sidebar li {
    margin: 4px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.article-page .li-main {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.article-page .li-main:hover, .article-page li.active>.li-main {
    background: #f7faff;
    color: #4a9eff;
    transform: translateX(3px);
}

.article-page .child-list {
    overflow: hidden;
    max-height: 0;
    padding-left: 20px;
    margin-top: 4px;
    transition: max-height 0.4s ease-in-out;
}

.article-page li.open>.child-list {
    max-height: 1000px;
}

.article-page .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.article-page .item-text {
    display: flex;
    flex-direction: column;
}