:root {
    --primary-color: #bd9237;
    --primary-light: #d4a84a;
    --primary-dark: #a67c2d;
    --text-color: #333;
    --text-light: #777;
    --bg-color: #f8f9fa;
    --border-color: #eaeaea;
    --card-shadow: 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
    --nav-height: 60px;
    --stat-color: #f5f5f5;
    --header-gradient: linear-gradient(135deg, rgba(189,146,55,0.9) 0%, rgba(166,124,45,0.9) 100%);
}

/* 基础样式 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        line-height: 1.6;
        color: var(--text-color);
        background-color: var(--bg-color);
    }

    a {
        color: var(--primary-color);
        text-decoration: none;
        transition: var(--transition);
    }

    a:hover {
        color: var(--primary-dark);
    }

    .container {
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* 头部区域 */
    .space-header {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        margin-bottom: 30px;
        position: relative;
    }

    .header-topbar {
        background: rgba(0,0,0,0.05);
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .header-topbar-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .welcome-msg {
        font-weight: 500;
        color: var(--primary-dark);
        white-space: nowrap;
        margin-right: 15px;
    }

    .quick-links {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: flex-end;
    }

    .quick-links a {
        color: var(--text-light);
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

/*    .space-brand {
        padding: 40px 0;
        text-align: center;
        position: relative;
        background: var(--header-gradient), url('https://source.unsplash.com/random/1600x400?nature') center/cover no-repeat;
        color: white;
        margin-bottom: var(--nav-height);
    }

    .space-brand::before {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        background: var(--primary-color);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
        z-index: 1;
    }
*/	
	
.space-brand {
    padding: 40px 0;
    text-align: center;
    position: relative;
    color: white;
    margin-bottom: 60px; /* 增加底部间距确保三角可见 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #bd9237;
    /* 移除 overflow: hidden 避免裁剪三角 */
    z-index: 1;
}

/* 背景图片层 */
.space-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/endless-clouds.svg) top/87.5px repeat;
    opacity: 0.05;
    z-index: -1;
}

/* 三角尖装饰 - 修复版 */
.space-brand::after {
    content: '';
    position: absolute;
    bottom: -20px; /* 确保这个值足够大 */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color, #bd9237); /* 使用变量+回退值 */
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 2; /* 高于父容器 */
    pointer-events: none; /* 防止遮挡交互 */
}	
	
    .space-title {
        font-size: 2.5rem;
        color: #fff;
        margin-bottom: 10px;
        line-height: 1.2;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        position: relative;
        z-index: 1;
    }

    .space-url a {
        color: rgba(255,255,255,0.9);
        font-size: 0.9rem;
        position: relative;
        z-index: 1;
    }
/* 更新后的公告样式 */
.space-gg {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-left: 3px solid var(--primary-color);
    margin: 15px auto 0;
    max-width: 800px;
    color: #fff; /* 更亮的白色 */
    font-size: 15px;
    line-height: 1.6;
    border-radius: 0 4px 4px 0;
    animation: fadeIn 0.5s ease-out;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;/* 更好看的字体 */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3); /* 文字阴影增强可读性 */
}

.space-gg i {
    color: #FFD700; /* 金色图标 */
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(255,215,0,0.5); /* 图标发光效果 */
    font-size: 1.1em; /* 稍大一点的图标 */
}

/* 鼠标悬停效果 */
.space-gg:hover i {
    animation: pulse 0.8s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 顶部导航栏基础样式 */
.header-topbar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    padding: 8px 0;
    color: #6c757d;
    font-family: "Microsoft YaHei", sans-serif;
}

.header-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 用户/游客信息区域 */
.user-info, .guest-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.user-greeting {
    margin-right: 15px;
    white-space: nowrap;
}

.user-group {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #e3f2fd;
    color: #1976d2;
    font-size: 12px;
    margin-right: 5px;
    font-weight: bold;
}

.username, .space-owner {
    color: #333;
    font-weight: 600;
}

/* 操作链接样式 */
.user-actions, .guest-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-link {
    color: #6c757d;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.action-link:hover {
    text-decoration: none;
}

.action-link i {
    margin-right: 5px;
    font-size: 12px;
}

