/* 移动端导航修复 - 全站通用 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    height: 56px;
}
.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary, #6366f1);
    text-decoration: none;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-links a {
    padding: 6px 12px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-links a:hover {
    color: #333;
    background: #f3f4f6;
}
.nav-links a.active {
    color: var(--primary, #6366f1);
    background: rgba(99,102,241,0.08);
    font-weight: 500;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.user-name { font-size: 14px; color: #333; font-weight: 500; }
.user-points { font-size: 12px; color: #999; }
.btn-login {
    padding: 6px 16px;
    background: var(--primary, #6366f1);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    color: #333;
}
@media (max-width: 767px) {
    .nav-container { flex-wrap: wrap; height: auto; padding: 12px 16px; }
    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        padding: 8px 0;
        gap: 0;
        border-top: 1px solid #e5e7eb;
    }
    .nav-links.show { display: flex; }
    .nav-links a { padding: 10px 12px; font-size: 15px; border-radius: 0; }
    .nav-user { order: 2; }
    .menu-toggle { display: block; order: 1; margin-left: auto; margin-right: 8px; }
}
