/* CSS 样式 */
.gonggao .announcement-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none; /* 默认隐藏 */
}

.gonggao .announcement-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  /* height: 70vh; */
  height: auto;
  background: rgba(255, 255, 255, 0.788);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.gonggao .content {
    text-align: center;
}

.gonggao .buttons {
  position: absolute;
  bottom: 20px;
  width: calc(100% - 40px);
  display: flex;
  justify-content: space-between;
}

.gonggao button {
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.gonggao .confirm-btn {
  background: #f0f0f0;
}

.gonggao .redirect-btn {
  background: #1890ff;
  color: white;
}