@charset "UTF-8";
.white {
  fill: #fff;
}

.fil71 {
  fill: #EEEEEF;
}

.blue {
  fill: #0000FF;
}

.green {
  fill: #019C01;
}

.fil01 {
  fill: #30CEFE;
}

.red {
  fill: #FE0000;
}

.orange {
  fill: #FF7603;
}

.yellow {
  fill: #ffff00;
}

body,
html {
  overflow: hidden;
}

body {
  position: relative;
  background-color: #66cbff;
}

body::before {
  /* position: absolute; */
  content: "";
  top: -50%;
  left: 0;
  width: 1000%;
  height: 1000%;
  /* background-image: url(./2.png); */
  opacity: 0.04;
  background-repeat: repeat repeat;
}

.watermark {
  width: 80%;
  margin: 30px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watermark input {
  width: 80%;
  border-radius: 15px;
}

.name {
  width: 100%;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  padding: 5px 0;
}

svg {
  width: 60%;
  height: 29%;
  margin: 0 auto;
  display: block;
}

.tianjia {
  display: block;
  width: 50%;
  height: auto;
  margin: 0 auto;
}

.color-all {
  margin: 50px 0 0;
  display: none;
}
.color-all ul {
  display: flex;
  justify-content: center;
}
.color-all ul .clear {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #b48e56;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}
.color-all ul .clear:hover {
  background-color: #e0e0e0;
  color: #555;
}
.color-all ul .clear:active {
  background-color: #d0d0d0;
  color: #666;
}
.color-all ul .item {
  margin: 0 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.color-all ul .item:hover {
  color: #ec8430;
  transition: background-color 0.3s;
}
.color-all li {
  margin: 0 10px;
}

.item-color {
  width: 20px;
  height: 20px;
  margin: 0 auto 10px;
  border-radius: 6cap;
  border: 2px solid #fff;
}

.white .item-color {
  background-color: #fff;
}

.yellow .item-color {
  background-color: #ffff00;
}

.blue .item-color {
  background-color: #0000FF;
}

.green .item-color {
  background-color: #019C01;
}

.red .item-color {
  background-color: #FE0000;
}

.orange .item-color {
  background-color: #FF7603;
}

.svg-wai {
  width: 40%;
  height: auto;
  margin: 0 auto;
}

.str0 {
  cursor: pointer;
}

/* 只有 .up 类路径可交互 */
path {
  cursor: pointer;
  transition: filter 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
  vector-effect: non-scaling-stroke;
  /* 保持描边比例 */
}

/* 选中样式 ———— 非常醒目的高亮效果 */
path.selected {
  stroke: #FFE484;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px #FFB347) drop-shadow(0 0 22px #FF9100);
  -webkit-animation: pulse-glow 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1);
          animation: pulse-glow 0.45s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* 鼠标悬浮在可交互路径上的微动效果 */
path:hover {
  filter: drop-shadow(0 0 5px #ffaa33);
  stroke: #ffcd7e;
  stroke-width: 3;
  transition: all 0.15s;
}

/* 脉冲动画 — 让选中瞬间更惊艳 */
@-webkit-keyframes pulse-glow {
  0% {
    stroke-width: 2;
    filter: drop-shadow(0 0 0px #ffb347);
    opacity: 0.9;
  }
  40% {
    stroke-width: 12;
    filter: drop-shadow(0 0 28px #ff7700);
  }
  100% {
    stroke-width: 8;
    filter: drop-shadow(0 0 12px #FFB347) drop-shadow(0 0 22px #FF9100);
    opacity: 1;
  }
}
@keyframes pulse-glow {
  0% {
    stroke-width: 2;
    filter: drop-shadow(0 0 0px #ffb347);
    opacity: 0.9;
  }
  40% {
    stroke-width: 12;
    filter: drop-shadow(0 0 28px #ff7700);
  }
  100% {
    stroke-width: 8;
    filter: drop-shadow(0 0 12px #FFB347) drop-shadow(0 0 22px #FF9100);
    opacity: 1;
  }
}
.disorganize {
  margin: 20px 0 0;
}
.disorganize .clear {
  display: flex;
  justify-content: center;
  transition: background-color 0.3s;
}
.disorganize .clear p {
  cursor: pointer;
}
.disorganize .clear p:hover {
  color: #ec8430;
  transition: background-color 0.3s;
}
.disorganize .clear p:active {
  background-color: #d0d0d0;
  color: #666;
}
.disorganize .clear p {
  display: block;
  background-color: #fff;
  padding: 30px;
  width: auto;
  margin: 0 auto;
}
.disorganize .list {
  margin: 40px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.disorganize .list:last-child {
  margin: 40px 0 0;
}
.disorganize .item {
  min-width: 30px;
  padding: 10px 20px;
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b48e56;
  background-color: #c6a211;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}
.disorganize .item:hover {
  background-color: #e0e0e0;
  color: #555;
}
.disorganize .item:active {
  background-color: #d0d0d0;
  color: #666;
}

/* 按钮容器 */
.change-style .border {
  display: flex;
  justify-content: center;
  gap: 12px;
  background: transparent;
  padding: 0;
}
.change-style .style2 {
  display: none;
}
.change-style p {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 0;
  padding: 8px 20px;
  background: #e2e8f0;
  /* 浅灰背景 */
  color: #1e293b;
  /* 深灰文字 */
  border-radius: 8px;
  /* 圆角 */
  font-size: 14px;
  font-weight: 500;
  font-family: system-ui, -apple-system, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-align: center;
  white-space: nowrap;
}
.change-style p:hover {
  background: #cbd5e1;
  transform: translateY(-1px);
  /* 轻微上浮 */
}
.change-style p:active {
  transform: translateY(1px);
  /* 下沉反馈 */
}
.change-style p.active {
  background: #3b82f6;
  /* 蓝色强调 */
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.changStyle .color-all,
.changStyle .style2 {
  display: block;
}
.changStyle .qiujie,
.changStyle .watermark,
.changStyle .disorganize,
.changStyle .style1 {
  display: none;
}

/* 重置按钮容器 */
.clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF7603, #FF9F4A);
  border-radius: 48px;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 14px rgba(255, 118, 3, 0.3);
  border: none;
  outline: none;
}

/* 内部文字样式 */
.disorganize {
  /* 悬停效果：上浮+阴影加深 */
  /* 点击效果：下沉 */
  /* 可选：聚焦时的轮廓（辅助键盘导航） */
}
.disorganize .clear:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #FF8C2E, #FFB05C);
  box-shadow: 0 12px 20px rgba(255, 118, 3, 0.4);
}
.disorganize .clear:hover p {
  transform: scale(1.02);
}
.disorganize .clear:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgba(255, 118, 3, 0.3);
  transition: all 0.05s;
}
.disorganize .clear:focus-visible {
  outline: 2px solid #FF7603;
  outline-offset: 2px;
}

.disorganize {
  /* 重置按钮容器 */
  /* 内部文字 */
  /* 可选：添加刷新图标（伪元素） */
  /* 悬停效果 */
  /* 点击效果 */
}
.disorganize .border {
  display: flex;
  align-items: center;
  justify-content: center;
}
.disorganize .clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 48px;
  padding: 0 24px;
  margin: 0 auto;
  width: auto;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.disorganize .clear p {
  width: auto;
  margin: 0 auto;
  padding: 10px 0;
  font-weight: 500;
  color: #475569;
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.disorganize .clear:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.disorganize .clear:hover::before {
  transform: rotate(30deg);
  color: #FF7603;
}
.disorganize .clear:hover p {
  color: #FF7603;
}
.disorganize .clear:active {
  transform: scale(0.97);
  transition: 0.05s;
}

.qiujie {
  width: 80%;
  margin: 0 auto;
  /* ===== 简约求解器样式 ===== */
  /* 求解按钮 */
  /* 底部信息区 */
  /* 响应式：小屏垂直排列 */
}
.qiujie .border {
  width: 55%;
  margin: 0 auto;
  display: flex;
}
.qiujie .border {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-radius: 0.75rem;
  border: 1px solid #e9ecef;
}
.qiujie .solve {
  background: #212529;
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.qiujie .solve:hover {
  background: #343a40;
}
.qiujie .solve:active {
  background: #000;
}
.qiujie .bottom {
  flex: 1;
}
.qiujie .text {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  flex-wrap: wrap;
}
.qiujie .num {
  background: #e9ecef;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-weight: 600;
  color: #0d6efd;
  font-size: 0.9rem;
  min-width: 2rem;
  text-align: center;
  display: inline-block;
}
.qiujie .txt {
  background: #e9ecef;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  min-width: 6rem;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 1rem;
  color: #2c3e50;
  word-break: break-word;
  display: inline-block;
}
@media (max-width: 991.98px) {
  .qiujie .border {
    flex-direction: column;
    align-items: stretch;
  }
  .qiujie .solve {
    align-self: flex-start;
  }
}

@media (max-width: 991.98px) {
  .watermark .name {
    width: 100%;
    font-size: 0.32rem;
  }
  .svg-wai {
    width: 70%;
    margin: 0.5rem 0 0;
    margin: 0 auto;
  }
  svg {
    width: 70%;
  }
  .color-all ul {
    flex-wrap: wrap;
  }
  .color-all ul .item {
    margin-bottom: 0.6rem;
  }
  .color-all ul .clear {
    width: 80%;
    margin: 0 0 0.6rem;
  }
  .qiujie .border {
    width: 90%;
    gap: 0.5rem;
    padding: 0.35rem 0.2rem;
  }
  .qiujie .solve {
    font-size: 0.32rem;
    margin: 0 auto;
  }
  .qiujie .text {
    font-size: 0.32rem;
  }
  .qiujie .num {
    display: inline-block;
    min-width: 0.6rem;
    font-size: 0.3rem;
    padding: 0.05rem 0.1rem;
    border-radius: 0.28rem;
  }
  .qiujie .txt {
    display: inline-block;
    min-width: 3rem;
    font-size: 0.3rem;
    padding: 0.05rem 0.1rem;
    border-radius: 0.28rem;
  }
  .qiujie .solve {
    font-size: 0.26rem;
    padding: 0.1rem 0.35rem;
  }
  .disorganize .item {
    padding: 10px 15px;
    margin: 0 2px;
  }
  .disorganize .clear {
    width: 6rem;
    padding: 0px;
  }
}
/*# sourceMappingURL=index.css.map */