.action-link.logout {
    color: #dc3545;
}

.action-link.logout:hover {
    color: #c82333;
}

.action-link.login {
    color: #28a745;
}

.action-link.login:hover {
    color: #218838;
}

.action-link.register {
    color: #17a2b8;
}

.action-link.register:hover {
    color: #138496;
}

/* 快速链接导航 */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.quick-links a {
    color: #6c757d;
    transition: color 0.2s;
    white-space: nowrap;
}

.quick-links a:hover {
    color: #007bff;
    text-decoration: none;
}

.quick-links a i {
    margin-right: 5px;
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .quick-links {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    .user-info, .guest-info {
        width: 100%;
        justify-content: space-between;
    }
}	
	
	
	
	

    /* 导航栏 - 新设计 */
    .space-nav {
        position: relative;
        z-index: 2;
    }

    .nav-container {
        max-width: 1440px;
        margin: 0 auto;
    }

    .nav-inner {
        display: flex;
        height: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-inner::-webkit-scrollbar {
        display: none;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        height: 100%;
        margin: 0;
        padding: 0;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .nav-menu li {
        position: relative;
        flex-shrink: 0;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 25px;
        height: var(--nav-height);
        color: var(--text-color);
        font-weight: 500;
        white-space: nowrap;
        position: relative;
        transition: var(--transition);
    }

    .nav-menu li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: var(--primary-color);
        transition: var(--transition);
    }

    .nav-menu li:hover a::after,
    .nav-menu li.active a::after {
        width: 100%;
    }

    .nav-menu li.active a,
    .nav-menu li:hover a {
        color: var(--primary-color);
    }

    /* 主体内容 */
    .space-main {
        display: flex;
        gap: 30px;
        margin-bottom: 20px;
    }

    .space-sidebar {
        width: 310px;
        flex-shrink: 0;
    }

    .space-content {
        flex: 1;
        min-width: 0;
    }

    /* 访问统计 */
    .profile-stats {
        background: var(--primary-color);
        border-radius: 8px;
        margin-bottom: 20px;
        padding: 20px;
        color: #fff;
        box-shadow: 0 10px 20px rgba(189,146,55,0.2);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        text-align: center;
    }

    .stat-item {
        padding: 15px 10px;
        background: rgba(255,255,255,0.1);
        border-radius: 6px;
        transition: var(--transition);
    }

    .stat-item:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-3px);
    }

    .stat-value {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* 用户卡片 */
    .user-card {
        background: #fff;
        border-radius: 8px;
        padding: 25px;
        margin-bottom: 20px;
        box-shadow: var(--card-shadow);
        text-align: center;
        transition: var(--transition);
        border: 1px solid rgba(0,0,0,0.05);
    }

    .user-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

    .user-avatar {
        position: relative;
        width: 150px;
        height: 150px;
        margin: 0 auto 15px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid var(--primary-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .user-level {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.6);
        color: #fff;
        padding: 5px;
        font-size: 12px;
    }

    .user-name {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: var(--text-color);
    }

    .user-actions {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    /* 按钮样式 */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 10px 20px;
        border-radius: 30px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: var(--transition);
        text-align: center;
        font-weight: 500;
    }

    .btn-primary {
        background: var(--primary-color);
        color: #fff;
        border: 1px solid var(--primary-color);
    }

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(189,146,55,0.3);
		color: #fff !important;
    }

    .btn-outline {
        background: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

    .btn-outline:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 5px 10px rgba(189,146,55,0.3);
    }

    /* 快捷菜单 */
    .quick-menu {
        background: #fff;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: var(--card-shadow);
        overflow: hidden;
        transition: var(--transition);
        border: 1px solid rgba(0,0,0,0.05);
    }

    .quick-menu:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .menu-title {
        background: var(--primary-color);
        color: #fff;
        padding: 15px 20px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-list li {
        border-bottom: 1px solid var(--border-color);
        transition: var(--transition);
    }

    .menu-list li:hover {
        background: rgba(189,146,55,0.05);
    }

    .menu-list li:last-child {
        border-bottom: none;
    }

    .menu-list a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px 20px;
        color: var(--text-color);
    }

    .menu-list a:hover {
        color: var(--primary-color);
    }

    /* 内容区块 */
    .space-section {
        background: #fff;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: var(--card-shadow);
        overflow: hidden;
        transition: var(--transition);
        border: 1px solid rgba(0,0,0,0.05);
    }

    .space-section:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .section-header {
        background: var(--primary-color);
        color: #fff;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-header h2 {
        font-size: 1.3rem;
        margin: 0;
        font-weight: 600;
    }

    .section-content {
        padding: 25px 15px;
    }

    /* 详细信息网格 */
    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
        gap: 20px;
    }

    .info-item {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: var(--card-shadow);
        transition: var(--transition);
        border: 1px solid rgba(0,0,0,0.05);
    }

    .info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .info-label {
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 8px;
        display: block;
    }

    .info-value {
        font-weight: 500;
        word-break: break-word;
        font-size: 1.1rem;
    }

    /* 公告样式 */
    .announcement {
        background: #fff;
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: var(--card-shadow);
        overflow: hidden;
        border-left: 4px solid var(--primary-color);
    }

    .announcement-header {
        background: rgba(189,146,55,0.1);
        padding: 12px 20px;
        font-weight: 500;
        color: var(--primary-dark);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .announcement-content {
        padding: 15px 20px;
        line-height: 1.7;
    }

    /* 页脚 */
    .space-footer {
        background: #2c3e50;
        color: #ecf0f1;
        padding: 35px 0;
        margin-top: 5px;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #bdc3c7;
        transition: var(--transition);
        padding: 5px 0;
        position: relative;
    }

    .footer-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: var(--primary-color);
        transition: var(--transition);
    }

    .footer-links a:hover {
        color: var(--primary-color);
    }

    .footer-links a:hover::after {
        width: 100%;
    }

    .copyright {
        text-align: center;
        font-size: 0.9rem;
        color: #95a5a6;
    }
	
