/* 指令表格排版修复 + 弹窗样式 */
.instructions,
.groupList,
.tablist,
.tableList {
  max-width: 100%;
  box-sizing: border-box;
}

.uni-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.uni-table-scroll > span[style*="FFE500"] {
  display: block;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal !important;
  line-height: 1.5;
  margin-bottom: 8px;
}

.content .tableList .uni-table,
.tableList .uni-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

.content .tableList .uni-table-th,
.content .tableList .uni-table-td,
.tableList .uni-table-th,
.tableList .uni-table-td {
  word-wrap: break-word !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  vertical-align: middle !important;
  line-height: 1.45 !important;
  padding: 8px 6px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.content .tableList .uni-table-th:first-child,
.content .tableList .uni-table-td:first-child,
.tableList .uni-table-th:first-child,
.tableList .uni-table-td:first-child {
  width: 32% !important;
}

.content .tableList .uni-table-th:last-child,
.content .tableList .uni-table-td:last-child,
.tableList .uni-table-th:last-child,
.tableList .uni-table-td:last-child {
  width: 68% !important;
}

.content .tableList .uni-table-th-content,
.tableList .uni-table-th-content {
  white-space: normal !important;
  word-break: break-word !important;
}

.js-popup-link {
  cursor: pointer;
  text-decoration: none;
}

.swal-modal {
  max-width: 92vw !important;
}

.swal-text {
  text-align: center !important;
  white-space: pre-line !important;
}

.swal-content {
  text-align: center;
}

.swal-wx-img {
  max-width: 220px;
  width: 100%;
  border-radius: 8px;
  margin: 10px auto 0;
  display: block;
}

.swal-wx-tip {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px;
  line-height: 1.5;
}

.swal-wx-wechat {
  margin-top: 10px;
  font-size: 15px;
}

.swal-update-frame {
  width: 100%;
  height: 65vh;
  min-height: 280px;
  max-height: 520px;
  border: none;
  border-radius: 6px;
  background: #fff;
}

/* 原站左右彩条 */
@keyframes qt-border-change {
  33% { background-image: linear-gradient(#00ff00, #ff00c8); }
  66% { background-image: linear-gradient(#ff017c, #0066ff); }
  100% { background-image: linear-gradient(#ff00C8, #00ff00); }
}

#pm_left,
#pm_right {
  position: fixed;
  top: 0;
  width: 3.5px;
  height: 100%;
  z-index: 999;
  pointer-events: none;
  animation-name: qt-border-change;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
  animation-fill-mode: both;
}

#pm_left {
  left: 0;
  background-image: linear-gradient(#c892cd, #00cd11);
  animation-delay: 0s;
}

#pm_right {
  right: 0;
  background-image: linear-gradient(to bottom, #00cd11, #c892cd);
  animation-delay: 1s;
}

/* 返回顶部 */
#back_top {
  background-color: #dddddd;
  height: 38px;
  width: 38px;
  border-radius: 3px;
  cursor: pointer;
  position: fixed;
  right: 50px;
  bottom: 100px;
  display: none;
  z-index: 1000;
}

#back_top .arrow {
  border: 9px solid transparent;
  border-bottom-color: #3DA0DB;
  width: 0;
  height: 0;
  position: absolute;
  margin: auto;
  right: 0;
  left: 0;
  top: 0;
}

#back_top .stick {
  width: 8px;
  height: 14px;
  border-radius: 1px;
  background-color: #3DA0DB;
  position: absolute;
  margin: auto;
  right: 0;
  left: 0;
  top: 15px;
}

/* 四分类 Tab 宽度 */
.tab-box .box { max-width: 78px; }

/* 选项图标本地化兜底（后台未配置时也覆盖外链） */
.tab-box .box.junjun-0 .img { background-image: url(../img/0.gif) !important; }
.tab-box .box.junjun-1 .img { background-image: url(../img/1.gif) !important; }
.tab-box .box.junjun-2 .img { background-image: url(../img/2.gif) !important; }
.tab-box .box.junjun-3 .img { background-image: url(../img/3.gif) !important; }
