/* 公告面板（对齐 live-web-operator _notice/index.vue 结构） */
#video-right .chat-main.chat-main-with-tabs #panel-notice.assistant-panel {
  background: #1a1d21;
  position: relative;
  min-height: 0;
}

.notice-panel-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  color: #e6e8ea;
  font-size: 14px;
  overflow: hidden;
}

.notice-top {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  padding: 0 14px;
  background: #282828;
}

.notice-top-title {
  font-size: 12px;
  color: #fff;
}

.notice-btn {
  min-width: 72px;
  height: 28px;
  padding: 0 10px;
  line-height: 26px;
  font-size: 13px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.notice-btn--primary {
  background: #ff6a00;
  color: #fff;
  border-color: #ff6a00;
}

.notice-btn--primary:hover {
  filter: brightness(1.05);
}

.notice-btn--outline {
  background: #fff;
  color: #333;
  border-color: #e1e1e1;
}

.notice-btn--danger {
  float: right;
  margin-top: 8px;
  margin-right: 14px;
  background: #f55757;
  color: #fff;
  border-color: #f55757;
}

.notice-msg {
  padding: 12px 14px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.notice-msg p {
  margin: 10px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #6b7078;
}

.notice-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.notice-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: center;
}

.notice-empty p {
  color: #6b7078;
}
.notice-content-box {
  margin: 14px 14px 0;
  padding: 10px;
  min-height: 120px;
  max-height: 280px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  word-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
  user-select: text;
}

.notice-content-box::-webkit-scrollbar {
  width: 4px;
}

.notice-content-box::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}

.notice-edit-wrap {
  margin: 14px 14px 0;
}

#notice-textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  padding: 8px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

#notice-textarea:focus {
  outline: none;
  border-color: #ff6a00;
}

.notice-edit-meta {
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.notice-edit-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.notice-footer-clear {
  clear: both;
}

/* 删除确认弹层 */
.notice-modal-mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100002;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
}

.notice-modal-mask.is-open {
  display: flex;
}

.notice-modal {
  width: 360px;
  max-width: 90vw;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.notice-modal-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.notice-modal-close {
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0 4px;
}

.notice-modal-bd {
  padding: 20px 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.notice-modal-ft {
  padding: 12px 16px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
