/* 基础重置与移动优化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body.mobile-optimized {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* 类App导航栏 */
.app-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding-top: env(safe-area-inset-top);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #202124;
}

.logo span {
    color: #1a73e8;
}

.menu-toggle, .filter-toggle, .search-toggle, .back-button {
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    font-size: 1.2rem;
    color: #5f6368;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.menu-toggle:hover, .filter-toggle:hover {
    background: #f1f3f4;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #eee;
    padding: 16px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    color: #5f6368;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1rem;
}

.mobile-menu a i {
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.mobile-menu a.active {
    color: #1a73e8;
    font-weight: 600;
}

.menu-categories {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #f5f5f5;
}

/* 分类筛选器 */
.category-filters {
    display: flex;
    overflow-x: auto;
    padding: 12px 16px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

/* 主内容区 */
.app-main {
    margin-top: calc(88px + env(safe-area-inset-top));
    padding: 0 16px 80px;
    min-height: calc(100vh - 160px);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.hero-content p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* 域名卡片网格 */
.domains-section {
    margin-bottom: 32px;
}

.domains-section h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-section {
    margin-bottom: 24px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #5f6368;
}

.count-badge {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* 域名卡片 */
.domain-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
}

.domain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

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

.domain-icon {
    font-size: 1.8rem;
}

.domain-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.domain-status {
    font-size: 0.75rem;
    color: #34a853;
    font-weight: 600;
}

.highlight-badge {
    background: #fbbc04;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.card-body {
    padding: 0 16px 16px;
}

.domain-name {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 1.1rem;
    color: #1a73e8;
    margin-bottom: 4px;
}

.domain-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #202124;
}

.domain-tagline {
    font-size: 0.9rem;
    color: #5f6368;
    line-height: 1.4;
}

.card-footer {
    padding: 12px 16px;
    border-top: 1px solid #f5f5f5;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 博客预览 */
.blog-preview {
    margin-top: 32px;
}

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

.view-all {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.article-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.article-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #80868b;
    margin-bottom: 8px;
}

.article-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #202124;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #5f6368;
    line-height: 1.5;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    background: #f1f3f4;
    color: #5f6368;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #5f6368;
    font-size: 0.8rem;
    flex: 1;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #1a73e8;
}

/* 详情页样式 */
.detail-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    padding-top: calc(12px + env(safe-area-inset-top));
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.detail-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202124;
}

.detail-main {
    margin-top: calc(60px + env(safe-area-inset-top));
    padding: 16px 16px 80px;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .app-main {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-menu {
        display: none !important;
    }
    
    .bottom-nav {
        display: none;
    }
}

@media (max-width: 767px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .category-filters {
        padding: 8px 12px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* 安全区域适配 */
@supports (padding: max(0px)) {
    .app-main, .detail-main {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .bottom-nav {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
}
/* ============================================
   DOMAIN DETAIL PAGE STYLES (domain.php)
   ============================================ */

/* 详情页专属布局 */
.detail-main {
    animation: fadeIn 0.3s ease;
}

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

/* 域名概览区域 */
.domain-overview {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-top: 6px solid #1a73e8;
}

.domain-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.domain-icon-large {
    font-size: 3.5rem;
    min-width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.domain-name-large {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 1.8rem;
    color: #1a73e8;
    margin-bottom: 8px;
    word-break: break-all;
}

.domain-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.domain-category {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.domain-status {
    padding: 6px 14px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.domain-status::before {
    content: "✓";
    font-weight: bold;
}

.domain-title-large {
    font-size: 1.6rem;
    color: #202124;
    margin-bottom: 10px;
    line-height: 1.3;
}

.domain-tagline-large {
    font-size: 1.1rem;
    color: #5f6368;
    margin-bottom: 25px;
    line-height: 1.5;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.domain-description h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 8px;
}

.domain-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: #3c4043;
    padding-left: 28px;
}

/* 核心亮点区域 */
.highlights-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.highlights-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #1a73e8;
    transition: transform 0.2s, box-shadow 0.2s;
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.highlight-icon {
    font-size: 1.3rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.highlight-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #3c4043;
    margin: 0;
    flex: 1;
}

/* 相关文章区域 */
.related-articles {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.related-articles h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 行动号召区域 */
.cta-section {
    margin-bottom: 40px;
}

.cta-card {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

.cta-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.cta-card p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: white;
    color: #1a73e8;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* 模态框样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: #202124;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #5f6368;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #f5f5f5;
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    margin-bottom: 20px;
    color: #5f6368;
    font-size: 1rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.3);
}

/* 详情页响应式调整 */
@media (max-width: 767px) {
    .domain-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .domain-icon-large {
        min-width: 70px;
        height: 70px;
        font-size: 2.8rem;
    }
    
    .domain-name-large {
        font-size: 1.5rem;
    }
    
    .domain-title-large {
        font-size: 1.3rem;
    }
    
    .domain-tagline-large {
        font-size: 1rem;
    }
    
    .domain-description p {
        padding-left: 0;
    }
    
    .cta-card {
        padding: 24px 20px;
    }
    
    .cta-card i {
        font-size: 2.5rem;
    }
    
    .cta-card h3 {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    .detail-main {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .domain-overview,
    .highlights-section,
    .related-articles {
        padding: 32px;
    }
}
/* ============================================
   BLOG PAGE STYLES (blog.php)
   ============================================ */

/* 博客页面专属布局 */
.blog-main {
    animation: fadeIn 0.4s ease;
    margin-top: calc(60px + env(safe-area-inset-top));
    padding: 0 16px 80px;
    min-height: calc(100vh - 140px);
}

/* 搜索栏样式 */
.search-bar {
    display: none;
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.search-bar.active {
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #1a73e8;
}

.search-button {
    background: #1a73e8;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-button:hover {
    background: #0d62d9;
}

/* 标签筛选区域 */
.tags-section {
   
    background: white;
    padding: 16px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tags-container {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tags-container::-webkit-scrollbar {
    display: none;
}

.tag-filter {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #5f6368;
}

.tag-filter:hover {
    border-color: #1a73e8;
    color: #1a73e8;
    transform: translateY(-2px);
}

.tag-filter.active {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: white;
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

/* 文章列表区域 */
.articles-section {
    margin-top: 20px;
}

.articles-section h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: #202124;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 文章卡片样式 */
.blog-article {
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.article-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #80868b;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta .article-date::before {
    content: "📅";
    font-size: 0.9em;
}

.article-meta .article-author::before {
    content: "👤";
    font-size: 0.9em;
}

.article-meta .article-readtime::before {
    content: "⏱️";
    font-size: 0.9em;
}

.article-title {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #202124;
    margin: 0;
    font-weight: 600;
}

.article-body {
    padding: 20px 24px;
}

.article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #5f6368;
    margin-bottom: 20px;
}

/* 文章标签样式 */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-tags .tag {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 500;
    transition: background 0.3s;
}

.article-tags .tag:hover {
    background: #d2e3fc;
}

/* 相关域名展示 */
.related-domains {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    border-left: 4px solid #34a853;
}

.related-domains p {
    font-size: 0.9rem;
    color: #5f6368;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.domain-tag {
    background: white;
    color: #1a73e8;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    font-family: 'Monaco', 'Consolas', monospace;
    transition: all 0.3s;
}

.domain-tag:hover {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

/* 文章页脚 */
.article-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 25px;
    background: #e8f0fe;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #1a73e8;
    color: white;
    transform: translateX(5px);
}

/* 空状态提示 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #80868b;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dadce0;
}

.no-results h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #5f6368;
}

.no-results p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* 博客页面响应式设计 */
@media (max-width: 767px) {
    .blog-main {
        padding: 0 12px 80px;
        margin-top: calc(56px + env(safe-area-inset-top)); /* 减少顶部间距 */
    }
    
    .tags-section {
        padding: 12px 0 8px; /* 减少内边距 */
        margin-bottom: 15px; /* 减少底部外边距 */
    }
    
    .tags-container {
        gap: 6px; /* 缩小标签间距 */
    }
    
    .tag-filter {
        padding: 6px 12px; /* 缩小标签内边距 */
        font-size: 0.82rem;
    }
    
    .articles-section {
        margin-top: 15px; /* 减少文章区域顶部间距 */
    }
    
    .articles-section h3 {
        margin-bottom: 18px;
        font-size: 1.2rem;
    }
    
    /* 可选：在手机端隐藏分类标题，进一步节省空间 */
    /* .articles-section h3 {
        display: none;
    } */
}
@media (min-width: 768px) {
    .blog-main {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
     .tags-section {
        position: sticky;
        top: 80px;
        z-index: 50;
        background: #f8f9fa;
        border-radius: 12px;
        margin: 0 0 30px;
        padding: 20px;
        transition: all 0.3s;
    }
    
    /* 滚动时稍微缩小，但不覆盖内容 */
    .tags-section.scrolled {
        padding: 15px 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}
    
    .tags-container {
        flex-wrap: wrap;
        overflow-x: visible;
        padding: 0;
    }
    
    .blog-article {
        margin-bottom: 30px;
    }
    
    .articles-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 大桌面端优化 */
@media (min-width: 1200px) {
    .blog-main {
        max-width: 1000px;
    }
    
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .blog-article {
        margin-bottom: 0;
    }
}

/* 暗色模式支持（可选） */
@media (prefers-color-scheme: dark) {
    .blog-main,
    .tags-section {
        background: #1e1e1e;
        color: #e8eaed;
    }
    
    .blog-article {
        background: #2d2d2d;
        border-color: #3c4043;
    }
    
    .article-title {
        color: #e8eaed;
    }
    
    .article-excerpt {
        color: #9aa0a6;
    }
    
    .article-meta {
        color: #9aa0a6;
    }
    
    .tag-filter {
        background: #2d2d2d;
        border-color: #3c4043;
        color: #9aa0a6;
    }
    
    .tag-filter.active {
        background: #1a73e8;
        color: white;
    }
    
    .related-domains {
        background: #2d2d2d;
    }
    
    .domain-tag {
        background: #1e1e1e;
        color: #8ab4f8;
        border-color: #3c4043;
    }
}