/*! 由 ./zh/download/ext/app/1.html 内联 <style> 原样提取，勿手改（保持视觉一致） */

        /*全局样式重置*/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /*变量定义——完全沿用设计系统*/
        :root {
            --primary: #87CEEB;
            --primary-dark: #4682B4;
            --bg: #f0f4f8;
            --card: #FFFFFF;
            --text: #333;
            --gray: #666;
            --light-gray: #f8f9fa;
            --border-color: #e0e0e0;
            --gap-xs: 8px;
            --gap-sm: 16px;
            --gap-md: 24px;
            --gap-lg: 24px;
            --padding-sm: 12px;
            --padding-md: 16px;
            --padding-lg: 24px;
            --radius-lg: 16px;
            --radius-header: 16px;
            --radius-inner: 12px;
            --radius-source: 8px;
            --source-yellow: #fff9e6;
            --source-yellow-border: #ffd43b;
            --source-green: #e6f9e6;
            --source-green-border: #51cf66;
            --source-purple: #f3f0ff;
            --source-purple-border: #9775fa;
        }

        /*基础样式*/
        body {
            font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-size: 16px;
            line-height: 1.6;
        }

        /*页面容器*/
        .page-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0 var(--padding-sm);
            width: 100%;
        }

        /*主要内容容器*/
        .container {
            flex: 1;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: var(--padding-lg) 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--gap-md);
        }

        /*导航栏*/
        .navbar {
            background: var(--primary);
            padding: 12px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            position: sticky;
            top: 0;
            z-index: 100;
            width: 100%;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 var(--padding-sm);
        }

        .logo {
            font-size: clamp(1.2rem,5vw,1.4rem);
            font-weight: bold;
            color: var(--primary-dark);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: clamp(12px,4vw,20px);
        }

        .nav-links a {
            color: var(--primary-dark);
            font-weight: 500;
            text-decoration: none;
            font-size: clamp(0.95rem,3.5vw,1rem);
        }

        .nav-links a:hover,.nav-links a.active {
            text-decoration: underline;
            font-weight: 600;
        }

        /*标题区域*/
        .title-section {
            width: 100%;
            text-align: center;
            margin-bottom: var(--gap-sm);
            padding: 0 var(--padding-sm);
        }

        .page-title {
            color: var(--primary-dark);
            font-size: clamp(1.6rem,6vw,2rem);
            line-height: 1.2;
            margin-bottom: var(--gap-xs);
        }

        .page-desc {
            color: var(--gray);
            font-size: clamp(0.95rem,3.5vw,1.05rem);
        }

        /*===新版返回按钮：搜索框左上方===*/
        .search-header {
            width: 100%;
            padding: 0 var(--padding-sm);
            display: flex;
            justify-content: flex-start;
            margin-bottom: 8px;
        }

        .back-btn {
            padding: 6px 14px;
            background: #fff;
            border: 1px solid #165DFF;
            border-radius: 6px;
            color: #165DFF;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .back-btn:active {
            background: #165DFF;
            color: #fff;
        }

        /*搜索框样式*/
        .search-box {
            width: 100%;
            padding: 0 var(--padding-sm);
            margin-bottom: var(--gap-sm);
        }

        .search-input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--primary);
            border-radius: 12px;
            background: var(--card);
            font-size: clamp(1rem,3vw,1.1rem);
            color: var(--text);
            outline: none;
            box-shadow: 0 2px 8px rgba(135,206,235,0.15);
        }

        .search-input::placeholder {
            color: #b0c4de;
            font-size: 0.95rem;
        }

        /*版本列表容器*/
        #version-list {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--gap-lg);
        }

        /*版本卡片-统一大圆角，解决尖锐问题*/
        .version-card {
            background: var(--card);
            width: 100%;
            border-radius: var(--radius-lg);
            box-shadow: 0 4px 16px rgba(135,206,235,0.15);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
            padding-bottom: 16px;
        }

        /*底部长横线分隔符*/
        .version-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 5%;
            width: 90%;
            height: 1px;
            background-color: var(--border-color);
        }

        .version-card:last-child::after {
            display: none;
        }

        /*版本头部-大圆角+线性动画，解决尖锐问题*/
        .version-header {
            padding: var(--padding-md);
            background: linear-gradient(90deg,var(--primary),var(--primary-dark));
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            width: 100%;
            border-radius: var(--radius-header) var(--radius-header) 0 0;
            transition: all 0.3s ease;
        }

        .version-header h3 {
            font-size: clamp(1.1rem,4vw,1.25rem);
            font-weight: 600;
            margin: 0;
        }

        .expand-icon {
            transition: transform 0.25s ease;
            font-size: 1.3rem;
            font-weight: bold;
            flex-shrink: 0;
            width: 24px;
            text-align: center;
        }

        .version-card.expanded .expand-icon {
            transform: rotate(180deg);
        }

        /*版本内容-彻底优化动画，无卡顿*/
        .version-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
            width: 100%;
        }

        .version-card.expanded .version-body {
            max-height: 2000px;
        }

        /*版本内容内容器*/
        .version-inner {
            padding: var(--padding-md);
            display: flex;
            flex-direction: column;
            gap: var(--gap-md);
            width: 100%;
        }

        /*下载项分组*/
        .download-group {
            display: flex;
            flex-direction: column;
            gap: var(--gap-sm);
            width: 100%;
        }

        .group-title {
            color: var(--primary-dark);
            font-weight: 600;
            padding-bottom: var(--gap-xs);
            border-bottom: 1px solid #eee;
            font-size: clamp(1rem,4vw,1.15rem);
        }

        /*子分组头部（原版/X端/服务器）*/
        .sub-group-header {
            padding: 10px 14px;
            background: var(--light-gray);
            border-radius: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            margin-bottom: 6px;
            transition: all 0.25s ease;
        }

        .sub-group-header:hover {
            background: #e9ecef;
        }

        .sub-group-header h4 {
            font-size: 1rem;
            color: var(--primary-dark);
            margin: 0;
        }

        .sub-expand-icon {
            transition: transform 0.25s ease;
            font-size: 1.1rem;
        }

        .sub-group.expanded .sub-expand-icon {
            transform: rotate(180deg);
        }

        /*子分组内容-合理高度，无渲染卡顿*/
        .sub-group-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
            padding: 0 6px;
        }

        .sub-group.expanded .sub-group-body {
            max-height: 1500px;
        }

        /*平台卡片（PC/安卓/服务器）*/
        .platform-card {
            background: var(--light-gray);
            border-radius: var(--radius-inner);
            padding: var(--padding-md);
            margin-bottom: var(--gap-sm);
            border: 1px solid var(--border-color);
        }

        /*下载源嵌套卡片（彩色）*/
        .download-source-card {
            border-radius: var(--radius-source);
            padding: var(--padding-sm);
            margin-top: var(--gap-sm);
            border-left: 3px solid;
        }

        /*下载源配色循环*/
        .download-source-card.yellow {
            background: var(--source-yellow);
            border-color: var(--source-yellow-border);
        }

        .download-source-card.green {
            background: var(--source-green);
            border-color: var(--source-green-border);
        }

        .download-source-card.purple {
            background: var(--source-purple);
            border-color: var(--source-purple-border);
        }

        /*下载项*/
        .download-item {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }

        .item-row {
            display: flex;
            flex-direction: column;
            gap: 6px;
            width: 100%;
        }

        .item-label {
            font-size: clamp(0.85rem,3vw,0.95rem);
            color: var(--gray);
        }

        /*内容区域自适应*/
        .item-value {
            font-weight: 500;
            font-size: clamp(0.95rem,3.5vw,1.05rem);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            width: 100%;
            word-break: break-all;
        }

        .item-value a {
            color: var(--primary-dark);
            text-decoration: none;
            flex: 1;
            min-width: 0;
        }

        .item-value a:hover {
            text-decoration: underline;
        }

        .item-value .empty {
            color: #999;
            font-style: italic;
        }

        /*按钮样式*/
        .action-btn {
            padding: 5px 10px;
            border: none;
            border-radius: 6px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
            white-space: nowrap;
        }

        /*GitHub专用跳转按钮*/
        .jump-btn-github {
            background: linear-gradient(90deg,#4682B4,#87CEEB);
            color: white;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .jump-btn-github:hover {
            background: linear-gradient(90deg,#3a6a92,#7ab8d1);
        }

        /*下载地址跳转按钮（黄色卡片内）*/
        .jump-btn-download {
            background: linear-gradient(90deg,#ff9800,#ffb74d);
            color: white;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .jump-btn-download:hover {
            background: linear-gradient(90deg,#f57c00,#ffa726);
        }

        .copy-btn {
            background: #e0e0e0;
            color: var(--text);
        }

        .copy-btn:hover {
            background: #d0d0d0;
        }

        .copy-icon {
            width: 12px;
            height: 12px;
            display: inline-block;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center;
            background-size: contain;
        }

        /*---彩色动态加载转圈---*/
        .loading-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            width: 100%;
            max-width: 600px;
        }

        .rainbow-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid transparent;
            border-radius: 50%;
            background: linear-gradient(45deg,#ff0080,#ff8c00,#40e0d0,#00bfff,#8a2be2,#ff0080);
            background-size: 600% 600%;
            -webkit-mask: linear-gradient(#fff,#fff) content-box,linear-gradient(#fff,#fff);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            animation: spin 1.2s linear infinite,rainbow 3s ease infinite;
            margin-bottom: 16px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes rainbow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .loading-text {
            color: var(--primary-dark);
            font-size: 1.1rem;
            transition: all 0.4s ease;
            opacity: 1;
            transform: translateY(0);
        }

        .loading-text.fade-out {
            opacity: 0;
            transform: translateY(10px);
        }

        .complete-text {
            margin-top: 8px;
            font-size: 14px;
            color: var(--primary-dark);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
        }

        /*===重新加载按钮样式===*/
        .reload-btn {
            margin-top: 16px;
            padding: 10px 20px;
            background: var(--primary-dark);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
        }

        .reload-btn:hover {
            background: #36648b;
        }

        /*空状态*/
        .empty-tip {
            text-align: center;
            padding: 60px 20px;
            color: var(--primary-dark);
            font-size: 1.1rem;
            width: 100%;
            max-width: 600px;
        }

        /*页脚*/
        footer {
            text-align: center;
            padding: var(--padding-md);
            background-color: var(--primary);
            color: var(--primary-dark);
            font-size: clamp(0.85rem,3vw,0.95rem);
            width: 100%;
            margin-top: auto;
        }

        /*动画-线性入场*/
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .version-card {
            animation: fadeInUp 0.4s ease backwards;
        }

        .item-value a.jump-btn-github,.item-value a.jump-btn-download {
            color: #fff!important;
            text-decoration: none!important;
        }
    