body {
    /* 优先使用思源宋体，其次是系统自带的宋体 */
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;

}


input:focus,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important; /* 保持默认颜色 */
}


/* ===============================
   推荐动态 · 抖音风格瀑布流样式
================================ */

/* 外层隔离，防 bootstrap 影响 */
.masonry-wrapper {
    width: 100%;
}

/* 核心容器：必须是 flex */
.masonry-container {
    display: flex;
    gap: 1rem;
    width: 100%;
}

/* 每一列：等宽纵向流 */
.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 每个卡片 */
.masonry-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 鼠标悬停阴影 & 图片放大 */
.masonry-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.masonry-img-box {
    width: 100%;
    overflow: hidden;
}

.masonry-img-box img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.masonry-card:hover .masonry-img-box img {
    transform: scale(1.05);
}

/* 标题 */
.masonry-title {
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #333;
}

/* 用户信息和点赞 */
.masonry-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
}

.masonry-user {
    display: flex;
    align-items: center;
}

.masonry-user img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

.masonry-user div {
    display: flex;
    flex-direction: column;

    color: #666;
}

.masonry-user-name {
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
}

.masonry-user-time {
    font-size: 0.75rem;
    color: #999;
}

.masonry-like {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.masonry-like i {
    margin-right: 4px;
}

/* 响应式：小屏幕两列 */
@media (max-width: 960px) {
    .masonry-container {
        gap: 0.75rem;
    }
}









/* ===== 笼罩层通用底部弹窗动画 ===== */
/* 初始状态：在屏幕下方 */
.modal.fade .modal-dialog {
    transform: translateY(100%);
    transition: transform 0.35s ease-out;
}

/* 显示状态：回到原位 */
.modal.show .modal-dialog {
    transform: translateY(0);
}

/* 关闭时：往下滑 */
.modal.fade:not(.show) .modal-dialog {
    transform: translateY(100%);
}




/* 统一星星评价间距和大小 */
.work-rating {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.work-rating i {
    margin-right: 0.25rem;

}

.work-rating i:last-child {
    margin-right: 0;
}

/* --- 美化后的数量选择器样式 --- */
.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    /* 增加底部间距，与购买按钮区域更好地分隔 */
    margin-top: 1rem;
    /* 增加顶部间距，与参数区域有更好的呼吸感 */
}

.quantity-selector label {
    margin-right: 1rem;
    font-weight: 500;
    color: #555;
    /* 标签颜色稍暗，更显专业 */
    font-size: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    /* 统一的边框 */
    border-radius: 8px;
    /* 圆润的边角 */
    overflow: hidden;
    /* 确保内部元素不会超出圆角 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* 增加轻微阴影，提升层次感 */
}

.quantity-btn {
    width: 40px;
    height: 35px;
    border: none;
    /* 移除默认边框 */
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.2s ease-in-out;
    /* 平滑的过渡效果 */
    user-select: none;
    /* 防止文本被选中 */
}

.quantity-btn:hover {
    background-color: #f8f8f8;
    /* 悬停时轻微变灰 */
    color: #000;
}

.quantity-btn:active {
    background-color: #f0f0f0;
    /* 点击时进一步变灰 */
    transform: scale(0.95);
    /* 轻微的按压效果 */
}

.quantity-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: none;
    /* 移除默认边框 */
    border-left: 1px solid #e0e0e0;
    /* 只保留左右分隔线 */
    border-right: 1px solid #e0e0e0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    outline: none;
    /* 移除聚焦外边框 */
}

/* 隐藏input类型为number的默认增减箭头 */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- 美化后的数量选择器样式结束 --- */

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* 头部底部导航栏样式开始 */

/* 设置语言选择框和货币选择框的背景为黑色 */
.form-select {
    background-color: #000;
    color: #fff;
    border: none;
}

.form-select::placeholder {
    color: #fff;
}

.form-select:focus {
    outline: none;
    background-color: #000;
    box-shadow: none;
}

/* 设置导航项的初始样式 */
.nav-item .nav-link {
    position: relative;
    transition: background-color 0.3s ease, padding 0.3s ease, border-radius 0.3s ease;
    border-radius: 20px;
    color: #000 !important;
}

/* 鼠标悬停时的样式 */
.nav-item .nav-link:hover {
    background-color: #000;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
}

/* 隐藏顶部背景条 */
.top-bar {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.top-bar.hide {
    opacity: 0;
    transform: translateY(-100%);
}

/* 设置固定的导航栏 */
.navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out, transform 0.3s ease;
}

.top-bar,
.navbar {
    transition: all 0.3s ease;
}

/* 底部导航栏的样式 */
.nav-i .nav-link {
    position: relative;
    transition: background-color 0.3s ease, padding 0.3s ease, border-radius 0.3s ease;
    border-radius: 20px;
    color: #ffffff !important;
}

/* 鼠标悬停时的样式 */
.nav-i .nav-link:hover {
    background-color: #ffffff;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 20px;
    color: #000000 !important;
}

