:root {
  --进度条颜色-已填充: rgb(41, 126, 78);
  --进度条颜色-未填充: rgba(224, 224, 224, 0.85);
  --拇指宽度: 16px;
}

/* 展示区样式 */
.展示区 {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 50px);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.展示区 canvas {
  width: 100%;
  height: 100%;
  cursor: url("/Images/Common/鼠标-默认.cur"), auto;
}

/* 控制区样式 */
.控制区 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.控制面板 {
  background: rgba(40, 40, 40, 0.25);
  backdrop-filter: blur(5px);
  border: 2px solid #5554;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.控制组 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
}

.控制组 > label:first-child {
  user-select: none;
  color: rgb(137, 157, 178);
}

.控制组 label {
  font-family: "Google Sans Code", "Noto Sans SC", 微软雅黑, sans-serif;
  font-weight: 500;
  color: #aaa;
  font-size: 14px;
}

.radio组 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.radio标签 {
  flex: 1;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 2px solid #555;
  border-radius: 6px;
  background: #2a2a2a;
  font-size: 12px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.radio标签:hover {
  border-color: #4a90e2;
  background: #3a3a3a;
}

.radio标签 input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio标签 input[type="radio"]:checked + .radio文本 {
  color: white;
  font-weight: 600;
}

.radio标签 input[type="radio"]:checked ~ .radio标签 {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-color: #4a90e2;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.radio标签:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-color: #4a90e2;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.radio文本 {
  pointer-events: none;
  text-wrap: nowrap;
}

/* 复选控制组样式 */
.复选控制组 {
  gap: 45px;
  flex-direction: row;
}

.复选组件 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 环形复选框样式 */
.checkbox标签 {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #aaa;
  font-weight: 500;
  transition: all 150ms ease;
}

.checkbox标签:hover {
  color: #ddd;
}

.checkbox标签:has(input[type="checkbox"]:checked) {
  color: #ffffff;
}

.checkbox标签 input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox自定义 {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 50%;
  background: #2a2a2a;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox标签:hover .checkbox自定义 {
  border-color: #4a90e2;
  background: #3a3a3a;
}

.checkbox标签 input[type="checkbox"]:checked + .checkbox自定义 {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border-color: #4a90e2;
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.checkbox标签 input[type="checkbox"]:checked + .checkbox自定义::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.checkbox标签 input[type="checkbox"]:not(:checked) + .checkbox自定义::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease;
}

.checkbox文本 {
  pointer-events: none;
  user-select: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .控制区 {
    position: fixed;
    bottom: 10px;
    right: 10px;
  }

  .控制面板 {
    width: 180px;
    padding: 15px;
  }

  .展示区 {
    top: 50px;
    height: calc(100vh - 50px);
  }
}
