* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.danmaku-container {
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.danmaku-video {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.danmaku-canvas {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.danmaku-opration {
  width: 800px;
  display: flex;
  align-items: center;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.danmaku-info {
  font-weight: 500;
  color: #ffd866;
}

.danmaku-switch {
  margin-left: auto;
}

.danmaku-input {
  margin-left: 16px;
}

.danmaku-input input {
  width: 200px;
  height: 32px;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background-color: #eee8e8;
}

.danmaku-input input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 216, 102, 0.5);
}

.danmaku-input button {
  margin-left: 8px;
  padding: 0 16px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background-color: #5da9e7;
  color: #333;
  cursor: pointer;
  color: #fff;
}
