/**
 * 社区论坛样式
 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #1E9FFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 头部导航 */
.bbs-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.bbs-header .container {
    display: flex;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.bbs-header .logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
}

.bbs-header .logo a {
    color: #1E9FFF;
    white-space: nowrap;
}

.nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
}

.nav-menu a {
    color: #666;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1E9FFF;
    border-bottom-color: #1E9FFF;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: 20px;
}

.btn-publish {
    background: #1E9FFF;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

.btn-publish:hover {
    background: #0d8ce8;
    color: #fff;
}

.btn-publish.active {
    background: #0d8ce8;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info a {
    color: #666;
}

.user-info a:hover {
    color: #1E9FFF;
}

/* 主体内容 */
.bbs-main {
    padding: 30px 0;
    min-height: calc(100vh - 60px - 60px);
}

.main-content {
    display: flex;
    gap: 30px;
}

.content-left {
    flex: 1;
}

.content-right {
    width: 300px;
}

/* 搜索栏 */
.search-bar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-bar form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    height: 44px;
    border: 1px solid #e0e0e0;
    border-radius: 22px;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #1E9FFF;
}

.search-btn {
    width: 44px;
    height: 44px;
    background: #1E9FFF;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0d8ce8;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-tabs {
    display: flex;
    gap: 20px;
}

.filter-tabs a {
    color: #666;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.filter-tabs a.active,
.filter-tabs a:hover {
    color: #1E9FFF;
    border-bottom-color: #1E9FFF;
}

.filter-info {
    color: #999;
    font-size: 13px;
}

/* 区块样式 */
.section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.section-header h3 i {
    color: #1E9FFF;
    margin-right: 8px;
}

.section-header .more {
    color: #999;
    font-size: 13px;
}

.section-header .more:hover {
    color: #1E9FFF;
}

/* 帖子列表 */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    transition: box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.post-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-item.top {
    background: #f8fbff;
    border-left: 3px solid #1E9FFF;
}

.post-cover {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.post-cover .no-cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.post-cover .no-cover i {
    font-size: 40px;
    margin-bottom: 5px;
}

.post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tag-top,
.tag-essence {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.tag-top {
    background: #ff5722;
    color: #fff;
}

.tag-essence {
    background: #ffc107;
    color: #333;
}

.post-category {
    color: #1E9FFF;
    font-size: 13px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title:hover {
    color: #1E9FFF;
}

.post-summary {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #999;
    font-size: 13px;
    margin-top: auto;
}

.post-meta .author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta .author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.post-meta i {
    margin-right: 3px;
}

/* 侧边栏组件 */
.widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.widget-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.widget-header h4 i {
    color: #1E9FFF;
    margin-right: 8px;
}

/* 发布按钮 */
.btn-publish-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8ce8 100%);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-publish-large:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.3);
}

.btn-publish-large i {
    font-size: 24px;
}

/* 热门列表 */
.hot-list {
    list-style: none;
}

.hot-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list .rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    flex-shrink: 0;
}

.hot-list .rank.top {
    background: #ff5722;
    color: #fff;
}

