.downlinks,
.downlinks-exe {
    height: 35px;
    line-height: 1;
    font-size: 16px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    padding: 0 4px;
    /* width: 150px; */
    padding: 0 10px;
    background: #285A8F;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.downlinks:hover,
.downlinks-exe:hover {
    background: #3178ce;
}
.downlinks svg,
.downlinks-exe svg{
    width: 20px;
    height: 20px;
    display: inline-block;
    fill: currentColor;
}

.game_information {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

/* info 占据图标右侧剩余宽度，下载行据此整行对齐 */
.game_information .info.hd {
    flex: 1;
    min-width: 0;
    width: auto;
}

/* 下载行整行铺满：左边与图标左对齐，右边与 Safe to Install 右对齐 */
.game_information .down-share {
    flex: 0 0 100%;
    width: 100%;
    display: block;
}

/* 分享按钮固定在标题区域右上角 */
.game_information .share-item.share-link {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    z-index: 6;
}
/* 弹层贴右展开，避免溢出右侧 */
.game_information .share-pop {
    left: auto;
    right: 0;
    transform: none;
}


.game_information .info h1 {
    text-align: left;
    padding-right: 48px;
    margin-bottom: 0
}

.hd {
    text-align: left;
    width: 640px;
}

.game_information .img {
    margin: 0;
    display: block;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    border-radius: 0;
    /* aspect-ratio: auto 100/100; */
}

/* 下载页：评分 / 包大小 / 版本 / 安全 信息卡片（样式参考 407pc.jpg） */
.game-stats {
    display: flex;
    gap: 12px;
    width: 100%;
    margin: 16px 0 0;
}
.game-stats .stat-item {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    background: #fff;
    text-align: left;
}
.game-stats .stat-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.game-stats .stat-icon svg {
    width: 22px;
    height: 22px;
}
.game-stats .stat-icon-rating svg { fill: #f5b016; }
.game-stats .stat-icon-size svg { fill: #2f64d8; }
.game-stats .stat-icon-version svg { fill: #2f64d8; }
.game-stats .stat-icon-safe svg { fill: #1aa260; }
.game-stats .stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.game-stats .stat-value {
    font-size: 14px;
    font-weight: bold;
    color: #1f2937;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.game-stats .stat-label {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.3;
}

.game_information {
    width: 790px;
}

.m_top {
    margin-top: 0px !important;
}

/* 下载后面的三个点 */
.dotting {
    display: inline-block;
    min-width: 4px;
    min-height: 4px;
    box-shadow: 4px 0 currentColor, 12px 0 currentColor, 20px 0 currentColor;
    -webkit-animation: dot 2.8s infinite step-start both;
    animation: dot 2.8s infinite step-start both;
}

@-webkit-keyframes dot {
    25% {
        box-shadow: none;
    }

    50% {
        box-shadow: 4px 0 currentColor;
    }

    75% {
        box-shadow: 4px 0 currentColor, 12px 0 currentColor;
    }
}

@keyframes dot {
    25% {
        box-shadow: none;
    }

    50% {
        box-shadow: 4px 0 currentColor;
    }

    75% {
        box-shadow: 4px 0 currentColor, 12px 0 currentColor;
    }
}

/* 点击重新下载后的按钮样式 */
.gray {
    background-color: gray;
}

.gray:hover {
    background-color: gray;
}

/* 下载页：网盘/直链双卡片（样式参考 407pc.jpg） */
.download-cards {
    display: flex;
    gap: 16px;
    width: 100%;
    margin: 16px auto 0;
    text-align: left;
}
.dl-card {
    position: relative;
    flex: 1;
    min-width: 0;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
/* 网盘卡片默认隐藏，info_url 返回 pan_url 后由 JS 加 .pan-on 显示 */
.dl-card-pan { display: none; border-color: #cfe0fb; }
.dl-card-pan .dl-card-body { background: #eef3fc; }
.download-cards.pan-on .dl-card-pan { display: block; }
.dl-card-head {
    position: relative;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #6b7280;
    background: #f0f2f5;
}
.dl-card-pan .dl-card-head {
    color: #fff;
    background: linear-gradient(90deg, #2f6fe0, #1f4fc4);
}
.dl-flash { margin: 0 6px; color: #ffd23a; }
/* 角标：贴右上角的 45° 缎带，上沿与 RECOMMENDED 顶部齐平、右沿与其右侧齐平，
   留约 1px 间距；超出卡片的部分由卡片自身 overflow:hidden 裁切 */
.dl-ribbon {
    position: absolute;
    top: 16px;
    right: -31px;
    width: 116px;
    padding: 3px 0;
    transform: rotate(45deg);
    text-align: center;
    font-style: normal;
    font-weight: bold;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .3px;
    color: #16357a;
    background: #f5b016;
    box-shadow: -1px 1px 2px rgba(0, 0, 0, .18);
}
.dl-card-body { padding: 16px; }
.download-cards .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 6px;
    background: #2f64d8;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.download-cards .btn:hover { background: #2554c0; }
.download-cards .btn.gray { background: gray; }
.download-cards .btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.pan-code {
    display: none;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #285A8F;
}
.pan-code.on { display: block; }
.dl-tips {
    margin: 12px 0 0;
    padding-left: 18px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
    list-style: disc;
}

/* 下载页：Telegram 频道加入按钮（样式参考 www.png，配色沿用站点主蓝渐变） */
.tg-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
    padding: 0 28px;
    height: 48px;
    box-sizing: border-box;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f6fe0, #1f4fc4);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .2s, box-shadow .2s;
}
.tg-join-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 14px rgba(31, 79, 196, .35);
    color: #fff;
}
.tg-join-btn .tg-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}
.tg-join-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
}
