/* 弹窗公告 — 与商城前台风格一致的轻量弹层 */
.em-popup-notice-layer.layui-layer {
    max-width: 400px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 10px !important;
    overflow: visible !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
    background: #fff !important;
}

.em-popup-notice-layer .layui-layer-title {
    display: none !important;
}

.em-popup-notice-layer .layui-layer-setwin {
    right: 10px !important;
    top: 10px !important;
    z-index: 2;
}

.em-popup-notice-layer .layui-layer-setwin .layui-layer-close1 {
    margin: 0;
    opacity: 0.45;
    transition: opacity 0.15s;
}

.em-popup-notice-layer .layui-layer-setwin .layui-layer-close1:hover {
    opacity: 0.85;
}

.em-popup-notice-layer .layui-layer-content {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 0 10px 10px;
    line-height: normal;
}

.em-popup-notice {
    overflow: hidden;
    border-radius: 10px;
}

.em-popup-notice-layer .layui-layer-btn {
    display: none !important;
}

.em-popup-notice__head {
    padding: 18px 44px 0 20px;
}

.em-popup-notice__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: #222;
}

.em-popup-notice__scroll {
    max-height: min(50vh, 360px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.em-popup-notice__body {
    padding: 14px 20px 6px;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
    word-break: break-word;
}

.em-popup-notice__body > *:first-child {
    margin-top: 0;
}

.em-popup-notice__body > *:last-child {
    margin-bottom: 0;
}

.em-popup-notice__body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 6px 0;
}

.em-popup-notice__body a {
    color: #4e6ef2;
    text-decoration: none;
}

.em-popup-notice__body a:hover {
    text-decoration: underline;
}

.em-popup-notice__body--empty {
    padding: 20px 20px 10px;
    color: #999;
    font-size: 13px;
    text-align: center;
}

.em-popup-notice__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
}

.em-popup-notice__today {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.em-popup-notice__today:hover {
    color: #666;
}

.em-popup-notice__today input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
    accent-color: #4e6ef2;
}

.em-popup-notice__ok {
    flex-shrink: 0;
    min-width: 88px;
    height: 34px;
    padding: 0 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    background: #4e6ef2;
    cursor: pointer;
    transition: background 0.15s;
}

.em-popup-notice__ok:hover {
    background: #3d5ce0;
}

@media (max-width: 480px) {
    .em-popup-notice__head {
        padding: 16px 40px 0 16px;
    }

    .em-popup-notice__body {
        padding: 12px 16px 4px;
    }

    .em-popup-notice__foot {
        padding: 10px 16px 14px;
    }
}
