@charset "UTF-8";
html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  color: #000;
  background-color: #efc;
  width: 100%;
  height: 100%;
  font-family: Arial;
  overflow: hidden;
}

.wrapper {
  width: 100%;
  height: 100%;
}

.timer-bgk {
  position: absolute;
  top: 0;
  left: 5%;
  width: 95%;
  height: 100%;
  z-index: 5;
  border-spacing: 0;
  transform: translate(0%, 0%);
  z-index: 3;
}
.timer-bgk .timing-all {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.timer-bgk .time {
  font-family: "lcd";
  font-size: 18em;
  white-space: nowrap;
}
.timer-bgk .aoavg .txt {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.timer-bgk .aoavg .tit,
.timer-bgk .aoavg .num {
  color: #00f;
  font-size: 4em;
  white-space: nowrap;
}

.timing-arae {
  position: relative;
  width: 100%;
  height: 100%;
}

.timing-all {
  width: 100%;
  text-align: center;
}

.scramble {
  position: absolute;
  right: 0;
  left: 13.5em;
  left: 16em;
  top: 0;
  border-color: #66cbff !important;
  background-color: #66cbff;
  padding: 0.8em;
  border: 0.15em solid;
  z-index: 6;
}
.scramble::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0.35rem;
  z-index: -10;
  margin: -2px;
  margin: -0.15rem;
  box-shadow: 0 0 0.6em #000;
}
.scramble .tit-all {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: monospace;
}
.scramble .txt {
  margin: 0.5em 0 0;
  text-align: center;
  font-size: 3em;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.abpout-settings {
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid;
  border: 0.15rem solid;
  text-align: center;
  border-radius: 5px;
  border-radius: 0.35rem;
  width: 190px;
  width: 16rem;
  height: 190px;
  height: 13.5rem;
  color: #000;
  background-color: #66cbff;
  border-color: #66cbff;
  z-index: 10;
}
.abpout-settings::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0.35rem;
  z-index: -10;
  margin: -2px;
  margin: -0.15rem;
  box-shadow: 0 0 0.6em #000;
}

.set-border {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.set-border .set1 {
  padding: 2px;
  border: 1px solid #000;
}
.set-border .set1:hover {
  background-color: #3da6d9;
  cursor: pointer;
}
.set-border .item {
  width: 50%;
}
.set-border .set3 {
  margin: 0.2em 0 0;
}
.set-border .set2 {
  width: 100%;
  text-align: left;
  margin: 1em 0 0;
}
.set-border .set2 .tit1 span {
  font-weight: bold;
  font-size: 1em;
}
.set-border .set2 .tit2 {
  margin: 0.5em 0 0;
}
.set-border .set2 span {
  font-size: 0.8em;
}

.scramble-results {
  position: absolute;
  padding: 4px;
  padding: 0.3rem;
  border-radius: 5px;
  border-radius: 0.35rem;
  border: 2px solid;
  border: 0.15rem solid;
  z-index: auto;
  background-color: #66cbff;
  border-color: #66cbff;
  left: 0;
  top: 190px;
  top: 13.5rem;
  bottom: 0;
  text-align: center;
  z-index: 20;
}
.scramble-results::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0.35rem;
  z-index: -10;
  margin: -2px;
  margin: -0.15rem;
  box-shadow: 0 0 0.6em #000;
}

.score-summary {
  width: 100%;
}

.set-dialog input {
  width: 10px;
  height: 10px;
  -moz-appearance: auto;
       appearance: auto;
  -webkit-appearance: auto;
}

.scramble-pictures {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  width: 16%;
  border-radius: 0.35rem;
  border: 0.15rem solid;
  z-index: 30;
  border-color: #66cbff;
}
.scramble-pictures::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0.35rem;
  z-index: -10;
  margin: -2px;
  margin: -0.15rem;
  box-shadow: 0 0 0.6em #000;
}
.scramble-pictures .scramble-all .img {
  padding: 0.5em;
  background-color: #66cbff;
}
.scramble-pictures svg {
  width: 20em;
  width: 26em;
  width: 100%;
  height: 100%;
  background-color: #66cbff;
  border-color: #dbb;
}

