.notice-bar div {
    display: inline-block;
    /* 保持内容块居中 */
    z-index: 100;
}

.notice-bar {
    display: flex;
    /* 使用 Flexbox 布局 */
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
    background-color: #f2dede;
    color: #a94442;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 添加阴影 */
    border-radius: 15px;
    position: absolute;
    margin-top: -20px;
    text-align: center;
    width: 90%;
    height: 20px;
    z-index: 100;

}

.notice-bar.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-height: none;
    /* 取消最大高度限制 */
    max-width: none;
    /* 取消最大宽度限制 */
    margin-top: 0;
    /* 移除顶部外边距 */
    z-index: 9999;
    /* 确保通知在最上层 */
}

.normal {
    background-color: #ffffff;
    color: #333;
}

.important {
    font-weight: 900;
    background-color: #f2dede;
    color: #ec1713;
}

.issues {
    font-weight: 600;
    background-color: #fff1a3;
    color: #a58d3e;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    font-size: 40px;
    cursor: pointer;
    padding: 5px;
}