.app_tou {
    height: 45px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* 使用left和right来确保宽度为100% */
    z-index: 9999; /* 确保导航栏保持在最上层 */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(
    30deg,
    #15c5ce,  
    #FF0000            /* 结束颜色 */
    ); /* 设置背景颜色 */
    display: flex; /* 使用Flexbox布局 */
    justify-content: space-between; /* 水平分布子元素 */
    align-items: center; /* 垂直居中对齐 */
    padding: 0 20px; /* 内边距以防止内容紧贴边缘 */
}

.app_tou ul {
    list-style-type: none; /* 移除默认列表样式 */
    margin: 0;
    padding: 0;
    width: 100%; /* 确保ul占满整个容器 */
    display: flex; /* 使用Flexbox布局 */
    justify-content: space-between; /* 水平分布子元素 */
    align-items: center; /* 垂直居中对齐 */
}

.app_tou ul li {
    color: #fff; /* 文字颜色 */
    font-weight: bold;
    font-size: 13px;
}

.app_tou ul .title {
    flex-grow: 1; /* 让标题占用剩余空间 */
    text-align: center; /* 文本居中 */
}

.app_tou ul .actions {
    text-align: right; /* 右对齐文本 */
}
.app_tou ul li.actions {
    text-align: right; /* 右对齐文本 */
    line-height: 1.2;  /* 调整行高以适应两行文字 */
}

.app_tou ul li.actions span {
    display: block; /* 每个<span>占据一行 */
}

.app_tou ul li.actions .domain {
    font-size: 15px; /* 可选：调整第二行字体大小 */
}
.app_tou ul li#ip-title {
    font-size: 18px; /* 可选：调整第二行字体大小 */
}
.app_tou ul li.logo {
    width: 45px; /* 固定Logo的宽度 */
    height: 45px; /* 如果需要，可以同时设置高度 */
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
}

.app_tou ul li.logo img {
    max-width: 100%; /* 确保图片不会超出容器宽度 */
    max-height: 100%; /* 确保图片不会超出容器高度 */
    object-fit: contain; /* 保持图片比例并适应容器 */
}

/* 确保福利列表容器使用Flexbox布局 */
.welfare-list.box {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 10px 5px;
    justify-content: center; /* 水平居中对齐 */
}

/* 每个福利项的样式 */
.welfare-item {
    padding-top: 10px;
    flex: 0 0 calc(25% - 10px); /* 每个元素占25%，减去间距的一半 */
    min-width: calc(25% - 5px);
    max-width: calc(25% - 10px);
    text-align: center;
}

/* 应用于app-vertical类，确保内部元素垂直居中对齐 */
.app-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 链接样式，确保文本不会被装饰线影响 */
.app-vertical a {
    text-decoration: none;
    color: inherit;
}

/* 图标样式，确保图片适应容器 */
.icon img {
    max-width: 100%;
    height: auto;
}