/* 文章列表样式 */
.article-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-weight: 500;
    color: var(--text-color);
    display: block;
    margin-bottom: 5px;
}

.article-title:hover {
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    gap: 15px;
}

.no-articles {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}	

/* 移动端底部链接调整 */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-links a {
        white-space: nowrap;
        padding: 5px 10px;
    }
}	

    /* 响应式设计 */
    @media (max-width: 1440px) {
        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 992px) {
        .space-main {
            flex-direction: column;
        }
        
        .space-sidebar {
            width: 100%;
        }
        
        .nav-menu {
            justify-content: flex-start;
            padding: 0 15px;
        }
        
        .space-brand {
            padding: 30px 0;
        }
        
        .space-title {
            font-size: 2rem;
        }
.space-main {
    display: flex;
    gap: 0px;
    margin-bottom: 20px;
}
  		
    }

    @media (max-width: 768px) {
        .header-topbar-inner {
            flex-direction: column;
            gap: 10px;
        }
        
        .welcome-msg {
            margin-right: 0;
            text-align: center;
        }
.space-main {
    display: flex;
    gap: 0px;
    margin-bottom: 20px;
}
        .quick-links {
            justify-content: center;
            width: 100%;
        }
        
        .space-title {
            font-size: 1.8rem;
        }
        
/*        .stats-grid {
            grid-template-columns: 1fr;
        }*/
		
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }		
        
        .user-actions {
            flex-direction: column;
            align-items: center;
        }
        
        .btn {
            width: 100%;
            justify-content: center;
        }
        
        .footer-links {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
 .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-links a {
        white-space: nowrap;
        padding: 5px 1px;
    }		
    }

    @media (max-width: 576px) {
        .nav-menu li a {
            padding: 0 15px;
            font-size: 0.9rem;
        }
        
        .section-header h2 {
            font-size: 1.1rem;
        }
        
        .info-grid {
            grid-template-columns: 1fr;
        }
        
        .space-brand {
            padding: 25px 0;
            margin-bottom: 40px;
        }
        
        .space-title {
            font-size: 1.6rem;
        }
        
        .user-avatar {
            width: 120px;
            height: 120px;
        }
.quick-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    display: none;
}
.quick-menu {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
	display:none;
}

		
    }
	/* 响应式调整 */
