/* ============================================
   前台页面样式
   ============================================ */
   


/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* 基准字体大小 */
}

body {
    font-family: "微软雅黑",-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem; /* 14px */
    line-height: 1.6;
    color: #333;
    background-color: #F6FBFF;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 0.9375rem; /* 15px */
}

.main-content{
    padding: 0 0.5rem;
}

/* ============================================
   头部导航
   ============================================ */
.header {
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.375rem; /* 70px */
    padding: 0 1.25rem; /* 0 20px */
}

/* Logo样式 */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.375rem; /* 22px */
    font-weight: 700;
    color: #1890ff;
}

.logo-icon {
    width: 1.75rem; /* 28px */
    height: 1.75rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.logo-image {
    height: 2.5rem; /* 40px */
    width: auto;
    max-width: 12.5rem; /* 200px */
    margin-right: 0.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    white-space: nowrap;
}

/* 导航菜单 */
.nav {
    display: flex;
    gap: 2.5rem; /* 40px */
    flex: 1;
    justify-content: center;
}

.nav-item {
    color: #333;
    font-size: 0.9375rem; /* 15px */
    font-weight: 400;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover {
    color: #1890ff;
}

.nav-item.active {
    color: #1890ff;
    font-weight: 500;
}

/* 右侧按钮区域 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
}

.btn-header {
    padding: 0.5rem 1.25rem; /* 8px 20px */
    border-radius: 1.25rem; /* 20px */
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    border: none;
}

.btn-order-query {
    background: #1890ff;
    color: #fff;
}

.btn-order-query:hover {
    background: #40a9ff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-nav-item {
    display: block;
    padding: 12px 20px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}


/* ============================================
   搜索区域
   ============================================ */
.search-section {
    padding: 2.5rem 0; /* 40px */
    margin: 5rem 0 0rem 0; /* 32px */
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 50px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 15px;
}

.search-btn {
    padding: 15px 35px;
    background: #1890ff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #40a9ff;
}

/* 搜索结果页的搜索框 */
.search-box-inline {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.search-form {
    display: flex;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.search-form .search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    outline: none;
    font-size: 15px;
}

.search-form .search-btn {
    padding: 15px 35px;
    background: #1890ff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.search-form .search-btn:hover {
    background: #40a9ff;
}

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

.empty-state .layui-icon {
    font-size: 64px;
    margin-bottom: 1rem;
    color: #d9d9d9;
}

.empty-state p {
    font-size: 16px;
    margin: 0.5rem 0;
}

.empty-hint {
    font-size: 14px;
    color: #bbb;
}

/* ============================================
   套餐列表区域
   ============================================ */
.packages-section {
    padding: 0 0 3.125rem 0; /* 50px */
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem; /* 40px */
}

.section-title {
    font-size: 2rem; /* 32px */
    margin-bottom: 0.625rem; /* 10px */
    color: #333;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1rem; /* 16px */
    color: #666;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; /* 20px */
}


.package-card {
    display: flex;
    background: #fff;
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    box-shadow: 0 0.25rem 0.375rem rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.package-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

/* 左侧图片区 */
.package-card-image {
    width: 25%;
    min-width: 7rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    overflow: hidden;
}

.package-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧内容区 */
.package-card-body {
    flex: 1;
    padding: 1rem 1rem 3px 20px; /* 16px */
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* 标题行 */
.package-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px; /* 6px */
    
}

.package-title {
    font-size: 1.18rem; 
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    flex: 1;
    margin: 0;
}

/* 状态标签 */
.package-tags {
    display: flex;
    gap: 0.25rem; /* 4px */
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.tag-badge {
    font-size: 0.8125rem; /* 13px */
    padding: 0.1875rem 0.5rem; /* 3px 8px */
    border-radius: 0.125rem; /* 2px */
    color: #fff;
    white-space: nowrap;
}

.tag-online {
    background: #22c55e;
}

.tag-offline {
    background: #9ca3af;
}

/* 元信息行 */
.package-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem; /* 8px */
    font-size: 0.9375rem; /* 15px */
    color: #6b7280;
    margin-bottom: 0.75rem; /* 12px */
}

.meta-age {
    color: #6b7280;
}

.meta-orders {
    color: #1890ff;
}

.meta-date {
    font-size: 0.8125rem; /* 13px */
    background: #f0fdf4;
    color: #16a34a;
    padding: 0.1875rem 0.4375rem; /* 3px 7px */
    border-radius: 0.125rem; /* 2px */
}

/* 规格网格 */
.package-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem; /* 8px */
    margin-bottom: 0.75rem; /* 12px */
    justify-items:start;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-label {
    font-size: 0.875rem; /* 14px */
    color: #6b7280;
    margin-bottom: 0.125rem; /* 2px */
}

.spec-value {
    font-size: 1.25rem; /* 20px */
    color: #1f2937;
    font-weight: 600;
}

/* 底部区域 */
.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    height: 3.75rem; /* 60px */
}

.package-price-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.package-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.25rem; /* 4px */
}

.price-symbol {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: #1890ff;
}

.price-value {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: #1890ff;
}

.price-unit {
    font-size: 0.9375rem; /* 15px */
    color: #6b7280;
    margin-left: 0.25rem;
}

.package-desc {
    font-size: 0.9375rem; /* 15px */
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-order {
    padding: 0.5625rem 1.125rem; /* 9px 18px */
    background: #2796ff;
    color: #ffffff;
    border: none;
    border-radius: 1.25rem; /* 4px */
    font-size: 0.9375rem; /* 15px */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-order:hover {
    background: #40a9ff;
}

/* 通用按钮样式 */
.btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background: #1890ff;
    color: #fff;
}

.btn-primary:hover {
    background: #40a9ff;
}

.btn-outline {
    background: #fff;
    color: #1890ff;
    border: 1px solid #1890ff;
}

.btn-outline:hover {
    background: #e6f7ff;
}

/* ============================================
   特色服务区域
   ============================================ */
.features-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px 20px;
}

.feature-item i {
    font-size: 48px;
    color: #1890ff;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* ============================================
   底部
   ============================================ */
.footer {
    background: #001529;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin: 0;
    opacity: 0.8;
}

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

.empty-state i {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ============================================
   响应式设计
   ============================================ */

/* 中等屏幕（平板）：2列 */
@media (max-width: 75rem) { /* 1200px */
    html {
        font-size: 15px;
    }
    
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem; /* 20px */
    }
}

/* 小屏幕（手机）：1列 */
@media (max-width: 48rem) { /* 768px */
    html {
        font-size: 14px;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .banner-title {
        font-size: 1.75rem; /* 28px at 16px base */
    }
    
    .banner-subtitle {
        font-size: 0.875rem; /* 14px */
    }
    
    .package-grid {
        grid-template-columns: 1fr;
        gap: 0.9375rem; /* 15px */
    }

    .price-value {
        font-size: 1.25rem; /* 20px */
    }
    
    .section-title {
        font-size: 1.5rem; /* 24px */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-image {
        height: 2rem; /* 32px */
        max-width: 10rem; /* 160px */
    }
    
    .logo a {
        font-size: 1.125rem; /* 18px */
    }
    
    .articles-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 1rem; /* 16px */
    }
    
    .article-cover {
        height: 10rem; /* 160px */
    }
}

/* ============================================
   资讯区域
   ============================================ */
.articles-section {
    padding: 3.125rem 0; /* 50px */
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* 24px */
}

/* 资讯卡片 */
.article-card {
    background: #fff;
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.article-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    transform: translateY(-0.25rem);
}

.article-link {
    display: block;
    color: inherit;
}

/* 封面图区域 */
.article-cover {
    position: relative;
    width: 100%;
    height: 12.5rem; /* 200px */
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-cover img {
    transform: scale(1.1);
}

.article-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    pointer-events: none;
}

/* 封面上的元信息 */
.article-meta-overlay {
    position: absolute;
    bottom: 0.75rem; /* 12px */
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.article-category {
    background: rgba(24, 144, 255, 0.9);
    color: #fff;
    padding: 0.25rem 0.625rem; /* 4px 10px */
    border-radius: 0.25rem; /* 4px */
    font-size: 0.75rem; /* 12px */
    font-weight: 500;
}

.article-date {
    color: #fff;
    font-size: 0.75rem; /* 12px */
    font-weight: 500;
    text-shadow: 0 0.0625rem 0.125rem rgba(0,0,0,0.3);
}

/* 文章内容区域 */
.article-content {
    padding: 1rem; /* 16px */
}

.article-title {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0; /* 0 0 12px 0 */
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-summary {
    font-size: 0.875rem; /* 14px */
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 0.75rem 0; /* 0 0 12px 0 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem; /* 6px */
}

.article-tag {
    display: inline-block;
    padding: 0.1875rem 0.5rem; /* 3px 8px */
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem; /* 12px */
    border-radius: 0.25rem; /* 4px */
    transition: all 0.3s;
}

.article-card:hover .article-tag {
    background: #e5e7eb;
    color: #374151;
}

/* ============================================
   查看更多按钮
   ============================================ */
.view-more-section {
    text-align: center;
    margin-top: 3rem; /* 48px */
    padding-bottom: 2rem; /* 32px */
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* 8px */
    padding: 0.875rem 2.5rem; /* 14px 40px */
    background: #1890ff;
    color: #fff;
    font-size: 1rem; /* 16px */
    font-weight: 500;
    border-radius: 1.5625rem; /* 25px */
    transition: all 0.3s;
    box-shadow: 0 0.25rem 0.75rem rgba(24, 144, 255, 0.3);
}

.btn-view-more:hover {
    background: #40a9ff;
    box-shadow: 0 0.375rem 1rem rgba(24, 144, 255, 0.4);
    transform: translateY(-0.125rem);
}

.btn-view-more i {
    font-size: 0.875rem; /* 14px */
    transition: transform 0.3s;
}

.btn-view-more:hover i {
    transform: translateX(0.25rem);
}

/* 超小屏幕优化 */
@media (max-width: 30rem) { /* 480px */
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 0.625rem; /* 10px */
    }
    
    .btn-view-more {
        padding: 0.75rem 2rem; /* 12px 32px */
        font-size: 0.9375rem; /* 15px */
    }
}

/* ============================================
   活动区域样式
   ============================================ */
.activities-section {
    padding: 60px 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.activity-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.activity-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.activity-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.activity-card:nth-child(1) .activity-header {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

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

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

.activity-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.activity-list {
    padding: 20px 24px;
    min-height: 250px;
}

.activity-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.activity-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    /* 限制标题最多1行 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-desc {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    /* 限制内容最多2行，固定高度 */
    height: 41.6px; /* 13px * 1.6 * 2 = 41.6px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.activity-link {
    display: inline-block;
    font-size: 14px;
    color: #1890ff;
    text-decoration: none;
    transition: color 0.3s;
}

.activity-link:hover {
    color: #40a9ff;
    text-decoration: underline;
}

.activity-empty {
    padding: 60px 0;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.activity-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.btn-more-activities {
    display: inline-block;
    color: #1890ff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-more-activities:hover {
    color: #40a9ff;
}

/* 活动区域响应式布局 */
@media (max-width: 992px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================
   列表页样式
   ============================================ */
.list-section {
    padding: 2rem 0;
    background: #F6FBFF;
    min-height: calc(100vh - 300px);
}

/* 筛选栏样式调整 */
.list-section .layui-card {
    margin-bottom: 2rem;
}

.list-section .layui-form-item {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.list-section .layui-form-label {
    width: 120px;
    font-weight: 500;
    line-height: 38px;
    padding: 9px 15px;
}

.list-section .layui-input-block {
    margin-left: 0px;

}

.list-section .layui-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.list-section .layui-btn-group .layui-btn {
    margin: 0;
    padding: 0 20px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
}

/* 分页样式 */
.pagination-wrap {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
}

/* 活动列表卡片样式 */
.activity-list-card {
    transition: all 0.3s;
    height: 100%;
}

.activity-list-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.activity-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-card-title h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-operator-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: #fff;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.activity-operator-badge.mobile {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-operator-badge.unicom {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-operator-badge.telecom {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

.activity-operator-badge.broadcast {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.activity-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-card-content .activity-desc {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.9375rem;
    margin: 0;
}

.activity-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.activity-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.activity-meta .layui-icon {
    font-size: 1rem;
}

.activity-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
}

.activity-actions .layui-btn {
    flex: 1;
}

/* 响应式设计 - 列表页 */
@media (max-width: 768px) {
    .list-section {
        padding: 1rem 0;
    }
    
    .list-section .section-header {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .list-section .section-title {
        font-size: 1.5rem;
    }
    
    .list-section .section-subtitle {
        font-size: 0.875rem;
    }
    
    .list-section .layui-card {
        margin: 0 1rem 1.5rem;
    }
    
    .list-section .layui-form-item {
        display: block;
    }
    
    .list-section .layui-form-label {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
        float: none;
        display: block;
    }
    
    .list-section .layui-input-block {
        margin-left: 0;
        display: block;
        text-align: center;
        padding: 10px 15px;
    }
    
    .list-section .layui-btn-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .list-section .layui-btn-group .layui-btn {
        margin: 0;
        flex: 0 0 auto;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .list-section .layui-btn-group .layui-btn {
        padding: 0 15px;
        font-size: 13px;
    }
    
    .list-section .section-title {
        font-size: 1.25rem;
    }
    
    /* 活动卡片在手机端优化 */
    .activity-list-card .layui-card-header {
        padding: 10px 15px;
    }
    
    .activity-card-title h3 {
        font-size: 1rem;
    }
    
    .activity-operator-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}
