.container {
    margin: 0px auto;
    width: 850px;
    height: 330px;
    overflow: hidden;
}

/* 保持原有样式但优化选择器 */
.version-box {
    float: left;
    width: 550px;
    height: 115px;
    /* 修改为100px高度 */
    margin: 10px 20px;
    /* 添加弹性布局备用方案 */
    display: flow-root;
    overflow-y: auto !important;
    /* 强制启用垂直滚动 */
    padding-left: 0px;
    /* 为滚动条预留空间 */
}

.version-box h3 {
    padding-left: 0px;
}

.version-box ul {
    list-style-type: none;
}

.version-box li {
    margin-left: 0;
    padding-left: 0;
}


/* 优化按钮交互效果 */
.download-btn,
.lishi-btn {
    display: inline-block;
    padding: 2px 10px;
    margin-left: 10px;
    background-color: #CC0000;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
    /* 添加平滑过渡 */
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #FF0000;
}

.lishi-btn {
    display: inline-block;
    padding: 2px 10px;
    margin-left: 10px;
    background-color: #555555;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: normal;
}

.lishi-btn:hover {
    background-color: #CC0000;
}

/* 新增二维码表格样式 */
.qrcode-table {
    border-collapse: collapse;
    margin: 0;
    border: none;
}

.qrcode-table td {
    vertical-align: top;
    padding: 0 30px;
    text-align: center;
    border: none;
}

.qrcode-container {
    float: right;
    margin: 20px 20px 0 0;
    text-align: center;
}

.qrcode-group {
    display: flex;
    gap: 25px;
}

.qrcode-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    padding: 3px;
    /* 防止图片内容溢出边框 */
}

.qrcode-item img:hover {
    border-color: #CC0000;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
    /* 可选悬停阴影效果 */
}

.qrcode-item img:active {
    border-color: #FF0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    /* 可选点击扩散效果 */
}

.feature-table {
    font-size: 14px;
    width: 800px;
    border-collapse: collapse;
    margin: 0px 20px;
    clear: both;
}

.feature-table td,
.feature-table th {
    border: 1px solid #FF0000;
    padding: 5px 15px;
    text-align: left;
}

.contact-button {
    background: #CC0000;
    color: white;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.contact-button:active {
    background: #FF0000;
}

.contact-info {
    clear: both;
    padding: 10px 20px 0 20px;
    /* 调整内边距，顶部为0 */
    margin: 10px 0;
    position: relative;
    display: block;
    /* 改为block布局 */
}

.contact-info h3 {
    margin-top: 0;
    /* 确保标题顶部无间距 */
    padding-top: 0;
}

.contact-info .qrcode-container {
    position: static;
    /* 取消绝对定位 */
    float: right;
    margin: 0 0 0px 10px;
}

/* 移除全局滚动条隐藏，避免冲突 */
/* 强制隐藏滚动条 */
/* ::-webkit-scrollbar {
    display: none;
} */

/* 推广区块浮动定位 */
.promo-float {
    position: absolute;
    left: 280px;
    /* 距离右侧10px */
    top: 5px;
    /* 距离顶部10px */
    width: 250px;
    z-index: 10;
    /* 确保在最上层 */
}

/* 推广内容样式 */
.promotion-box {
    width: 100%;
    padding: 5px;
    background-color: #333333;
    /* 半透明背景 */
    border-radius: 3px;
    text-align: center;
    border: 0px solid #111111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 联系内容样式 */
.contact-content {
    clear: both;
    /* 清除浮动影响 */
    padding-top: 10px;
    /* 与上方内容保持间距 */
}

/* 响应式调整 */
@media (max-width: 300px) {
    .promo-float {
        position: static;
        /* 小屏幕取消浮动 */
        width: 100%;
        margin: 10px 0;
    }
}

/* 添加响应式布局基础 */
@media screen and (max-width: 600px) {

    .version-box,
    .qrcode-container {
        width: 100%;
        margin: 10px 0;
        float: none;
    }
}

/* 添加清除浮动的样式 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.version-changes {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
}

.change-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    font-size: 14px;
}

.change-type {
    display: inline-block;
    min-width: 50px;
    padding: 2px 8px;
    margin-right: 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    height: 22px;
    line-height: 18px;
}

.change-type.new {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success);
}

.change-type.improved {
    background-color: rgba(33, 150, 243, 0.2);
    color: var(--info);
}

.change-type.fixed {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--danger);
}

.change-type.custom {
    background-color: rgba(255, 235, 59, 0.2);
    color: var(--warning);
}

/* 添加Firefox滚动条支持 */
/* 美化滚动条 - 暗黑色调优化 (覆盖所有子元素) */
.version-box::-webkit-scrollbar,
.version-box *::-webkit-scrollbar {
    width: 5px !important;
    /* 适度宽度提升可用性 */
}

.version-box::-webkit-scrollbar-track,
.version-box *::-webkit-scrollbar-track {
    background: #222222 !important;
    /* 深色轨道，融入暗黑色调 */
    border-radius: 3px !important;
}

.version-box::-webkit-scrollbar-thumb,
.version-box *::-webkit-scrollbar-thumb {
    background: #444444 !important;
    /* 深色滑块 */
    border-radius: 3px !important;
}

.version-box::-webkit-scrollbar-thumb:hover,
.version-box *::-webkit-scrollbar-thumb:hover {
    background: #555555 !important;
    /* 悬停时稍亮 */
}

/* Firefox滚动条兼容性 (覆盖所有子元素) */
.version-box,
.version-box * {
    scrollbar-width: thin !important;
    scrollbar-color: #444444 #222222 !important;
}

#updateLog.version-changes {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 90px !important;
    /* 3行文字高度 */
    white-space: normal !important;
    /* 横向溢出自动换行 */
    width: 550px !important;
    /* 强制横向宽度 */
    padding-right: 20px !important;
    /* 为滚动条预留10px间距 */
    word-wrap: break-word !important;
    /* 增强长文本换行兼容性 */
    padding: 10px 0;
    margin: 0;
    list-style: none;
}

.version-box,
.log-content {
    overflow: visible !important;
    height: auto !important;
    position: static !important;
}

#updateLog.version-changes .log-content {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 500px !important;
}

.log-content:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    white-space: normal;
    max-width: 300px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}