/* Extracted from 10，端游排行榜(1)_美观无损H1版.html - style block 1. 内容未删减，仅从 HTML 拆分到 CSS 文件。 */


        /* ================= 世界顶级视觉规范 (巅峰高奢极光青极致统一版 V2) ================= */
        :root {
            --primary: #0d9488;        
            --primary-gradient: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
            --primary-light: #ccfbf1;  
            --primary-fade: #f0fdfa;   
            --accent: #f97316;         
            
            --bg-body: #f4f7f9;        
            --text-main: #334155;
            --text-dark: #0f172a;
            --text-sub: #64748b;
            
            --border-light: rgba(13, 148, 136, 0.05);
            --border-glass: rgba(255, 255, 255, 0.9);
            --radius-sm: 14px;
            --radius-md: 22px;
            --radius-lg: 30px;
            
            --shadow-card: 0 4px 20px -2px rgba(15,23,42,0.02), 0 12px 30px -4px rgba(13,148,136,0.04);
            --shadow-icon: 0 8px 20px rgba(13, 148, 136, 0.14);
            --shadow-glow: 0 8px 24px -6px rgba(13, 148, 136, 0.15);
            
            --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-gradient: linear-gradient(135deg, #f5d085 0%, #cba258 50%, #a37c35 100%);
            --silver-gradient: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
            --bronze-gradient: linear-gradient(135deg, #fed7aa 0%, #ca8a04 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 15% -5%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 85% 25%, rgba(13, 148, 136, 0.06) 0%, transparent 45%);
            letter-spacing: -0.015em;
        }
        a { text-decoration: none; color: inherit; }
        .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(92px + var(--safe-area-bottom)); }

        @keyframes skeleton-glow {
            0% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .skeleton-loading {
            background: linear-gradient(90deg, #edf7f6 25%, #d1f4ee 37%, #edf7f6 63%);
            background-size: 400% 100%;
            animation: skeleton-glow 1.4s ease infinite;
        }

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

        /* 横向视差裁剪阻断器 */
        .scroll-wrapper-relative { position: relative; width: 100%; }
        .scroll-wrapper-relative::before, .scroll-wrapper-relative::after {
            content: ''; position: absolute; top: 0; bottom: 0; width: 24px; z-index: 5; pointer-events: none;
        }
        .scroll-wrapper-relative::before { left: 0; background: linear-gradient(to right, var(--bg-body), transparent); }
        .scroll-wrapper-relative::after { right: 0; background: linear-gradient(to left, var(--bg-body), transparent); }

        .scroll-wrapper { display: flex; gap: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 20px 18px; }
        .scroll-wrapper > * { scroll-snap-align: start; scroll-snap-stop: always; }

        /* ================= 1. 吸顶沉浸式流体导航栏 ================= */
        .app-header {
            position: fixed; top: 0; left: 0; right: 0; padding: calc(14px + var(--safe-area-top)) 16px 12px;
            display: flex; flex-direction: column; gap: 12px; z-index: 1000; background: rgba(244, 247, 249, 0.94); transition: all 0.4s var(--spring-smooth);
        }
        .app-header.scrolled {
            background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(230%) blur(35px); -webkit-backdrop-filter: saturate(230%) blur(35px);
            box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02); border-bottom: 0.5px solid rgba(13, 148, 136, 0.08);
        }
        .header-top-row { display: flex; align-items: center; gap: 12px; width: 100%; }
        .header-logo { width: 38px; height: 38px; border-radius: 14px; 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-msg { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--text-dark); font-size: 18px; position: relative; box-shadow: 0 2px 10px rgba(15,23,42,0.01); border: 0.5px solid var(--border-light); flex-shrink: 0; }
        .header-msg::after { content: ''; position: absolute; top: 11px; right: 11px; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; border: 1.5px solid #fff; }

        .header-categories { display: flex; align-items: center; gap: 8px; width: 100%; overflow-x: auto; padding: 2px 0 6px; scroll-padding-left: 16px; }
        .cat-item { font-size: 13.5px; font-weight: 700; color: #64748b; white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 5px; padding: 8px 16px; border-radius: 20px; background: #fff; border: 0.5px solid var(--border-light); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.01); }
        .cat-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); }
        .header-spacer { height: calc(120px + var(--safe-area-top)); }

        /* ================= 2. 顶级门户大视野视觉横幅 Hero Banner ================= */
        .m-hero {
            margin: 4px 20px 24px 20px; padding: 26px 22px;
            background: linear-gradient(135deg, #090e17 0%, #020617 100%);
            border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden;
            box-shadow: 0 12px 36px -10px rgba(13, 148, 136, 0.35);
        }
        .m-hero::before {
            content: ''; position: absolute; inset: -50%;
            background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
            background-size: 40px 40px; transform: perspective(500px) rotateX(60deg) translateY(-30px); opacity: 0.5; pointer-events: none;
        }
        .m-hero-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
        .m-hero-tag {
            display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
            background: rgba(13, 148, 136, 0.15); border: 1px solid rgba(45, 212, 191, 0.3); border-radius: 20px;
            font-size: 11px; font-weight: 700; color: #ccfbf1;
        }
        .m-hero-time {
            display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
            background: rgba(255, 255, 255, 0.05); border: 0.5px solid rgba(255, 255, 255, 0.1); border-radius: 20px;
            font-size: 11px; font-weight: 500; color: #94a3b8; font-family: 'Inter', sans-serif;
        }
        .m-hero-time span { color: #cbd5e1; font-weight: 600; }
        .m-hero-time i { color: #64748b; font-size: 10px; }

        .m-hero h2 { font-size: 24px; font-weight: 900; line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.3px; }
        .m-hero h2 span { background: linear-gradient(90deg, #5eead4, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .m-hero p { font-size: 13px; color: #cbd5e1; line-height: 1.5; opacity: 0.85; }

        /* ================= 3. 大板块标题风格 ================= */
        .matrix-section { margin-bottom: 28px; scroll-margin-top: 140px; }
        .matrix-header { padding: 0 20px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
        .matrix-title { font-size: 19px; font-weight: 900; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
        .matrix-title i { color: var(--primary) !important; filter: drop-shadow(0 2px 6px rgba(13,148,136,0.15)); }
        .matrix-subtitle { font-size: 10px; color: #94a3b8; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }

        /* ================= 4. 排行榜卡片滑道 ================= */
        .rank-column-card {
            flex: 0 0 88%; scroll-snap-align: start;
            background: #fff; border-radius: var(--radius-md); padding: 20px 18px 14px;
            box-shadow: var(--shadow-card); border: 0.5px solid rgba(13,148,136,0.02);
            display: flex; flex-direction: column; gap: 0;
        }
        .sub-rank-box { display: flex; flex-direction: column; }
        .col-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 0.5px solid #f1f5f9; }
        .col-title { font-size: 16px; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; gap: 6px; }
        .col-title i { color: var(--primary) !important; } 
        .col-more { font-size: 12px; color: var(--primary); font-weight: 700; opacity: 0.9; }

        .rank-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 0.5px solid #f8fafc; position: relative; text-decoration: none; color: inherit; }
        .rank-item:last-child { border-bottom: none; padding-bottom: 2px; }
        
        .rank-media { width: 54px; height: 54px; border-radius: 14px; position: relative; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.04); overflow: hidden; }
        
        .rank-badge {
            position: absolute; top: 0; left: 0; width: 18px; height: 18px;
            border-radius: 0 0 8px 0; font-size: 11px; font-weight: 900;
            display: flex; align-items: center; justify-content: center; color: #fff;
            background: #94a3b8; font-family: 'Inter', sans-serif; z-index: 2;
        }
        .rank-item:nth-child(1) .rank-badge { background: var(--sb-gold-gradient); box-shadow: 0 2px 6px rgba(203,162,88,0.3); }
        .rank-item:nth-child(2) .rank-badge { background: var(--silver-gradient); }
        .rank-item:nth-child(3) .rank-badge { background: var(--bronze-gradient); }
        .rank-item:nth-child(4) .rank-badge, .rank-item:nth-child(5) .rank-badge { background: #cbd5e1; color: #64748b; }

        .rank-detail { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
        .rank-name { font-size: 15px; font-weight: 700; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.2px; }
        .rank-meta { font-size: 12px; color: var(--text-sub); display: flex; align-items: center; gap: 10px; font-weight: 400; justify-content: flex-start; }
        .rank-meta span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; color: #78879e; }
        
        .rank-score { 
            color: var(--accent); font-weight: 700; font-family: 'Inter', sans-serif; 
            background: #fff7ed; padding: 1px 5px; border-radius: 6px; font-size: 11px;
            display: inline-flex; align-items: center; gap: 2px;
        }
        .rank-score::before { content: '★'; font-size: 9px; color: var(--accent); }

        .action-btn { font-size: 12px; font-weight: 700; width: 56px; height: 26px; line-height: 26px; border-radius: 13px; background: #f1f5f9; color: var(--primary); flex-shrink: 0; text-align: center; }
        .action-btn.active { background: var(--primary-light); color: var(--primary); font-weight: 800; }

        /* ================= 5. 全屏仿 iOS 双重热搜遮罩层 ================= */
        .search-overlay { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); z-index: 2000; display: flex; flex-direction: column; transform: translateY(100%) scale(0.95); opacity: 0; transition: all 0.4s var(--spring-smooth); pointer-events: none; }
        .search-overlay.active { transform: translateY(0) scale(1); 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); }
        .so-search-box i { color: var(--primary); font-size: 14px; }
        .so-cancel { font-size: 14.5px; color: var(--text-dark); font-weight: 800; padding: 0 2px; }
        
        /* 核心切换 Tab 头 */
        .so-tabs { display: flex; padding: 3px; background: rgba(15,23,42,0.04); border-radius: 12px; margin: 16px 16px 12px; }
        .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-content { flex: 1; overflow-y: auto; padding: 4px 16px 40px; }
        .so-panel { display: none; }
        .so-panel.active { display: block; }
        
        .so-hot-list { 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-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; }
        .so-hot-item:nth-child(2) .so-hot-idx { background: var(--primary-gradient); color: #fff; font-style: normal; }
        .so-hot-item:nth-child(3) .so-hot-idx { background: linear-gradient(135deg, #2dd4bf 0%, #99f6e4 100%); color: #fff; font-style: normal; }
        
        .so-hot-name { flex: 1; font-size: 14.5px; font-weight: 800; color: var(--text-dark); 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; }

        /* ================= 6. 底部 App 悬浮导航栏 ================= */
        .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: 25%; 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) translateY(-1px); 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; }

