/* ForumLive 门户页面样式 */

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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

/* ==================== 回到顶部按钮 ==================== */

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top::before {
    content: '\f106';
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 24px;
    display: block;
    line-height: 50px;
    width: 50px;
    text-align: center;
}

.back-to-top:hover::before {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 60px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top::before {
        font-size: 20px;
        line-height: 45px;
        width: 45px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 50px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top::before {
        font-size: 18px;
        line-height: 40px;
        width: 40px;
    }
}

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

ul {
    list-style: none;
}
h3 {
	 margin: 0; 
}

/* 顶部用户操作区 */
.top-bar {
    color: #ccc;
    padding: 6px 0;
    font-size: 12px;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    display: flex;
    gap: 15px;
}

.top-links a {
    color: #ccc;
    transition: color 0.3s;
}

.top-links a:hover {
    color: #fff;
}

.top-links .service-link {
    font-weight: bold;
}

.top-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-actions input[type="text"],
.top-actions input[type="password"] {
    border: 1px solid #444;
    background: #333;
}

.top-actions input:focus {
    outline: none;
}

.top-actions button {
    padding: 4px 12px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: opacity 0.3s;
	border-radius: 3px;
}

.top-actions button:hover {
    opacity: 0.9;
}

.top-actions .link-btn {
    background: none;
    font-weight: bold;
}

/* Logo 区域 */
.logo-bar {
    padding: 12px 0;
}

.logo-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    font-size: 16px;
    margin-left: 15px;
    font-weight: normal;
}

.logo-slogan {
    color: #999;
    font-size: 13px;
}

/* 主导航菜单 */
.main-nav {
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.main-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-menu {
    display: flex;
}

.nav-item {
    position: relative;
}

.nav-item > a {
	text-decoration: none;
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.3s;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.nav-item > a:hover,
.nav-item > a.active {
    background: rgba(0,0,0,0.2);
}

.nav-item > a .badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 5px;
}

.nav-item .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

.nav-item:hover .submenu {
    display: block;
}

.nav-item .submenu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    transition: all 0.3s;
}

.nav-item .submenu a:hover {
    padding-left: 20px;
}

.nav-item .submenu a .live-tag {
    margin-left: 5px;
    font-size: 11px;
}

/* Banner 区 - 功能入口型 */
.banner-section {
    max-width: 1400px;
    margin: 15px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 320px 1fr 280px;
    gap: 12px;
}