/* 头部底部导航栏样式结束 */





/* 商品样式开始 */
.work-card {
    transition: box-shadow 0.3s;
    /* 移除 transform 动画 */
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 100%;
}

.work-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 鼠标悬停时图片放大 */
.col-xl-3:hover .work-image,
.col-lg-4:hover .work-image,
.col-md-6:hover .work-image,
.col-sm-6:hover .work-image,
.col-6:hover .work-image {
    transform: scale(1.05);
}

.card-body {
    height: 23%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work-title {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.work-price {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1rem;
}

.work-rating {
    color: #ffc520;
    font-size: 0.9rem;
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.xjz {
    color: #3f3f3f;
}

/* 商品样式结束 */


/* 确保切换时的过渡效果 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 按钮容器样式 */
.button-container {
    margin: 30px 0;
}

/* 基础按钮样式 */
.wave-button {
    position: relative;
    display: inline-block;
    border-radius: 15px;
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.2s ease;
    z-index: 1;
}

/* 按钮文字样式 */
.button-text {
    position: relative;
    z-index: 2;
}

/* 波浪动画元素 */
.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: height 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    z-index: 1;
}

/* 悬停效果 */
.wave-button:hover {
    color: #fff;
}

.wave-button:hover .wave-animation {
    height: 100%;
    transition: height 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* 点击后保持黑色状态 */
.wave-button.active {
    color: #fff;
}

.wave-button.active .wave-animation {
    height: 100%;
}

/* 波浪效果 */
.wave-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    background-size: 1200px 100px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

.wave-button:hover::after,
.wave-button.active::after {
    opacity: 0.3;
    animation: waveAnimation 1.5s linear infinite;
}

@keyframes waveAnimation {
    0% {
        background-position-x: 0;
    }

    100% {
        background-position-x: 1200px;
    }
}




/* --- 顾客评论区样式 (左对齐版) --- */

.review-stats-text {
    color: #333;
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 20px;
    font-weight: 300;
}

.review-stats-text strong {
    font-weight: 900;
}


/* Swiper Slide 宽度固定 */
.reviews-swiper .swiper-slide {
    width: 300px;
    height: auto;
}

/* 1. 卡片整体容器 (总高度固定) */
.review-card-fixed {
    width: 100%;
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card-fixed:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* 2. 图片区域 (高度固定) */
.review-fixed-img {
    width: 100%;
    height: 290px;
    background: #f8f8f8;
    overflow: hidden;
    flex-shrink: 0;
}

.review-fixed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.review-card-fixed:hover .review-fixed-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* 3. 内容容器 (填充剩余空间) */
.review-fixed-content {
    padding: 15px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* 【关键修改】：强制左对齐 */
    text-align: left;
}

/* 4. 文字区域 */
.review-fixed-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 400;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 5. 用户信息 (固定在底部) */
.review-fixed-user {
    display: flex;
    align-items: center;
    margin-top: auto;
}


.review-fixed-user .user-avatar-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

.user-name-text {
    font-size: 12px;
    color: #888;
}

/* 导航按钮 */
.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reviews-swiper {
    padding: 20px 0;
}











/* 排行榜 */
/* 排行榜样式 */
.ranking-container {
    margin-top: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-x: auto;
}

.ranking-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.ranking-header {
    padding: 10px 0;
    border-bottom: 2px solid #eee;
    font-weight: bold;
    color: #666;
}

.ranking-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background-color: #f9f9f9;
}

.rank-number {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    margin: 0 auto;
}

.rank-number.gold {
    background-color: gold;
    color: #333;
}

.rank-number.silver {
    background-color: silver;
    color: #333;
}

.rank-number.bronze {
    background-color: #cd7f32;
    color: white;
}

.collector-info {
    min-width: 80px;
}

.collector-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    margin-bottom: 5px;
}

.collector-name {
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 5px;
}

.country-flag {
    font-size: 18px;
    margin-right: 5px;
}

.collection-value {
    font-weight: bold;
    color: #e74c3c;
}









/* 聊天室样式*/
.chat-header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 20px 20px 0 0;
    color: rgb(26, 26, 26);
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.chat-messages {
    height: 650px;
    padding: 15px;
    overflow-y: auto;
}

.message {
    display: flex;
    margin-bottom: 15px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.message-content {
    max-width: 70%;
}

.message-info {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.message-name {
    font-weight: bold;
    margin-right: 10px;
}

.message-country {
    font-size: 12px;
    color: #666;
    margin-right: 10px;
}

.message-time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

.message-text {
    padding: 10px;
    border-radius: 5px;
    line-height: 1.4;
}

.other-message .message-text {
    background-color: #f1f1f1;
}

.my-message {
    justify-content: flex-end;
}

.my-message .message-content {
    order: -1;
    text-align: right;
}

.my-message .message-info {
    justify-content: flex-end;
}

.my-message .message-avatar {
    margin-right: 0;
    margin-left: 10px;
}

.my-message .message-text {
    background-color: #2196F3;
    color: white;
}

/* 新增样式：自己的消息国家在前 */
.my-message .message-country {
    order: -1;
    margin-right: 5px;
    margin-left: 0;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    background-color: #f8f8f8;
    border-radius: 0 0 20px 20px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    border-radius: 20px 0 0 20px;
}

.chat-input button {
    padding: 10px 20px;
    background-color: #202020;
    color: white;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}





/* 关于我们 */
:root {
    --black: #1a1a1a;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #e6e6e6;
    --white: #f8f8f8;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--black);
    text-align: center;
    margin: 80px 0 60px;
    letter-spacing: 5px;
    text-transform: uppercase;
    position: relative;
}

.page-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: var(--medium-gray);
    margin: 30px auto;
}

/* 章节样式 */
.section {
    margin-bottom: 100px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: var(--medium-gray);
}

/* 创始人部分 */
.founder-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.founder-image {
    flex: 1;
    min-width: 300px;
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-info {
    flex: 1;
    min-width: 300px;
}

.founder-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.founder-detail {
    margin-bottom: 15px;
    color: var(--medium-gray);
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 50px;
    margin: 60px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--light-gray);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -50px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--black);
}

.timeline-year {
    font-weight: 500;
    color: var(--black);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* 特色部分 */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.feature-item {
    padding: 30px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--black);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--black);
}

/* 使命宣言 */
.mission-statement {
    background-color: var(--black);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    margin: 100px 0;
}

.mission-quote {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 30px;
    font-style: italic;
}










/* 商品详情页面 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* 自定义字体大小 */
.product-title {
    font-size: 2.25rem;
    font-weight: bold;
}


.product-price {
    font-size: 2rem;
    font-weight: bold;
}


.buy-btn-gradient {
    background: linear-gradient(90deg, rgb(255, 119, 0), rgb(255, 73, 0));
}

.spxq {
    padding-left: 30px;
}










/* 在屏幕宽度小于995px */
@media (max-width: 995px) {
    

    /* 头部底部导航栏样式开始 */
    .top-bar .d-flex.gap-4 {
        display: none !important;
    }

    .bi-person {
        display: none !important;
    }


    .top-bar .d-flex.gap-2.align-items-center {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .navbar .menu-button {
        display: block;
    }

    .row {
        display: flex;
    }

    .box {
        width: 100%;
        /* 让每个格子的宽度为100% */
        padding-left: 0 !important;
        padding-top: clamp(50px, 3vw, 50px) !important;
    }

    /* 头部底部导航栏样式结束 */



    /* 商品样式开始 */
    .work-card {
        transition: box-shadow 0.3s;
        /* 移除 transform 动画 */
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        height: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .work-card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }


    /* 鼠标悬停时图片放大 */
    .col-xl-3:hover .work-image,
    .col-lg-4:hover .work-image,
    .col-md-6:hover .work-image,
    .col-sm-6:hover .work-image,
    .col-6:hover .work-image {
        transform: scale(1.05);
    }

    .card-body {
        height: 23%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }




    .work-rating {
        font-size: 0.9rem;
        position: absolute;
        top: 10px;
        left: 10px;
        background: rgba(255, 255, 255, 0.9);
        padding: 5px 10px;
        border-radius: 12px;
        backdrop-filter: blur(5px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }


    /* 商品样式结束 */

    /* 排行榜 */
    .ranking-container {
        padding: 10px;
    }

    .ranking-header {
        font-size: 14px;
    }

    .ranking-item {
        font-size: 14px;
        padding: 10px 0;
    }

    .collector-avatar {
        width: 35px;
        height: 35px;
    }

    .rank-number {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .country-flag {
        font-size: 16px;
    }

    .collector-info {
        min-width: 70px;
    }


    /* 群聊发送消息框 */
    .chat-input {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: white;
        padding: 10px;
        display: flex;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0;
    }

    .chat-input input {
        flex-grow: 1;

    }

    .chat-messages {
        padding-bottom: 70px;
        /* 为输入框留出空间 */
    }



    .spxq {
        padding-left: 0;
        padding-top: 30px;

    }

}

/* 在屏幕宽度大于995px */
@media (min-width: 995px) {

    /* 头部底部导航栏样式开始 */
    .navbar .menu-button {
        display: none;
    }

    .row {
        display: flex;
        flex-direction: row;
    }

    .box {
        padding-top: clamp(50px, 3vw, 50px) !important;
    }

    /* 头部底部导航栏样式结束 */
}




/* 响应式调整 */
@media (max-width: 1024px) {
    .masonry-column {
        min-width: calc(33.33% - 13.33px);
    }
}

@media (max-width: 640px) {
    .masonry-column {
        min-width: calc(50% - 10px);
        /* 始终至少保持两列 */
    }

    .masonry-title {
        font-size: 14px;
    }

    .user-name,
    .likes {
        font-size: 12px;
    }
}