/* ==================== 求索 · 全站公共样式（明亮版） ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
body {
    font-family: 'KaiTi', '楷体', 'STKaiti', '华文楷体', 'Noto Serif SC', serif;
    background-color: #f6f7fb;
    background-image: linear-gradient(135deg, #eef1fb 0%, #f9f7f0 55%, #f0f4fa 100%);
    background-attachment: fixed;
    color: #333;
    min-height: 100vh;
    padding-bottom: 40px;
}

/* 顶栏 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(120, 120, 190, 0.2);
    box-shadow: 0 2px 12px rgba(60, 70, 140, 0.06);
}
.site-header .inner {
    max-width: 75rem;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5a5a8a;
    text-decoration: none;
    letter-spacing: 4px;
    white-space: nowrap;
}
.site-logo:hover { color: #3a3a6a; }
.site-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}
.site-nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.15s;
    white-space: nowrap;
}
.site-nav a:hover { background: rgba(100, 120, 200, 0.12); color: #4a4a7a; }
.site-nav a.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-color: rgba(120, 130, 255, 0.5);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.35);
}

/* 主容器 */
.container { max-width: 75rem; margin: 0 auto; padding: 24px 20px; }

/* 页脚 */
.site-footer {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding: 24px 16px;
    border-top: 1px solid rgba(120, 120, 190, 0.15);
    margin-top: 32px;
}

/* 通用卡片 */
.card {
    background: #ffffff;
    border: 1px solid #e3e5f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(60, 70, 140, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(60, 70, 140, 0.14);
    border-color: #aab3ff;
}

/* 页面标题 */
.page-title {
    font-size: 1.6rem;
    color: #5a5a8a;
    margin-bottom: 6px;
}
.page-sub {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* 适配小屏 */
@media (max-width: 700px) {
    .site-header .inner { padding: 10px 14px; }
    .site-nav { margin-left: 0; width: 100%; }
    .container { padding: 16px 14px; }
}