.gray {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 36;
  background-color: rgba(0, 0, 0, 0.2666666667);
}

.dialog {
  opacity: 0.98;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 55%;
  z-index: 100;
  padding: 0.55rem;
  border-radius: 0.35rem;
  border: 0.15rem outset;
  background-color: #66cbff;
  border-color: #66cbff;
  box-shadow: 0 0 0.6em #000;
  text-align: center;
  z-index: 40;
  display: none;
  transform: translate(-50%, -50%);
}
.dialog .title .txt {
  font: 1.5em bold;
  font-family: Impact;
  white-space: break-spaces;
  overflow-x: hidden;
}
.dialog .time .txt {
  font-size: 2.5em;
}
.dialog .operate .list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 -0.5em 1em;
}
.dialog .operate .item {
  padding: 0.2em 0.8em;
  margin: 0 1em;
  background: #fee;
  border-color: #dbb;
  border-radius: 0.2em;
}
.dialog .task1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dialog .task2 {
  margin: 0.5em 0 0;
  font-size: 1.5em;
}
.dialog .task2 .txt {
  min-width: 5em;
  margin: 0 0.5em 0 0;
}
.dialog input {
  width: 50%;
  color: #000;
  background: #fee;
  border-color: #dbb;
}
.dialog .but {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2em 0 0;
}
.dialog .but > div {
  margin: 0 1em;
  padding: 0.5rem;
  background: #fee;
  border-color: #dbb;
}

.scramble-pictures,
.scramble,
.scramble-results,
.abpout-settings {
  opacity: 1;
  transition: 0.3s;
}

.space-pressed .actions {
  opacity: 0 !important;
  transition: 0.3s;
}
.space-pressed .activertimer .time2 {
  opacity: 0;
  transition: 0.3s;
}
.space-pressed .scramble-pictures,
.space-pressed .scramble,
.space-pressed .scramble-results,
.space-pressed .abpout-settings {
  opacity: 0;
  transition: 0.3s;
  display: none;
}

.activertimer textarea {
  padding: 10px;
  height: 1em;
  font-size: 4em;
  text-align: center;
  width: 50%;
  background-color: #66cbff;
}
.activertimer .time-input {
  margin: 0 0 1em;
}

.scramble-dialogstats {
  opacity: 0.98;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: 30%;
  width: 50%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  z-index: 100;
  padding: 0.55rem;
  border-radius: 0.35rem;
  border: 0.15rem outset;
  background-color: #fdd;
  border-color: #dbb;
  box-shadow: 0 0 0.6em #000;
  display: none;
  z-index: 40;
  background-color: #66cbff;
  transform: translate(-50%, -50%);
}

.score-list-border {
  max-height: 30em;
  height: 100%;
  padding: 0.5em 0 0;
  /* 控制可视高度，可按需调整 */
  overflow-y: auto;
  overflow-x: auto;
  scrollbar-width: thin;
  /* Firefox 细滚动条 */
  /* 隐藏滚动条（Firefox） */
  scrollbar-width: none;
  /* 隐藏滚动条（IE/Edge 旧版） */
  -ms-overflow-style: none;
}

.score-list-border::-webkit-scrollbar {
  display: none;
  /* 完全隐藏滚动条，但滚动功能正常 */
  width: 0;
  height: 0;
}

/* 表格本身宽度100%，边框合并 */
.score-overview {
  width: auto;
  border-collapse: collapse;
  font-size: 1.5em;
  padding: 0.4em;
  border: 1px solid #000;
}
.score-overview:hover {
  background-color: #3da6d9;
  cursor: pointer;
}

.score-list-border table td:hover {
  opacity: 0.8;
  color: #fff;
  cursor: pointer;
}

