/* community 页面样式 */

/* ======== 从 community.html 抽取的内联样式（2026-07-18） ======== */
/* 原 <style> 块 1 */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Noto Serif SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
            margin-top: 80px;
            padding-bottom: 100px;
        }
        
        /* 五星优化：添加页面加载动画 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* 五星优化：添加内容卡片动画 */
        .welcome-banner, .community-section {
            animation: fadeInUp 0.6s ease-out;
        }
        
        .community-page {
            min-height: calc(100vh - 80px);
            padding: 20px 0;
        }
        
        .welcome-banner {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 40px;
            margin: 0 auto 30px;
            max-width: 1200px;
            text-align: center;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .welcome-title {
            font-size: 36px;
            color: #2c3e50;
            margin-bottom: 15px;
            font-weight: bold;
        }
        
        .welcome-subtitle {
            font-size: 18px;
            color: #666;
            margin-bottom: 30px;
        }
        
        .feature-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .feature-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }
        
        .feature-title {
            font-size: 18px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .feature-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }
        
        .community-stats-overview {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            margin: 30px auto;
            max-width: 1200px;
            backdrop-filter: blur(10px);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .stat-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        .stat-number {
            font-size: 32px;
            font-weight: bold;
            color: #3498db;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            color: #666;
        }
        
        .quick-actions {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            margin: 30px auto;
            max-width: 1200px;
            backdrop-filter: blur(10px);
        }
        
        .actions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }
        
        .action-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 15px 20px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }
        
        .recent-activity {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            margin: 30px auto;
            max-width: 1200px;
            backdrop-filter: blur(10px);
        }
        
        .activity-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            background: white;
            border-radius: 10px;
            margin-bottom: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .activity-item:hover {
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
            transform: translateX(5px);
        }
        
        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        
        .activity-content {
            flex: 1;
        }
        
        .activity-title {
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .activity-description {
            font-size: 14px;
            color: #666;
        }
        
        .activity-time {
            font-size: 12px;
            color: #999;
        }
        
        .trending-topics {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            margin: 30px auto;
            max-width: 1200px;
            backdrop-filter: blur(10px);
        }
        
        .topic-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }
        
        .topic-tag {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: bold;
        }
        
        .topic-tag:hover {
            transform: scale(1.05);
            box-shadow: 0 3px 10px rgba(240, 147, 251, 0.4);
        }
        
        .integration-showcase {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            margin: 30px auto;
            max-width: 1200px;
            backdrop-filter: blur(10px);
        }
        
        .integration-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .integration-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }
        
        .integration-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c);
        }
        
        .integration-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .integration-icon {
            font-size: 32px;
        }
        
        .integration-title {
            font-size: 18px;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .integration-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 15px;
        }
        
        .integration-demo {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            font-family: 'SimSun', serif;
            font-size: 14px;
            line-height: 1.6;
            color: #333;
        }
        
        .footer-info {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 30px;
            margin: 30px auto 20px;
            max-width: 1200px;
            text-align: center;
            backdrop-filter: blur(10px);
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .footer-link {
            color: #3498db;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }
        
        .footer-link:hover {
            color: #2980b9;
        }
        
        .copyright {
            color: #666;
            font-size: 14px;
            border-top: 1px solid #eee;
            padding-top: 20px;
        }
        
        @media (max-width: 768px) {
            .community-page {
                padding: 10px;
            }
            
            .welcome-banner {
                padding: 30px 20px;
                margin: 0 10px 20px;
            }
            
            .welcome-title {
                font-size: 28px;
            }
            
            .feature-highlights {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .stats-grid,
            .actions-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-links {
                flex-direction: column;
                gap: 15px;
            }
        }
        
        /* ====== 增强交互效果 ====== */
        
        /* 帖子卡片入场动画 */
        .post-card {
            animation: postSlideIn 0.5s ease-out backwards;
        }
        
        .post-card:nth-child(1) { animation-delay: 0.1s; }
        .post-card:nth-child(2) { animation-delay: 0.2s; }
        .post-card:nth-child(3) { animation-delay: 0.3s; }
        .post-card:nth-child(4) { animation-delay: 0.4s; }
        .post-card:nth-child(5) { animation-delay: 0.5s; }
        
        @keyframes postSlideIn {
            0% { opacity: 0; transform: translateY(20px) scale(0.98); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        
        /* 帖子卡片悬浮效果 */
        .post-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .post-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
        }
        
        /* 点赞按钮跳动动画 */
        .like-btn {
            transition: all 0.2s ease;
        }
        
        .like-btn.liked {
            animation: likeBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }
        
        @keyframes likeBounce {
            0% { transform: scale(1); }
            50% { transform: scale(1.4); }
            100% { transform: scale(1); }
        }
        
        /* 评论按钮波纹效果 */
        .comment-btn, .share-btn {
            position: relative;
            overflow: hidden;
        }
        
        .comment-btn::after, .share-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(218, 165, 32, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease-out, height 0.4s ease-out;
        }
        
        .comment-btn:active::after, .share-btn:active::after {
            width: 200%;
            height: 200%;
        }
        
        /* 评论输入框聚焦效果 */
        .comment-input {
            transition: all 0.3s ease;
        }
        
        .comment-input:focus {
            border-color: var(--tang-gold);
            box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
            transform: scale(1.01);
        }
        
        /* 评论列表滑入动画 */
        .comment-item {
            animation: commentSlideIn 0.4s ease-out backwards;
            padding: 15px;
            background: rgba(139,69,19,0.03);
            border-radius: 10px;
            margin-bottom: 10px;
            border-left: 3px solid #DAA520;
            display: flex;
            gap: 12px;
        }
        
        .comment-item:last-child {
            margin-bottom: 0;
        }
        
        .comment-avatar {
            font-size: 24px;
            flex-shrink: 0;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-author {
            font-weight: bold;
            color: #8B4513;
            margin-bottom: 4px;
            font-size: 14px;
        }
        
        .comment-text {
            color: #444;
            font-size: 14px;
            line-height: 1.5;
        }
        
        .comment-time {
            font-size: 12px;
            color: #999;
            margin-top: 4px;
        }
        
        @keyframes commentSlideIn {
            0% { opacity: 0; transform: translateX(-20px) translateY(10px); }
            100% { opacity: 1; transform: translateX(0) translateY(0); }
        }
        
        /* 评论面板样式 */
        .comment-panel {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 30px rgba(0,0,0,0.1);
            margin-top: 15px;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease-out;
            border: 1px solid rgba(139,69,19,0.1);
        }
        
        .comment-panel.open {
            max-height: 250px;
            opacity: 1;
            transform: translateY(0);
        }
        
        .comment-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background: linear-gradient(135deg, rgba(139,69,19,0.05) 0%, rgba(218,165,32,0.05) 100%);
            border-bottom: 1px solid rgba(139,69,19,0.1);
        }
        
        .comment-panel-header h4 {
            margin: 0;
            font-size: 14px;
            color: #8B4513;
        }
        
        .close-comment-btn {
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #999;
            padding: 2px 6px;
            border-radius: 50%;
            transition: all 0.2s;
        }
        
        .close-comment-btn:hover {
            background: rgba(0,0,0,0.1);
            color: #666;
        }
        
        .comment-panel-body {
            padding: 15px;
        }
        
        .submit-comment-btn {
            background: linear-gradient(135deg, #8B4513 0%, #DAA520 100%);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            margin-top: 10px;
            transition: all 0.3s;
        }
        
        .submit-comment-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(139,69,19,0.3);
        }
        
        /* 欢迎横幅脉冲 */
        .welcome-banner {
            animation: bannerPulse 3s ease-in-out infinite;
        }
        
        @keyframes bannerPulse {
            0%, 100% { box-shadow: 0 4px 20px rgba(139, 69, 19, 0.1); }
            50% { box-shadow: 0 8px 35px rgba(139, 69, 19, 0.2); }
        }
        
        /* 统计数字渐变 */
        .stat-number {
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* 标签悬浮效果 */
        .topic-tag {
            transition: all 0.3s ease;
        }
        
        .topic-tag:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
        }
        
        /* 发布按钮心跳 */
        .publish-btn {
            position: relative;
            overflow: hidden;
        }
        
        .publish-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.5s ease-out, height 0.5s ease-out;
        }
        
        .publish-btn:active::after {
            width: 250%;
            height: 250%;
        }
        
        /* 帖子图片悬浮缩放 */
        .post-image {
            transition: transform 0.4s ease;
        }
        
        .post-card:hover .post-image {
            transform: scale(1.05);
        }
        
        /* 关注按钮动画 */
        .follow-btn {
            transition: all 0.3s ease;
        }
        
        .follow-btn.following {
            animation: followToggle 0.3s ease-out;
        }
        
        @keyframes followToggle {
            0% { transform: scale(0.9); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        /* 模态框淡入 */
        .modal-overlay {
            animation: overlayFadeIn 0.3s ease-out;
        }
        
        .modal-content {
            animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes overlayFadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        @keyframes modalSlideIn {
            0% { opacity: 0; transform: scale(0.9) translateY(20px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
        
        /* 点赞粒子特效 */
        .like-particle {
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            animation: likeFloatUp 1.2s ease-out forwards;
            transform-origin: center center;
        }
        
        @keyframes likeFloatUp {
            0% { 
                opacity: 1; 
                transform: translateY(0) translateX(0) scale(1) rotate(var(--rotation, 0deg));
            }
            25% {
                opacity: 1;
                transform: translateY(-40px) translateX(calc(cos(var(--angle, 0rad)) * var(--distance, 30px))) scale(1.2) rotate(var(--rotation, 0deg));
            }
            50% {
                opacity: 0.8;
                transform: translateY(-60px) translateX(calc(cos(var(--angle, 0rad)) * var(--distance, 30px) * 1.5)) scale(1) rotate(var(--rotation, 0deg));
            }
            100% { 
                opacity: 0; 
                transform: translateY(-100px) translateX(calc(cos(var(--angle, 0rad)) * var(--distance, 30px) * 2)) scale(0.3) rotate(var(--rotation, 0deg));
            }
        }

/* 原 <style> 块 2 */
.tang-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%);
      border-top: 4px solid #FFD700;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
      padding: 8px 0;
    }

    .bottom-nav-container {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 10px;
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 8px 10px;
      color: #FFD700;
      text-decoration: none;
      border-radius: 8px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 215, 0, 0.3);
      position: relative;
      overflow: hidden;
      font-family: "SimSun", "STSong", serif;
    }

    .nav-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .nav-item:hover::before {
      left: 100%;
    }

    .nav-item:hover {
      background: linear-gradient(135deg, #DAA520, #FFD700);
      color: #5D4037;
      border-color: #FFD700;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }

    .nav-item.special-link {
      background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.3));
      border-color: #FFD700;
      animation: glow 2s infinite;
    }

    .nav-item.special-link:hover {
      background: linear-gradient(135deg, #FFD700, #FFA500);
      animation: none;
    }

    @keyframes glow {
      0%, 100% { box-shadow: 0 0 5px #FFD700; }
      50% { box-shadow: 0 0 20px #FFD700, 0 0 30px #FFA500; }
    }

    .nav-icon {
      font-size: 18px;
      margin-bottom: 2px;
    }

    .nav-text {
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
    }

    body {
      padding-bottom: 90px;
    }

/* 原内联 style 属性（已转为 class） */
.ih-1u1kjbr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ih-p7c50l {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ih-1rd4175 {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.ih-1p0u5lr {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.ih-jlyw9e {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

.ih-z3ief8 {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

.ih-f5a783 {
    margin-top: 80px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-size: 14px;
    color: #666;
}

.ih-1txpkux {
    color: #3498db;
    text-decoration: none;
}

.ih-18wui1c {
    font-weight: bold;
    color: #2c3e50;
}

.ih-hjm36z {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.ih-civgkg {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.ih-fui1tc {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.ih-1pk0gbn {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin: 30px auto;
    max-width: 1200px;
    backdrop-filter: blur(10px);
}

.ih-fv7gvl {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.ih-twxje2 {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.ih-1f4ofch {
    color: #2c3e50;
    margin-bottom: 15px;
}

.ih-oqpwsa {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ih-1xt8sz9 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ih-12zovbs {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.ih-1hi9xmu {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.ih-1r2vbn7 {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'SimSun', serif;
}

.ih-1l6e4rk {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.ih-3sbvwx {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.ih-11kn4ns {
    text-align: center;
    margin-bottom: 30px;
}

.ih-xfi39 {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.ih-15de4kg {
    margin-top: 10px;
    font-size: 12px;
}

/* ====== 移动端适配补丁（2026-08-03） ====== */
@media (max-width: 768px) {
    /* 固定顶栏避让 + 刘海屏安全区（原 margin-top:80px 顶死） */
    body {
        margin-top: calc(80px + env(safe-area-inset-top, 0px));
    }

    .ih-f5a783 {
        margin-top: calc(80px + env(safe-area-inset-top, 0px));
    }

    /* 发帖表单双列网格折叠为单列 */
    .ih-1xt8sz9 {
        grid-template-columns: 1fr;
    }

    /* 评论面板小屏裁切修复：250px → 70vh 并可滚动 */
    .comment-panel.open {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 欢迎区与卡片留白收敛 */
    .welcome-banner {
        padding: 24px 16px;
    }

    .welcome-title {
        font-size: 26px;
    }
}
