 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }
        
        body {
            background-color: #ececec;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .tab-menu {
            background-color: #fff;
            border-radius: 12px;
            padding: 18px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        #list {
            display: flex;
            list-style: none;
            column-gap: 12px;
        }
        
        #list li {
            padding: 8px 16px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 500;
            background-color: #f0f0f0;
            color: #666;
            min-width: 64px;
            width: 80px;
            text-align: center;
            list-style-type: none;
            transition: all 0.3s ease;
        }
        
li.active:not(#list.paid-active  li.active)  {
            background-color: #007eef;
            color: white;
        }
        
        #list.paid-active  li.active   { 
        background-color: #00b5af;
        color: white;
        } 

        .category {
            display: none;
        }
        
        .category.active  {
            display: block;
        }
        
        .wrapper {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
            gap: 20px;
        }
        
        .app-item {
            display: flex;
            padding: 15px;
            align-items: center;
        }
        
        .app-icon {
            width: 50px;
            height: 50px;
            margin-right: 15px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .app-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .app-info {
            flex-grow: 1;
            min-width: 0;
        }
        
        .app-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .app-text {
            display: flex;
            align-items: center;
            font-size: 12px;
            color: #999;
        }
        
        .app-text em {
            margin: 0 5px;
            font-style: normal;
            color: #ddd;
        }
        
        .app-actions {
            margin-left: 10px;
            flex-shrink: 0;
        }
        
        .btn {
            display: inline-block;
            padding: 6px 13px;
            border-radius: 5px;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            color: white;
        }

        
        .free-btn {
            background-color: #007eef;
        }

        .free-btn:hover {
            background-color: #d34747;
        }
        
        .paid-btn {
            background-color: #00b5af;
        }
      
        .paid-btn:hover {
            background-color: #d34747;
        }
        
    .close-button:focus {
  outline: none;
}

           .app-btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    background-color: #f0f0f0;
    text-align: center;
}

a.app-btn.paid.active {
    background-color: #00b5af;
    color: #fff;
}

a.app-btn.free.active {    
    background-color: #007eef;
    color: #fff;
}

.app-btn.free.active {
    background-color: #007bff; /* 免费激活时为蓝色 */
    color: #fff;
}
.app-btn.paid.active {
    background-color: #00b5af; /* 付费激活时为绿色 */
    color: #fff;
}

       .free .tab-menu ul li { 
            border: 1px solid green; 
        } 
 
        
.appstore {
    margin: 0px auto 30px;
    display: flex;
    column-gap: 12px;
}

        
        .app-description {
            padding: 0 15px 15px 15px;
            font-size: 13px;
            color: #666;
            border-top: 1px solid #f0f0f0;
            margin-top: -5px;
            padding-top: 10px;
        }
        
    @media screen and (max-width: 597px) {
        #list {justify-content: space-between;}
        }


.kuang {
    display: flex;
    text-align: left;
    margin-bottom: 6px;
    flex-direction: column;
}

.bt-row {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    row-gap: 15px;
    flex-direction: column;
    align-items: center;
}
.tab-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.tab-content {
    font-size: 14px;
    text-align: left;
    line-height: 1.8;
}

    .esign {
    color: #ffffff;
    background-color: #18bc9c;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    }
    .cxkun {
    color: #ffffff;
    background-color: #c443a1;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    }
    .copylink {
    color: #fff;
    background-color: #d8894b;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    border-radius: 5px;
    }
    
    .copylink:hover,
    .cxkun:hover,
    .esign:hover {
    background-color: #407fff;
    }

a, 
a:link, 
a:visited, 
a:hover, 
a:active { 
    text-decoration: none; /* 去除下划线 */ 
} 

.pagination {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.page-link {
    padding: .5rem .75rem;
    min-width: 40px;
    margin-left: -1px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center; 
    background-color: #fff;
    border: 1px solid #dee2e6;
}

#paid-text {
    margin: -15px 0 15px;
    font-size: 14px;
}

#free-text {
    margin: -15px 0 15px;
    font-size: 14px;
}

a.page-link.first {
    border-top-left-radius: .3rem;
    border-bottom-left-radius: .3rem;
    font-size: 14px;
}

a.page-link.last {
    border-top-right-radius: .3rem;
    border-bottom-right-radius: .3rem;
    font-size: 14px;
}


.swal2-close:focus {
    box-shadow: none !important;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    padding: 1em 1.2em 0em!important;
}
div:where(.swal2-container) div:where(.swal2-popup) {
    padding:  0em!important;
}

div:where(.swal2-container) div:where(.swal2-actions) {margin: 1.25em auto!important;}

/* === 滑块Tabs核心样式 === */
/* === 滑块Tabs核心样式 (已更新颜色逻辑) === */
.as-tabs-wrapper {
    position: relative;
    display: flex;
    border-bottom: 1px solid #e9ecef;
}

.as-tab-item {
    padding: 12px 20px;
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* --- 新增：定义两种颜色主题 --- */

/* 免费主题 (蓝色) */
.as-tabs-wrapper.theme-blue .as-tab-item:hover { color: #007bff; }
.as-tabs-wrapper.theme-blue .as-tab-item.active { color: #007bff; }
.as-tabs-wrapper.theme-blue .as-slider { background-color: #007bff; }

/* 付费主题 (绿色) */
.as-tabs-wrapper.theme-green .as-tab-item:hover { color: #00b5af; }
.as-tabs-wrapper.theme-green .as-tab-item.active { color: #00b5af; }
.as-tabs-wrapper.theme-green .as-slider { background-color: #00b5af; }


.as-slider {
    position: absolute;
    bottom: -1px; /* 盖住底部分割线 */
    left: 0;
    height: 3px;
    /* background-color 已被上面的主题类接管 */
    border-radius: 1.5px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
}

/* === 应用列表和卡片样式 (基于您原来的结构) === */
#app-content-wrapper .wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    min-height: 200px; /* 防止内容为空时塌陷 */
}

/* 加载中提示 */
.loading-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 16px;
    color: #6c757d;
}


.app-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* === 分页样式 === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 10px 0;
}

.page-link {
    text-decoration: none;
    color: #007bff;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: #e9ecef;
}

.page-link.active {
    background-color: #007bff;
    color: white;
}

.page-link.disabled {
    color: #6c757d;
    pointer-events: none;
    background-color: #f8f9fa;
}