.scramble-dialogstats {
  overflow: hidden;
  padding: 1em;
}
.scramble-dialogstats .time-detail {
  max-height: 14em;
  height: 100%;
  /* 控制可视高度，可按需调整 */
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 1.2rem;
  margin: 1em 0 0;
}
.scramble-dialogstats .time-detail {
  border-radius: 0;
}
.scramble-dialogstats table {
  width: 100%;
  border-radius: 0;
}
.scramble-dialogstats .border > div {
  margin: 1em 0 0;
}
.scramble-dialogstats .but {
  display: flex;
  align-items: center;
  justify-content: center;
}
.scramble-dialogstats .but > div {
  margin: 0 1em;
  padding: 0.5rem;
  background: #fee;
  border-color: #dbb;
}

/* 1. 让 .scramble-results 填满高度，并设为 flex 容器 */
.scramble-results {
  position: absolute;
  left: 0;
  top: 13.5em;
  top: 14em;
  bottom: 0;
  width: 15.5em;
  max-width: 15.5em;
  /* 宽度按需调整 */
  display: flex;
  flex-direction: column;
  /* 保留原视觉样式 */
  padding: 0.3rem;
  border-radius: 0.35rem;
  border: 0.15rem solid;
  background-color: #66cbff;
  border-color: #66cbff;
  z-index: 20;
  text-align: center;
  /* 容器本身不滚动（滚动交给内部 .end） */
  overflow-y: visible;
}

/* 2. 顶部区域 .top 不滚动，收缩 */
.scramble-results .top {
  flex-shrink: 0;
  /* 保留原有样式 */
}

/* 3. 底部区域 .end 占据剩余高度，超出滚动 */
.scramble-results .end {
  flex: 1;
  min-height: 0;
  /* 重要：允许flex子项溢出滚动 */
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* 显示滚动条 */
  overflow-x: hidden;
  /* 可选：添加内边距防止内容贴边 */
  padding: 0.2rem 0;
}

/* 4. 内部 .score-list-border 不再独立滚动，完全由 .end 控制 */
.score-list-border {
  overflow-y: visible;
  overflow-x: auto;
  max-height: none;
  /* 移除滚动条隐藏样式，让滚动出现在 .end 上 */
}

.score-list {
  width: 100%;
}

/* 5. 如果需要表格横向滚动，保留 .score-list-border 的 x 轴滚动 */
.score-list-border {
  overflow-x: auto;
}

.set-dialog {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  padding: 1em;
  transform: translate(-50%, -50%);
  z-index: 33;
  background-color: #66cbff;
  border-color: #66cbff;
  box-shadow: 0 0 0.6em #000;
  z-index: 40;
}
.set-dialog .but {
  margin: 1em 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.set-dialog .but > div {
  margin: 0 1em;
  padding: 0.5rem;
  background: #fee;
  border-color: #dbb;
}

.timer-bgk {
  position: relative;
  /* 伪元素定位基准 */
  /* 其它原有样式保持不变 */
}

.timer-bgk::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 1000%;
  height: 1000%;
  /* 等同于 top:0; right:0; bottom:0; left:0; */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='140'%3E%3Ctext x='50%25' y='50%25' font-size='22' fill='rgba(0,0,0,0.08)' transform='rotate(-25, 110, 70)'%3E%E6%B4%9B%E9%98%B3%E9%9B%B6%E9%80%9F%E6%B6%9B%E6%B6%9B%3C/text%3E%3C/svg%3E");
  background-size: 9em;
  background-repeat: repeat;
  background-size: 15em;
  /* 控制水印间距，数值越小越密集 */
  pointer-events: none;
  /* 让鼠标穿透水印，不干扰点击 */
  z-index: 1;
}

.chang-formula {
  display: flex;
  align-items: center;
  margin: 0 0 0 1em;
}
.chang-formula .ctrl {
  color: rgb(48, 48, 133);
  padding: 0 0.5em;
  cursor: pointer;
}
.chang-formula .ctrl:hover {
  background-color: rgb(51, 125, 204);
}

