
body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: #f7f7f7;
    color: #333;
    min-height: 100%;
    max-width: 450px;
    margin: 0 auto;
}

div {
    box-sizing: border-box;
}

.header {
    background: #3a2920;

    text-align: center;
    position: relative;
    /* background: url(./image/head-bg.png) no-repeat center center; */
    background-size: 100% 100%;
    height: 145px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.header .bg-img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header-logo img {
    width: 72.5px;
    height: 72.5px;
}

.header-title {
    font-size: 32px;
    color: #ffd86a;
    font-weight: bold;
    letter-spacing: 2px;
}

.download-btn {
    background: linear-gradient(180deg, #FFD564 0%, #E2A148 100%);

    color: #3a2920;
    border: none;
    border-radius: 24px;
    padding: 10px 28px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.box {
    background: #fff;
    margin-top: -20px;
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 9;
    padding: 15px;
}

.banner {

    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.banner img {
    width: 100%;
    display: block;
}

.entry-list {}

.entry-item {
    background: #EDF6FF;
    box-shadow: inset 0px 2px 5px 0px #CDDDEE;
    border-radius: 12px;
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01em;
    color: #392822;
}

.entry-link {
    font-size: 12px;
    font-weight: normal;
    line-height: normal;
    letter-spacing: -0.01em;

    font-variation-settings: "opsz" auto;
    color: #705041;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.entry-link::after {
    content: "";
    background: url(../image/go.png) no-repeat center center;
    background-size: 100% 100%;
    width: 12px;
    height: 12px;
}

.download-section {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    gap: 16px;
}

.download-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.download-card.android {
    background: #3bb04a;
    color: #fff;
}

.download-card.ios {
    background: #3b7bfa;
    color: #fff;
}

.download-card .icon {
    width: 23.7px;
    height: 29.8px;
    font-size: 36px;
    margin-bottom: 8px;
    margin-right: 8px;
}

.download-card .icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.download-card .ver {
    font-size: 14px;
    margin-top: 4px;
}

.download-card-content {
    font-size: 14px;
    font-weight: 500;

}

.desc {
    text-align: center;
    margin: 20px 0 0 0;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01em;

    color: #392822;
}

.tabs {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 18px;
}

.tab {
    flex: 1;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
    border: 1px solid #E7E7E8;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" auto;
    color: #999999;
}

.tab.active {
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01em;
    color: #705041;
    border: 1px solid #705041;
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 0;
    /* justify-content: space-between; */
    margin: 24px auto 0 auto;
}

.icon-item {
    width: 25%;
    text-align: center;
    margin-bottom: 18px;
}

.icon-item img {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
}

.icon-item span {
    display: block;
    font-size: 16px;
    color: #444;
}

@media (max-width: 600px) {
    .header-title {
        font-size: 22px;
    }

    .download-btn {
        font-size: 15px;
        padding: 7px 16px;
    }

    .entry-item {
        font-size: 16px;
        padding: 12px 10px;
    }

    .download-section {
        gap: 10px;
    }

    .download-card {
        padding: 12px 0;

    }


    .tabs {
        gap: 10px;
    }



    .icon-item img {
        width: 32px;
        height: 32px;
    }

    .icon-item span {
        font-size: 13px;
    }
}

.line {
    margin-top: 25px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
    height: 100%;

}
ul { list-style: none;padding: 0;}
.downbar ul { display: flex; flex-wrap: wrap; justify-content: space-between;}
.downbar ul li { width: calc(50% - 4px);}

.downbar ul li a { display: flex; align-items: center; justify-content: center; padding: 15px 0; color: #fff; border-radius: 10px; background: #07c160;}
.downbar ul li a img { width: 1.5em; margin-right: 5px; border: solid 2px #fff; border-radius: 5px;}
a { text-decoration: none; }
/* ===== 手机端美化增强 2026-11-27（追加式覆盖，不改结构） ===== */
html { -webkit-text-size-adjust: 100%; }
body {
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(180deg, #2e2018 0%, #f2ede7 300px, #f7f7f7 100%);
}
.app { -webkit-tap-highlight-color: transparent; }

/* 头部质感 */
.header {
    background: linear-gradient(160deg, #4a3527 0%, #3a2920 55%, #2e2018 100%);
    box-shadow: 0 4px 18px rgba(46, 32, 24, .35);
}
.header-logo img {
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.download-btn {
    box-shadow: 0 3px 10px rgba(226, 161, 72, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .12s ease;
}
.download-btn:active { transform: scale(.95); }

/* 主体卡片 */
.box {
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .16);
    padding: 18px 16px calc(24px + env(safe-area-inset-bottom));
}
.banner {
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .10);
}

/* 线路入口卡片：渐变底 + 左侧四色标识条 + 按压反馈 */
.entry-list a { display: block; }
.entry-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F5FAFF 0%, #E3EEFB 100%);
    border: 1px solid #D5E4F5;
    box-shadow: 0 3px 10px rgba(80, 120, 170, .12), inset 0 1px 0 #fff;
    padding: 16px 16px 16px 20px;
    font-size: 17px;
    transition: transform .12s ease, box-shadow .12s ease;
}
.entry-item::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #FFD564, #E2A148);
}
.entry-list a:nth-child(1) .entry-item::before { background: linear-gradient(180deg, #5AA7FF, #2F7BF0); }
.entry-list a:nth-child(2) .entry-item::before { background: linear-gradient(180deg, #43CD80, #12A05C); }
.entry-list a:nth-child(3) .entry-item::before { background: linear-gradient(180deg, #FFB75E, #F08C2F); }
.entry-list a:nth-child(4) .entry-item::before { background: linear-gradient(180deg, #B78BFF, #8B5CF6); }
.entry-list a:active .entry-item {
    transform: scale(.98);
    box-shadow: 0 1px 4px rgba(80, 120, 170, .25);
}

/* "点击进入"改成金色胶囊按钮 */
.entry-link {
    background: linear-gradient(180deg, #FFD564 0%, #E2A148 100%);
    color: #3a2920;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(226, 161, 72, .4);
}
.entry-link::after { filter: brightness(0.45); }

/* 下载卡片：渐变 + 投影 + 按压反馈 */
.download-card { transition: transform .12s ease; }
.download-card:active { transform: scale(.96); }
.download-card.android {
    background: linear-gradient(160deg, #46C156, #2F9E42);
    box-shadow: 0 4px 12px rgba(47, 158, 66, .35);
}
.download-section .download-card.android:nth-of-type(2) {
    background: linear-gradient(160deg, #2FBFA8, #159A85);
    box-shadow: 0 4px 12px rgba(21, 154, 133, .35);
}
.download-card.ios {
    background: linear-gradient(160deg, #4D8DFB, #2F62E0);
    box-shadow: 0 4px 12px rgba(47, 98, 224, .35);
}
.download-card .ver { opacity: .85; }

/* 提示文字条 */
.desc {
    background: linear-gradient(90deg, rgba(255, 216, 106, .18), rgba(226, 161, 72, .30));
    border-radius: 10px;
    padding: 10px 12px;
}

/* 标签页激活态填充 */
.tab {
    background: #FAFAFA;
    font-size: 13px;
    transition: all .15s ease;
}
.tab.active {
    background: linear-gradient(180deg, #4A3527, #3a2920);
    color: #FFD86A;
    border-color: #3a2920;
    box-shadow: 0 3px 8px rgba(58, 41, 32, .25);
}

/* 图标网格：按压反馈 + 图标投影 */
.icon-item {
    border-radius: 10px;
    padding: 6px 0;
    transition: background .15s ease;
}
.icon-item:active { background: rgba(0, 0, 0, .05); }
.icon-item img {
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* 手机端尺寸微调（放在最后以覆盖前面的媒体查询） */
@media (max-width: 600px) {
    .entry-item { padding: 14px 12px 14px 18px; }
    .entry-link { padding: 6px 12px; font-size: 12px; }
    .box { padding: 16px 14px calc(20px + env(safe-area-inset-bottom)); }
}

/* ===== v2: 测速徽章 + 加大"点击进入"按钮（2026-11-27） ===== */
.entry-left { display: flex; align-items: center; gap: 10px; }
.entry-item { padding: 18px 16px 18px 20px; }
.entry-link {
    font-size: 15px;
    font-weight: 700;
    padding: 11px 22px;
    box-shadow: 0 4px 10px rgba(226, 161, 72, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
    white-space: nowrap;
}
.entry-speed {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .05);
    color: #999;
    -webkit-font-variant-numeric: tabular-nums;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.entry-speed::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 5px;
    background: #bbb;
}
.entry-speed.fast { background: rgba(18, 160, 92, .12); color: #0f9d58; }
.entry-speed.fast::before { background: #12a05c; }
.entry-speed.mid { background: rgba(240, 140, 47, .14); color: #e07b1a; }
.entry-speed.mid::before { background: #F08C2F; }
.entry-speed.slow, .entry-speed.fail { background: rgba(224, 60, 60, .10); color: #d93025; }
.entry-speed.slow::before, .entry-speed.fail::before { background: #e03c3c; }

@media (max-width: 600px) {
    .entry-item { padding: 16px 12px 16px 18px; }
    .entry-link { font-size: 14px; padding: 10px 18px; }
    .entry-speed { font-size: 11px; padding: 3px 8px; }
}

/* ===== v3: 测速改为名称下方小字状态行（2026-11-27） ===== */
.entry-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.entry-left > span:first-child {
    font-size: 17px;
    font-weight: 600;
    color: #34495e;
}
.entry-speed {
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}
.entry-speed::before {
    width: 7px;
    height: 7px;
    margin-right: 6px;
}
@media (max-width: 600px) {
    .entry-left > span:first-child { font-size: 16px; }
    .entry-speed { font-size: 11px; }
}

/* ===== v4: 最外框全宽平铺，去除居中缩进（2026-11-27） ===== */
body { max-width: 100% !important; }
.app { max-width: 100% !important; }