/* 名称和标签样式 */
.name.hide-text.one,
.label.hide-text.one {
    font-weight: bolder;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

/* 标签字体稍小 */
.label.hide-text.one {
    font-size: 12px;
}

.cm-search{
        margin-top: 45px;
    height: 45px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(150deg, #15c5ce, #FF0000 /* 结束颜色 */);
    padding: 0 20px;
}

/* 确保列表项在一行内并排，并且左右居中 */
.welfare-list101 {
    display: flex;
    flex-wrap: wrap; /* 如果需要换行时允许换行 */
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center; /* 使子元素左右居中 */
}

/* 设置每个li的宽度和间距 */
.welfare-item101 {
    flex: 0 0 calc(50% - 10px); /* 每个li占据50%的宽度，减去左右padding */
    max-width: calc(50% - 5px);
    box-sizing: border-box;
    padding: 5px;
    margin: 0 5px; /* 添加一些外边距以避免紧贴边缘 */
}

/* 内部盒子样式 */
.box_d {
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row; /* 改为横向排列 */
    align-items: flex-start; /* 垂直对齐顶部 */
    width: 100%;
}

/* 图片容器 */
.box_d > div:first-child {
    width: 64px;
    height: 64px;
    margin-right: 10px;
    flex-shrink: 0; /* 防止图片容器缩小 */
}

.box_d > div:first-child img {
    width: 100%;
    height: auto;
}

/* 文本容器 */
.box_d > div:nth-child(2) {
    flex-grow: 1; /* 让文本容器占用剩余空间 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    white-space: nowrap; /* 禁止文字换行 */
    overflow: hidden; /* 隐藏溢出的文字 */
    text-overflow: ellipsis; /* 在文本溢出时显示省略号 */
}

.box_d > div:nth-child(2) p {
    margin: 0;
    padding: 0;
}

.box_d > div:nth-child(2) .title {
    font-size: 14px;
    font-weight: bold;
    color: rgba(51, 51, 51, 1);
    margin-top: 5px;
}

.box_d > div:nth-child(2) .new-area {
    border-radius: 2px;
    max-width: 100%; /* 调整最大宽度以适应内容 */
    border: 1px solid #dab464;
    font-size: 12px;
    color: #be9131;
    margin-top: 5px;
    padding: 5px;
    display: inline-block;
    text-align: center;
    white-space: nowrap; /* 禁止文字换行 */
    overflow: hidden; /* 隐藏溢出的文字 */
    text-overflow: ellipsis; /* 在文本溢出时显示省略号 */
}

.box_d > div:nth-child(2) .gift {
    font-size: 12px;
    color: #666666;
    margin-top: 5px;
    white-space: nowrap; /* 禁止文字换行 */
    overflow: hidden; /* 隐藏溢出的文字 */
    text-overflow: ellipsis; /* 在文本溢出时显示省略号 */
}

.app-item .info .intro{
            display: inline-block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            /* 初始宽度设置为0，将由JavaScript动态调整 */
            width: 250px;
            font-size: 12px; /* 根据需要调整字体大小 */
        }
        
.block.block1.active p {
    margin: 5px 10% 0px;
    max-width: 80%;
    display: block;
    text-align: center;
    font-size: xx-large;
    color: red;
    background-color: #15c5ce;
    color: #fffefe;
    border-radius: 3px;
    border: 0px solid #ffc107;
}

.nav_gm_fenzhan{ height: 2.75rem; border-bottom: 0.125rem solid #f0f0f0; }
.nav_gm_fenzhan ul { display: -moz-flex; display: -ms-flex; display: -webkit-box; display: -ms-flexbox; display: flex; }
.nav_gm_fenzhan ul li { -moz-flex: 1; -ms-flex: 1; -webkit-box-flex: 1; flex: 1; margin: 0 0.5rem; }
.nav_gm_fenzhan ul li a { display: block; text-align: center; line-height: 2.625rem; color: inherit; font-size: 1rem;}
.nav_gm_fenzhan ul li.active { border-bottom: 0.125rem solid #003399; }
.nav_gm_fenzhan ul li.active a { color: #003399; }

.nav_gm_fenzhan_zi{ height: 2.75rem; border-bottom: 0.125rem solid #f0f0f0; }
.nav_gm_fenzhan_zi ul { display: -moz-flex; display: -ms-flex; display: -webkit-box; display: -ms-flexbox; display: flex; }
.nav_gm_fenzhan_zi ul li { -moz-flex: 1; -ms-flex: 1; -webkit-box-flex: 1; flex: 1; margin: 0 0.5rem; }
.nav_gm_fenzhan_zi ul li a { display: block; text-align: center; line-height: 2.625rem; color: inherit; font-size: 1rem;}
.nav_gm_fenzhan_zi ul li.active { border-bottom: 0.125rem solid #000; }
.nav_gm_fenzhan_zi ul li.active a { color: #000; }

.nav_gm_fenzhan_zi_2{ height: 2.75rem; border-bottom: 0.125rem solid #f0f0f0; }
.nav_gm_fenzhan_zi_2 ul { display: -moz-flex; display: -ms-flex; display: -webkit-box; display: -ms-flexbox; display: flex; }
.nav_gm_fenzhan_zi_2 ul li { -moz-flex: 1; -ms-flex: 1; -webkit-box-flex: 1; flex: 1; margin: 0 0.5rem; }
.nav_gm_fenzhan_zi_2 ul li a { display: block; text-align: center; line-height: 2.625rem; color: inherit; font-size: 1rem;}
.nav_gm_fenzhan_zi_2 ul li.active { border-bottom: 0.125rem solid #000; }
.nav_gm_fenzhan_zi_2 ul li.active a { color: #000; }

.nav_gm_fenzhan_zi_3{ height: 2.75rem; border-bottom: 0.125rem solid #f0f0f0; }
.nav_gm_fenzhan_zi_3 ul { display: -moz-flex; display: -ms-flex; display: -webkit-box; display: -ms-flexbox; display: flex; }
.nav_gm_fenzhan_zi_3 ul li { -moz-flex: 1; -ms-flex: 1; -webkit-box-flex: 1; flex: 1; margin: 0 0.5rem; }
.nav_gm_fenzhan_zi_3 ul li a { display: block; text-align: center; line-height: 2.625rem; color: inherit; font-size: 1rem;}
.nav_gm_fenzhan_zi_3 ul li.active { border-bottom: 0.125rem solid #000; }
.nav_gm_fenzhan_zi_3 ul li.active a { color: #000; }

.nav_gm_fenzhan_zi_4{ height: 2.75rem; border-bottom: 0.125rem solid #f0f0f0; }
.nav_gm_fenzhan_zi_4 ul { display: -moz-flex; display: -ms-flex; display: -webkit-box; display: -ms-flexbox; display: flex; }
.nav_gm_fenzhan_zi_4 ul li { -moz-flex: 1; -ms-flex: 1; -webkit-box-flex: 1; flex: 1; margin: 0 0.5rem; }
.nav_gm_fenzhan_zi_4 ul li a { display: block; text-align: center; line-height: 2.625rem; color: inherit; font-size: 1rem;}
.nav_gm_fenzhan_zi_4 ul li.active { border-bottom: 0.125rem solid #000; }
.nav_gm_fenzhan_zi_4 ul li.active a { color: #000; }

.nav_mdf_fenzhan{ height: 2.75rem; border-bottom: 0.125rem solid #f0f0f0; }
.nav_mdf_fenzhan ul { display: -moz-flex; display: -ms-flex; display: -webkit-box; display: -ms-flexbox; display: flex; }
.nav_mdf_fenzhan ul li { -moz-flex: 1; -ms-flex: 1; -webkit-box-flex: 1; flex: 1; margin: 0 0.5rem; }
.nav_mdf_fenzhan ul li a { display: block; text-align: center; line-height: 2.625rem; color: inherit; font-size: 1rem;}
.nav_mdf_fenzhan ul li.active { border-bottom: 0.125rem solid #1E90FF; }
.nav_mdf_fenzhan ul li.active a { color: #1E90FF; }

.bzmf_shuliang{font-weight: bold;width: 220px;height: 42px;line-height: 42px;text-align: center;font-size: 15px;color: #fff;background: linear-gradient(to right, #505eff, #da61e8);display: block;margin: 0 auto;border-radius: 0.4rem;clear: both;margin-top: 0.3rem;}

.zhuce_tishi{font-weight: bold;max-width:700px;width: 100%;line-height: 30px;text-align: center;font-size: 20px;color: #fff;background: linear-gradient(to right, Black, #da61e8);display: block;margin: 0 auto;border-radius: 0.4rem;clear: both;margin-top: 0.3rem;}