@media (min-width: 991.98px) {
  .btn1,
.btn2 {
    cursor: pointer;
  }
  .btn1:hover,
.btn2:hover {
    opacity: 0.8;
  }
  .score-summary1 td:hover,
.score-summary td:hover,
.dialog .operate .item:hover {
    opacity: 0.8;
    cursor: pointer;
  }
  .score-summary1 td:hover,
.score-summary td:hover {
    color: #fff;
  }
}
@media (max-width: 991.98px) {
  .timer-bgk::before {
    content: "";
    position: absolute;
    left: -300%;
    top: 0;
    width: 1000%;
    height: 1000%;
    /* 等同于 top:0; right:0; bottom:0; left:0; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='140'%3E%3Ctext x='50%25' y='50%25' font-size='22' fill='rgba(0,0,0,0.08)' transform='rotate(-25, 110, 70)'%3E%E6%B4%9B%E9%98%B3%E9%9B%B6%E9%80%9F%E6%B6%9B%E6%B6%9B%3C/text%3E%3C/svg%3E");
    background-size: 9em;
    background-repeat: repeat;
    background-size: 3rem;
    /* 控制水印间距，数值越小越密集 */
    pointer-events: none;
    /* 让鼠标穿透水印，不干扰点击 */
    z-index: 1;
  }
  html,
body {
    overflow: hidden;
  }
  .scramble {
    left: 0;
    left: 0;
  }
  .scramble .header {
    height: 100%;
  }
  .scramble .txt {
    font-size: 0.56rem;
  }
  .scramble-pictures {
    width: 35%;
    max-width: 40%;
    bottom: 2.3rem;
  }
  .scramble-pictures::before {
    border-radius: 0.1rem;
  }
  .scramble-pictures svg {
    width: 100%;
  }
  .scramble-results {
    top: auto;
    bottom: 2.3rem;
    width: 60%;
    max-width: 60%;
    height: 25%;
    max-width: inherit;
    padding: 0.1rem;
    border-radius: 0.1rem;
  }
  .scramble-results::before {
    border-radius: 0.1rem;
  }
  .score-list {
    font-size: 0.3rem;
  }
  .timer-bgk {
    top: 10%;
  }
  .timer-bgk .time {
    font-size: 2.6rem;
  }
  .timer-bgk .aoavg .tit,
.timer-bgk .aoavg .num {
    font-size: 0.6rem;
    white-space: nowrap;
  }
  .score-summary {
    font-size: 0.2rem;
  }
  .scramble-results .end {
    font-size: 0.2rem;
    padding-bottom: 0;
  }
  .score-list {
    font-size: 0.2rem;
  }
  table {
    white-space: nowrap !important;
  }
  th,
td {
    padding: 0.05rem;
  }
  .abpout-settings {
    width: 100%;
    top: auto;
    bottom: 0;
    height: 2rem;
    border-radius: 0.1rem;
  }
  .abpout-settings::before {
    margin: -0.1rem;
    border-radius: 0.1rem;
  }
  .scramble-pictures {
    border-radius: 0.1rem;
    background-color: #66cbff;
  }
  .scramble {
    top: 1%;
    border: 0.15rem solid;
  }
  .scramble::before {
    border-radius: 0.1rem;
  }
  .timer-bgk {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translate(0%);
    z-index: 3;
  }
  .timer-bgk .timing-all {
    position: absolute;
    top: 15%;
    left: 0%;
    transform: translate(0%, 40%);
  }
  .dialog {
    padding: 0.2rem;
    border-radius: 0.2rem;
    border: 0.15rem outset;
    width: 80%;
    left: 50%;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0.1rem #000;
    z-index: 54;
  }
  .dialog .task2 {
    font-size: 0.3rem;
    justify-content: left;
  }
  .dialog .task2 .txt {
    min-width: 1.6rem;
  }
  .dialog .but {
    margin: 0.6rem 0 0;
  }
  .dialog .but > div {
    margin: 0 0.2rem;
    padding: 0.2rem;
    font-size: 0.3rem;
  }
  .dialog input {
    width: 66%;
  }
  .dialog .operate .list {
    margin: 0.3rem -0.1rem 0.3rem;
  }
  .dialog .operate .list .item {
    padding: 0.2rem 0.2em;
    margin: 0 0.2rem;
    font-size: 0.28rem;
    width: 0.8rem;
  }
  .scramble-dialogstats {
    width: 80%;
    left: 50%;
    top: 50%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    border-color: #66cbff;
  }
  .scramble-dialogstats .but > div {
    margin: 0 0.2rem;
    padding: 0.2rem;
    background: #fee;
    border-color: #dbb;
    font-size: 0.3rem;
  }
  .set-border .set1 {
    width: 60%;
    text-align: center;
    font-size: 0.24rem;
    margin: 0 auto;
  }
  .set-border .set2 {
    margin: 0rem 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .set-border .set2 .tit2 {
    margin: 0 0 0 0rem;
  }
  .set-dialog {
    width: 80%;
  }
  .set-dialog .but {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .set-dialog .but > div {
    margin: 0 1em;
    padding: 0.2rem;
    background: #fee;
    border-color: #dbb;
  }
  .score-overview {
    font-size: 0.3rem;
  }
  .score-list {
    width: 80%;
  }
  .activertimer .time-input {
    margin: 0 0 0.5rem;
  }
  .activertimer textarea {
    width: 80%;
    font-size: 1rem;
    height: 1rem;
    padding: 0.2rem;
  }
}
@media (min-width: 991.98px) and (max-width: 1160px) {
  .timer-bgk .time {
    font-size: 10em;
  }
}
/* 复制成功提示弹框样式 */
.copy {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  bottom: 20%;
  background: rgba(20, 30, 45, 0.92);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 48px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  pointer-events: none;
}

/* 显示状态（由JS添加类触发） */
.copy.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* 可选：在文字前添加对勾图标（伪元素） */
.copy::before {
  content: "✓";
  font-size: 1.1rem;
  font-weight: 700;
  background: #2ecc71;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 6px;
  padding: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.grade-grouping #renameGroupBtn {
  cursor: pointer;
}

#groupSelect {
  text-align: center;
}
#groupSelect option {
  text-align: center;
}