.main-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 280px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.main-banner:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-2px);
    transition: all 0.3s;
}
.main-banner::before {
    content: '🔴';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.main-banner-content {
    text-align: center;
    z-index: 1;
}

.main-banner h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.main-banner p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}
.main-banner .portal-btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 消息通知 Banner */
.notice-banner {
    border-radius: 3px;
    height: 270px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notice-banner-header {
    padding: 10px 12px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-banner-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.notice-banner-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
    line-height: 1.4;
}

.notice-banner-item:hover {
    background: #fafafa;
}

.notice-banner-item:last-child {
    border-bottom: none;
}

.notice-banner-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notice-banner-title {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-banner-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    text-align: right;
}

.side-banner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-banner-item {
    flex: 1;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.side-banner-item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.side-banner-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.side-banner-item::after {
    content: '🎁';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    opacity: 0.3;
}

/* 内容区布局 - 两栏布局 */
.content-container {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 12px;
}

.left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-block {
    background: #fff;
    border: 1px solid #ddd;
}
/* 左侧边栏 */
.block-header {
    padding: 12px 15px;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-header .more {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.8;
}

/* 聊天室清空历史按钮 */
.clear-history-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.clear-history-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.clear-history-btn i {
    margin: 0;
}

.block-content {
    padding: 15px;
}

.menu-list li {
    border-bottom: 1px solid #f0f0f0;
}

.menu-list a {
    display: block;
    padding: 10px 12px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.menu-list a:hover {
    padding-left: 18px;
}

.menu-list a span {
    float: right;
    color: #999;
    font-size: 13px;
}

/* 中间主内容区 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
	min-width: 0;
}

.content-block {
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
}

/* 自定义内容 */
.custom-content {
    min-width: 0;
}

.custom-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.custom-content p {
    margin: 0;
}

.content-header {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-header h3 {
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.content-header .more {
    font-size: 12px;
    color: #666;
}

/* 消息通知新闻栏目 */
.notice-news-header {
    padding: 10px 12px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-news-list {
    padding: 12px;
}

.notice-news-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s;
}

.notice-news-item:hover {
    background: #fafafa;
}

.notice-news-item:last-child {
    border-bottom: none;
}

.notice-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 11px;
    margin-right: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notice-badge.notice {
    background: #f44336;
    color: #fff;
}

.notice-badge.news {
    background: #4CAF50;
    color: #fff;
}

.notice-badge.announce {
    background: #2196F3;
    color: #fff;
}

.notice-badge.board {
    background: #9E9E9E;
    color: #fff;
}

.notice-badge.reserve {
    background: #FF9800;
    color: #fff;
}

.notice-news-content {
    flex: 1;
    min-width: 0;
}

.notice-news-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-news-time {
    font-size: 11px;
    color: #999;
}

/* 直播列表 */
.live-list {
    padding: 12px;
    display: grid;
    gap: 10px;
}

.live-item {
    display: flex;
    background: #f8f8f8;
    padding: 12px;
    border-radius: 3px;
    transition: all 0.3s;
}

.live-item:hover {
    background: #f0f0f0;
    transform: translateX(3px);
}

.live-status {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 12px;
    white-space: nowrap;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-info {
    flex: 1;
    min-width: 0;
}

.live-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.live-meta {
    font-size: 12px;
    color: #666;
}

.live-score {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

/* 右侧边栏 */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 登录框 */
.login-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

.login-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.login-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.login-form{
    margin-top: 16px;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    margin-bottom: 16px;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
    background: #fafafa;
}

.login-input:focus {
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
}

.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 13px;
}

.login-links a {
    text-decoration: none;
    transition: opacity 0.3s;
}

.login-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 登录框 */
.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    user-select: none;
    gap: 6px;
}

.remember-me span {
    line-height: 1;
    vertical-align: middle;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

/* 聊天室 */
.chat-box {
    background: #fff;
    border: 1px solid #ddd;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 2px 0;
    overflow-y: auto;
    background: #f9f9f9;
}

.chat-message {
    padding: 2px 5px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.chat-message img {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

.chat-user {
    padding-left: 5px;
    font-weight: bold;
    font-size: 13px;
}

/* 当前用户消息样式 */
.chat-message.current-user {
    background-color: #f0f0f0;
    border-radius: 4px;
    margin: 2px 5px;
}

.chat-message.current-user .chat-user {
    color: #ff6600;
}

.chat-text {
    font-size: 13px;
}

.chat-time {
    font-size: 11px;
    margin-left: 5px;
}

.chat-user-info {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.chat-user-avatar img {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6600;
}

.chat-user-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-input-area {
    padding: 12px;
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 4px 6px;
    font-size: 14px;
    border-radius: 2px;
}

.chat-input:focus {
    outline: none;
}

.chat-send {
    padding: 10px 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.chat-send:hover {
    opacity: 0.9;
}

/* 系统消息样式 */
.chat-message.system-message {
    background: #fff3cd;
    padding: 8px 15px;
    justify-content: center;
}

.chat-message.system-message .chat-text {
    color: #856404;
    font-size: 12px;
}

/* 活动专区 */
.activity-list {
    padding: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 15px;
}

.activity-info h5 {
    font-size: 14px;
    margin-bottom: 3px;
}

.activity-info p {
    font-size: 12px;
}

/* 积分排行 */
.rank-list {
    padding: 15px;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.rank-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 12px;
    font-weight: bold;
}

.rank-name {
    flex: 1;
    font-size: 14px;
}

.rank-score {
    font-weight: bold;
    font-size: 14px;
}

/* 底部区域 */
.footer {
    padding: 30px 0 15px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.footer-link {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.footer-section h4 {
    margin-bottom: 12px;
    font-size: 14px;
    padding-bottom: 8px;
}

.footer-section ul li {
    padding: 6px 0;
    font-size: 12px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* 子导航栏样式 */
.sub-nav {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
/*    margin-bottom: 15px;*/
}

.sub-nav-title {
    float: left;
    padding: 16px 80px 16px 30px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-right: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}

.sub-nav-content {
    max-width: 100%;
    padding: 0;
}

.sub-nav-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-nav-item {
    border-right: 1px solid rgba(255,255,255,0.15);
}

.sub-nav-item:last-child {
    border-right: none;
}

.sub-nav-item > a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

/* 二级页面特定样式 */
.page-breadcrumb {
    padding: 12px 15px;
    font-size: 13px;
}

.page-title {
    border-bottom: none;
}

.page-title h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.page-meta {
    font-size: 13px;
}

.page-content {
    padding: 25px;
    line-height: 1.8;
    font-size: 15px;
    color: #333;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content h2 {
    font-size: 18px;
    margin: 25px 0 15px;
    padding-bottom: 10px;
}

.page-content h3 {
    font-size: 16px;
    margin: 20px 0 10px;
}

.page-content ul,
.page-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 8px;
}

/* ========== 论坛板块样式 ========== */
/* 板块卡片样式 */
.board-card {
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.board-header {
    padding: 15px;
}

.board-title {
    font-size: 18px;
    font-weight: bold;
}

.board-list {
    padding: 10px 0;
}

.board-item {
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.board-item:last-child {
    border-bottom: none;
}

.board-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.board-info {
    flex: 1;
}

.board-name {
    font-weight: bold;
    font-size: 15px;
}

.board-desc {
    font-size: 12px;
    margin-top: 4px;
}

.board-stats {
    font-size: 12px;
    text-align: right;
}

/* 帖子区块样式 */
.post-section {
    background: #fff;
    border-radius: 0 0 10px 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

/* 选项卡导航样式 */
.tab-nav {
    display: flex;
    gap: 8px;
    padding: 12px 20px 0;
}

.tab-nav .tab-item {
    text-decoration: none;
}

.tab-item {
    padding: 8px 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: transparent;
}

.tab-item.active {
    font-weight: 600;
    margin-bottom: -1px;
}

.section-header.multi {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header.multi::after {
    display: none;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.section-title::before {
    content: '📄';
    font-size: 20px;
}

.section-header.multi .section-title::before {
    content: '';
}

.result-count {
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.result-count::before {
    content: '📊';
}

/* 帖子列表样式 */
.post-list {
    padding: 0;
}

.board-header {
    display: flex;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 14px;
}

.post-cover {
    width: 200px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info {
    flex: 1;
    padding-left: 15px;
    min-width: 0;
}

.header-id {
    width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.header-content {
    flex: 1;
    padding-left: 15px;
    min-width: 0;
}

.header-author {
    width: 120px;
    text-align: center;
    flex-shrink: 0;
}

.header-time {
    width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.header-stats {
    width: 180px;
    text-align: center;
    flex-shrink: 0;
}

.post-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-item-link:hover {
    text-decoration: none;
}

.post-item {
    display: flex;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
    align-items: flex-start;
}

.post-item.large {
    padding: 18px;
}

.post-item-link:last-child .post-item {
    border-bottom: none;
}

/* 链接卡片样式 */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px;
}

.link-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.link-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.link-image-link {
    display: block;
    text-decoration: none;
}

.link-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.link-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.link-item:hover .link-image img {
    transform: scale(1.1);
}

.link-info {
    padding: 8px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-item {
    padding: 6px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.meta-label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 3px;
    width: auto;
    flex-shrink: 0;
    font-weight: 500;
}

.meta-value {    
	text-align: center;
    font-size: 14px;
    flex: 1;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-actions {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.link-actions a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.link-actions a svg {
    flex-shrink: 0;
}

.link-actions a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.link-actions a:active {
    transform: translateY(0);
}

.link-actions a img {
    vertical-align: middle;
    margin-left: 4px;
    width: 12px;
    height: 12px;
}

.post-id {
    width: 80px;
    text-align: center;
    flex-shrink: 0;
    font-size: 14px;
    color: #999;
    align-self: center;
}

.post-id.large {
    font-weight: bold;
    font-size: 15px;
}

.post-author-column {
    width: 120px;
    text-align: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #666;
    align-self: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-time-column {
    width: 100px;
    text-align: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #999;
    align-self: center;
}

.post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.post-avatar.large {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.post-main {
    flex: 1;
    min-width: 0;
    padding-left: 15px;
}

.post-title {
    font-size: 18px;
    margin-bottom: 6px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.post-title.large {
    font-size: 18px;
    margin-bottom: 8px;
}

.post-title a {
    color: #333;
    font-weight: bold;
}

.post-title.top {
    color: #ff6600;
}

.post-title.essence {
    color: #e91e63;
}

.post-title.lock {
    color: #757575;
}

.post-badges {
    display: flex;
    gap: 8px;
}

.badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.post-content {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 15px;
}

/* 帖子详情页的post-meta样式 */
.post-detail .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.post-meta.large {
    align-items: center;
}

.post-meta-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-stats {
    text-align: right;
    flex-shrink: 0;
}

.post-stats.large {
    width: 180px;
}

.stat-item {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.stat-value {
    font-weight: bold;
    color: #333;
}

.stat-value.large {
    font-size: 18px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-box {
    text-align: center;
}

.stat-label {
    font-size: 11px;
    color: #999;
}











/* ========== 积分历史表格样式 ========== */
.portal-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.portal-table thead th:first-child {
	text-align: center;
}

.portal-table tbody tr {
	background: #fff;
	transition: all 0.3s ease;
}

.portal-table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.portal-table tbody td {
	padding: 14px 10px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	color: #333;
}

.portal-table tbody td:first-child {
	text-align: center;
	font-weight: 600;
	color: #666;
	background: #fafafa;
}

.portal-table tbody tr:last-child td {
	border-bottom: none;
}

/* 积分增加显示绿色，减少显示红色 */
.points-positive {
	color: #4caf50;
	font-weight: bold;
}

.points-negative {
	color: #f44336;
	font-weight: bold;
}


/* ========== 通知列表样式 ========== */
.notice-detail {
	padding: 20px;
}
.notice-detail-header {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}
.notice-detail-title {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
}
.notice-detail-meta {
	color: #666;
	font-size: 14px;
}
.notice-detail-meta span {
	margin: 0 10px;
}
.notice-detail-meta .tag {
	display: inline-block;
	padding: 3px 10px;
	font-size: 12px;
	border-radius: 3px;
	color: #fff;
	font-weight: normal;
}
.notice-detail-meta .tag.notice {
	background-color: #52c41a;
}
.notice-detail-meta .tag.announce {
	background-color: #1890ff;
}
.notice-detail-content {
	padding: 20px 30px;
	background-color: #fff;
	border-radius: 8px;
	min-height: 300px;
}
.notice-detail-content p {
	margin-bottom: 15px;
	line-height: 1.8;
	color: #333;
	font-size: 15px;
}
.notice-detail-content img {
	max-width: 100%;
	height: auto;
	margin: 15px 0;
}
.notice-back-btn {
	display: inline-block;
	margin-bottom: 20px;
	padding: 8px 20px;
	background-color: #f0f0f0;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.2s;
}
.notice-back-btn:hover {
	background-color: #e0e0e0;
}

/* ========== 客服咨询样式 ========== */
.inquiry-wrapper {
	padding: 20px 12px;
}

.inquiry-container {
	padding: 40px;
	background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
}

.inquiry-container {
	animation: fadeIn 0.5s ease-out;
}

.tips {
	background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
	border-left: 4px solid #764ba2;
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	color: #764ba2;
	font-size: 14px;
	display: flex;
	align-items: center;
}

.tips .icon {
	font-size: 18px;
	margin-right: 12px;
}

.form-group {
	margin-bottom: 28px;
}

.form-group label {
	display: block;
	margin-bottom: 12px;
	font-weight: 600;
	color: #1a1a1a;
	font-size: 15px;
}

.form-group label.required::before {
	content: "*";
	color: #ff4d4f;
	margin-right: 6px;
	font-size: 16px;
}

.form-control {
	width: 100%;
	padding: 14px 16px;
	font-size: 15px;
	border: 2px solid #e8e8e8;
	border-radius: 5px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: #fafafa;
}

.form-control:focus {
	outline: none;
	border-color: #667eea;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
	color: #bfbfbf;
}

textarea.form-control {
	min-height: 160px;
	resize: vertical;
	line-height: 1.6;
}

.char-counter {
	text-align: right;
	color: #8c8c8c;
	font-size: 13px;
	margin-top: 8px;
	font-weight: 500;
}

.char-counter #contentCount {
	color: #667eea;
	font-weight: 600;
}

.btn-submit {
	width: 100%;
	padding: 16px 32px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
	transform: translateY(-2px);
}

.btn-submit:active {
	transform: translateY(0);
}

.btn-submit:disabled {
	background: linear-gradient(135deg, #d9d9d9 0%, #bfbfbf 100%);
	cursor: not-allowed;
	box-shadow: none;
}

/* 咨询标签页容器 */
.tab-container {
	display: flex;
	background: rgba(102, 126, 234, 0.08);
	border-radius: 10px;
}

.tab-container .tab-item {
	flex: 1;
	text-align: center;
	padding: 14px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #666;
	transition: all 0.3s ease;
	background: transparent;
	text-decoration: none;
}

.tab-container .tab-item.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.tab-container .tab-item:hover:not(.active) {
	background: rgba(102, 126, 234, 0.08);
	color: #667eea;
}

/* 我的咨询列表样式 - 表格式单行显示 */
.inquiries-container {
	padding: 30px 0 0;
	background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
}

.inquiries-container {
	animation: fadeIn 0.5s ease-out;
}

/* 表格样式 */
.inquiry-table {
	width: 100%;
	overflow: hidden;
	background: white;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.table-header {
	display: grid;
	grid-template-columns: 60px 1fr 100px 160px 160px 40px;
	background: linear-gradient(135deg, #667eea 0%, #a8b5ff 100%);
	color: white;
	font-weight: 600;
	padding: 12px 0;
}

.table-cell.cell-id {
	justify-content: center;
}

.table-cell.cell-status {
	justify-content: center;
}

.table-cell {
	display: flex;
	align-items: center;
	padding: 0 12px;
	font-size: 14px;
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cell-title .title-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.table-body {
	max-height: 600px;
	overflow-y: auto;
}

.table-row {
	display: grid;
	grid-template-columns: 60px 1fr 100px 160px 160px 40px;
	border-bottom: 1px solid #eee;
	background: white;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.table-row:hover {
	background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
	transform: translateY(-1px);
}

.table-row .table-cell {
	padding: 14px 12px;
	color: #333;
}

.cell-id {
	justify-content: center;
	color: #666;
	font-weight: 600;
}

.cell-section {
	justify-content: center;
}

.section-tag {
	background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
	color: #667eea;
	padding: 4px 12px;
	font-size: 12px;
	border-radius: 4px;
	font-weight: 500;
}

.cell-status {
	justify-content: center;
}

.cell-expand {
	justify-content: center;
}

.expand-icon {
	font-size: 12px;
	color: #999;
	transition: transform 0.3s ease;
}

.expand-icon.expanded {
	transform: rotate(180deg);
}

/* 表格行展开内容 */
.table-row-content {
	grid-column: 1 / -1;
	background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
	border-top: 1px solid #e9d5ff;
	padding: 16px 20px;
}

.inquiry-tag {
	background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
	color: #764ba2;
}

.status-tag {
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 3px;
	font-weight: 500;
}

.status-pending {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	color: #d97706;
}

.status-replied {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	color: #059669;
}

.status-closed {
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
	color: #9ca3af;
}

.inquiry-content {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e0e0e0;
}

.content-section {
	margin-bottom: 16px;
}

.content-section:last-child {
	margin-bottom: 0;
}

.content-label {
	font-weight: 600;
	color: #764ba2;
	margin-bottom: 8px;
	font-size: 14px;
}

.content-text {
	color: #333;
	line-height: 1.8;
	font-size: 14px;
	word-wrap: break-word;
}

.reply-section {
	margin-top: 16px;
	padding-top: 16px;
	padding-left: 20px;
	padding-bottom: 20px;
	border-top: 1px dashed #e0e0e0;
}

.reply-section .content-label {
	color: #059669;
}


.empty-state {
	text-align: center;
	padding: 80px 20px;
	color: #999;
	background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
	border-radius: 12px;
	border: 2px dashed #e8e8e8;
}

.empty-state .icon {
	font-size: 64px;
	margin-bottom: 20px;
	display: block;
}

.empty-state p {
	font-size: 15px;
	margin: 0;
	color: #666;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