.hot-list a {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-list a:hover {
    color: #1E9FFF;
}

.hot-list .count {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

/* 分类列表 */
.category-list {
    display: flex;
    flex-direction: column;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
}

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

.category-item:hover,
.category-item.active {
    color: #1E9FFF;
}

.category-item .count {
    color: #999;
    font-size: 12px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a {
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
}

.pagination a:hover {
    background: #1E9FFF;
    color: #fff;
    border-color: #1E9FFF;
}

.pagination span.current {
    background: #1E9FFF;
    color: #fff;
}

.pagination span.ellipsis {
    color: #999;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

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

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 帖子详情页 */
.post-detail {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.post-detail .post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.post-detail .post-tags {
    margin-bottom: 15px;
}

.post-detail .post-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-detail .post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #999;
    font-size: 14px;
}

.post-detail .post-meta .author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-detail .post-meta .author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.post-detail .post-meta .author .name {
    color: #333;
    font-weight: 500;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

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

.post-content img {
    max-width: 100%;
    border-radius: 4px;
}

.post-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.post-actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.post-actions button:hover {
    background: #f5f5f5;
}

.post-actions button i {
    font-size: 18px;
}

.post-actions .btn-like:hover {
    color: #ff5722;
    border-color: #ff5722;
}

.post-actions .btn-collect:hover {
    color: #ffc107;
    border-color: #ffc107;
}

/* 评论区 */
.comment-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comment-form {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-form .user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-form .form-content {
    flex: 1;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.comment-form textarea:focus {
    border-color: #1E9FFF;
}

.comment-form .form-actions {
    margin-top: 15px;
    text-align: right;
}

.comment-form .btn-submit {
    background: #1E9FFF;
    color: #fff;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form .btn-submit:hover {
    background: #0d8ce8;
}

.comment-login-tip {
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 30px;
}

.comment-login-tip a {
    color: #1E9FFF;
}

/* 评论列表 */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment-item {
    display: flex;
    gap: 15px;
}

.comment-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.comment-header .author-name {
    font-weight: 600;
    color: #333;
}

.comment-header .comment-time {
    color: #999;
    font-size: 13px;
}

.comment-content {
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-actions a {
    color: #999;
    font-size: 13px;
}

.comment-actions a:hover {
    color: #1E9FFF;
}

/* 回复列表 */
.reply-list {
    margin-top: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.reply-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.reply-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.reply-body {
    flex: 1;
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.reply-header .author-name {
    font-weight: 500;
    color: #333;
    font-size: 13px;
}

.reply-header .reply-time {
    color: #999;
    font-size: 12px;
}

.reply-content {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

.reply-content .reply-to {
    color: #1E9FFF;
}

/* 回复表单 */
.reply-form {
    margin-top: 15px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.reply-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;
    margin-bottom: 10px;
}

.reply-form .form-actions {
    text-align: right;
}

.reply-form .btn-cancel {
    background: #fff;
    color: #666;
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}

.reply-form .btn-submit {
    background: #1E9FFF;
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.empty-comments {
    text-align: center;
    padding: 40px;
    color: #999;
}

.empty-comments i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

/* 作者信息 */
.author-widget .author-info {
    text-align: center;
}

.author-widget .author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.author-widget .author-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.author-stats .stat-item {
    text-align: center;
}

.author-stats .stat-item .num {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.author-stats .stat-item .label {
    color: #999;
    font-size: 13px;
}

/* 相关帖子 */
.related-list {
    list-style: none;
}

.related-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list a {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-list a:hover {
    color: #1E9FFF;
}

.related-list .time {
    color: #999;
    font-size: 12px;
}

/* 发布页面 */
.publish-section {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.publish-section .section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.publish-section .section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.publish-section .section-header h2 i {
    color: #1E9FFF;
    margin-right: 10px;
}

.publish-form .form-group {
    margin-bottom: 25px;
}

.publish-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.publish-form label .required {
    color: #ff5722;
    margin-left: 3px;
}

.publish-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.publish-form .form-control:focus {
    border-color: #1E9FFF;
}

.publish-form textarea.form-control {
    resize: vertical;
    min-height: 200px;
}

.publish-form .input-count {
    text-align: right;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

/* 上传框 */
.upload-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.upload-preview {
    width: 200px;
    height: 120px;
    background: #f5f5f5;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s;
}

.upload-preview:hover {
    border-color: #1E9FFF;
}

.upload-preview i {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 10px;
}

.upload-preview span {
    color: #999;
    font-size: 13px;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.btn-upload {
    background: #fff;
    color: #1E9FFF;
    padding: 10px 25px;
    border: 1px solid #1E9FFF;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-upload:hover {
    background: #1E9FFF;
    color: #fff;
}

/* 表单操作 */
.form-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.form-actions button,
.form-actions a {

    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.form-actions .btn-submit {
    background: #1E9FFF;
    color: #fff;
    border: none;
}

.form-actions .btn-submit:hover {
    background: #0d8ce8;
}

.form-actions .btn-draft {
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
}

.form-actions .btn-draft:hover {
    background: #f5f5f5;
}

.form-actions .btn-cancel {
    background: #fff;
    color: #999;
    border: 1px solid #e0e0e0;
    text-decoration: none;
}

.form-actions .btn-cancel:hover {
    color: #666;
    background: #f5f5f5;
}

/* 底部 */
.bbs-footer {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 13px;
    border-top: 1px solid #f0f0f0;
}

/* 响应式 */
/* 手机端分类导航（默认隐藏，手机端显示） */
.mobile-category-nav {
    display: none;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.mobile-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8ce8 100%);
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

.mobile-category-header i {
    transition: transform 0.3s;
}

.mobile-category-content {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: #fff;
}

.mobile-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #333;
    transition: all 0.3s;
}

.mobile-category-item:hover {
    background: #1E9FFF;
    color: #fff;
}

.mobile-category-item .count {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

.mobile-category-item:hover .count {
    color: rgba(255,255,255,0.8);
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .content-right {
        width: 100%;
    }
    
    .nav-menu {
        display: none;
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-cover {
        width: 100%;
        height: 180px;
    }
    
    /* 手机端显示分类导航 */
    .mobile-category-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .bbs-header {
        display: none;
    }
    
    .btn-publish {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .user-info {
        gap: 8px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .user-info a,
    .user-info span {
        white-space: nowrap;
    }
    
    .bbs-main {
        padding: 15px 0;
    }
    
    .main-content {
        flex-direction: column;
        width: 100%;
    }
    
    .content-left,
    .content-right {
        width: 100% !important;
        max-width: 100%;
    }
    
    .search-bar {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .search-bar form {
        flex-direction: row;
        gap: 10px;
    }
    
    .search-input {
        flex: 1;
        width: auto;
        height: 40px;
        font-size: 14px;
    }
    
    .search-btn {
        width: auto;
        height: 40px;
        padding: 0 20px;
        border-radius: 20px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .section {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .section-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .section-header h3 {
        font-size: 16px;
    }
    
    .post-list {
        gap: 15px;
    }
    
    .post-item {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        width: 100%;
    }
    
    .post-cover {
        width: 100%;
        height: 180px;
        order: -1;
    }
    
    .post-info {
        width: 100%;
    }
    
    .post-title {
        font-size: 16px;
        line-height: 1.5;
        word-break: break-word;
    }
    
    .post-summary {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .post-meta {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
    }
    
    .post-meta .author img {
        width: 20px;
        height: 20px;
    }
    
    .widget {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .widget-header h4 {
        font-size: 15px;
    }
    
    .hot-list li {
        padding: 10px 0;
    }
    
    .category-item {
        padding: 10px 0;
    }
    
    .post-detail {
        padding: 15px;
    }
    
    .post-detail .post-title {
        font-size: 18px;
        word-break: break-word;
    }
    
    .post-detail .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comment-form {
        flex-direction: column;
    }
    
    .comment-form .user-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar img {
        width: 35px;
        height: 35px;
    }
    
    .publish-section {
        padding: 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-label {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 8px;
    }
    
    .form-row .form-content {
        max-width: 100%;
        width: 100%;
    }
    
    /* 手机端分类导航每行2列 */
    .mobile-category-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mobile-category-item {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .btn-publish-large {
        padding: 12px;
        font-size: 14px;
    }
    
    .pagination {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .bbs-footer {
        padding: 20px 0;
    }
    
    .bbs-footer p {
        font-size: 12px;
    }
}

/* 移动端底部导航 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav .nav-items {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-around;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: #999;
    transition: all 0.3s;
    position: relative;
}

.mobile-bottom-nav .nav-item i {
    font-size: 24px;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item span {
    font-size: 11px;
}

.mobile-bottom-nav .nav-item.active {
    color: #da0808;
}

.mobile-bottom-nav .nav-item.publish-btn {
    position: relative;
    z-index: 1;
}

.mobile-bottom-nav .nav-item.publish-btn .icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8ce8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -15px;
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.4);
}

.mobile-bottom-nav .nav-item.publish-btn .icon-wrapper i {
    color: #fff;
    font-size: 28px;
    margin-bottom: 0;
}

.mobile-bottom-nav .nav-item.publish-btn span {
    margin-top: 4px;
}

/* 手机端显示底部导航 */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    /* 为底部导航留出空间 */
    body {
        padding-bottom: 60px;
    }
    
    .bbs-main {
        padding-bottom: 20px;
    }
}

/**
container {
    max-width: 1288px;
    margin: 0 auto;
    padding: 0 20px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 31px;
    width: 329px;
}
 */

/* 用户中心页面样式 */
.user-center {
    display: flex;
    gap: 30px;
    min-height: 600px;
}

/* 用户侧边栏 */
.user-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.user-profile-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.user-profile-card .avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.user-profile-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.user-profile-card .avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile-card .avatar-badge i {
    font-size: 12px;
    color: #fff;
}

.user-profile-card .username {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-profile-card .user-title {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.user-profile-card .user-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.user-profile-card .stat-item {
    text-align: center;
}

.user-profile-card .stat-item .num {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.user-profile-card .stat-item .label {
    font-size: 12px;
    opacity: 0.8;
}

/* 侧边栏菜单 */
.user-menu {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.user-menu-header {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

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

.user-menu-item:hover {
    background: #f8f9fa;
    color: #1E9FFF;
}

.user-menu-item.active {
    background: linear-gradient(90deg, rgba(30, 159, 255, 0.1) 0%, transparent 100%);
    color: #1E9FFF;
    border-left: 3px solid #1E9FFF;
}

.user-menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.user-menu-item span {
    flex: 1;
}

.user-menu-item .arrow {
    color: #ccc;
    font-size: 12px;
}

/* 用户主内容区 */
.user-main {
    flex: 1;
    min-width: 0;
}

.user-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.user-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.user-section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.user-section-header h3 i {
    color: #1E9FFF;
    margin-right: 10px;
}

/* 快捷操作卡片 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.quick-action-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 28px;
    color: #fff;
}

.quick-action-card:nth-child(1) .icon-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quick-action-card:nth-child(2) .icon-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.quick-action-card:nth-child(3) .icon-box {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.quick-action-card:nth-child(4) .icon-box {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.quick-action-card:nth-child(5) .icon-box {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.quick-action-card:nth-child(6) .icon-box {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.quick-action-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.quick-action-card p {
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* 用户信息详情 */
.user-info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.user-info-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.user-info-item .info-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #1E9FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 18px;
}

.user-info-item .info-content {
    flex: 1;
}

.user-info-item .info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 3px;
}

.user-info-item .info-value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* 活动记录时间线 */
.activity-timeline {
    position: relative;
    padding-left: 30px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.activity-item {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.activity-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1E9FFF;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #1E9FFF;
}

.activity-item .activity-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.activity-item .activity-content {
    font-size: 14px;
    color: #333;
}

/* 旧版用户中心样式兼容 */
.user-info-card {
    display: flex;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.user-info-card .user-avatar {
    margin-right: 30px;
}

.user-info-card .user-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.user-info-card .user-basic-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.user-info-card .user-basic-info p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info-card .user-basic-info p i {
    font-size: 16px;
    opacity: 0.7;
}

.user-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.action-card .action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8ce8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 24px;
}

.action-card:nth-child(1) .action-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.action-card:nth-child(2) .action-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.action-card:nth-child(3) .action-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.action-card .action-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.action-card .action-content p {
    font-size: 13px;
    color: #999;
}

/* 用户表单样式 */
.user-form {
    padding: 10px 0;
}

/* 安全提示 */
.security-tips {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #1E9FFF;
}

.security-tips .tips-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8ce8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-tips .tips-icon i {
    font-size: 24px;
    color: #fff;
}

.security-tips .tips-content h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}

.security-tips .tips-content ul {
    margin: 0;
    padding-left: 18px;
}

.security-tips .tips-content li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

/* 密码强度 */
.password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.password-strength .strength-label {
    font-size: 12px;
    color: #999;
}

.password-strength .strength-bar {
    flex: 1;
    max-width: 120px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength .strength-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: all 0.3s;
}

.password-strength .strength-text {
    font-size: 12px;
    font-weight: 500;
}

/* 我的帖子列表 */
.my-post-list {
    display: flex;
    flex-direction: column;
}

.my-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

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

.my-post-item:hover {
    background: #fafafa;
}

.my-post-item .post-info {
    flex: 1;
    min-width: 0;
}

.my-post-item .post-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.my-post-item .post-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.my-post-item .post-title:hover {
    color: #1E9FFF;
}

.my-post-item .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.my-post-item .post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.my-post-item .post-actions {
    display: flex;
    gap: 10px;
    margin-left: 20px;
    flex-shrink: 0;
}

.my-post-item .post-actions .layui-btn {
    padding: 0 12px;
}

.form-row {
    display: flex;
    margin-bottom: 25px;
}

.form-row .form-label {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
    line-height: 38px;
    color: #333;
    font-size: 14px;
}

.form-row .form-label .required {
    color: #ff5722;
    margin-right: 3px;
}

.form-row .form-content {
    flex: 1;
    max-width: 500px;
}

.form-row .form-content .layui-input {
    border-radius: 4px;
}

.form-row .form-tip {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.form-row .readonly-input {
    background: #f5f5f5;
    color: #999;
}

/* 头像上传 */
.avatar-row .form-content {
    display: flex;
    flex-direction: column;
}

.avatar-upload {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-upload img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.avatar-upload-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 响应式用户中心 */
@media (max-width: 992px) {
    .user-center {
        flex-direction: column;
    }
    
    .user-sidebar {
        width: 100%;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    /* 用户中心移动端优化 */
    .user-center {
        gap: 15px;
        min-height: auto;
    }
    
    .user-profile-card {
        padding: 20px 15px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .user-profile-card .avatar {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .user-profile-card .avatar-wrapper {
        margin-bottom: 12px;
    }
    
    .user-profile-card .username {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .user-profile-card .user-title {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .user-profile-card .user-stats {
        gap: 20px;
        padding-top: 12px;
    }
    
    .user-profile-card .stat-item .num {
        font-size: 18px;
    }
    
    .user-profile-card .stat-item .label {
        font-size: 11px;
    }
    
    .user-menu {
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    .user-menu-header {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .user-menu-item {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .user-menu-item i {
        font-size: 16px;
        width: 20px;
    }
    
    .user-menu-item .arrow {
        display: none;
    }
    
    .user-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .user-section-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .user-section-header h3 {
        font-size: 15px;
    }
    
    .user-section-header h3 i {
        margin-right: 6px;
        font-size: 16px;
    }
    
    .user-info-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .user-info-item {
        padding: 12px 15px;
        border-radius: 6px;
    }
    
    .user-info-item .info-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        margin-right: 12px;
        font-size: 14px;
    }
    
    .user-info-item .info-label {
        font-size: 11px;
    }
    
    .user-info-item .info-value {
        font-size: 14px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-action-card {
        padding: 15px 10px;
        border-radius: 8px;
    }
    
    .quick-action-card .icon-box {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
        font-size: 20px;
    }
    
    .quick-action-card h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .quick-action-card p {
        font-size: 11px;
        display: none;
    }
    
    .user-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .action-card {
        padding: 15px 12px;
        border-radius: 8px;
    }
    
    .action-card .action-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        margin-right: 12px;
        font-size: 20px;
    }
    
    .action-card .action-content h3 {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .action-card .action-content p {
        font-size: 11px;
    }
    
    .user-info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .user-info-card .user-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .user-info-card .user-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .user-info-card .user-basic-info h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .user-info-card .user-basic-info p {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .bbs-main {
        padding-bottom: 80px;
    }
    
    /* 折叠功能样式 */
    .collapsible-header {
        cursor: pointer;
        user-select: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .collapse-icon {
        transition: transform 0.3s ease;
        font-size: 16px;
        color: #999;
    }
    
    .collapsible-header.collapsed .collapse-icon {
        transform: rotate(-90deg);
    }
    
    .user-menu-header.collapsible-header {
        cursor: pointer;
    }
    
    .user-section-header.collapsible-header {
        cursor: pointer;
    }
    
    /* 确保 PC 端没有折叠效果 */
    @media (min-width: 577px) {
        .collapsible-header {
            cursor: default !important;
        }
        
        .collapse-icon {
            display: none !important;
        }
        
        .user-menu-content,
        .user-section-content {
            display: block !important;
        }
    }
}

/* 平板设备优化 */
@media (min-width: 577px) and (max-width: 992px) {
    .user-center {
        gap: 20px;
    }
    
    .user-profile-card {
        padding: 25px 20px;
    }
    
    .user-profile-card .avatar {
        width: 90px;
        height: 90px;
    }
    
    .user-section {
        padding: 20px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .quick-action-card {
        padding: 20px 15px;
    }
    
    .quick-action-card .icon-box {
        width: 50px;
        height: 50px;
    }
    
    .quick-action-card h4 {
        font-size: 15px;
    }
    
    .quick-action-card p {
        font-size: 12px;
    }
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #1E9FFF;
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.back-to-top:hover {
    background: #0d8ce8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 手机端返回顶部按钮适配 */
@media (max-width: 768px) {
    .back-to-top {
        right: 20px;
        bottom: 80px; /* 调整位置，避免被底部导航遮挡 */
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
