/* Extracted from 4，游戏门户热点资讯中心(1)_美观无损H1版.html - style block 1. 内容未删减，仅从 HTML 拆分到 CSS 文件。 */


        /* ================= 世界顶级视觉规范 (巅峰高奢极光青极致统一版) ================= */
        :root {
            /* 核心极光青高奢色盘规范 */
            --primary: #0d9488;        
            --primary-gradient: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
            --primary-light: #ccfbf1;  
            --primary-fade: #f0fdfa;   
            
            /* 手机专属抗疲劳轻雾底 */
            --bg-body: #f5f8fa;        
            --text-main: #334155;
            --text-dark: #0f172a;
            --text-sub: #64748b;
            
            /* 顶级晶体卡片物理属性 */
            --border-light: rgba(13, 148, 136, 0.04);
            --border-glass: rgba(255, 255, 255, 0.9);
            --radius-sm: 12px;
            --radius-md: 20px;
            --radius-lg: 28px;
            
            /* 世界顶级多重环境光透视阴影 */
            --shadow-card: 0 4px 6px -1px rgba(15,23,42,0.01), 0 10px 24px -4px rgba(13,148,136,0.03), 0 16px 30px -8px rgba(15,23,42,0.01);
            --shadow-icon: 0 6px 18px rgba(13, 148, 136, 0.12);
            --shadow-dark: 0 12px 36px rgba(15, 23, 42, 0.05);
            --safe-area-bottom: env(safe-area-inset-bottom, 0px);
            --safe-area-top: env(safe-area-inset-top, 0px);
            
            /* 移动端奢华压感物理级仿生曲线 */
            --spring: cubic-bezier(0.34, 1.56, 0.64, 1); 
            --spring-smooth: cubic-bezier(0.16, 1, 0.3, 1);

            /* 星巴克人文流金标准色 */
            --sb-gold: #cba258;        
            --sb-gold-gradient: linear-gradient(135deg, #f5d085 0%, #cba258 50%, #a37c35 100%);
        }

        html { scroll-behavior: smooth; }

        /* ================= 全局基础排版重调 ================= */
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body {
            -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
            background-color: var(--bg-body); color: var(--text-main); font-size: 14px; line-height: 1.45; overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 20% -10%, rgba(20, 184, 166, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.04) 0%, transparent 45%);
            letter-spacing: -0.015em;
        }
        a { text-decoration: none; color: inherit; }
        ul, li { list-style: none; }
        img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .hide-scrollbar::-webkit-scrollbar { display: none; }
        .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
        
        /* 物理仿真触指回弹微动效 */
        .touch-scale { transition: transform 0.25s var(--spring), background-color 0.25s ease, box-shadow 0.25s ease; }
        .touch-scale:active { transform: scale(0.95) !important; box-shadow: 0 2px 6px rgba(15,23,42,0.01) !important; }
        .app-container { padding-bottom: calc(88px + var(--safe-area-bottom)); }

        @keyframes label-shimmer {
            0% { transform: translateX(-150%) skewX(-25deg); }
            100% { transform: translateX(150%) skewX(-25deg); }
        }

        /* ================= 1. 顶部精细化导航栏 ================= */
        .app-header {
            position: fixed; top: 0; left: 0; right: 0; padding: calc(12px + var(--safe-area-top)) 16px 10px;
            display: flex; flex-direction: column; gap: 12px; z-index: 1000; background: rgba(245, 248, 250, 0.94); transition: all 0.4s var(--spring-smooth);
        }
        .app-header.scrolled {
            background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(230%) blur(32px); -webkit-backdrop-filter: saturate(230%) blur(32px);
            box-shadow: 0 4px 24px rgba(15, 23, 42, 0.01); border-bottom: 0.5px solid rgba(13, 148, 136, 0.1);
        }
        .header-top-row { display: flex; align-items: center; gap: 10px; width: 100%; }
        .header-logo { width: 38px; height: 38px; border-radius: 13px; background: var(--primary-gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-icon); flex-shrink: 0; }
        .search-bar { flex: 1; height: 38px; border-radius: 19px; background: rgba(15, 23, 42, 0.04); display: flex; align-items: center; padding: 0 16px; gap: 8px; color: var(--text-sub); font-size: 13.5px; font-weight: 500; border: 0.5px solid var(--border-glass); }
        .search-bar i { color: var(--primary); font-size: 14px; }

        .header-categories { display: flex; align-items: center; gap: 8px; width: 100%; overflow-x: auto; padding: 2px 0 8px; scroll-padding-left: 16px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
        .cat-nav-item { font-size: 13.5px; font-weight: 700; color: #64748b; white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 5px; padding: 7px 15px; border-radius: 18px; background: #fff; border: 0.5px solid var(--border-light); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.01); }
        .cat-nav-item i { font-size: 13px; color: #94a3b8; }
        .cat-nav-item.active { color: #fff; font-weight: 800; background: var(--text-dark); border-color: transparent; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12); }
        .cat-nav-item.active i { color: #5eead4; }
        .header-spacer { height: calc(115px + var(--safe-area-top)); }

        /* ================= 2. 头条巨幕 Banner ================= */
        .hero-news {
            margin: 0 16px 20px; border-radius: var(--radius-lg); overflow: hidden; position: relative;
            aspect-ratio: 16/10; box-shadow: var(--shadow-card); border: 0.5px solid var(--border-light);
            display: block; background: #000;
        }
        .hero-news img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--spring-smooth); opacity: 0.9; }
        .hero-news:active img { transform: scale(1.04); opacity: 1; }
        .hero-overlay {
            position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.96) 0%, rgba(15,23,42,0.2) 65%, transparent 100%);
            display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; pointer-events: none; z-index: 2;
        }
        .hn-tag {
            display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px;
            background: rgba(239, 68, 68, 0.95); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
            color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
            margin-bottom: 10px; align-self: flex-start; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
        }
        .hn-title { font-size: 18px; font-weight: 800; line-height: 1.35; margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,0.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -0.2px;}
        .hn-meta { display: flex; align-items: center; gap: 14px; font-size: 11px; color: rgba(255,255,255,0.85); font-weight: 600; }
        .hn-meta i { margin-right: 4px; opacity: 0.8;}

        /* ================= 通用区块标题 ================= */
        .section-title { font-size: 17px; font-weight: 800; color: var(--text-dark); margin: 24px 16px 14px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.2px;}
        .section-title i { font-size: 18px; }

        /* ================= 3. 24小时热搜榜 ================= */
        .trending-card {
            background: #fff; margin: 0 16px 24px; border-radius: var(--radius-lg); padding: 18px 16px;
            box-shadow: var(--shadow-card); border: 0.5px solid var(--border-light);
        }
        .tr-title { font-size: 15px; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 0.5px solid #f1f5f9;}
        .tr-title i { color: #ef4444; font-size: 16px; }
        
        .tr-list { display: flex; flex-direction: column; }
        .tr-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid #f1f5f9; }
        .tr-item:last-child { border-bottom: none; padding-bottom: 0; }
        .tr-idx { font-size: 16px; font-weight: 900; font-style: italic; color: #cbd5e1; width: 20px; text-align: center; flex-shrink: 0; }
        .tr-item:nth-child(1) .tr-idx { color: #ef4444; font-size: 18px;}
        .tr-item:nth-child(2) .tr-idx { color: #f97316; font-size: 17px;}
        .tr-item:nth-child(3) .tr-idx { color: #f59e0b; }
        .tr-text-box { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 3px;}
        .tr-text { font-size: 14px; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.1px;}
        .tr-date { font-size: 11px; color: #94a3b8; font-weight: 500; display: flex; align-items: center; gap: 4px;}
        .tr-tag { font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 800; background: #fee2e2; color: #ef4444; }

        /* ================= 4. GAME CLAN 精选评测 (横向滚动卡片) ================= */
        .review-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 0 16px 24px; -webkit-overflow-scrolling: touch; }
        .review-card { flex: 0 0 68vw; max-width: 280px; scroll-snap-align: start; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); border: 0.5px solid var(--border-light); overflow: hidden; display: flex; flex-direction: column; text-decoration: none;}
        .rv-img-wrap { width: 100%; height: 32vw; max-height: 140px; position: relative;}
        .rv-score-badge { position: absolute; top: 8px; right: 8px; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fcd34d; font-size: 11px; font-weight: 900; padding: 4px 8px; border-radius: 8px; border: 0.5px solid rgba(255,255,255,0.15);}
        .rv-info { padding: 12px;}
        .rv-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
        .rv-time { font-size: 11px; color: #94a3b8; font-weight: 500; display: flex; align-items: center; gap: 4px;}

        /* ================= 5. 综合信息流 ================= */
        .filter-tabs-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 14px; width: 100%; }
        .filter-tab { padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 700; color: #64748b; background: #fff; border: 0.5px solid var(--border-light); white-space: nowrap; flex-shrink: 0; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.01); transition: all 0.25s var(--spring); }
        .filter-tab.active { color: #fff; font-weight: 800; background: var(--text-dark); border-color: transparent; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12); }

        .news-feed { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; transition: opacity 0.3s ease; }
        .feed-card { display: flex; gap: 12px; background: #fff; border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-card); border: 0.5px solid var(--border-light); align-items: stretch; animation: fadeInCard 0.4s var(--spring-smooth) both; }
        .feed-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
        .feed-title { font-size: 15px; font-weight: 700; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; letter-spacing: -0.1px;}
        .feed-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #94a3b8; font-weight: 500; margin-top: auto;}
        .fm-left { display: flex; align-items: center; gap: 8px; }
        .fm-tag { color: var(--primary); background: var(--primary-light); padding: 2px 6px; border-radius: 4px; font-weight: 700; }
        .fm-tag.review { color: #c2410c; background: #ffedd5; }
        .fm-tag.guide { color: #1d4ed8; background: #dbeafe; }
        .feed-img-wrap { width: 112px; height: 78px; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; border: 0.5px solid var(--border-light);}

        /* 智能交互状态指示栏 */
        .load-more-btn { 
            margin: 0 16px 40px; padding: 14px; background: #fff; border-radius: 16px; 
            text-align: center; color: var(--primary); font-size: 13px; font-weight: 800; 
            box-shadow: var(--shadow-card); border: 0.5px solid var(--border-light);
            display: flex; align-items: center; justify-content: center; gap: 6px;
            cursor: pointer; transition: all 0.25s var(--spring);
        }
        .load-more-btn i.fa-spinner { display: none; animation: spin 1s linear infinite; }
        
        /* 封顶数据枯竭状态样式 */
        .load-more-btn.ended {
            background: transparent; box-shadow: none; border: none;
            color: #94a3b8; font-weight: 500; font-size: 12px; cursor: default; pointer-events: none;
        }

        @keyframes fadeInCard {
            from { opacity: 0; transform: translateY(16px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        /* ================= 6. 全屏渐进式仿 iOS 毛玻璃双通道搜索遮罩 ================= */
        .search-overlay { 
            position: fixed; inset: 0; background: rgba(245, 248, 250, 0); 
            z-index: 2000; display: flex; flex-direction: column; 
            transform: translateY(6%); opacity: 0; pointer-events: none; 
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, backdrop-filter 0.4s ease; 
        }
        .search-overlay.active { 
            transform: translateY(0); opacity: 1; pointer-events: auto; 
            background: rgba(245, 248, 250, 0.86);
            backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
        }
        
        .so-header { padding: calc(14px + var(--safe-area-top)) 16px 12px; display: flex; align-items: center; gap: 14px; background: #fff; border-bottom: 0.5px solid rgba(15,23,42,0.03); }
        
        /* 搜索框聚焦柔和极光青呼吸阴影微动效 */
        .so-search-box { flex: 1; height: 40px; border-radius: 20px; background: #f1f5f9; display: flex; align-items: center; padding: 0 16px; gap: 8px; border: 0.5px solid rgba(15,23,42,0.01); transition: all 0.3s ease; }
        .so-search-box.focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-light); }
        .so-search-box i.fa-search { color: var(--primary); font-size: 14px; flex-shrink: 0; }
        .so-search-box input { flex: 1; background: transparent; border: none; outline: none; font-size: 14.5px; color: var(--text-dark); font-weight: 600; width: 100%; }
        
        /* 真搜索框 iOS 原生极简一键清除按钮 */
        .search-clear { color: #94a3b8; font-size: 15px; display: none; cursor: pointer; padding: 4px; flex-shrink: 0; }
        .so-cancel { font-size: 14.5px; color: var(--text-dark); font-weight: 800; padding: 0 2px; }
        
        .so-discover-container { flex: 1; overflow-y: auto; padding: 20px 16px 40px; }
        .so-discover-title { font-size: 15px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.01em; margin-bottom: 16px; display: flex; align-items: center; gap: 5px; }
        
        .so-tabs-bar { display: flex; padding: 3px; background: rgba(15,23,42,0.04); border-radius: 12px; margin-bottom: 18px; }
        .so-tab-nav { flex: 1; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--text-sub); padding: 9px 0; border-radius: 9px; transition: all 0.2s ease; cursor: pointer; display: flex; align-items: center; justify-content: center; }
        .so-tab-nav.active { color: var(--text-dark); font-weight: 900; background: #fff; box-shadow: 0 3px 10px rgba(15,23,42,0.02); }

        .so-panels-container { position: relative; }
        .so-panel { display: none; }
        .so-panel.active { display: block; }
        
        .so-hot-grid { display: flex; flex-direction: column; gap: 10px; }
        .so-hot-item { display: flex; align-items: center; padding: 12px 14px; background: #fff; border-radius: 16px; box-shadow: 0 3px 10px rgba(15,23,42,0.01); border: 0.5px solid rgba(15,23,42,0.02); }
        .so-hot-item:active { background: var(--primary-light); }
        .so-hot-idx { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 900; color: #94a3b8; font-style: italic; background: #f1f5f9; margin-right: 12px; flex-shrink: 0; }
        
        .so-hot-item:nth-child(1) .so-hot-idx { background: var(--sb-gold-gradient); color: #fff; font-style: normal; box-shadow: 0 3px 6px rgba(203, 162, 88, 0.3); }
        .so-hot-item:nth-child(2) .so-hot-idx { background: var(--primary-gradient); color: #fff; font-style: normal; box-shadow: 0 3px 6px rgba(20,184,166,0.2); }
        .so-hot-item:nth-child(3) .so-hot-idx { background: linear-gradient(135deg, #2dd4bf 0%, #99f6e4 100%); color: #fff; font-style: normal; }
        
        .so-meta-block { flex: 1; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
        .so-hot-name { font-size: 14.5px; font-weight: 800; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .so-hot-sub { font-size: 11.5px; font-weight: 500; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        
        .so-hot-tag { font-size: 10px; padding: 2.5px 7px; border-radius: 6px; margin-left: 8px; font-weight: 900; flex-shrink: 0; position: relative; overflow: hidden;}
        .so-hot-tag::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); transform: translateX(-100%); animation: label-shimmer 2s infinite ease-in-out; }
        .tag-hot { background: #ffe4e6; color: #f43f5e; } 
        .tag-new { background: var(--primary-light); color: var(--primary); }
        .tag-trend { background: #dcfce7; color: #22c55e; }
        .tag-recom { background: #f3e8ff; color: #a855f7; }

        /* ================= 7. 仿 iOS 磁吸悬浮底部导航栏 (重构升级版) ================= */
        .bottom-tab-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(210%) blur(32px); -webkit-backdrop-filter: saturate(210%) blur(32px); border-top: 0.5px solid rgba(15, 23, 42, 0.04); display: flex; justify-content: space-around; align-items: center; padding-bottom: var(--safe-area-bottom); height: calc(66px + var(--safe-area-bottom)); z-index: 1000; box-shadow: 0 -6px 30px rgba(15,23,42,0.01); }
        .tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 22%; height: 100%; color: #94a3b8; gap: 4px; text-align: center; }
        .tab-icon-wrap { position: relative; width: 52px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--spring); font-size: 18px; }
        .tab-icon { z-index: 2; transition: transform 0.4s var(--spring), color 0.3s ease; }
        .tab-text { font-size: 10px; font-weight: 700; white-space: nowrap; letter-spacing: -0.2px; transition: color 0.3s ease; }
        .tab-item.active { color: var(--text-dark); }
        .tab-item.active .tab-icon-wrap { background: var(--primary-light); width: 60px; transform: scale(1.03); }
        .tab-item.active .tab-icon { transform: scale(1.15); color: var(--primary); }
        .tab-item.active .tab-text { font-weight: 900; color: var(--text-dark); }
    
/* H1 标签语义化，不新增视觉区块 */
h1 { margin-top: 0; }
.banner-overlay h1 { font-size: inherit; font-weight: inherit; margin: 0 0 4px; letter-spacing: inherit; }
.m-hero h1 { font-size: inherit; line-height: inherit; font-weight: inherit; margin: 0; }
h1.sec-title, h1.matrix-sec-title, h1.section-title, h1.hero-title, h1.hn-title, h1.search-stats { margin-top: 0; }

