/* PC/WAP 公告 */
.mccms-notice-scroll {
    position: relative;
    z-index: 9998;
    height: 34px;
    line-height: 34px;
    overflow: hidden;
    background: #fff8e6;
    border-bottom: 1px solid #f0d9a8;
    color: #8a5a00;
    font-size: 13px;
}
.mccms-notice-scroll-inner {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: mccms-notice-marquee 18s linear infinite;
}
.mccms-notice-scroll-item {
    display: inline-block;
    margin-right: 70px;
}
.mccms-notice-scroll:hover .mccms-notice-scroll-inner {
    animation-play-state: paused;
}
@keyframes mccms-notice-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.mccms-notice-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, .45);
}
.mccms-notice-popup {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
    overflow: hidden;
    color: #333;
}
.mccms-notice-popup-head {
    padding: 18px 48px 12px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
}
.mccms-notice-popup-close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #999;
    font-size: 24px;
    cursor: pointer;
}
.mccms-notice-popup-close:hover {
    background: #f5f5f5;
    color: #333;
}
.mccms-notice-popup-body {
    padding: 16px 20px 20px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
}
.mccms-notice-popup-body p { margin: 0 0 10px; }
.mccms-notice-popup-body ul,
.mccms-notice-popup-body ol { margin: 0 0 10px 20px; }
.mccms-notice-popup-body a { color: #01aaed; text-decoration: none; }
.mccms-notice-popup-body a:hover { text-decoration: underline; }
.mccms-notice-popup-body h1,
.mccms-notice-popup-body h2,
.mccms-notice-popup-body h3 { margin: 12px 0 8px; font-size: 17px; }
@media screen and (max-width: 600px) {
    .mccms-notice-popup { max-height: 82vh; }
    .mccms-notice-popup-head { font-size: 16px; }
}