/* 适配移动端，避免太宽 */
@media (max-width: 500px) {
  .copy {
    bottom: 15%;
    padding: 8px 18px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .copy::before {
    width: 16px;
    height: 16px;
    font-size: 0.9rem;
  }
}
.svg-source {
  display: none;
}

@media (min-width: 991.98px) and (max-width: 1400px) {
  .scramble-pictures {
    width: 25%;
  }
}
.space-one .timer-bgk .time {
  color: rgb(0, 211, 0);
}

.study .scramble-pictures {
  right: auto;
  bottom: auto;
  top: 8em;
  left: 50%;
  width: 30%;
  transform: translate(-20%, 0%);
}

.unobserved .scramble-pictures {
  display: none;
}

/* Keep the active scramble stable while the page changes modes. */
.scramble #scrambleTxt {
  flex: 0 0 auto;
}

.scramble #scrambleTxt .txt {
  font-size: 3em !important;
  white-space: nowrap;
  transform: none;
}

@media (max-width: 991.98px) {
  .scramble #scrambleTxt .txt {
    font-size: 0.56rem !important;
  }
}
.set-dialog .list {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5em 0;
}
.set-dialog .item {
  width: 30%;
  padding: 0.5em 0;
}

@media (max-width: 991.98px) {
  .study .scramble-pictures {
    right: auto;
    bottom: auto;
    top: 3rem;
    left: 50%;
    width: 60%;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    transform: translate(-50%, 0%);
  }
  .set-dialog .item {
    width: 50%;
  }
}
/* iOS 输入模式优化 */
.activertimer textarea {
  /* 防止 iOS 自动缩放 */
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.data-chart-container {
  display: none !important;
}

#scramble-table-container thead th {
  background: #f8f9fa !important;
}

