:root {
  --进度条颜色-已填充: rgb(41, 126, 78);
  --进度条颜色-未填充: rgba(224, 224, 224, 0.85);
  --拇指宽度: 16px;
  --鼠标-指向: url("/Images/Common/鼠标-指向.cur"), pointer;
}

body {
  font-family: "Google Sans Code", "JetBranins Mono", Consolas, "Noto Sans SC", 微软雅黑, sans-serif;
}

.总区 {
  padding-top: 50px;
  height: max(100vh, 800px);
  overflow: hidden;
}

#canvas容器 {
  width: 100%;
  height: 100%;
}

#canvas {
  width: 100%;
  height: 100%;
}

#设置区 {
  position: fixed;
  bottom: 35px;
  left: 1.5vw;
}

/* ==================== 设置区分区 ==================== */
.设置分区 {
  display: flex;
  flex-direction: column;
}

/* ==================== 复选框 ==================== */
.复选框项 {
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.复选框项 input[type="checkbox"] {
  display: none;
}

/* 复选框框体：圆角5px正方形描边 */
.复选框框体 {
  width: 18px;
  height: 18px;
  border: 2px solid #fff4;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

/* hover 状态 */
.复选框项:hover .复选框框体 {
  border-color: #fff7;
}

/* 确认状态描边 */
.复选框项 input[type="checkbox"]:checked + .复选框框体 {
  border-color: #fff7;
}

/* 打勾：用 2px 等宽边框绘制，旋转45°形成短臂+长臂等宽的√ */
.复选框项 input[type="checkbox"]:checked + .复选框框体::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(45deg);
}

.复选框文本 {
  font-size: 14px;
  color: #aaa;
  line-height: 1;
}

.复选框项:hover .复选框文本 {
  color: #fff;
}

#电脑区 {
  position: fixed;
  bottom: 25px;
  right: 1.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

#电脑区::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, transparent 0%, #345 100%);
  transition: transform 250ms;
  pointer-events: none;
  z-index: -1;
}

#电脑区:has(#电脑1:checked)::after {
  transform: translateX(0);
}

#电脑区:has(#电脑2:checked)::after {
  transform: translateX(100%);
}

.电脑分区 {
  position: relative;
  padding: 15px 20px;
  border-radius: 10px;
  transition: 125ms;
}

.电脑分区:hover::before {
  content: "";
  background: center/contain no-repeat url("./Images/向下箭头动画.svg");
  position: absolute;
  bottom: 95%;
  left: 50%;
  translate: -50% 0;
  width: 40px;
  height: 40px;
  scale: 1.25;
}

.电脑分区:hover,
.单选标签.定制标签 .单选框:hover,
.单选标签.定制标签:hover {
  cursor: var(--鼠标-指向);
}

.单选标签.定制标签 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.单选标签.定制标签 .图像容器 {
  width: 75px;
  height: 75px;
}

.图像 {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.标题 {
  color: #ccc;
}

.标签序号 {
  color: greenyellow;
  margin-left: 2px;
}

.单选标签.定制标签 .单选框 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  background-color: transparent;
}
