/* 设置观看端在线人数基数弹层（assistant 演示页） */
#room-base-modal-mask.demo-room-base-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100008;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#room-base-modal-mask.demo-room-base-mask.is-open {
  display: flex;
}

.demo-room-base-dialog {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.demo-room-base-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #eee;
}

.demo-room-base-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.demo-room-base-close {
  flex-shrink: 0;
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
}

.demo-room-base-close:hover {
  color: #333;
}

.demo-room-base-bd {
  padding: 22px 18px;
}

.demo-room-base-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-room-base-row label {
  flex-shrink: 0;
  font-size: 14px;
  color: #333;
}

#room-base-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

#room-base-input:focus {
  outline: none;
  border-color: #ff8c31;
}

.demo-room-base-ft {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid #eee;
}

.demo-room-base-btn {
  min-width: 72px;
  height: 32px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.demo-room-base-btn--cancel {
  background: #fff;
  border-color: #dcdfe6;
  color: #606266;
}

.demo-room-base-btn--ok {
  background: #ff8c31;
  border-color: #ff8c31;
  color: #fff;
}

.demo-room-base-btn--ok:hover {
  filter: brightness(1.03);
}