.disrupt .border {
  display: flex;
  align-items: center;
  margin: 1em -0.5em;
  justify-content: center;
}
.disrupt .border .item {
  display: flex;
  font-size: 1em;
  align-items: center;
  padding: 0 0.5em;
}
.disrupt .border button {
  padding: 0 1.5em;
  border: 1px solid #000;
  border-radius: 3px;
}
.disrupt .border #generateScrambleTableBtn {
  font-size: 0.9em;
  cursor: pointer;
}
.disrupt .border #generateScrambleTableBtn:hover {
  color: #d48519;
}
.disrupt .border input {
  width: 13em;
  padding: 1px;
}
.disrupt .border input::-moz-placeholder {
  font-size: 0.8em;
}
.disrupt .border input::placeholder {
  font-size: 0.8em;
}
.disrupt .border .item4 input {
  width: 5em;
}
.disrupt {
  display: none;
}

@media (max-width: 991.98px) {
  .disrupt .border {
    flex-wrap: wrap;
  }
  .disrupt .border .item1 button {
    margin: 0 auto;
  }
  .disrupt .border .item {
    width: 100%;
    margin: 0.2rem 0 0;
  }
  .disrupt .border .item:first-child {
    margin: 0;
  }
  .disrupt .border .title1 {
    min-width: 2rem;
  }
}
.score-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  padding: 1em;
  transform: translate(-50%, -50%);
  z-index: 33;
  background-color: #66cbff;
  border-color: #66cbff;
  box-shadow: 0 0 0.6em #000;
  z-index: 40;
}
.score-overlay td {
  text-align: center;
}
.score-overlay tr td:last-child {
  text-align: left;
}
.score-overlay .title1 {
  font-size: 1.5rem;
  text-align: center;
}
.score-overlay .btn-group {
  display: flex;
  align-items: center;
  margin: 1em 1em 0em;
  justify-content: center;
}
.score-overlay .btn-group .btn {
  padding: 3px;
  border: 1px solid #000;
  margin: 0 1em;
  cursor: pointer;
}
.score-overlay .btn-group .btn.active {
  background: #d48519;
}
.score-summary1 {
  width: 100%;
  margin: 1em 0 0;
}

.student-score {
  position: relative;
}
.student-score .score-modal-close {
  position: absolute;
  top: 0em;
  right: 0em;
  font-size: 2em;
  cursor: pointer;
}
.student-score .score-modal-close:hover {
  color: #fff;
}

/* ---------- ★ 核心：表格滚动容器 ---------- */
.student-score .score-table-wrap {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 8px;
}

/* ---------- 滚动条美化 ---------- */
.student-score .score-table-wrap::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.student-score .score-table-wrap::-webkit-scrollbar-track {
  background: #ccc;
  border-radius: 4px;
}

.student-score .score-table-wrap::-webkit-scrollbar-thumb {
  background: #f1f1f1;
  border-radius: 4px;
}

.student-score .score-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

@media (max-width: 991.98px) {
  .score-overlay {
    width: 80%;
    padding: 0.3rem;
    z-index: 54;
  }
  .score-overlay .title1 {
    font-size: 0.48rem;
    width: 80%;
    margin: 0 auto;
  }
  .score-overlay th,
.score-overlay td {
    padding: 0.1rem;
  }
  .score-overlay .btn-group {
    display: flex;
    align-items: center;
    margin: 0.2rem 0.2rem 0em;
    justify-content: center;
  }
  .score-overlay .btn-group .btn {
    margin: 0 0.3rem;
    cursor: pointer;
  }
  .score-overlay .btn-group .btn.active {
    background: #d48519;
  }
  .score-summary1 {
    width: 100%;
    margin: 0.3rem 0 0;
  }
  .set-border .set3 {
    margin: 0.15rem 0;
  }
}
.minSet {
  display: flex;
  align-items: center;
  padding: 0% 0 0 10%;
  margin: 1em 0 0;
}

.qiujie {
  position: absolute;
  width: 20%;
  border-color: #66cbff;
  background-color: #66cbff;
  padding: 0.8em;
  border: 0.15em solid #66cbff;
  z-index: 6;
  position: fixed;
  bottom: 0;
  left: 17em;
  z-index: 20;
}
.qiujie::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0.35rem;
  z-index: -10;
  margin: -2px;
  margin: -0.15rem;
  box-shadow: 0 0 0.6em #000;
}
.qiujie .btn {
  margin: 1em 0 0;
}
.qiujie .btn:first-child {
  margin-top: 0;
}

