﻿.notice-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-box {
    background: #fff;
    border-radius: 10px;
    width: 90%; /* H5 默认 */
    max-width: 450px; /* H5最大宽度 */

    display: flex;
    flex-direction: column;
}

/* PC端 */
@media (min-width: 768px) {
    .notice-box {
        width: 550px;
        max-width: 700px; 
    }
}


/* 头部 */
.notice-header {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* 内容 */
.notice-content {
    padding: 15px;
    font-size: 14px;
    line-height: 1.7;
    max-height: 60vh;
    overflow-y: auto;
}

/* 底部按钮 */
.notice-footer {
    padding: 10px;
    border-top: 1px solid #eee;
    text-align: center;
}

    .notice-footer button {
        background: #1E9FFF;
        color: #fff;
        border: none;
        padding: 10px 30px;
        border-radius: 6px;
        font-size: 15px;
    }

/* 动画 */
@keyframes fadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}
