:root {
    --main-theme: #4f46e5;
    --main-theme-hover: #4338ca;
    --primary-color: #4f46e5;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --blur-val: blur(12px);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-subtle: 1px solid #e2e8f0;
    --border-glass: 1px solid rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --neon-glow: linear-gradient(90deg, #4f46e5, #818cf8);
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

#site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.seo-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 20px;
}

.brand-group {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo a {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--primary-color);
}

#content {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    flex: 1;
}

.seo-archive {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb span {
    margin: 0 6px;
}

.seo-main-layout {
    display: flex;
    gap: 24px;
}

.seo-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seo-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 992px) {
    .seo-main-layout {
        flex-direction: column;
        gap: 16px;
    }
    .seo-sidebar {
        width: 100%;
    }
}

.glass-box {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-val);
    -webkit-backdrop-filter: var(--blur-val);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.glass-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--neon-glow);
    opacity: 0.9;
}

.section-title {
    font-size: 16px;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-left: 10px;
    border-left: 4px solid var(--main-theme);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title .title-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.section-title a {
    font-size: 13px;
    color: var(--main-theme);
    font-weight: 500;
}

.section-title small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

/* 伴游直聘列表：全端采用单列垂直布局，每行显示一条信息 */
.scroll-ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scroll-li {
    background: rgba(255, 255, 255, 0.6);
    border: var(--border-subtle);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    transition: all 0.2s;
    overflow: hidden;
}

.scroll-li:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--main-theme);
}

.scroll-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.scroll-title:hover {
    color: var(--main-theme);
}

/* 描述与日期强制在同一行显示，超出的文字自适应压缩并单行截断省略 */
.scroll-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.scroll-text {
    font-size: 12.5px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.scroll-date {
    font-size: 11.5px;
    color: var(--text-light);
    flex-shrink: 0;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.friend-links a {
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 10px;
    border-radius: 4px;
    border: var(--border-subtle);
    transition: all 0.2s;
}

.friend-links a:hover {
    color: var(--main-theme);
    border-color: var(--main-theme);
}

.seo-footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-seo-text {
    font-size: 12px;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
        gap: 8px;
    }
    .site-nav ul {
        gap: 8px 12px;
    }
}