
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, header, footer, section, aside, article { padding: 0px; margin: 0px; }
body {}
address, caption, cite, code, dfn, em, th, var { font-weight: normal; font-style: normal; }
abbr, acronym, img, input { border: 0px; }
input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; }
ul, ol, li { list-style: none; }
table { border-collapse: collapse; border-spacing: 0px; }
a { color: rgb(215, 181, 145); text-decoration: none; }
a:hover { color: rgb(255, 255, 255); text-decoration: none; }
a:focus, input:focus { outline: 0px; }
img { border: 0px; vertical-align: top; }
#cadpa {width: 110px;/* height: 100px; */position: absolute;top: 50%;margin-top: -70px;left: 50%;margin-left: 436px;display: block;z-index: 2;}
#cadpa img {width: 95px;/* height: 154px; */}

/* 桌面端样式 */
.cadpa-img { text-align: center; height: 120px; }
.cadpa-img img { width: auto; height: 102px; display: inline-block; margin: 0px 10px; }
.cadpa-img img.gamelogo {height: 98px;padding: 0px 20px;/* border: 2px solid rgb(34, 34, 34); */border-radius: 8px;}

/* 桌面端弹窗样式 */
.md-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 70%;
    max-width: 1400px;
    min-width: 800px;
    height: 70%;
    z-index: 2147483647;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%);
}

.md-modal-hdp {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 96%;
    max-width: 1900px;
    min-width: 830px;
    height: 70%;
    z-index: 2147483647;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%);
}

.md-show { visibility: visible; }

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0px;
    left: 0px;
    z-index: 999999;
    opacity: 0;
    background: rgba(1, 1, 1, 0.6);
    transition: all 0.3s ease 0s;
}

.md-show ~ .md-overlay { opacity: 1; visibility: visible; }

/* 桌面端弹窗内容样式 */
.md-content {
    height: 100%;
    color: rgb(91, 91, 91);
    background: rgb(255, 255, 255);
    position: relative;
    border-radius: 8px;
    margin: 0px auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.md-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 0px;
    padding: 20px 20px 0px;
    text-align: center;
    background: rgb(255, 255, 255);
    border-radius: 8px;
    color: rgb(51, 51, 51);
    overflow: hidden;
}

/* 桌面端关闭按钮 */
.md-content .md-close {
    width: 98px;
    height: 32px;
    line-height: 49px;
    position: absolute;
    left: 88%;
    bottom: 15px;
    font-size: 17px;
    color: rgb(255, 255, 255);
    background: rgb(191 182 153);
    border: none;
    cursor: pointer;
    border-radius: 120px;
    transition: all 0.3s ease;
}

.md-content .md-close-hdp {
    width: 120px;
    height: 120px;
    line-height: 49px;
    position: absolute;
    left: 88%;
    bottom: 15px;
    font-size: 126px;
    color: rgb(255, 255, 255);
    background: rgb(108, 112, 154);
    border: none;
    cursor: pointer;
    border-radius: 120px;
}

.md-content .md-close:hover {
    background: rgb(133 127 97);
    transform: scale(1.05);
}

.md-content .md-close-hdp:hover { 
    background: rgb(133, 137, 178); 
}

/* 桌面端内容区域 */
.md-content .md-main {
    padding: 0px 40px;
    height: 79%;
    margin: 15px 0px 0px;
    font-size: 14px;
    overflow-y: scroll;
}

.md-content .md-main-img {
    width: 100%;
    height: auto;
    margin: 0px auto;
}

.md-content .md-main-img img {
    width: 90%;
    height: auto;
    margin: 0px 0px 20px;
    min-width: 320px;
}

.md-content > div p {
    line-height: 28px;
    text-indent: 28px;
    margin-bottom: 6px;
    text-align: left;
}

/* 动画效果 */
.md-effect-1 .md-content {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.md-show.md-effect-1 .md-content {
    transform: scale(1);
    opacity: 1;
}

/* 移动设备响应式样式 */
@media (max-width: 768px) {
    /* 移动端弹窗 */
    .md-modal {
        width: 95%;
        min-width: auto;
        height: auto;
        max-height: 90vh;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    
    /* 移动端弹窗内容 */
    .md-content {
        height: auto;
        max-height: 90vh;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }
    
    /* 移动端标题 */
    .md-content h3 {
        font-size: 18px;
        padding: 15px 15px 0px;
        margin-bottom: 10px;
    }
    
    /* 移动端图片区域 */
    .cadpa-img {
        height: auto;
        margin: 10px 0;
    }
    
    .cadpa-img img {
        height: 60px;
        margin: 0 5px;
    }
    
    .cadpa-img img.gamelogo {
        height: 55px;
        padding: 0 10px;
    }
    
    /* 移动端内容区域 */
    .md-content .md-main {
        padding: 0 20px;
        height: 65vh;
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* 移动端文本样式 */
    .md-content > div p {
        line-height: 24px;
        text-indent: 20px;
        margin-bottom: 8px;
    }
    
    /* 移动端关闭按钮 */
    .md-content .md-close {
        width: 80px;
        height: 36px;
        line-height: 36px;
        left: 50%;
        bottom: 15px;
        transform: translateX(-50%);
        font-size: 15px;
        border-radius: 18px;
        background: rgb(175, 165, 135);
    }
    
    .md-content .md-close:hover {
        background: rgb(145, 135, 105);
        transform: translateX(-50%) scale(1.05);
    }
    
    /* 移动端遮罩 */
    .md-overlay {
        background: rgba(1, 1, 1, 0.8);
    }
    
    /* 移动端动画调整 */
    .md-effect-1 .md-content {
        transform: scale(0.9);
        opacity: 0;
        transition: all 0.4s ease 0s;
    }
    
    .md-show.md-effect-1 .md-content {
        transform: scale(1);
        opacity: 1;
    }
}
