/* 公共样式 - 导航、页脚、全局变量 */
:root {
    --primary: #1e293b;
    --accent: #c8963e;
    --text: #334155;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    background: #f4f6f9;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.top-nav {
    background: white;
    padding: 16px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.top-nav .logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e293b;
    text-decoration: none;
}
.top-nav .logo i { margin-right: 8px; color: var(--accent); }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.nav-links a:hover { color: #1e293b; }
.nav-links a.active { color: var(--accent); font-weight: 700; }

.site-footer {
    text-align: center;
    padding: 24px 20px;
    background: white;
    border-top: 1px solid var(--border);
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 40px;
}
.site-footer p {
    margin: 4px 0;
}
.beian {
    margin-top: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.beian a {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.beian a:hover {
    color: #334155;
    text-decoration: underline;
}
.beian-sep {
    color: #cbd5e1;
    margin: 0 4px;
}

.toast-msg {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}