@media (min-width: 1440px) {
    .container {
        padding: 0;
    }
}
.article-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.article-title:hover {
    color: #1890ff;
}

.article-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 15px;
}

.no-articles {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;


}

.pagination a, .pagination span {
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination .current {
    background-color: #1890ff;
    color: white;
    border-color: #1890ff;
}

/* 列表页特定样式 */
.section-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.article-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-item:hover {
    background-color: rgba(189,146,55,0.03);
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    display: block;
    margin-bottom: 8px;
    transition: var(--transition);
}

.article-title:hover {
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.article-meta i {
    margin-right: 3px;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 10px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 分类菜单高亮 */
.nav-menu li.active a {
    color: var(--primary-color);
}

.nav-menu li.active a::after {
    width: 100%;
}

/* ======================
   分页样式 - 修复版
   ====================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    font-size: 14px;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.pagination a:hover {
    background-color: rgba(189, 146, 55, 0.1);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.pagination .current {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(189, 146, 55, 0.2);
}

.pagination .page-dots {
    border: none;
    pointer-events: none;
    min-width: auto;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .pagination {
        gap: 5px;
    }
    
    .pagination a, 
    .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    /* 简化移动端显示 */
    .pagination .page-dots,
    .pagination a:not(.page-prev):not(.page-next):not(.page-first):not(.page-last):not(.current) {
        display: none;
    }
    
    /* 显示必要的页码 */
    .pagination .current,
    .pagination .current-1,
    .pagination .current+1 {
        display: inline-flex !important;
    }
    
    .page-first,
    .page-last,
    .page-prev,
    .page-next {
        flex: 1;
        max-width: calc(25% - 5px);
    }
    
    /* 简化文字 */
    .page-first span,
    .page-last span {
        display: none;
    }
    
    .page-first:after {
        content: "首";
    }
    
    .page-last:after {
        content: "尾";
    }
}


/* 反馈表单样式 */
.feedback-section {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.feedback-form .form-group {
    margin-bottom: 20px;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.feedback-form .form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;

}

.feedback-form .form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.feedback-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-row .form-group {
    flex: 1;
    padding: 0 10px;
    min-width: 200px;
}

.captcha-box {
    margin-top: 20px;
}

.captcha-input {
    display: flex;
    align-items: center;
}

.captcha-input input {
    width: 120px;
    margin-right: 10px;
}

.captcha-link a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.captcha-link a:hover {
    color: #2980b9;
}

.captcha-link i {
    margin-right: 5px;
}

.form-submit {
    margin-top: 25px;
    text-align: center;
}

.form-submit .btn {
    padding: 10px 25px;
    font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
        padding: 0;
    }
    
    .captcha-input {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .captcha-input input {
        width: 100%;
        margin-bottom: 10px;
    }
}



/* 当前位置导航样式 */
.current-position {
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #6c757d;
    border-left: 3px solid var(--primary-color);
}

.current-position i {
    margin-right: 8px;
    color: var(--primary-color);
}

.current-position a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.current-position a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.current-position .fa-angle-right {
    margin: 0 8px;
    color: #6c757d;
    font-size: 12px;
}


/* ========== 强烈视觉冲击公告卡片 ========== */
/* ========== 现代化公告卡片 ========== */
.announcement-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.announcement-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #533b08 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.announcement-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    animation: pulse 2s infinite;
}

.announcement-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    flex-grow: 1;
}

.announcement-badge {
    background: #ff4757;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    animation: bounce 2s infinite;
}

.announcement-content {
    padding: 20px;
    line-height: 1.7;
    color: #333;
    background: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.announcement-content::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(74, 107, 255, 0.5));
    margin-bottom: 15px;
}

