/* 模态窗口内容样式 - 限制作用域避免影响主页 */

@font-face {
  font-family: 'Zood';
  src: url('../fonts/Zood.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RussellSquareStd';
  src: url('../fonts/RussellSquareStd.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.modal-body {
    background: transparent;
    font-size: 14px;
    cursor: default;
    font-family: 'Microsoft YaHei', sans-serif;
}

.modal-body::-webkit-scrollbar {
    display:none;  
}

.modal-body ul {
    margin: 8px auto 24px 24px;
}

.modal-body h1 {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    line-height: 1em;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, .25);
    text-align: center;
    font-family: 'Microsoft YaHei', sans-serif;
    /*margin-top: -24px;*/
}

.modal-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    line-height: 1em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, .25);
    margin: 12px 16px 4px 16px;
    font-family: 'Microsoft YaHei', sans-serif;
    letter-spacing: 1.5px;
}

.modal-body h2en {
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    line-height: 1em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, .25);
    margin: 24px 16px 4px 16px;
    font-family: 'Zood', 'Microsoft YaHei', 'SimHei', sans-serif;
    letter-spacing: 1px;
}

.modal-body h2mm {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, .25);
    margin: 24px 16px 4px 16px;
    font-family: 'RussellSquareStd', 'Microsoft YaHei', 'SimHei', sans-serif;
    letter-spacing: 1px;
}

.Russell {
    font-family: 'RussellSquareStd', 'Microsoft YaHei', 'SimHei', sans-serif;
    letter-spacing: 4px;
    border: solid 1.5px;
    border-radius: 2px;
    padding: 0 0 0 4px;
}

.modal-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    line-height: 1em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, .25);
    margin: 16px 16px 12px 16px;
    font-family: 'Microsoft YaHei', sans-serif;
    letter-spacing: 2px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.modal-body h4 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin: 8px 16px 4px 16px;
    line-height: 1em;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, .25);
    letter-spacing: 1px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.modal-body h4::before {
    content: "▌";
    font-size: 14px;
}

.modal-body p {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, .25);
    margin: 8px 16px 4px 16px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.modal-body .sub {
    letter-spacing: 0.5px;
    margin: 3px 16px 3px 16px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.modal-body .sub:before {
    content: "✦ ";
}

.modal-body hr {
    margin: 12px 0;
}

.modal-body li {
    margin: 4px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, .25);
    font-family: 'Microsoft YaHei', sans-serif;
}

ul.no-dots {
    list-style: none;
    padding-left: 0;
    margin-left: 10px;
}

.modal-body .item-add {
    font-weight: Bold;
}

.modal-body .item-add:before {
    content: '🆕添加';
    color: #20E120;
    font-weight: Bold;
}

.modal-body .item-add:after {
    content: '–';
    margin-left: 8px;
    margin-right: 8px;
    font-weight: normal;
}

.modal-body .item-des {
    font-weight: Bold;
}

.modal-body .item-des:before {
    content: '⛔移除';
    color: #FA2020;
    font-weight: Bold;
}

.modal-body .item-des:after {
    content: '–';
    margin-left: 8px;
    margin-right: 8px;
    font-weight: normal;
}

.modal-body .item-buff {
    font-weight: Bold;
}

.modal-body .item-buff:before {
    content: '🔼优化';
    color: #20E120;
    font-weight: Bold;
}

.modal-body .item-buff:after {
    content: '–';
    margin-left: 8px;
    margin-right: 8px;
    font-weight: normal;
}

.modal-body .item-nerf {
    font-weight: Bold;
}

.modal-body .item-nerf:before {
    content: '🔽修改';
    color: #FA2020;
    font-weight: Bold;
}

.modal-body .item-nerf:after {
    content: '–';
    margin-left: 8px;
    margin-right: 8px;
    font-weight: normal;
}

.modal-body .item-edit {
    font-weight: Bold;
}

.modal-body .item-edit:before {
    content: '🔄调整';
    color: #EEEE22;
    font-weight: Bold;
}

.modal-body .item-edit:after {
    content: '–';
    margin-left: 8px;
    margin-right: 8px;
    font-weight: normal;
}

.modal-body add {
    color: #20E120;
    font-weight: Bold;
}

.modal-body des {
    color: #FA2020;
    font-weight: Bold;
}

.modal-body edit {
    color: #EEEE22;
    font-weight: Bold;
}

.modal-body prv {
    color: LightSkyBlue;
    font-weight: Bold;
}

.modal-body pub {
    color: Pink;
    font-weight: Bold;
}