@media screen and (max-width: 991.98px) and (min-width: 550px) and (max-width: 991.98px) {
  .qiujie {
    bottom: auto;
    left: auto;
    top: 30%;
    right: 0;
    bottom: 5rem;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 0.3rem 0 0;
    width: 35%;
    border-radius: 0.35rem;
  }
  .qiujie::before {
    top: 0.1rem;
    bottom: 0.1rem;
    left: 7px;
    right: 7px;
  }
}
@media (max-width: 991.98px) and (max-width: 550px) {
  .qiujie {
    bottom: 0;
    left: auto;
    top: auto;
    right: 0;
    bottom: 5rem;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 0.3rem 0 0;
    width: 35%;
  }
  .qiujie::before {
    top: 0.1rem;
    bottom: 0.1rem;
    left: 1px;
  }
  .qiujie .text {
    text-align: center;
  }
}
.scramble .content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.scramble .content input {
  position: relative;
  width: 60%;
  background-color: #fff;
  margin: 1em auto 0;
  border-radius: 1em;
  padding: 0.2em 0;
  text-align: center;
  font-size: 2em;
  font-family: monospace;
  letter-spacing: 0.5px;
  color: #000;
}
.scramble .content input::-moz-placeholder {
  color: #000;
  font-size: 0.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.scramble .content input::placeholder {
  color: #000;
  font-size: 0.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.disorganize {
  margin: 1em 0 0;
}
.disorganize .func-button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.disorganize .btn {
  margin: 0 2em 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1em;
  padding: 0 2em;
  margin: 0 2em;
  width: auto;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.disorganize .btn:last-child {
  margin-left: 0;
}
.disorganize .btn p {
  cursor: pointer;
}
.disorganize .btn p:hover {
  color: #ec8430;
  transition: background-color 0.3s;
}
.disorganize .btn p:active {
  background-color: #d0d0d0;
  color: #666;
}
.disorganize .btn p {
  width: auto;
  margin: 0 auto;
  padding: 0.5em 0;
  font-weight: 500;
  color: #475569;
  font-family: system-ui, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.disorganize .list {
  margin: 1.5em 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.disorganize .list:last-child {
  margin: 1em 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;
}

.mob-tabnav {
  position: fixed;
  bottom: 0;
  left: 0;
  height: auto;
  height: 0.9rem;
  z-index: 40;
  width: 100%;
  background-color: #ccc;
  background-color: #dcf0fb;
  z-index: 50;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-list .item {
  width: 30%;
  padding: 0.2rem 0.3rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-list .item .icon {
  width: 0.5rem;
  height: 0.5rem;
}
.nav-list .item img {
  width: 100%;
  height: 100%;
}
.nav-list .item .tit {
  font-weight: bold;
  text-align: center;
  margin: 0.1rem 0 0 0.1rem;
}
.nav-list .item .img2 {
  display: none;
}
.nav-list .item.active .tit {
  color: #66cbff;
}
.nav-list .item.active .img1 {
  display: none;
}
.nav-list .item.active .img2 {
  display: block;
}

@media (max-width: 991.98px) {
  .scramble-results {
    display: none;
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
    width: 100%;
    padding: 0;
    height: calc(100% - 0.9rem);
    background: #ebf8ff;
    overflow: hidden;
    z-index: 38;
    border: 0;
    border-radius: 0;
  }
  .scramble-results .end {
    height: 100%;
    justify-content: space-between;
  }
  .score-list {
    width: 100%;
    font-size: 0.35rem;
  }
  .score-list th,
.score-list td {
    padding: 0.1rem;
    border: 1px solid transparent;
    border-bottom: 1px solid #a8b5bd;
  }
  .grade-grouping {
    width: 100%;
    display: flex;
    font-size: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.25rem 0 0.15rem;
    background: #66cbff;
    align-items: center;
  }
  .grade-grouping #renameGroupBtn {
    font-size: 0.4rem;
  }
  .grade-grouping #groupSelect {
    margin: 0 0.2rem;
  }
  .scramble-results .end {
    padding: 0;
    font-size: 0.3rem;
  }
  #renameGroupBtn {
    margin: 0 0 0 0.1rem;
  }
  .score-transfer-controls {
    display: flex;
    width: 100%;
    margin: 0.3rem 0 0;
  }
  .score-transfer-controls > * {
    display: block;
    width: 30%;
    font-size: 0.3rem;
  }
  .score-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4em;
    margin: 0 -0.25rem;
    color: #66cbff;
    font-weight: bold;
    background: #ebf8ff;
    border: 0;
  }
  .score-overview > * {
    font-size: 0.35rem;
    padding: 0 0.25rem;
  }
  .score-list-border {
    overflow-y: scroll;
    padding: 0;
    scrollbar-width: thin;
    padding: 0rem 0 0;
  }
  .score-list-border table td:hover {
    color: #66cbff;
  }
  .item1-active .set-dialog,
.item1-active .scramble-results {
    display: none !important;
  }
  .item2-active .scramble-results {
    display: block !important;
  }
  .item3-active .set-dialog {
    display: block !important;
  }
  .item3-active .scramble-results {
    display: none !important;
  }
  .abpout-settings {
    bottom: 0.9rem;
    height: auto;
    padding: 0.1rem 0rem 0.3rem;
  }
  .scramble-pictures {
    width: 35%;
    bottom: 3.5rem;
  }
  .scramble-pictures .img {
    padding: 0 !important;
  }
  .set-dialog {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    right: auto;
    width: 100%;
    padding: 0.3rem;
    height: calc(100% - 1.2rem);
    background: #ebf8ff;
    overflow: hidden;
    z-index: 38;
    border: 0;
    border-radius: 0;
    transform: none;
    z-index: 33;
  }
  .set-dialog .border {
    height: 100%;
  }
  .set-dialog .content {
    height: 74%;
  }
  .set-dialog .tit {
    font-size: 0.42rem;
    line-height: 1.2;
    text-align: center;
  }
  .set-dialog input {
    width: 0.35rem;
    height: 0.35rem;
    margin: 0 0.2rem 0 0;
  }
  .set-dialog .list {
    margin: 0.5rem 0 0;
    height: 100%;
    overflow: scroll;
    display: block;
  }
  .set-dialog .but {
    margin: 0.2rem 0 0.4rem;
  }
  .set-dialog .item {
    width: 100%;
    width: 80%;
    margin: 0 0 0.5rem;
    padding: 0;
    height: auto;
  }
  .set-dialog .item label {
    font-size: 0.35rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
  }
  .set-dialog .item:last-child {
    margin-bottom: 0;
  }
  .member-panel {
    font-size: 0.3rem !important;
    flex-direction: inherit !important;
  }
  #memberOpenBtn {
    font-size: 0.24rem;
  }
  .set-border .set2 .tit1 {
    margin: 0 0 0.2rem;
  }
  .set-border .set2 .tit1 span {
    font-size: 0.3rem;
    padding: 0rem;
    display: block;
    text-align: center;
    width: 90%;
    margin: 0 auto;
  }
  .set-border .set2 .tit2 span {
    display: block;
    font-size: 0.3rem;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }
  .score-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
  }
  .score-list thead {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .score-list thead th {
    background: #66cbff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
  }
}
@media (max-width: 600px) {
  .timer-bgk .aoavg .txt {
    justify-content: start;
    margin: 0 0 0 10%;
  }
}
.member-dialog {
  display: block;
}

@media (max-width: 991.98px) {
  .scramble-dialogstats {
    z-index: 53;
  }
  .gray {
    z-index: 52;
  }
  .member-dialog .table-wrapper {
    width: 100%;
    overflow: scroll;
  }
}
/*# sourceMappingURL=index.css.map */