/* 公告动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .announcement-header {
        padding: 12px 15px;
    }
    
    .announcement-icon {
        font-size: 1.2rem;
    }
    
    .announcement-title {
        font-size: 1rem;
    }
    
    .announcement-content {
        padding: 15px;
    }
}


/* 基础样式 */
.header-topbar {
    background: linear-gradient(180deg, #f9f9f9 0%, #f0f0f0 100%);
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* 会员状态区域 - 登录后 */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-group {
    background-color: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.username {
    font-weight: 600;
    color: #333;
}

.user-actions {
    display: flex;
    gap: 12px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: #e9ecef;
    color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logout {
    color: #dc3545;
}

.logout:hover {
    background-color: #f8d7da;
    color: #dc3545;
}

/* 会员状态区域 - 未登录 */
.guest-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-msg {
    color: #666;
    font-size: 0.95rem;
}

.space-owner {
    font-weight: 600;
    color: #333;
}

.guest-actions {
    display: flex;
    gap: 12px;
}

.register {
    color: #28a745;
}

.register:hover {
    background-color: #d4edda;
    color: #28a745;
}

.login {
    color: #007bff;
}

.login:hover {
    background-color: #cce5ff;
    color: #007bff;
}

/* 快捷链接导航 */
.quick-links {
    display: flex;
    gap: 15px;
}

.quick-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #007bff;
}

/* 基础样式 */
.header-topbar {
    background: linear-gradient(180deg, #f9f9f9 0%, #f0f0f0 100%);
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 5px;
}

.header-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* 会员状态区域 - 登录后 */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-group {
    background-color: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.username {
    font-weight: 600;
    color: #333;
}

.user-actions {
    display: flex;
    gap: 12px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: #e9ecef;
    color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logout {
    color: #dc3545;
}

.logout:hover {
    background-color: #f8d7da;
    color: #dc3545;
}

/* 会员状态区域 - 未登录 */
.guest-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-msg {
    color: #666;
    font-size: 0.95rem;
}

.space-owner {
    font-weight: 600;
    color: #333;
}

.guest-actions {
    display: flex;
    gap: 12px;
}

.register {
    color: #28a745;
}

.register:hover {
    background-color: #d4edda;
    color: #28a745;
}

.login {
    color: #007bff;
}

.login:hover {
    background-color: #cce5ff;
    color: #007bff;
}

/* 快捷链接导航 */
.quick-links {
    display: flex;
    gap: 15px;
}

.quick-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #007bff;
}

        .captcha-box {
            margin-top: 15px;
        }
        .captcha-img {
            height: 38px;
            border: 1px solid #ddd;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
        }
        .input-group-append {
            margin-left: -1px;
        }
        /* 留言板专属样式 */
        .gbook-item {
            background: #fff;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        .gbook-header {
            padding: 15px 20px;
            background: #f8f9fa;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .gbook-user {
            font-weight: 600;
            color: var(--primary-color);
        }
        .gbook-meta {
            font-size: 0.85rem;
            color: var(--text-light);
        }
        .gbook-content {
            padding: 20px;
            line-height: 1.7;
        }
        
        .gbook-reply {
            background: #f9f9f9;
            border-left: 3px solid var(--primary-color);
            margin-top: 15px;
            padding: 15px;
            font-size: 0.95rem;
        }
        .gbook-form {
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .form-group {
            margin-bottom: 1.25rem;
        }
        .form-control {
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 8px 12px;
            width: 100%;
        }
        .private-message {
            color: #6c757d;
            font-style: italic;
            background: #f8f9fa;
            padding: 15px;
            border-radius: 4px;
        }
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        /* 无留言提示样式 */
        .no-messages {
            text-align: center;
            padding: 60px 20px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .no-messages i {
            font-size: 3rem;
            color: #e0e0e0;
            margin-bottom: 15px;
        }
        .no-messages p {
            margin: 10px 0;
            color: #777;
        }
        .no-messages p:first-of-type {
            font-size: 1.2rem;
            color: #555;
        }
        /* 反馈表单专属样式 */
        .feedback-section {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
        }
        
        .feedback-form {
            padding: 20px;
        }
        
        .feedback-form .form-group {
            margin-bottom: 1.25rem;
        }
        
        .feedback-form label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #555;
        }
        
        .feedback-form .form-control {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            transition: border-color 0.3s;
        }
        
        .feedback-form .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }
        
        .feedback-form textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .captcha-box {
            margin-top: 20px;
        }
        
        .captcha-img {
            height: 38px;
            border: 1px solid #ddd;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
        }
        
        .form-submit {
            margin-top: 25px;
            text-align: center;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .form-row {
                flex-direction: column;
            }
            
            .form-row .form-group {
                width: 100%;
                padding: 0;
            }
        }

/* PC 端对齐修复 */
@media (min-width: 768px) {
    .header-topbar-inner {
        flex-direction: row !important;
        align-items: center;
    }

    .user-info,
    .guest-info {
        flex-wrap: nowrap !important;
        gap: 20px;
    }

    .user-greeting {
        white-space: nowrap;
    }

    .user-actions,
    .guest-actions {
        flex-shrink: 0;
    }
}

/* 移动端横排布局 */
@media (max-width: 767px) {
    .header-topbar-inner {
        flex-direction: column;
        align-items: center;
    }

    .user-info,
    .guest-info {
        flex-direction: row !important;
        justify-content: center;
        gap: 15px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 600px;
        padding: 0 10px;
    }

    .user-greeting,
    .welcome-msg {
        flex-direction: row !important;
        gap: 10px;
        flex-grow: 1;
    }

    .user-actions,
    .guest-actions {
        flex-shrink: 1;
        gap: 8px;
        justify-content: flex-end;
    }

    .username,
    .space-owner {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .quick-links {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* 多级断点响应式 */
@media (min-width: 1440px) {
    .container {
        max-width: 1430px;
    }
    .user-info,
    .guest-info {
        gap: 25px;
    }
    .action-link,
    .quick-links a {
        font-size: 1rem;
    }
}

@media (min-width: 1430px) and (max-width: 1429px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-topbar-inner {
        gap: 15px;
    }
    .action-link,
    .quick-links a {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .quick-links {
        gap: 12px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .action-link {
        padding: 4px 6px;
        font-size: 0.8rem;
    }
    .quick-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    .action-link {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    .quick-links a {
        font-size: 0.75rem;
    }
}
/* 顶部导航栏 - 重设计 */
.top-navigation-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    padding: 8px 0;
    color: #666;
}

.top-navigation-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-navigation-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 用户信息区域 */
.user-profile-section,
.guest-profile-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.user-profile-section .greeting-text,
.guest-profile-section .welcome-text {
    margin-right: 15px;
}

.user-group-tag {
    background-color: #bd9237;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    font-size: 12px;
}

.user-name {
    color: #bd9237;
    font-weight: 600;
	font-size: 1.0rem;
}


.space-owner-name {
    color: #bd9237;
    font-weight: 600;
}

/* 操作链接 */
.action-buttons {
    display: flex;
    gap: 15px;
}

.action-button {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.action-button:hover {
    color: #bd9237;
}

.action-button i {
    margin-right: 5px;
    color: #bd9237;
}

.logout-button {
    color: #e74c3c;
}

/* 快速链接 */
.quick-access-links {
    display: flex;
    gap: 15px;
}

.quick-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.quick-link:hover {
    color: #bd9237;
}

.quick-link i {
    margin-right: 5px;
    color: #bd9237;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .top-navigation-container {
        max-width: 1430px;
    }
}

@media (max-width: 1430px) {
    .top-navigation-container {
        max-width: 992px;
    }
    
    .action-buttons,
    .quick-access-links {
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .top-navigation-container {
        max-width: 768px;
    }
    
    .top-navigation-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-profile-section,
    .guest-profile-section {
        margin-bottom: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    .quick-access-links {
        width: 100%;
        justify-content: flex-start;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
}


@media (max-width: 768px) {
    .top-navigation-container {
        max-width: 576px;
    }
    
    .action-buttons,
    .quick-access-links {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        text-align: center;
    }
	
}

@media (max-width: 576px) {
    .top-navigation-container {
        max-width: 430px;
    }
    
    .greeting-text,
    .welcome-text {
        margin-bottom: 8px;
        width: 100%;
    }
    
    .action-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 430px) {
    .top-navigation-container {
        padding: 0 10px;
    }
    
    .action-button span,
    .quick-link span {
        display: none;
    }
    
    .action-button i,
    .quick-link i {
        margin-right: 0;
        font-size: 16px;
    }
	.greeting-text, .welcome-text {
        margin-bottom: 8px;
        width: 65%;
		float:left;
		overflow:hidden;
    }
    .action-buttons {
        width: 30%;
        justify-content: space-between;
    }	
}

