/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 隐藏滚动条但保持滚动功能 */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}

.community-feed, .lottery-list, .tab-pane {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.community-feed::-webkit-scrollbar, .lottery-list::-webkit-scrollbar, .tab-pane::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: #333;
    background: #f7f8fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.share-page {
    min-height: 100vh;
    background: #f7f8fa;
    padding-bottom: calc(60px + env(safe-area-inset-bottom)); /* 调整底部padding，确保内容不被导航栏遮挡 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* 选项卡样式 */
.tabs {
    background: #fff;
    width: 100%;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    color: #666;
    position: relative;
    cursor: pointer;
}

.tab-item.active {
    color: #1677ff;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #1677ff;
}

.tab-content {
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-pane {
    display: none;
    overflow-y: auto;
    height: calc(100vh - 50px); /* 调整高度，确保不会导致底部导航栏上移 */
    padding-bottom: 60px !important;
}

.tab-pane.active {
    display: block;
}

/* 社区部分 */
.community-section {
    padding: 12px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 4px 12px;
}

.section-header:first-child {
    margin-top: 4px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.edit-link {
    font-size: 14px;
    color: #1677ff;
    cursor: pointer;
    padding: 4px 8px;
}

.edit-link:hover {
    opacity: 0.8;
}

.edit-link:active {
    opacity: 0.6;
}

.category-tabs {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    margin: 18px 0 12px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    font-size: 18px;
    color: #666;
    padding: 8px 28px;
    border-radius: 24px;
    cursor: pointer;
    position: relative;
    background: #f5f7fa;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    box-shadow: 0 2px 8px rgba(22,119,255,0.04);
    border: 2px solid transparent;
}

.category-tab:hover {
    color: #1677ff;
    background: #e6f0ff;
}

.category-tab.active {
    color: #fff;
    background: linear-gradient(90deg,#1677ff 60%,#49b1f5 100%);
    border: 2px solid #1677ff;
    box-shadow: 0 4px 16px rgba(22,119,255,0.10);
    font-weight: 700;
    letter-spacing: 1px;
}

.category-tab.active::after {
    display: none;
}

/* 平台官方网格样式 - 优化数藏明星榜单 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 0 auto 8px;
    padding: 8px 12px;
    max-width: 400px;
}

.platform-item {
    background: #fff;
    border-radius: 8px;
    padding: 6px 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.platform-item:active {
    transform: scale(0.95);
    background-color: #f9f9f9;
}

.platform-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 虚位以待样式 */
.platform-item.vacant-platform {
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed #ddd;
}

.platform-item.vacant-platform .platform-logo {
    background: rgba(0, 0, 0, 0.03);
    box-shadow: none;
}

.platform-item.vacant-platform .platform-logo img {
    opacity: 0.4;
}

.platform-item.vacant-platform .platform-info .platform-name, 
.platform-item.vacant-platform .platform-info .platform-desc {
    color: #aaa;
}

.vacant-badge {
    position: absolute;
    right: -6px;
    top: -4px;
    background: #ddd;
    color: #888;
    font-size: 9px;
    height: 14px;
    line-height: 14px;
    padding: 0 4px;
    border-radius: 7px;
    white-space: nowrap;
    z-index: 1;
}

.platform-logo {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: visible;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.platform-logo img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
}

/* 明星标签样式 */
.verified-badge {
    position: absolute;
    right: -5px;
    top: -3px;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: #fff;
    font-size: 8px;
    height: 14px;
    line-height: 14px;
    padding: 0 4px;
    border-radius: 7px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(22, 119, 255, 0.2);
    z-index: 1;
    min-width: 20px;
    text-align: center;
}

.community-name .verified-badge {
    position: relative;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #1677ff, #4096ff);
    color: white;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 2px;
    font-weight: normal;
    white-space: nowrap;
    width: auto;
    min-width: 36px;
    text-align: center;
    display: inline-block;
    box-shadow: none;
    height: auto;
    line-height: 1.4;
}

.platform-info {
    text-align: center;
    width: 100%;
}

.platform-name {
    font-size: 10px;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95%;
    margin: 0 auto;
}

.platform-desc {
    font-size: 9px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95%;
    margin: 0 auto;
}

/* 朋友圈风格的社区Feed */
.community-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-post {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
    margin-bottom: 2px;
}

.community-post:active {
    transform: scale(0.98);
}

.community-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    padding-right: 15px;
}

.community-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 1px solid #f0f0f0;
    position: relative;
}

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

.community-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.community-info {
    flex: 1;
    min-width: 0;
    padding-right: 5px;
}

.community-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    min-height: 20px;
    max-width: 100%;
}

/* 确保名称本身不会占用过多空间 */
.community-name > span:first-child {
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.community-fans {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 2px;
}

.fans-count {
    color: #1677ff;
    font-weight: 500;
}

.fans-label {
    color: #999;
}

.quality-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: #ff4d4f;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
    z-index: 2;
    width: auto;
    min-width: 70px;
    text-align: center;
    line-height: 1.4;
    height: auto;
    font-weight: 500;
}

.post-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.post-text-area {
    flex: 1;
    min-width: 0;
}

.news-title {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.post-image-square {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

/* 抽奖活动样式 - 进一步紧凑 */
.lottery-list {
    padding: 6px;
}

.lottery-item {
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    position: relative;
    cursor: pointer;
}

/* 固定活动入口样式 - 优化大小和间距 */
.lottery-item.fixed-activity {
    background: linear-gradient(135deg, #f0f7ff, #e6f1ff);
    border: 1px solid #e6f1ff;
    padding: 6px;
    margin-bottom: 6px;
    box-shadow: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lottery-item.fixed-activity:after {
    display: none; /* 移除固定活动入口的箭头 */
}

.lottery-item.fixed-activity .lottery-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.lottery-item.fixed-activity .lottery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lottery-item.fixed-activity .lottery-content {
    width: 100%;
    text-align: center;
}

.lottery-item.fixed-activity .lottery-title {
    font-size: 12px;
    margin-bottom: 1px;
    color: #333;
    font-weight: 500;
}

.lottery-item.fixed-activity .lottery-desc {
    font-size: 10px;
    margin-bottom: 0;
    -webkit-line-clamp: 1;
    color: #666;
}

/* 活动分隔线样式 - 减小间距 */
.lottery-divider {
    display: flex;
    align-items: center;
    margin: 4px 0;
    color: #666;
    font-size: 11px;
}

.lottery-divider::before,
.lottery-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.lottery-divider span {
    padding: 0 6px;
    font-weight: 500;
}

.lottery-item:after {
    content: '\f054'; /* FontAwesome箭头图标 */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lottery-item:active {
    transform: scale(0.98);
}

.lottery-item:active:after {
    color: #1677ff;
    transform: translateY(-50%) translateX(2px);
}

.lottery-image {
    width: 46px;
    height: 46px;
    border-radius: 5px;
    overflow: hidden;
}

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

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

.lottery-title {
    font-size: 12px;
    line-height: 1.2;
    font-weight: normal;
    margin: 0 0 2px;
    color: #333;
}

.lottery-desc {
    font-size: 10px;
    line-height: 1.2;
    color: #666;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 网格布局 - 改为两列显示并减小间距 */
.lottery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 0 6px;
}

.lottery-badge {
    font-size: 8px;
    padding: 1px 3px;
}

.lottery-meta {
    display: flex;
    justify-content: center;
    font-size: 11px;
    color: #999;
    margin-bottom: 0;
}

.lottery-time {
    color: #999;
}

/* 浮动按钮 */
.floating-bubble {
    position: fixed;
    right: 20px;
    bottom: 84px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1677ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.2s;
}

.floating-bubble:active {
    transform: scale(0.95);
}

.floating-bubble i {
    font-size: 14px;
}

/* 管理员相关元素默认隐藏 */
.admin-only {
    display: none;
}

/* 修复底部导航栏遮挡最后一个项目的问题 */
.tab-pane {
    padding-bottom: 60px !important;
}

/* 移除可能导致灰白遮挡的背景 */
.tab-content {
    background: transparent !important;
}

/* 确保最后一个社区项目完全可见 */
.community-feed > *:last-child, 
.lottery-list > *:last-child {
    margin-bottom: 30px;
}

/* 确保页面底部有足够空间 */
html, body {
    height: 100% !important;
    overflow-x: hidden !important;
}

body {
    padding-bottom: 0 !important;
}

.share-page {
    min-height: 100% !important;
    padding-bottom: 60px !important;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .share-page {
        padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important;
    }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 10px 15px;
    }
    
    .platform-logo {
        width: 42px;
        height: 42px;
    }
    
    .platform-name {
        font-size: 10px;
    }
    
    .platform-desc {
        font-size: 8px;
    }
    
    .community-feed {
        gap: 8px;
    }
    
    .community-post {
        padding: 12px;
    }
    
    .community-name {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        min-height: 22px;
    }
    
    .community-name > span:first-child {
        max-width: 80px;
    }
    
    .community-name .verified-badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .quality-badge {
        font-size: 10px;
        right: 8px;
        top: 2px;
        padding: 2px 6px;
        min-width: 65px;
    }
    
    .post-image-square {
        width: 70px;
        height: 70px;
    }
    
    .lottery-item {
        padding: 10px;
    }
    
    .lottery-image {
        width: 50px;
        height: 50px;
    }
    
    .lottery-title {
        font-size: 13px;
    }
    
    .lottery-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 360px) {
    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        padding: 8px 10px;
    }
    
    .platform-logo {
        width: 36px;
        height: 36px;
    }
    
    .verified-badge, .vacant-badge, .ranking-badge {
        font-size: 8px;
        height: 12px;
        line-height: 12px;
        min-width: 20px;
    }
    
    .ranking-badge i {
        font-size: 7px;
    }
    
    .community-avatar {
        width: 30px;
        height: 30px;
        margin-right: 8px;
    }
    
    .community-name > span:first-child {
        max-width: 60px;
    }
    
    .post-image-square {
        width: 60px;
        height: 60px;
    }
    
    .news-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .lottery-image {
        width: 46px;
        height: 46px;
    }
    
    .lottery-title {
        -webkit-line-clamp: 1;
    }
}

/* 平台项目点击样式 */
.platform-item-clicked {
    transform: scale(0.92) !important;
    background-color: #f0f0f0 !important;
    transition: transform 0.1s ease, background-color 0.1s ease !important;
}

@keyframes platform-click-pulse {
    0% { box-shadow: 0 0 0 rgba(22, 119, 255, 0.4); }
    50% { box-shadow: 0 0 10px rgba(22, 119, 255, 0.2); }
    100% { box-shadow: 0 0 0 rgba(22, 119, 255, 0.4); }
}

/* 抽奖弹窗样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.lottery-popup {
    width: 85%;
    max-width: 360px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.popup-header {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f7ff;
}

.popup-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    padding-right: 24px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: -8px;
    border-radius: 50%;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.popup-body {
    padding: 16px;
    overflow-y: auto;
}

.lottery-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.lottery-qrcode img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 8px;
    background-color: white;
}

.scan-tip {
    margin-top: 10px;
    color: #ff4d4f;
    font-size: 14px;
    font-weight: 500;
}

.lottery-details {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 12px;
}

.detail-item {
    margin-bottom: 12px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.detail-item p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* 响应式调整 */
@media (max-width: 360px) {
    .lottery-qrcode img {
        width: 160px;
        height: 160px;
    }
    
    .lottery-popup {
        width: 90%;
    }
}

/* 空内容提示 */
.empty-message {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
    background: #fff;
    border-radius: 12px;
    margin: 20px 0;
}

/* 数藏明星榜单样式 */
.ranking-badge {
    position: absolute;
    left: -5px;
    top: -3px;
    color: #fff;
    font-size: 8px;
    height: 14px;
    line-height: 14px;
    padding: 0 4px;
    border-radius: 7px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1px;
}

.ranking-badge i {
    margin-right: 2px;
    font-size: 7px;
}

/* 数藏明星详情弹窗样式 */
.star-popup {
    width: 85%;
    max-width: 360px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    animation: scaleIn 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.star-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
}

.star-avatar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.star-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    margin-bottom: 8px;
}

.star-ranking {
    display: flex;
    align-items: center;
    background-color: #FFD700;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.star-ranking i {
    margin-right: 3px;
    font-size: 9px;
}

.star-info {
    text-align: center;
}

.star-info h4 {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.star-info p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.star-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
}

.star-qrcode h4 {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.star-qrcode img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 3px;
    background-color: white;
    margin-bottom: 6px;
}

.star-qrcode p {
    font-size: 11px;
    color: #999;
}

/* 数藏明星相关文章样式 */
.star-articles {
    margin: 12px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
}

.star-articles h4 {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-item {
    display: flex;
    background: #fff;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
}

.article-content {
    flex: 1;
    padding-right: 8px;
}

.article-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.article-time {
    font-size: 10px;
    color: #999;
}

.article-image {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 3px;
    overflow: hidden;
}

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

.no-articles {
    text-align: center;
    padding: 12px 0;
    color: #999;
    font-size: 12px;
    background: #fff;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .category-tabs {
        gap: 10px;
        padding: 0 4px;
        margin: 12px 0 8px 0;
    }
    .category-tab {
        font-size: 15px;
        padding: 7px 18px;
        border-radius: 18px;
        min-width: 60px;
        flex: 0 0 auto;
    }
} 