/* ==================== roms.html 页面样式 ====================
 * 由内联 <style> 提取而来（内容零改动）
 * 换肤指南：颜色/字体/圆角等主题变量集中在 :root，改这里即可全局换风格
 * ================================================================ */
/* ==================== 内容索引 ====================
 * 修改指南：
 *  - 换色/字体/圆角   -> 改顶部 :root 变量
 *  - 改布局/组件      -> 跳到下方对应分区注释
 *  - 改动画          -> 找下方 @keyframes 名
 *  - 改手机端        -> 找下方 @media 块
 *
 * 分区列表:
 *   - 主页面滚动条 - WebKit
 *   - Firefox 兼容
 *   - 轮播指示点 - 位于窗口下方
 *
 * 动画(@keyframes 5 个):
 *   navDropIn, fadeUp, bounceDown, plPulse, plBar
 * 响应式(@media 3 个)
 * ================================================================ */



/* ===== 软件真实风格 - 玻璃态深色主题 ===== */
        :root {
            --primary: #8B7CF6;
            --primary-light: #A89BF8;
            --primary-dark: #6B5CE0;
            --secondary: #F67280;
            --secondary-light: #F998A4;
            --accent: #4DD9C0;
            --accent-light: #7BE8D4;
            --red: #FF5F56;
            --red-light: #FF8A82;
            --orange: #FFBD2E;
            --yellow: #FFD93D;
            --bg-glass: rgba(255, 255, 255, 0.08);
            --bg-glass-hover: rgba(255, 255, 255, 0.12);
            --bg-glass-deep: rgba(255, 255, 255, 0.04);
            --bg-red-glass: rgba(255, 95, 86, 0.15);
            --bg-yellow-glass: rgba(255, 217, 61, 0.12);
            --stroke: rgba(255, 255, 255, 0.15);
            --stroke-light: rgba(255, 255, 255, 0.10);
            --stroke-red: rgba(255, 95, 86, 0.3);
            --text: rgba(255, 255, 255, 0.95);
            --text-2: rgba(255, 255, 255, 0.72);
            --text-3: rgba(255, 255, 255, 0.48);
            --radius: 16px;
            --radius-sm: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --font: 'Nunito', 'Noto Sans SC', -apple-system, sans-serif;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font);
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
        }
        body::before {
            content: ''; position: fixed; top: -200px; right: -200px;
            width: 600px; height: 600px; border-radius: 50%;
            background: radial-gradient(circle, rgba(139,124,246,0.25) 0%, transparent 70%);
            pointer-events: none; z-index: 0;
        }
        body::after {
            content: ''; position: fixed; bottom: -300px; left: -200px;
            width: 700px; height: 700px; border-radius: 50%;
            background: radial-gradient(circle, rgba(77,217,192,0.18) 0%, transparent 70%);
            pointer-events: none; z-index: 0;
        }
        ::selection { background: var(--primary); color: #fff; }
        /* 主页面滚动条 - WebKit */
        ::-webkit-scrollbar { width: 12px; height: 12px; }
        ::-webkit-scrollbar-track { background: rgba(15, 20, 40, 0.6); }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, rgba(139,124,246,0.65), rgba(107,92,224,0.65));
            border: 2px solid rgba(15, 20, 40, 0.6); border-radius: 8px;
            box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
        }
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, rgba(168,155,248,0.85), rgba(139,124,246,0.85));
        }
        ::-webkit-scrollbar-corner { background: transparent; }
        /* Firefox 兼容 */
        html { scrollbar-width: thin; scrollbar-color: rgba(139,124,246,0.65) rgba(15,20,40,0.6); }

        .glass {
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--stroke);
            border-radius: var(--radius-lg);
            box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
        }

        /* ===== 导航栏 ===== */
        .nav-bar {
            position: fixed; top: 0; left: 0; right: 0; height: 64px;
            background: rgba(26, 26, 46, 0.75);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--stroke);
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 32px; z-index: 1000;
        }
        .nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
        .nav-logo-icon {
            width: 34px; height: 34px; border-radius: 10px;
            background: var(--primary); border: 1px solid var(--stroke);
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 4px 12px rgba(139,124,246,0.4);
        }
        .nav-logo-icon i { color: #fff; font-size: 16px; }
        .nav-logo span { font-size: 1.3rem; font-weight: 800; color: var(--text); letter-spacing: 0.02em; }
        .nav-actions { display: flex; align-items: center; gap: 12px; }
        .nav-back {
            display: flex; align-items: center; gap: 8px;
            color: var(--text-2); font-size: 0.9rem; font-weight: 700;
            cursor: pointer; transition: all 0.2s; padding: 8px 16px;
            border-radius: var(--radius-sm); border: 1px solid transparent;
        }
        .nav-back:hover { color: var(--text); border-color: var(--stroke); background: var(--bg-glass); }
        .nav-dl {
            display: flex; align-items: center; gap: 8px;
            background: var(--primary); color: #fff; font-weight: 800;
            padding: 9px 20px; border-radius: var(--radius-sm);
            border: 1px solid var(--stroke); cursor: pointer;
            box-shadow: 0 4px 16px rgba(139,124,246,0.3); transition: all 0.2s;
        }
        .nav-dl:hover { background: var(--primary-dark); transform: translate(-1px,-1px); box-shadow: 0 6px 24px rgba(139,124,246,0.45); }

        .container { max-width: 1180px; margin: 0 auto; padding: 96px 24px 60px; position: relative; z-index: 1; }

        /* ===== 页面入场动画 ===== */
        @keyframes navDropIn { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
        .nav-bar { animation: navDropIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
        .container > * { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
        .container > *:nth-child(1) { animation-delay: 0.08s; }
        .container > *:nth-child(2) { animation-delay: 0.18s; }
        .container > *:nth-child(3) { animation-delay: 0.28s; }
        .container > *:nth-child(4) { animation-delay: 0.38s; }
        .container > *:nth-child(5) { animation-delay: 0.48s; }
        @media (prefers-reduced-motion: reduce) {
            .nav-bar, .container > * { animation: none; }
        }

        /* ===== Hero 区域 ===== */
        .hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
        .hero-text h1 { font-size: 2.8rem; font-weight: 900; line-height: 1.1; margin-bottom: 12px; letter-spacing: -0.01em; background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero-sub { font-size: 1.05rem; color: var(--text-2); margin-bottom: 18px; font-weight: 600; }
        .hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
        .hero-badge {
            font-size: 0.75rem; font-weight: 800; padding: 5px 12px;
            border-radius: 16px; border: 1px solid var(--stroke); background: var(--bg-glass);
            backdrop-filter: blur(8px); color: var(--text);
        }
        .hero-badge.primary { background: var(--primary); border-color: var(--primary-light); }
        .hero-badge.accent { background: var(--accent); color: #0f3460; border-color: var(--accent-light); }
        .hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
        .hero-tag {
            font-size: 0.78rem; font-weight: 700; padding: 4px 12px;
            background: var(--bg-glass); border-radius: var(--radius-sm);
            border: 1px solid var(--stroke-light); color: var(--text-2);
        }
        .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
        .btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 24px; border-radius: var(--radius-sm);
            border: 1px solid var(--stroke); font-weight: 800;
            cursor: pointer; transition: all 0.2s; font-size: 0.95rem;
            backdrop-filter: blur(12px);
        }
        .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(139,124,246,0.35); }
        .btn-primary:hover { background: var(--primary-dark); transform: translate(-1px,-1px); box-shadow: 0 6px 24px rgba(139,124,246,0.5); }
        .btn-ghost { background: var(--bg-glass); color: var(--text); }
        .btn-ghost:hover { background: var(--bg-glass-hover); border-color: var(--stroke); }

        /* ===== 软件窗口轮播图 ===== */
        .app-window {
            border-radius: var(--radius); overflow: hidden;
            border: 1px solid var(--stroke);
            box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(139,124,246,0.15);
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            position: relative;
        }
        .app-titlebar {
            height: 40px; background: rgba(255,255,255,0.06);
            backdrop-filter: blur(12px); border-bottom: 1px solid var(--stroke);
            display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
        }
        .app-titlebar-left { display: flex; align-items: center; gap: 8px; }
        .app-titlebar-logo {
            width: 22px; height: 22px; border-radius: 6px; background: var(--primary);
            border: 1px solid var(--stroke); display: flex; align-items: center; justify-content: center;
        }
        .app-titlebar-logo i { color: #fff; font-size: 11px; }
        .app-titlebar-title { font-size: 0.8rem; font-weight: 800; color: var(--text); }
        .app-titlebar-sub { font-size: 0.7rem; color: var(--text-3); }
        .app-titlebar-btns { display: flex; gap: 8px; }
        .app-tb-btn { width: 14px; height: 14px; border-radius: 50%; }
        .app-tb-btn.min { background: #FFBD2E; }
        .app-tb-btn.max { background: #28C840; }
        .app-tb-btn.close { background: #FF5F56; }

        .app-carousel { position: relative; }
        .app-viewport { position: relative; min-height: 400px; overflow: hidden; }
        .app-slide {
            position: absolute; inset: 0;
            opacity: 0; transform: scale(0.98);
            transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
            pointer-events: none;
        }
        .app-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; }

        .app-body { display: grid; grid-template-columns: 180px 1fr; min-height: 400px; }
        .app-sidebar {
            background: rgba(255,255,255,0.04); border-right: 1px solid var(--stroke);
            padding: 14px 10px; display: flex; flex-direction: column; gap: 2px;
        }
        .app-sb-label { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); padding: 10px 10px 4px; }
        .app-sb-item {
            display: flex; align-items: center; gap: 8px; padding: 7px 10px;
            border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 700; color: var(--text-2);
            border: 1px solid transparent;
        }
        .app-sb-item i { width: 14px; font-size: 0.8rem; }
        .app-sb-item.active { background: var(--primary); color: #fff; border-color: var(--stroke); box-shadow: 0 2px 8px rgba(139,124,246,0.35); }
        .app-sb-divider { height: 1px; background: var(--stroke-light); margin: 8px 4px; }
        .app-sb-user {
            margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px;
            border-top: 1px dashed var(--stroke-light); color: var(--text-3); font-size: 0.72rem; font-weight: 700;
        }
        .app-sb-user-avatar { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); border: 1px solid var(--stroke); }
        .app-main { padding: 16px; overflow: hidden; }
        .app-main-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
        .app-main-title { font-size: 1.1rem; font-weight: 800; color: var(--text); }
        .app-main-sub { font-size: 0.72rem; color: var(--text-3); }
        .app-tags { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; }
        .app-tag { font-size: 0.62rem; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--bg-glass); border: 1px solid var(--stroke-light); color: var(--text-2); }
        .app-tag.active { background: var(--primary); color: #fff; border-color: var(--stroke); }
        .app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
        .app-card {
            background: var(--bg-glass); border: 1px solid var(--stroke); border-radius: var(--radius-sm);
            padding: 10px; transition: all 0.2s;
        }
        .app-card-preview {
            height: 70px; border-radius: 8px; margin-bottom: 8px; position: relative;
            background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
            background-size: 14px 14px; background-color: rgba(0,0,0,0.2);
            display: flex; align-items: center; justify-content: center;
        }
        .app-card-cursor { width: 22px; height: 22px; }
        .app-card-name { font-size: 0.72rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
        .app-card-meta { display: flex; align-items: center; justify-content: space-between; }
        .app-card-dl { font-size: 0.62rem; color: var(--text-3); font-weight: 700; }
        .app-card-fav { color: var(--secondary); font-size: 0.7rem; }
        .app-card-btn {
            margin-top: 6px; width: 100%; padding: 4px; font-size: 0.62rem; font-weight: 800;
            background: var(--primary); color: #fff; border: 1px solid var(--stroke);
            border-radius: 6px; text-align: center;
        }
        .app-settings { display: flex; flex-direction: column; gap: 14px; }
        .app-set-group { background: var(--bg-glass); border: 1px solid var(--stroke-light); border-radius: var(--radius-sm); padding: 12px 14px; }
        .app-set-title { font-size: 0.78rem; font-weight: 800; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
        .app-set-title i { color: var(--primary-light); font-size: 0.85rem; }
        .app-set-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 0.72rem; color: var(--text-2); font-weight: 600; }
        .app-set-toggle { width: 30px; height: 16px; border-radius: 8px; background: var(--bg-glass); border: 1px solid var(--stroke); position: relative; }
        .app-set-toggle.on { background: var(--primary); }
        .app-set-toggle::after { content: ''; position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left 0.2s; }
        .app-set-toggle.on::after { left: 15px; }
        .app-set-theme { display: flex; gap: 6px; }
        .app-set-theme-item { padding: 4px 10px; font-size: 0.65rem; font-weight: 700; border-radius: 8px; background: var(--bg-glass); border: 1px solid var(--stroke-light); color: var(--text-2); }
        .app-set-theme-item.active { background: var(--primary); color: #fff; border-color: var(--stroke); }

        /* 轮播指示点 - 位于窗口下方 */
        .carousel-dots {
            display: flex; gap: 10px; justify-content: center; align-items: center;
            padding: 16px 0 0;
        }
        .dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: rgba(255,255,255,0.25); cursor: pointer;
            transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
            border: 1px solid var(--stroke-light);
        }
        .dot:hover { background: rgba(255,255,255,0.4); }
        .dot.active { background: var(--primary-light); width: 28px; border-radius: 4px; box-shadow: 0 0 12px rgba(168,155,248,0.7); border-color: var(--primary-light); }
        .slide-label {
            position: absolute; top: 12px; right: 14px; z-index: 10;
            font-size: 0.65rem; font-weight: 700; padding: 4px 10px;
            background: rgba(139,124,246,0.25); border: 1px solid var(--stroke);
            border-radius: 12px; color: var(--text); backdrop-filter: blur(8px);
            transition: all 0.3s ease;
        }

        /* ===== 区块标题 ===== */
        .section { margin-bottom: 56px; }
        .section-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
        .section-hd .sec-icon {
            width: 48px; height: 48px; border-radius: var(--radius-sm);
            background: var(--bg-glass); border: 1px solid var(--stroke);
            display: flex; align-items: center; justify-content: center;
            backdrop-filter: blur(12px);
        }
        .section-hd .sec-icon i { font-size: 22px; }
        .section-hd h2 { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.01em; }
        .section-hd .sec-sub { font-size: 0.85rem; color: var(--text-2); font-weight: 600; }

        /* ===== 功能特性卡片 ===== */
        .feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
        .feat-card { padding: 24px; transition: all 0.3s; }
        .feat-card:hover { background: var(--bg-glass-hover); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.14); }
        .feat-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
        .feat-card-icon {
            width: 48px; height: 48px; border-radius: var(--radius-sm);
            display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--stroke); flex-shrink: 0;
        }
        .feat-card-icon i { font-size: 22px; }
        .feat-card h3 { font-size: 1.15rem; font-weight: 800; }
        .feat-card p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 12px; }
        .feat-card ul { list-style: none; }
        .feat-card ul li {
            font-size: 0.88rem; color: var(--text); padding: 4px 0 4px 18px;
            position: relative; font-weight: 600;
        }
        .feat-card ul li::before {
            content: ''; position: absolute; left: 4px; top: 13px;
            width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
        }
        .feat-card ul li.c-secondary::before { background: var(--secondary); }
        .feat-card ul li.c-accent::before { background: var(--accent); }
        .c-primary { background: rgba(139,124,246,0.2); color: var(--primary-light); }
        .c-secondary { background: rgba(246,114,128,0.2); color: var(--secondary-light); }
        .c-accent { background: rgba(77,217,192,0.2); color: var(--accent-light); }
        .feat-card.highlight { background: linear-gradient(135deg, rgba(139,124,246,0.18) 0%, var(--bg-glass) 60%); border-color: var(--primary); }

        /* ===== 下载区 ===== */
        .download-box { padding: 32px; }
        .dl-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
        .dl-info { flex: 1; min-width: 240px; }
        .dl-info h3 { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; }
        .dl-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-2); font-weight: 600; }
        .dl-meta span { display: flex; align-items: center; gap: 6px; }
        .dl-meta i { color: var(--primary-light); }
        .dl-btn-big {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #fff; font-weight: 900; font-size: 1.05rem;
            padding: 14px 32px; border-radius: var(--radius); border: 1px solid var(--stroke);
            cursor: pointer; box-shadow: 0 6px 24px rgba(139,124,246,0.4); transition: all 0.2s;
            display: inline-flex; align-items: center; gap: 10px;
        }
        .dl-btn-big:hover { transform: translate(-2px,-2px); box-shadow: 0 10px 32px rgba(139,124,246,0.55); }
        .changelog { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--stroke); }
        .changelog h4 { font-size: 1rem; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
        .changelog h4 i { color: var(--accent); }
        .changelog ul { list-style: none; }
        .changelog ul li { padding: 5px 0 5px 22px; position: relative; font-size: 0.9rem; color: var(--text); font-weight: 600; }
        .changelog ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 5px; color: var(--accent); font-size: 0.78rem; }
        .req-simple { margin-top: 16px; padding: 14px 18px; background: var(--bg-glass-deep); border: 1px solid var(--stroke-light); border-radius: var(--radius-sm); font-size: 0.88rem; color: var(--text-2); font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
        .req-simple i { color: var(--primary-light); }
        .req-simple strong { color: var(--text); }

        /* ===== 教程 ===== */
        .tutorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
        .tut-step { padding: 24px 20px 20px; position: relative; }
        .tut-num {
            position: absolute; top: -16px; left: 20px;
            width: 38px; height: 38px; border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #fff; border: 2px solid var(--stroke);
            display: flex; align-items: center; justify-content: center;
            font-weight: 900; font-size: 1.1rem; box-shadow: 0 4px 16px rgba(139,124,246,0.4);
        }
        .tut-step h4 { font-size: 1.05rem; font-weight: 800; margin: 8px 0 8px; padding-left: 46px; }
        .tut-step p { font-size: 0.88rem; color: var(--text-2); font-weight: 600; }

        /* ===== FAQ ===== */
        .faq-list { display: flex; flex-direction: column; gap: 12px; }
        .faq-item { overflow: hidden; transition: all 0.3s; }
        .faq-item.open { background: var(--bg-glass-hover); }
        .faq-q { padding: 16px 20px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 1rem; gap: 12px; user-select: none; }
        .faq-q i { color: var(--primary-light); transition: transform 0.25s; flex-shrink: 0; }
        .faq-item.open .faq-q i { transform: rotate(180deg); }
        .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 20px; color: var(--text-2); font-size: 0.9rem; font-weight: 600; line-height: 1.7; }
        .faq-item.open .faq-a { max-height: 320px; padding: 0 20px 18px; }
        .faq-a strong { color: var(--text); }
        .faq-a a { color: var(--accent-light); font-weight: 800; }

        /* ===== 页脚 ===== */
        .footer { text-align: center; padding: 32px 24px; margin-top: 40px; border-top: 1px solid var(--stroke); color: var(--text-3); font-size: 0.85rem; font-weight: 600; position: relative; z-index: 1; }
        .footer a { color: var(--primary-light); text-decoration: none; font-weight: 800; }

        /* ===== 下载免责声明弹窗（完整法律条款）===== */
        .dl-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.7);
            display: flex; align-items: center; justify-content: center;
            z-index: 9999; padding: 20px; backdrop-filter: blur(6px);
            opacity: 0; visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .dl-overlay.show { opacity: 1; visibility: visible; }
        .dl-modal {
            max-width: 620px; width: 100%; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
            transform: scale(0.85) translateY(30px); opacity: 0;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
        }
        .dl-overlay.show .dl-modal { transform: scale(1) translateY(0); opacity: 1; }
        .dl-modal-head { padding: 18px 24px; border-bottom: 1px solid var(--stroke); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, rgba(255,95,86,0.25) 0%, rgba(139,124,246,0.15) 100%); flex-shrink: 0; }
        .dl-modal-head h3 { font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
        .dl-modal-head h3 i { color: var(--red-light); }
        .dl-modal-close { cursor: pointer; font-size: 1.2rem; color: var(--text-2); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: all 0.25s; }
        .dl-modal-close:hover { background: var(--bg-glass); color: var(--text); transform: rotate(90deg); }
        .dl-modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; font-size: 0.86rem; color: var(--text-2); line-height: 1.75; font-weight: 500; scrollbar-width: thin; scrollbar-color: rgba(139,124,246,0.55) rgba(255,255,255,0.04); }
        .dl-modal-body::-webkit-scrollbar { width: 8px; }
        .dl-modal-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
        .dl-modal-body::-webkit-scrollbar-thumb { background: rgba(139,124,246,0.55); border-radius: 4px; }
        .dl-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(168,155,248,0.8); }
        .dl-warning-banner { background: var(--bg-red-glass); border: 1px solid var(--stroke-red); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
        .dl-warning-banner i { color: var(--red-light); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
        .dl-warning-banner span { font-size: 0.82rem; font-weight: 700; color: var(--red-light); line-height: 1.6; }
        .dl-section { margin-bottom: 18px; }
        .dl-section:last-child { margin-bottom: 0; }
        .dl-section h4 { font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
        .dl-section h4 i { font-size: 0.9rem; }
        .dl-section p { margin-bottom: 6px; }
        .dl-section ul { margin: 4px 0 6px 18px; }
        .dl-section ul li { list-style-type: disc; margin-bottom: 4px; }
        .dl-section strong { color: var(--text); }
        .dl-section a { color: var(--accent-light); }
        .dl-important { background: var(--bg-yellow-glass); border-left: 3px solid var(--orange); padding: 8px 12px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.82rem; line-height: 1.6; color: var(--text); margin-top: 8px; }
        .dl-scroll-sentinel { height: 1px; width: 100%; }
        .dl-modal-foot { padding: 14px 24px; border-top: 1px solid var(--stroke); display: flex; gap: 12px; flex-direction: column; flex-shrink: 0; background: var(--bg-glass-deep); }
        .dl-scroll-hint { text-align: center; font-size: 0.75rem; color: var(--orange); display: flex; align-items: center; justify-content: center; gap: 4px; }
        .dl-scroll-hint i { animation: bounceDown 1s ease-in-out infinite; }
        @keyframes bounceDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
        .dl-modal-foot-btns { display: flex; gap: 12px; }
        .dl-modal-foot button { flex: 1; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--stroke); font-weight: 800; cursor: pointer; font-size: 0.92rem; transition: all 0.2s; backdrop-filter: blur(8px); }
        .dl-cancel { background: var(--bg-glass); color: var(--text-2); }
        .dl-cancel:hover { background: var(--bg-glass-hover); color: var(--text); }
        .dl-agree { background: var(--primary); color: #fff; box-shadow: 0 4px 16px rgba(139,124,246,0.3); }
        .dl-agree:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); }
        .dl-agree:disabled { opacity: 0.4; cursor: not-allowed; background: var(--bg-glass); color: var(--text-3); box-shadow: none; }

        /* ===== 响应式 ===== */
        @media (max-width: 880px) {
            .hero { grid-template-columns: 1fr; gap: 32px; }
            .app-cards { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 720px) {
            .nav-bar { padding: 0 16px; }
            .nav-back span, .nav-dl span { display: none; }
            .container { padding: 84px 16px 40px; }
            .hero-text h1 { font-size: 2rem; }
            .app-body { grid-template-columns: 140px 1fr; }
            .app-sidebar { padding: 10px 6px; }
            .app-sb-item { font-size: 0.7rem; padding: 6px 8px; }
            .app-cards { grid-template-columns: 1fr 1fr; }
            .section-hd h2 { font-size: 1.35rem; }
            .feat-grid { grid-template-columns: 1fr; }
            .download-box { padding: 20px; }
            .dl-top { flex-direction: column; align-items: stretch; }
            .dl-btn-big { justify-content: center; }
            .app-viewport { min-height: 360px; }
            .dl-modal-foot-btns { flex-direction: column; }
        }

@keyframes plPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(0.9);opacity:0.75}}@keyframes plBar{0%{transform:translateX(-120%)}100%{transform:translateX(360%)}}