.modal-body both {
    background-image: linear-gradient(to right, LightSkyBlue 33% , Pink 67%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: Bold;
}

.modal-body info {
    padding: 0px 0px 0px 15px;
    margin: 0px 0px 0px 15px;
    vertical-align: baseline;
    display: inline-block;
    color: #DDDDDD;
    font-size: 14px;
    font-weight: 500;
}

.modal-body tip {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    vertical-align: baseline;
    display: inline-block;
    color: #DDDDDD;
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
}

.modal-body a {
    font-weight: bold;
    text-decoration: underline;
    color: rgb(0,150,250);
    text-underline-offset: 4px;
}

.modal-body a:hover {
    font-weight: bold;
    text-decoration: underline;
    color: rgb(0,200,250);
}

.top {
    height: 24px;
    width: 30px;
    position: fixed;
    bottom: 0;
    right: 45px;
}

.top a {
    text-decoration: none;
}

.top a:hover {
    text-decoration: none;
}

/* 更新日志内容样式 - 专用于modal.css */

/* 更新日志内容样式 */
.loading, .error {
    text-align: center;
    padding: 50px;
    color: #ccc;
    font-size: 18px;
    font-family: 'Microsoft YaHei', sans-serif;
}

.error {
    color: #ff6b6b;
}

.changelog-section {
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #87CEFA;
}

.changelog-section h3 {
    color: #87CEFA;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #555;
    padding-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.changelog-section h4 {
    color: #fff;
    font-size: 16px;
    margin: 20px 0 12px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.changelog-section h5 {
    color: #ddd;
    font-size: 14px;
    margin: 12px 0 10px 0;
}

.changelog-legend p {
    margin: 8px 0;
    font-size: 13px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
}

.color-yellow {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.color-green {
    color: #32CD32;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.color-red {
    color: #FF6347;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.changelog-section ul {
    margin: 15px 0;
    padding-left: 5px;
}

.changelog-section li {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    padding: 5px 0;
}

.changelog-section li.fix {
    color: #FFD700;
}

.changelog-section li.improvement {
    color: #32CD32;
}

.changelog-section li.removal {
    color: #FF6347;
}

.changelog-meta p {
    margin: 8px 0;
    color: #ccc;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
}

.mission-section {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid #555;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 8px 8px 0;
}

.note {
    font-style: italic;
    color: #999;
    font-size: 12px;
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #666;
}

/* 移动端优化 */
@media (max-width: 768px) {

    .modal-body h2mm {
        font-size: 14px;
    }

    .Russell {
        border: none;
    }

    .modal-body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .modal-body h1 {
        font-size: 20px;
        margin: 15px 0 10px 0;
    }
    
    .modal-body h2 {
        font-size: 18px;
        margin: 12px 0 8px 0;
    }
    
    .modal-body h2en {
        font-size: 27px;
        margin: 4px 0 12px 0;
    }

    .modal-body h3 {
        font-size: 16px;
        margin: 16px 0 6px 0;
    }
    
    .modal-body h4 {
        font-size: 14px;
        margin: 8px 0 5px 0;
    }
    
    .modal-body p {
        margin: 8px 0;
        font-size: 13px;
    }

    .modal-body .sub {
        margin: 3px;
    }

    .modal-body ul {
        margin: 10px 0 20px;
        padding-left: 25px;
    }

    .modal-body ul.no-dots {
        margin: 10px 0 20px;
        padding-left: 15px;
    }
    
    .modal-body li {
        margin: 5px 0;
        font-size: 13px;
        line-height: 1.4;
    }
    
    .modal-body info {
        font-size: 12px;
        padding: 0px 0px 0px 10px;
        margin: 0px 0px 0px 10px;
    }
    
    .modal-body tip {
        font-size: 11px;
    }
    
    .changelog-section {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .changelog-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .changelog-section h4 {
        font-size: 14px;
        margin: 15px 0 8px 0;
    }
    
    .changelog-section h5 {
        font-size: 12px;
        margin: 8px 0 6px 0;
    }
    
    .changelog-section li {
        font-size: 12px;
        margin: 6px 0;
        padding: 3px 0;
    }
    
    .changelog-meta p {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    .mission-section {
        margin: 15px 0;
        padding: 10px 15px;
    }
    
    .note {
        font-size: 10px;
        margin-top: 15px;
        padding: 8px;
    }
    
    .changelog-legend p {
        font-size: 11px;
        padding: 3px 6px;
        margin-right: 5px;
        margin-bottom: 5px;
    }
}
