:root {
  --size: 60px;
  --offset: 50px;
  --color-blue-light: #31eaff;
  --color-blue-dark: #087cff;
}
.loader-container {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('/success-cases/assets/bg_2-5n6kZmJm.png');
  background-size: cover;
  background-position: center;
  z-index: 9999999;
}
.loader-container::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 半透明覆盖色（不是纯色） */
  background: rgba(0, 0, 0, 0.45);
  /* 毛玻璃 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
}
.square {
  width: var(--size);
  height: var(--size);
  position: absolute;
  /* 初始旋转 45 度 */
  transform: rotate(45deg);
  animation-duration: 1.03s;
  animation-iteration-count: infinite;
  /* 保持原 JSON 的贝塞尔平滑曲线 */
  animation-timing-function: cubic-bezier(0.333, 0, 0.667, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  z-index: 99999;
}
.sq-1 {
  background-color: var(--color-blue-light);
  animation-name: move-1;
}
.sq-2 {
  background-color: var(--color-blue-dark);
  animation-name: move-2;
}
.sq-3 {
  background-color: var(--color-blue-light);
  animation-name: move-3;
}
.sq-4 {
  background-color: var(--color-blue-dark);
  animation-name: move-4;
}
/* 核心逻辑：基于新的 --offset 进行位移 */
@keyframes move-1 {
  0% {
    transform: translate(0, calc(-1 * var(--offset))) rotate(45deg);
  }
  50% {
    transform: translate(var(--offset), 0) rotate(45deg);
  }
  100% {
    transform: translate(0, var(--offset)) rotate(45deg);
  }
}
@keyframes move-2 {
  0% {
    transform: translate(var(--offset), 0) rotate(45deg);
  }
  50% {
    transform: translate(0, var(--offset)) rotate(45deg);
  }
  100% {
    transform: translate(calc(-1 * var(--offset)), 0) rotate(45deg);
  }
}
@keyframes move-3 {
  0% {
    transform: translate(0, var(--offset)) rotate(45deg);
  }
  50% {
    transform: translate(calc(-1 * var(--offset)), 0) rotate(45deg);
  }
  100% {
    transform: translate(0, calc(-1 * var(--offset))) rotate(45deg);
  }
}
@keyframes move-4 {
  0% {
    transform: translate(calc(-1 * var(--offset)), 0) rotate(45deg);
  }
  50% {
    transform: translate(0, calc(-1 * var(--offset))) rotate(45deg);
  }
  100% {
    transform: translate(var(--offset), 0) rotate(45deg);
  }
}


#root{
    width: 100%;
    height: 100vh;
    /* background-image: url('@/assets/images/'); */
}



#Canvas{
    width: 100%;
    height: 100vh;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}



.billboard-wrapper {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 5rem /* 80/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.dc-outside {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
}
.dc-outside .status:not(:first-child) {
  margin-left: 10px;
}
.dc-outside .status {
  width: 200px;
  height: 300px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.dc-outside .status .content {
  width: 33%;
  height: 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
}
.dc-outside .status .content div:nth-child(1) {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid white;
}
.dc-outside .status .content .selected {
  background-color: red;
}
.dc-outside .status .half {
  width: 50%;
  height: 70px;
}
.percent25 {
  width: 25% !important;
}
.video-billboard-out {
  background-color: rgba(0, 0, 0, 0.3);
  transform: scale(2);
  width: 28.125rem /* 450/16 */;
}
.video-billboard-out .video-title {
  height: 2.75rem /* 60/16 */;
  display: flex;
  text-align: center;
  justify-content: space-between;
  padding: 0 1.375rem /* 22/16 */;
  line-height: 2.75rem /* 60/16 */;
  color: #fff;
}
.video-billboard-out .video-title img {
  width: 1.875rem /* 30/16 */;
}
.video-billboard-out .video-content {
  position: relative;
  width: 100%;
  height: 18.75rem /* 300/16 */;
}
.video-billboard-out video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.video-billboard-out .video-custom-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  --fullscreen-btn-right: 0.75rem;
  --fullscreen-btn-width: 4.8rem;
  --controls-gap: 0.35rem;
}
.video-billboard-out .video-custom-controls .fullscreen-btn {
  pointer-events: auto;
  position: absolute;
  right: var(--fullscreen-btn-right);
  bottom: 0.75rem;
  min-width: var(--fullscreen-btn-width);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  height: 2rem;
  padding: 0 0.75rem;
  cursor: pointer;
}
.video-billboard-out .ptz-panel {
  pointer-events: auto;
  position: absolute;
  bottom: 0.45rem;
  right: calc(var(--fullscreen-btn-right) + var(--fullscreen-btn-width) + var(--controls-gap));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.28rem;
  border-radius: 0.28rem;
  background: rgba(0, 0, 0, 0.28);
}
.video-billboard-out .ptz-button {
  width: 2rem;
  height: 1.65rem;
  border-radius: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}
.video-billboard-out .ptz-button:hover {
  background: rgba(0, 133, 255, 0.9);
}
.video-billboard-out.is-fullscreen {
  transform: none;
  width: 100vw;
  height: 100vh;
}
.video-billboard-out.is-fullscreen .video-content {
  height: calc(100vh - 2.75rem);
}
.chidifa-out {
  background-image: url('/success-cases/assets/close_open-DMVFLHws.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100px;
  height: 1.25rem /* 20/16 */;
  font-size: 1rem /* 16/16 */;
  display: flex;
  justify-content: space-around;
  line-height: 1.25rem /* 20/16 */;
}
.water-height {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 100%;
  padding: 0 0.625rem /* 10/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.list-YCD {
  position: relative;
  width: 7.5rem /* 120/16 */;
  height: 6.875rem /* 110/16 */;
  z-index: 1;
}
.list-YCD::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}
.list-YCD .list-title {
  text-indent: 0.5rem /* 8/16 */;
  font-size: 0.75rem /* 12/16 */;
  color: #fff;
}
.list-YCD .list-body {
  font-size: 0.75rem /* 12/16 */;
}
.list-YCD .list-body .item {
  border-top: 1px solid rgba(0, 213, 255, 0.6);
  border-bottom: 1px solid rgba(0, 213, 255, 0.6);
  margin: 0.375rem 0.625rem 0 0.625rem;
}
.water-height {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 100%;
  padding: 0 0.625rem /* 10/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.list {
  position: relative;
  width: 7.5rem /* 120/16 */;
  height: 5rem /* 80/16 */ !important;
  z-index: 1;
}
.list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}
.list .list-title {
  text-indent: 0.5rem /* 8/16 */;
  font-size: 0.75rem /* 12/16 */;
  color: #fff;
}
.list .list-body {
  font-size: 0.75rem /* 12/16 */;
}
.list .list-body .item {
  border-top: 1px solid rgba(0, 213, 255, 0.6);
  border-bottom: 1px solid rgba(0, 213, 255, 0.6);
  margin: 0.375rem 0.625rem 0 0.625rem;
}
.water-height {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 100%;
  padding: 0 0.625rem /* 10/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.list {
  position: relative;
  width: 7.5rem /* 120/16 */;
  height: 6.875rem /* 110/16 */;
  z-index: 1;
}
.list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}
.list .list-title {
  text-indent: 0.5rem /* 8/16 */;
  font-size: 0.75rem /* 12/16 */;
  color: #fff;
}
.list .list-body {
  font-size: 0.75rem /* 12/16 */;
}
.list .list-body .item {
  border-top: 1px solid rgba(0, 213, 255, 0.6);
  border-bottom: 1px solid rgba(0, 213, 255, 0.6);
  margin: 0.375rem 0.625rem 0 0.625rem;
}
.water-height {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 100%;
  padding: 0 0.625rem /* 10/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.list {
  position: relative;
  width: 7.5rem /* 120/16 */;
  height: 6.875rem /* 110/16 */;
  z-index: 1;
}
.list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}
.list .list-title {
  text-indent: 0.5rem /* 8/16 */;
  font-size: 0.75rem /* 12/16 */;
  color: #fff;
}
.list .list-body {
  font-size: 0.75rem /* 12/16 */;
}
.list .list-body .item {
  border-top: 1px solid rgba(0, 213, 255, 0.6);
  border-bottom: 1px solid rgba(0, 213, 255, 0.6);
  margin: 0.175rem 0.625rem 0 0.625rem !important;
}
.billboard-wrapper {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 5rem /* 80/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.billboard-wrapper {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 5rem /* 80/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.water-height {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 100%;
  padding: 0 0.625rem /* 10/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.list {
  position: relative;
  width: 7.5rem /* 120/16 */;
  height: 6.875rem /* 110/16 */;
  z-index: 1;
}
.list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}
.list .list-title {
  text-indent: 0.5rem /* 8/16 */;
  font-size: 0.75rem /* 12/16 */;
  color: #fff;
}
.list .list-body {
  font-size: 0.75rem /* 12/16 */;
}
.list .list-body .item {
  border-top: 1px solid rgba(0, 213, 255, 0.6);
  border-bottom: 1px solid rgba(0, 213, 255, 0.6);
  margin: 0.375rem 0.625rem 0 0.625rem;
}
.water-pos {
  width: 9.375rem /* 150/16 */;
  font-size: 0.75rem /* 12/16 */;
}
.water-height {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 100%;
  padding: 0 0.625rem /* 10/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.list-YCD {
  position: relative;
  width: 7.5rem /* 120/16 */;
  z-index: 1;
}
.list-YCD::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}
.list-YCD .list-title {
  text-indent: 0.5rem /* 8/16 */;
  font-size: 0.75rem /* 12/16 */;
  color: #fff;
}
.list-YCD .list-body {
  font-size: 0.75rem /* 12/16 */;
}
.list-YCD .list-body .item {
  border-top: 1px solid rgba(0, 213, 255, 0.6);
  border-bottom: 1px solid rgba(0, 213, 255, 0.6);
  margin: 0.375rem 0.625rem 0 0.625rem;
}
.item-group {
  display: flex;
  flex-direction: row;
}
.list-JYJ {
  width: 16.25rem /* 260/16 */;
  font-size: 1rem /* 16/16 */ !important;
  height: 10rem /* 160/16 */;
}
.alarm-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}
.alarm-marker img {
  width: 42px;
  height: auto;
  transform: translateY(-48%);
}
.alarm-detail-card {
  width: 420px;
  max-width: 78vw;
  border-radius: 12px;
  border: 1px solid rgba(74, 201, 255, 0.45);
  background: linear-gradient(160deg, rgba(8, 26, 43, 0.92) 0%, rgba(11, 35, 58, 0.9) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(150, 231, 255, 0.18);
  color: #def6ff;
  padding: 14px 14px 12px;
  backdrop-filter: blur(4px);
}
.alarm-detail-card__title {
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8ee7ff;
  margin-bottom: 10px;
}
.alarm-detail-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}
.alarm-detail-card__row {
  min-width: 0;
  border-radius: 8px;
  background: rgba(8, 33, 53, 0.62);
  border: 1px solid rgba(110, 223, 255, 0.16);
  padding: 7px 8px;
}
.alarm-detail-card__label {
  display: block;
  font-size: 12px;
  color: rgba(144, 233, 255, 0.82);
  line-height: 16px;
}
.alarm-detail-card__value {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: #e9faff;
  word-break: break-all;
}
.alarm-detail-card__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.alarm-detail-card__btn {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 228, 255, 0.35);
  background: rgba(12, 45, 69, 0.9);
  color: #d5f4ff;
  font-size: 12px;
  cursor: pointer;
}
.alarm-detail-card__btn.pending {
  color: #ffd666;
  border-color: rgba(255, 214, 102, 0.65);
}
.alarm-detail-card__btn.resolved {
  color: #0b2a18;
  border: none;
  background: linear-gradient(135deg, #33d18e 0%, #64f4ae 100%);
}
.alarm-detail-card__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.billboard-wrapper {
  color: white;
  background-image: url('/success-cases/assets/mpa-CxJuzffP.svg');
  background-size: 100% 100%;
  font-size: 0.75rem /* 12/16 */;
  width: 5rem /* 80/16 */;
  text-align: center;
  height: 1.875rem /* 30/16 */;
}
.ui-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}

/* .ui-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/src/assets/images/bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.7; 
  pointer-events: none;
  z-index: 0; 
} */

.public-out {
  position: absolute;

  .title {
    /* background-image: url('@/assets/images/title.png'); */
    width: 25rem /* 400/16 */;
    height: 1.75rem /* 28/16 */;
    background-size: 100% 100%;
    text-indent: 2.25rem /* 84/16 */;
    line-height: 1.75rem /* 28/16 */;
  }
  .public-body {
    /* background-image: url('@/assets/images/box_bg.png'); */
    /* background-color: rgba(57, 194, 228, 0.1); */
    /* margin-top: .375rem 6/16; */
  }
}
.public-bottom{
  background-image: url('/success-cases/assets/bottom_img-NtqB0aIy.svg');
  background-size: 100% 100%;
  width: 6.125rem /* 98/16 */;
  height: 6.125rem /* 98/16 */;
  position: absolute;
  color: #fff;

}.bottom-out {
  position: absolute;
  bottom: 0;
  width: 100vw;
  height: 12.5rem /* 200/16 */;
  background-image: url('/success-cases/assets/bottom-CHzTP9Ut.svg');
  background-size: 100% 100%;
  height: 4.0625rem /* 65/16 */;
  display: flex;
  justify-content: center;
  z-index: 999999;
  column-gap: 1.125rem /* 18/16 */;
  pointer-events: all;
}
.bottom-out .flex {
  position: relative;
  top: -40%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 5.625rem /* 90/16 */;
  cursor: pointer;
}
.bottom-out .flex .flex-bg {
  background-image: url('/success-cases/assets/hover_no-QZsHCPvZ.svg');
  width: 3.75rem /* 60/16 */;
  height: 3.75rem /* 60/16 */;
  background-size: 100% 100%;
  text-align: center;
  position: relative;
}
.bottom-out .flex .flex-bg:hover {
  background-image: url('/success-cases/assets/hover-iYqwzj-0.svg');
}
.bottom-out .flex img {
  width: 1.875rem /* 30/16 */;
  height: 1.875rem /* 30/16 */;
  position: absolute;
  left: 48%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.fab-wrapper {
  position: relative;
  /* 🔑 锚点 */
  display: flex;
  align-items: center;
}
/* 原有样式保持不变 ... */
/* 触发按钮（按钮列表）稍微突出一点，可�?*/
.fab-trigger {
  border-radius: 12px;
}
/* 弹出菜单 - 从底部向�?*/
.popup-menu {
  position: absolute;
  bottom: calc(100% + 0.375rem);
  /* 从主按钮正上方弹�?*/
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.375rem /* 6/16 */;
  pointer-events: none;
  z-index: 999;
}
.popup-menu.open {
  pointer-events: auto;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem /* 12/16 */;
  padding: 0.75rem /* 12/16 */ 1.25rem /* 20/16 */;
  background: rgba(0, 234, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  color: white;
  font-size: 15px;
  box-shadow: 0 0.375rem /* 6/16 */ 1.25rem /* 20/16 */ rgba(0, 0, 0, 0.4);
  transform: translateY(1.875rem /* 30/16 */);
  opacity: 0;
  transition: all 0.3s ease-out;
  cursor: pointer;
  min-width: 5rem /* 80/16 */;
  justify-content: flex-start;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.menu-selected {
  background: rgba(0, 234, 255, 0.6);
}
.menu-item:hover {
  background: rgba(0, 234, 255, 0.6);
  transform: translateY(0) scale(1.03);
}
.popup-menu.open .menu-item {
  transform: translateY(0);
  opacity: 1;
}
/* 依次弹出动画 */
.popup-menu .menu-item:nth-child(1) {
  transition-delay: 0.05s;
}
.popup-menu .menu-item:nth-child(2) {
  transition-delay: 0.1s;
}
.popup-menu .menu-item:nth-child(3) {
  transition-delay: 0.15s;
}
/* ... 依此类推 */
.menu-item {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.15s ease-out;
}
.popup-menu.open .menu-item {
  transform: translateY(0);
  opacity: 1;
}
.flex-bg-select {
  background-image: url('/success-cases/assets/hover-iYqwzj-0.svg') !important;
}
.set-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 9999998;
  pointer-events: all;
  background: rgba(4, 10, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.set-modal {
  position: relative;
  width: min(94vw, 1240px);
  height: min(82vh, 680px);
  min-height: 560px;
  pointer-events: all;
  background: linear-gradient(165deg, rgba(12, 24, 34, 0.96) 0%, rgba(8, 18, 28, 0.96) 100%);
  border: 1px solid rgba(100, 143, 168, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  color: #e4edf5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.set-modal__header {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(92, 130, 152, 0.35);
  background: linear-gradient(180deg, rgba(22, 39, 52, 0.9) 0%, rgba(16, 31, 44, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.set-modal__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.set-modal__title {
  font-size: 28px;
  letter-spacing: 0.5px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #dff2ff;
  line-height: 1.1;
}
.set-modal__meta {
  font-size: 13px;
  color: rgba(170, 205, 227, 0.86);
}
.set-modal__header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.set-modal__search {
  width: 260px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(106, 149, 176, 0.45);
  background: rgba(8, 20, 30, 0.9);
  color: #eaf2f9;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.set-modal__search:focus {
  border-color: #59a9de;
  box-shadow: 0 0 0 3px rgba(89, 169, 222, 0.18);
}
.set-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(106, 149, 176, 0.45);
  background: rgba(10, 21, 31, 0.86);
  color: #d6e8f6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.set-modal__close:hover {
  background: rgba(22, 42, 58, 0.95);
}
.set-modal__table {
  --set-scrollbar-w: 8px;
  padding: 14px 18px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.set-modal__thead,
.set-modal__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.set-modal__thead > div,
.set-modal__row > * {
  min-width: 0;
}
.set-modal__thead {
  padding: 12px calc(12px + var(--set-scrollbar-w)) 12px 12px;
  border: 1px solid rgba(93, 133, 157, 0.45);
  border-radius: 8px;
  background: rgba(32, 58, 78, 0.56);
  font-size: 18px;
  font-weight: 600;
  color: #d6ecfb;
  text-align: center;
}
.set-modal__tbody {
  margin-top: 10px;
  max-height: none;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  padding-right: 0;
}
.set-modal__tbody::-webkit-scrollbar {
  width: var(--set-scrollbar-w);
  height: 0;
}
.set-modal__tbody::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 170, 200, 0.5);
}
.set-modal__row {
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(88, 126, 149, 0.35);
  background: rgba(15, 31, 43, 0.78);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.set-modal__row.is-selected {
  border-color: #58a9de;
  box-shadow: 0 0 0 3px rgba(88, 169, 222, 0.14);
  background: rgba(20, 44, 60, 0.86);
  z-index: 30;
}
.set-modal__row input,
.set-modal__row select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(95, 138, 164, 0.46);
  background: rgba(7, 17, 26, 0.9);
  color: #e7f2fb;
  padding: 0 10px;
  outline: none;
  font-size: 14px;
  text-overflow: ellipsis;
}
.set-modal__dropdown {
  position: relative;
}
.set-modal__dropdown-trigger {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(85, 138, 170, 0.58);
  background: linear-gradient(180deg, rgba(10, 27, 39, 0.95) 0%, rgba(8, 20, 31, 0.95) 100%);
  color: #e8f4ff;
  padding: 0 34px 0 12px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.set-modal__dropdown-trigger.is-placeholder {
  color: rgba(202, 225, 239, 0.82);
}
.set-modal__dropdown-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.set-modal__dropdown-arrow {
  position: absolute;
  right: 12px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #cfe8f7;
  border-bottom: 2px solid #cfe8f7;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.set-modal__dropdown.is-open .set-modal__dropdown-arrow {
  transform: rotate(-135deg) translateY(-1px);
}
.set-modal__dropdown.is-open {
  z-index: 60;
}
.set-modal__dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  padding: 6px 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(80, 137, 169, 0.72);
  background: linear-gradient(180deg, rgba(12, 30, 44, 0.98) 0%, rgba(9, 22, 34, 0.98) 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
  max-height: 220px;
  overflow-y: auto;
  scroll-padding-bottom: 12px;
}
.set-modal__dropdown.is-up .set-modal__dropdown-menu {
  top: auto;
  bottom: calc(100% + 6px);
}
.set-modal__dropdown-item {
  width: 100%;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #e8f4ff;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}
.set-modal__dropdown-item:hover:not(:disabled),
.set-modal__dropdown-item.is-active {
  background: rgba(58, 134, 205, 0.36);
}
.set-modal__dropdown-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.set-modal__dropdown.is-disabled .set-modal__dropdown-trigger {
  opacity: 0.72;
  cursor: not-allowed;
}
.set-modal__row input:focus,
.set-modal__row select:focus {
  border-color: #59a9de;
  box-shadow: 0 0 0 2px rgba(89, 169, 222, 0.16);
}
.set-modal__row input.is-error {
  border-color: #ff6868;
  box-shadow: 0 0 0 2px rgba(255, 104, 104, 0.2);
}
.set-modal__row input.set-modal__input--readonly {
  background: rgba(28, 40, 52, 0.95);
  border-color: rgba(113, 140, 159, 0.42);
  color: rgba(204, 220, 232, 0.88);
  cursor: not-allowed;
  caret-color: transparent;
  pointer-events: none;
}
.set-modal__row input.set-modal__input--readonly:focus {
  border-color: rgba(113, 140, 159, 0.42);
  box-shadow: none;
}
.set-modal__empty {
  text-align: center;
  padding: 20px 0;
  color: rgba(170, 205, 227, 0.78);
}
.set-modal__footer {
  margin-top: 12px;
  padding: 0 18px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.set-modal__center-msg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 260;
  min-width: 180px;
  max-width: 70%;
  text-align: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.set-modal__center-msg.success {
  color: #e4fff0;
  background: rgba(24, 102, 61, 0.76);
  border-color: rgba(98, 222, 155, 0.7);
}
.set-modal__center-msg.error {
  color: #ffecec;
  background: rgba(131, 39, 39, 0.8);
  border-color: rgba(255, 131, 116, 0.68);
}
.set-modal__btn {
  min-width: 92px;
  height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(130, 182, 216, 0.72);
  border-radius: 8px;
  cursor: pointer;
  background: rgba(15, 34, 49, 0.95);
  color: #f2f8ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}
.set-modal__btn:hover:not(:disabled) {
  background: rgba(33, 60, 80, 0.98);
  border-color: rgba(150, 204, 240, 0.88);
  color: #ffffff;
}
.set-modal__btn--ghost {
  background: #fff;
  color: #1b3446;
  border-color: rgba(123, 171, 203, 0.9);
}
.set-modal__btn--ghost:disabled {
  color: rgba(43, 69, 88, 0.45);
  border-color: rgba(123, 171, 203, 0.45);
}
.set-modal__btn--danger {
  color: #ffe9e6;
  border-color: rgba(229, 122, 111, 0.7);
  background: rgba(119, 35, 28, 0.82);
}
.set-modal__btn--primary {
  border-color: rgba(112, 179, 224, 0.65);
  background: linear-gradient(135deg, #5db7ef 0%, #3f95ce 100%);
  color: #032138;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.set-modal__btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #5caaf2 0%, #3e89d1 100%);
}
.set-modal__btn:disabled {
  opacity: 0.7;
  color: rgba(240, 248, 255, 0.75);
  border-color: rgba(120, 148, 168, 0.45);
  background: rgba(28, 45, 58, 0.75);
  cursor: not-allowed;
}
.set-modal__confirm-mask {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 10, 16, 0.55);
  backdrop-filter: blur(2px);
}
.set-modal__confirm {
  position: relative;
  z-index: 210;
  width: min(90vw, 420px);
  border-radius: 12px;
  border: 1px solid rgba(110, 160, 190, 0.45);
  background: linear-gradient(160deg, rgba(16, 34, 48, 0.98) 0%, rgba(10, 24, 36, 0.98) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 18px;
}
.set-modal__confirm-title {
  font-size: 18px;
  color: #e5f5ff;
  font-weight: 600;
}
.set-modal__confirm-desc {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(201, 226, 242, 0.9);
}
.set-modal__confirm-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
@media (max-width: 1024px) {
  .set-modal {
    width: 96vw;
  }
  .set-modal__title {
    font-size: 22px;
  }
  .set-modal__search {
    height: 46px;
    font-size: 14px;
  }
  .set-modal__thead,
  .set-modal__row {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 8px;
  }
  .set-modal__thead {
    font-size: 14px;
  }
}
.header-out {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 5.25rem /* 84/16 */;
  pointer-events: all;
}
.header-out .header {
  width: 100vw;
  height: 100%;
  background-image: url('/success-cases/assets/top_08-DAnAyYJK.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 9999;
}
.header-out .header .name {
  text-align: center;
  font-size: 2rem /* 32/16 */;
  padding-top: 0.625rem /* 10/16 */;
  letter-spacing: 0.625rem /* 10/16 */;
  font-weight: 900;
}
.header-out .content {
  display: flex;
  justify-content: space-between;
  z-index: 99999;
  position: absolute;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  padding-top: 0.625rem /* 10/16 */;
}
.header-out .content .left-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.header-out .content .left-content .date {
  align-items: baseline;
  display: flex;
  padding-left: 2.375rem /* 38/16 */;
  font-size: 1.0625rem /* 17/16 */;
  font-family: 'InterCustom', system-ui, sans-serif;
}
.header-out .content .left-content .date .dd {
  font-size: 1.5rem /* 24/16 */;
}
.header-out .content .left-content .date .week {
  padding-left: 0.75rem /* 12/16 */;
  font-size: 1.25rem /* 20/16 */;
}
.header-out .content .left-content .date .time {
  font-size: 1.5rem /* 24/16 */;
  padding-left: 0.875rem /* 14/16 */;
}
.header-out .content .right-content {
  display: flex;
  align-items: center;
  font-size: 1.375rem /* 22/16 */;
  padding-right: 2.3125rem /* 37/16 */;
  gap: 1.25rem /* 20/16 */;
}
.header-out .content .right-content img {
  width: 1.5rem /* 24/16 */;
  height: 1.5rem /* 24/16 */;
  padding-right: 0.375rem /* 6/16 */;
}
.header-out .content .right-content .user {
  display: flex;
  align-items: center;
  padding-left: 77px;
  font-size: 1.25rem /* 20/16 */;
}
.header-out .content .right-content .user span {
  padding-left: 0.4375rem /* 7/16 */;
}
.header-out .content .right-content .let-out {
  display: flex;
  align-items: center;
  font-size: 1.25rem /* 20/16 */;
  cursor: pointer;
}
.header-out .content .right-content .login-btn {
  cursor: pointer;
}
.header-out .content img {
  width: 1.875rem /* 30/16 */;
  height: 1.875rem /* 30/16 */;
}
@font-face {
  font-family: 'InterCustom';
  src: url('/success-cases/DS-DIGI.TTF') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
  /* 0–9 */
}
.weather-out {
  width: 12.5rem /* 200/16 */;
  top: 0.5rem /* 8/16 */;
  left: 20rem /* 320/16 */;
  pointer-events: all;
  display: flex;
  flex-direction: column;
}
.weather-out .title {
  width: 23.0625rem /* 369/16 */;
  height: 2.3125rem /* 37/16 */;
}
.weather-out .weater-content {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  flex: 1;
}
.weather-out .weater-content .weather-item {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  text-align: center;
  width: 11.25rem /* 180/16 */;
}
.weather-out .weater-content .weather-item .weather-item-content {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}
.weather-out .weater-content .weather-item .weather-item-content div {
  width: 20%;
}
.weather-out .weater-content .weather-item .weather-item-content img {
  width: 2.5rem /* 40/16 */;
}
.input-water-out {
  left: 0.5rem /* 22/16 */;
}
.input-water-out .test {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 10rem /* 160/16 */;
  width: 8.625rem /* 138/16 */;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.input-water-out .test .input-water-body {
  position: absolute;
  text-align: center;
}
.input-water-out .test .input-water-body .speed span:nth-child(1) {
  font-size: 1.25rem /* 20/16 */;
}
.input-water-out .test .input-water-body .speed span:nth-child(2) {
  font-size: 0.75rem;
  /* 12/16 */
}
.input-water-out .title {
  width: 12.5rem /* 200/16 */;
  text-align: center;
  text-indent: 0;
}
.speedPic {
  width: 7.5rem /* 120/16 */;
  height: 7.5rem /* 120/16 */;
}
.left-out {
  pointer-events: all;
  z-index: 999999999;
}
.left-out .water-count-out {
  position: absolute;
  bottom: 36rem /* 376/16 */;
  width: 28.125rem /* 450/16 */;
  height: 16rem /* 240/16 */;
  background: linear-gradient(31deg, rgba(4, 26, 55, 0.92) 0%, rgba(7, 45, 91, 0.7) 100%);
  border-radius: 0.625rem /* 10/16 */;
  /* padding: .625rem; */
  border: 1px dashed rgba(125, 215, 255, 0.6);
  left: 1.375rem /* 22/16 */;
}
.real-height {
  width: 7.5rem /* 120/16 */;
  height: 15.625rem /* 250/16 */;
  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #fff;
  bottom: 9.375rem /* 150/16 */;
}
.real-height span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 60%;
}
.real-height .water-height {
  background-image: url("/success-cases/assets/water_height-DKH2WSxL.svg");
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
}
.new-real-height {
  width: 28.125rem /* 450/16 */;
  height: 31rem;
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  bottom: 4.4rem;
  left: 1.375rem /* 22/16 */;
}
.new-real-height .pool-status-panel {
  width: 100%;
  height: 100%;
}
.real-height1 {
  left: 1.375rem /* 22/16 */;
}
.real-height2 {
  left: 7.8125rem /* 125/16 */;
}
.real-height3 {
  left: 14.375rem /* 230/16 */;
}
.real-height4 {
  left: 21.25rem /* 340/16 */;
}
.pos-text {
  position: absolute;
}
.out-water-out {
  left: 9.5rem;
}
.out-water-out .test {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 10rem /* 160/16 */;
  width: 8.625rem /* 138/16 */;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.out-water-out .test .input-water-body {
  position: absolute;
  text-align: center;
}
.out-water-out .test .input-water-body .speed span:nth-child(1) {
  font-size: 1.25rem /* 20/16 */;
}
.out-water-out .test .input-water-body .speed span:nth-child(2) {
  font-size: 0.75rem;
  /* 12/16 */
}
.out-water-out .title {
  width: 12.5rem /* 200/16 */;
  background-image: url('/success-cases/assets/title_3-2U9H33uU.svg');
  text-indent: 3.75rem /* 60/16 */;
}
.out-water-body {
  height: 3.625rem /* 58/16 */;
}
.midBZ-out {
  left: 18.75rem /* 300/16 */;
}
.midBZ-out .test {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 10rem /* 160/16 */;
  width: 8.625rem /* 138/16 */;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.midBZ-out .test .input-water-body {
  position: absolute;
  text-align: center;
}
.midBZ-out .test .input-water-body .speed span:nth-child(1) {
  font-size: 1.25rem /* 20/16 */;
}
.midBZ-out .test .input-water-body .speed span:nth-child(2) {
  font-size: 0.75rem;
  /* 12/16 */
}
.midBZ-out .title {
  width: 12.5rem /* 200/16 */;
  background-image: url('/success-cases/assets/title_3-2U9H33uU.svg');
  text-indent: 3.75rem /* 60/16 */;
}
.midBZ-out-body {
  height: 3.625rem /* 58/16 */;
}
.water-count {
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  display: flex;
  width: 28.125rem /* 450/16 */;
  justify-content: space-around;
}
.water-count .water-count-item {
  background-image: url('/success-cases/assets/count-D1ivWU-D.svg');
  width: 5.25rem /* 84/16 */;
  height: 6.5rem /* 100/16 */;
  background-size: 100% 100%;
}
.water-count div {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.water-count div span:nth-child(1) {
  font-size: 1.25rem /* 20/16 */;
  color: #fff;
  font-weight: 700;
}
.video-loop-out {
  left: 1.375rem;
  bottom: 43rem /* 688/16 */;
  width: 28.125rem /* 450/16 */;
}
.video-loop-panel {
  padding: 0.75rem;
  background: rgba(7, 25, 44, 0.7);
  border: 1px solid rgba(73, 191, 220, 0.7);
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.35);
  color: #fff;
}
.video-loop-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.video-loop-count {
  color: #7ad5ea;
}
.video-loop-content {
  width: 100%;
  height: 13.5rem;
  background: rgba(0, 0, 0, 0.5);
}
.video-loop-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.video-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}
.video-loop-footer {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.video-loop-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  color: #d2f4ff;
}
.video-loop-actions {
  display: flex;
  gap: 0.5rem;
}
.video-loop-actions button {
  border: 1px solid rgba(73, 191, 220, 0.8);
  background: rgba(73, 191, 220, 0.2);
  color: #fff;
  cursor: pointer;
  height: 1.75rem;
  padding: 0 0.5rem;
}
.walk-video-out {
  left: 1.375rem;
  bottom: 42.5rem;
}
.walk-video-panel {
  width: 26.7rem;
  padding: 0.75rem;
  background: rgba(7, 25, 44, 0.7);
  border: 1px solid rgba(73, 191, 220, 0.7);
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.35);
  color: #fff;
}
.walk-video-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}
.walk-video-count {
  min-width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 75, 75, 0.25);
  color: #ffdede;
  border: 1px solid rgba(255, 75, 75, 0.5);
}
.walk-video-updated {
  font-size: 0.75rem;
  color: rgba(210, 244, 255, 0.85);
}
.walk-video-topbar {
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.walk-video-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.walk-video-mode {
  display: flex;
  gap: 0.375rem;
}
.walk-video-grid-pager {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: #d9f9ff;
}
.walk-video-grid-pager button {
  border: 1px solid rgba(73, 191, 220, 0.5);
  background: rgba(73, 191, 220, 0.12);
  color: #d9f9ff;
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.walk-video-grid-pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.walk-video-mode-btn {
  border: 1px solid rgba(73, 191, 220, 0.5);
  background: rgba(73, 191, 220, 0.12);
  color: #d9f9ff;
  cursor: pointer;
  height: 1.4rem;
  padding: 0 0.4rem;
  font-size: 0.75rem;
}
.walk-video-mode-btn.active {
  border-color: rgba(255, 120, 120, 0.8);
  background: rgba(255, 120, 120, 0.2);
  color: #fff;
}
.walk-video-list {
  max-height: 3.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.walk-video-player {
  margin-top: 0.625rem;
  width: 100%;
  height: 13.5rem;
  background: rgba(0, 0, 0, 0.55);
}
.walk-video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.walk-video-grid {
  margin-top: 0.625rem;
  height: 13.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.25rem;
}
.walk-video-grid-item {
  position: relative;
  background: #000;
  overflow: hidden;
}
.walk-video-grid-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.walk-video-grid-name {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.2rem;
  font-size: 0.7rem;
  color: #fff;
  text-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.walk-video-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.5rem;
  background: rgba(73, 191, 220, 0.13);
  border: 1px solid rgba(73, 191, 220, 0.35);
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.walk-video-item-active {
  border-color: rgba(255, 120, 120, 0.8);
  background: rgba(255, 120, 120, 0.2);
}
.walk-video-name {
  color: #fff;
}
.walk-video-id {
  color: #90e8ff;
  font-size: 0.8rem;
}
.walk-video-empty {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(73, 191, 220, 0.35);
}
.walk-video-list .walk-video-empty {
  min-height: 4rem;
}
.pool-status-panel {
  position: relative;
  display: inline-block;
  width: 14rem /* 240/16 */;
  height: 11rem /* 176/16 */;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 18, 45, 0.34));
}

.pool-status-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pool-status-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(125, 215, 255, 0) 0%,
    rgba(125, 215, 255, 0.08) 45%,
    rgba(125, 215, 255, 0.18) 50%,
    rgba(125, 215, 255, 0.08) 55%,
    rgba(125, 215, 255, 0) 100%
  );
  mix-blend-mode: screen;
  animation: pool-panel-scan 3.5s linear infinite;
}

@keyframes pool-panel-scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
.right-out {
  pointer-events: all;
  z-index: 999;
  position: absolute;
  right: 0;
  height: 100vh;
}
.used-water-out {
  right: 1.375rem /* 22/16 */;
  position: absolute;
  bottom: 26.6rem /* 390/16 */;
}
.used-water-out .title {
  background-image: url('/success-cases/assets/title_3-2U9H33uU.svg');
}
.used-water-out .used-water-body {
  height: 14.25rem /* 180/16 */;
  background: linear-gradient(31deg, rgba(4, 26, 55, 0.92) 0%, rgba(7, 45, 91, 0.7) 100%);
  border-radius: 0.625rem /* 10/16 */;
  /* padding: .625rem; */
  border: 1px dashed rgba(125, 215, 255, 0.6);
  padding-bottom: 1rem /* 16/16 */;
}
.used-water-out .used-water-body .chart {
  width: 28.125rem /* 450/16 */;
  height: 100%;
  padding-top: 1rem /* 16/16 */;
}
.used-water-out .select-btn {
  position: absolute;
  top: 2.25rem /* 36/16 */;
  right: 1.875rem /* 30/16 */;
  width: 6.25rem /* 100/16 */;
  height: 1.875rem /* 30/16 */;
  text-align: center;
  color: #fff;
  background-color: rgba(13, 163, 246, 0.2);
  border: 1px solid #0da3f6;
}
.used-water-out .select-btn option {
  background-color: #0da3f6;
}
.used-water-out .select-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.875rem;
  width: 6.25rem;
  height: 1.5rem;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 1.5rem 0 0.5rem;
  cursor: pointer;
  font-size: 0.75rem;
  color: #fff;
  outline: none;
  background: linear-gradient(180deg, rgba(13, 163, 246, 0.1) 0%, rgba(13, 163, 246, 0.3) 100%);
  border: 1px solid rgba(13, 163, 246, 0.8);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(13, 163, 246, 0.2) inset;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230da3f6'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.3rem center;
  background-size: 1.2rem;
}
.used-water-out .select-btn:hover {
  border-color: #0da3f6;
  background-color: rgba(13, 163, 246, 0.4);
}
.used-water-out .select-btn option {
  background-color: #061b31;
  color: #fff;
  padding: 10px;
}
.progress-water-out {
  right: 1.375rem;
  bottom: 5rem;
  width: 28.125rem /* 450/16 */;
  font-size: 0.75rem /* 12/16 */;
}
.progress-water-out .title {
  background-image: url('/success-cases/assets/title_3-2U9H33uU.svg');
  font-size: 1rem /* 16/16 */;
}
.progress-water-out .progress-water-body {
  padding: 0.3rem;
  background: linear-gradient(31deg, rgba(4, 26, 55, 0.92) 0%, rgba(7, 45, 91, 0.7) 100%);
  border-radius: 0.625rem /* 10/16 */;
  padding: 0.625rem /* 10/16 */;
  border: 1px dashed rgba(125, 215, 255, 0.6);
}
.quality-table {
  display: grid;
  grid-template-columns: 4.8rem repeat(6, 1fr);
  border-top: 1px solid rgba(73, 191, 220, 0.85);
  border-left: 1px solid rgba(73, 191, 220, 0.85);
}
.quality-cell {
  min-height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.2rem;
  text-align: center;
  color: #dff3ff;
  border-right: 1px solid rgba(73, 191, 220, 0.85);
  border-bottom: 1px solid rgba(73, 191, 220, 0.85);
}
.quality-cell--head,
.quality-cell--metric {
  color: #f0f8ff;
  font-weight: 500;
}
.quality-cell--corner {
  position: relative;
  min-height: 2.75rem;
  padding: 0;
}
.quality-cell--corner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(73, 191, 220, 0.95) 50%, transparent calc(50% + 0.5px));
  pointer-events: none;
}
.quality-cell--corner .corner-index {
  position: absolute;
  left: 0.45rem;
  bottom: 0.35rem;
  color: #f0f8ff;
}
.quality-cell--corner .corner-location {
  position: absolute;
  right: 0.45rem;
  top: 0.35rem;
  color: #f0f8ff;
}
.event-panel-out {
  right: 1.375rem;
  width: 28rem;
  color: #d4ecff;
  bottom: 43rem;
  height: 19rem /* 320/16 */;
  background: linear-gradient(31deg, rgba(4, 26, 55, 0.92) 0%, rgba(7, 45, 91, 0.7) 100%);
  border-radius: 0.625rem /* 10/16 */;
  /* padding: .625rem; */
  border: 1px dashed rgba(125, 215, 255, 0.6);
}
.event-panel-tabs {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.event-panel-tabs button {
  flex: 1;
  height: 2rem;
  border: 1px solid rgba(46, 163, 255, 0.65);
  background: linear-gradient(90deg, rgba(20, 102, 180, 0.32) 0%, rgba(7, 25, 44, 0.6) 100%);
  color: #7fb8e4;
  cursor: pointer;
  font-size: 1rem /* 16/16 */;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.event-panel-tabs button img {
  width: 1.25rem /* 20/16 */;
  z-index: 999;
  padding-left: 0.5rem /* 8/16 */;
}
.event-panel-tabs .active {
  color: #9fd6ff;
  border-color: rgba(89, 193, 255, 0.95);
  box-shadow: 0 0 0.75rem rgba(72, 178, 255, 0.3) inset;
}
.event-panel-head {
  height: 2.125rem;
  display: grid;
  grid-template-columns: 2.5rem 1.35fr 0.9fr 1.05fr 0.75fr;
  align-items: center;
  background: rgba(7, 35, 63, 0.92);
  position: sticky;
  top: 0;
  z-index: 2;
}
.event-panel-head div {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dff3ff;
}
.event-panel-head.alarm {
  grid-template-columns: 2.5rem 1.6fr 0.85fr 1.05fr 0.75fr;
}
.event-panel-table {
  min-height: 15.5rem;
  max-height: 12.5rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.event-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.25rem;
}
.event-panel-load-tip {
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7fb8e4;
  font-size: 0.75rem;
}
.event-panel-row {
  height: 2rem;
  display: grid;
  grid-template-columns: 2.5rem 1.35fr 0.9fr 1.05fr 0.75fr;
  align-items: center;
  background: repeating-linear-gradient(115deg, rgba(24, 87, 151, 0.18), rgba(24, 87, 151, 0.18) 0.375rem, rgba(9, 34, 63, 0.34) 0.375rem, rgba(9, 34, 63, 0.34) 0.75rem);
  font-size: 0.875rem /* 14/16 */;
}
.event-panel-row div {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4bfda;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-panel-row .event-name {
  justify-content: flex-start;
  /* 习惯上 flex-start 比 left 更规范 */
  min-width: 0;
  /* 关键：允许子元素收缩，否则 ellipsis 不生效 */
  /* 确保内部文字溢出控制生效 */
  display: block;
  /* 如果是 flex 居中文字，有时需要 block 更好触发点点点 */
  line-height: 2rem;
  /* 保持高度垂直居中 */
}
.event-panel-row.alarm {
  grid-template-columns: 2.5rem 1.6fr 0.85fr 1.05fr 0.75fr;
  font-size: 0.875rem /* 14/16 */;
}
.alarm-status {
  font-weight: 600;
}
.event-panel-row div.alarm-status--unresolved {
  color: #ff6b6b;
  text-shadow: 0 0 0.35rem rgba(255, 107, 107, 0.35);
}
.event-panel-row div.alarm-status--resolved {
  color: #58d68d;
  text-shadow: 0 0 0.35rem rgba(88, 214, 141, 0.35);
}
.event-panel-row div.alarm-status--pending {
  color: #f6c453;
  text-shadow: 0 0 0.35rem rgba(246, 196, 83, 0.35);
}
.event-panel-row.highlight {
  background: linear-gradient(90deg, rgba(88, 184, 249, 0.85) 0%, rgba(17, 61, 117, 0.35) 100%);
}
.event-panel-row.highlight div {
  color: #dbf2ff;
}
.event-row-view-btn {
  height: 1.35rem;
  min-width: 2.4rem;
  padding: 0 0.3rem;
  border: 1px solid rgba(89, 193, 255, 0.85);
  background: rgba(21, 92, 156, 0.35);
  color: #dff3ff;
  cursor: pointer;
  line-height: 1;
}
.event-detail-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2, 10, 22, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-detail-modal {
  width: 30rem;
  max-height: 78vh;
  overflow: hidden;
  border: 1px solid rgba(89, 193, 255, 0.65);
  background: linear-gradient(180deg, rgba(9, 38, 68, 0.96) 0%, rgba(4, 17, 34, 0.96) 100%);
  box-shadow: 0 0 1rem rgba(72, 178, 255, 0.25);
  color: #dff3ff;
  padding: 1rem;
}
.event-detail-modal-title {
  font-size: 1rem;
  color: #9fd6ff;
}
.event-detail-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.event-detail-modal-close-x {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid rgba(89, 193, 255, 0.85);
  background: rgba(21, 92, 156, 0.35);
  color: #dff3ff;
  line-height: 1;
  cursor: pointer;
}
.event-detail-modal-content {
  --label-col-width: 1.2rem;
  max-height: 56vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-right: 0.4rem;
}
.event-detail-modal-content div {
  display: grid;
  grid-template-columns: minmax(var(--label-col-width), calc(var(--label-col-width) + 1.5rem)) minmax(0, 1fr);
  column-gap: 0.3rem;
  align-items: start;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #b9dbf5;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.event-detail-modal-content span {
  display: block;
  white-space: normal;
  text-align: left;
  overflow-wrap: anywhere;
  color: #e2f4ff;
}
.event-detail-modal-content.alarm {
  --label-col-width: 1.2rem;
}
.event-detail-modal-content.operation {
  --label-col-width: 1.2rem;
}
.event-detail-modal-close {
  margin-top: 0.9rem;
  height: 1.75rem;
  min-width: 4rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(89, 193, 255, 0.85);
  background: rgba(21, 92, 156, 0.35);
  color: #dff3ff;
  cursor: pointer;
}
.event-detail-modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.event-detail-modal-action {
  height: 1.75rem;
  min-width: 4.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(89, 193, 255, 0.85);
  background: rgba(21, 92, 156, 0.35);
  color: #dff3ff;
  cursor: pointer;
}
.event-detail-modal-action.pending {
  border-color: rgba(246, 196, 83, 0.9);
  color: #f6c453;
}
.event-detail-modal-action.resolved {
  border-color: rgba(88, 214, 141, 0.9);
  color: #58d68d;
}
.event-detail-modal-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.has-warning {
  /* 绑定动画：动画名 持续时间 速度曲线 重复次数 */
  /* infinite 表示无限循环，linear 表示匀速 */
  animation: pulse-red 1.5s linear infinite;
  /* 确保按钮有基础样式，以便 inherit 生效 */
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  /* 用于停止动画时的平滑过渡 */
}
@keyframes pulse-red {
  0% {
    /* 动画开始时，保持原本的背景色 */
    background-color: inherit;
    /* 或者填入你具体的原本颜色，比如 #f5f5f5 */
  }
  50% {
    /* 动画中间，变为红色 (建议使用半透明红，视觉更柔和) */
    background-color: rgba(255, 0, 0, 0.7);
    /* 如果需要，也可以同时改变边框色 */
    /* border-color: rgb(255, 0, 0); */
  }
  100% {
    /* 动画结束，回到原本颜色 */
    background-color: inherit;
  }
}
/* 方案 B：强制突变闪烁 (类似警报灯，更刺眼) */
@keyframes blink-red {
  0%,
  49% {
    background-color: inherit;
  }
  50%,
  100% {
    background-color: #ff0000;
  }
}
.video-out {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 999999999;
  top: 0;
}
.video-out .video-model {
  background-image: url('/success-cases/assets/video_bg_3-BPuNYen9.svg');
  width: 43.75rem /* 700/16 */;
  height: 30.5rem /* 488/16 */;
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}
.video-out .video-model .video-title {
  display: flex;
  justify-content: space-between;
  font-size: 1.625rem /* 26/16 */;
  padding-top: 2rem /* 32/16 */;
  padding-left: 2.25rem /* 36/16 */;
  height: 2.25rem /* 36/16 */;
}
.video-out .video-model .video-title img {
  padding-right: 2.25rem /* 36/16 */;
  width: 1.25rem /* 20/16 */;
}
.video-out .video-model .video-content {
  padding-top: 2.25rem /* 36/16 */;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.video-out .video-model .video-content .video-content-title {
  height: 2.5rem /* 40/16 */;
  display: flex;
  justify-content: space-around;
  background-size: 100% 100%;
  background-repeat: repeat;
  line-height: 2.5rem /* 40/16 */;
  background-color: rgba(73, 191, 220, 0.4);
  margin-right: 15px;
}
.video-out .video-model .video-content .video-content-title div {
  text-align: center;
}
.video-out .video-model .video-content .video-content-title div:nth-child(1) {
  flex: 0 0 25%;
}
.video-out .video-model .video-content .video-content-title div:nth-child(2) {
  flex: 0 0 40%;
}
.video-out .video-model .video-content .video-content-title div:nth-child(3),
.video-out .video-model .video-content .video-content-title div:nth-child(4) {
  flex: 0 0 17.5%;
}
.video-out .video-model .video-content .video-content-body {
  cursor: pointer;
  height: 100%;
  height: 18.75rem /* 300/16 */;
  overflow-y: scroll;
}
.video-out .video-model .video-content .video-content-body .lista {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  height: 1.875rem /* 30/16 */;
  line-height: 1.875rem /* 30/16 */;
}
.video-out .video-model .video-content .video-content-body .lista div {
  text-align: center;
}
.video-out .video-model .video-content .video-content-body .lista div:nth-child(1) {
  flex: 0 0 25%;
}
.video-out .video-model .video-content .video-content-body .lista div:nth-child(2) {
  flex: 0 0 40%;
}
.video-out .video-model .video-content .video-content-body .lista div:nth-child(3),
.video-out .video-model .video-content .video-content-body .lista div:nth-child(4) {
  flex: 0 0 17.5%;
}
.video-out .video-model .video-content .video-content-body .lista div:last-child {
  color: #49bfdc;
}
.video-out .video-model .video-content .video-content-body .lista .camera-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 4.5rem;
  height: 1.375rem;
  line-height: 1.375rem;
  border: 1px solid rgba(143, 240, 255, 0.55);
  border-radius: 0.75rem;
  color: #aaf6ff;
  background: rgba(0, 170, 215, 0.18);
  box-sizing: border-box;
}
.video-out .video-model .video-content .video-content-body .lista .camera-type i {
  display: inline-block;
  width: 0.625rem;
  height: 0.375rem;
  border: 1px solid currentColor;
  border-radius: 0.125rem;
  box-sizing: border-box;
  transform: skewX(-12deg);
}
.video-out .video-model .video-content .video-content-body .lista .camera-type-1 {
  color: #ffd66b;
  border-color: rgba(255, 198, 61, 0.72);
  background: rgba(255, 166, 0, 0.2);
  box-shadow: inset 0 0 0.5rem rgba(255, 183, 45, 0.12);
}
.video-out .video-model .video-content .video-content-body .lista .camera-type-1 i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  transform: none;
  background: rgba(255, 201, 75, 0.35);
}
.video-out .video-model .video-content .video-content-body .lista:nth-child(odd) {
  background-color: rgba(73, 191, 220, 0.2);
}
.BCLeft {
  position: absolute;
  top: 10rem /* 160/16 */ !important;
}
.BCLeft .com-content {
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: 100% 100%;
}
.BCLeft .com-content:nth-child(2) {
  margin-top: 2.5rem /* 40/16 */ !important;
}
.BCLeft .com-content .title {
  font-size: 1.25rem /* 20/16 */;
  height: 3.125rem /* 50/16 */;
  line-height: 3.125rem /* 50/16 */;
  text-indent: 1.25rem /* 20/16 */;
  font-weight: 800;
  padding-bottom: 0.625rem /* 10/16 */;
}
.BCLeft .com-content .count {
  text-align: right;
  padding-right: 1.375rem /* 22/16 */;
  margin-top: 0.625rem /* 10/16 */;
  padding-bottom: 1.25rem /* 20/16 */;
  font-size: 1.625rem /* 26/16 */;
}
.BCLeft .com-content .count span:nth-child(1) {
  font-family: 'InterCustom', system-ui, sans-serif;
  font-weight: 900;
}
.BCLeft .com-content .count span:nth-child(2) {
  font-size: 1.375rem;
  /* 22/16 */
}
.BCLeft .per {
  margin-top: 1.25rem /* 20/16 */;
}
.BCLeft .first-B {
  display: flex;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.BCLeft .first-B .content {
  flex-direction: column;
  text-align: center;
  position: relative;
}
.BCLeft .first-B .content .name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem /* 12/16 */;
}
.BCLeft .first-B .content p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem /* 20/16 */;
  font-family: 'InterCustom', system-ui, sans-serif;
}
.BCLeft .first-B .content p span:nth-child(1) {
  font-size: 1.375rem /* 22/16 */;
}
.BCLeft .first-B .content p span:nth-child(2) {
  font-size: 1rem /* 16/16 */;
}
.BCLeft .second-B {
  margin-bottom: -1.875rem /* 30/16 */;
}
.BCLeft .lottie {
  width: 8.125rem /* 130/16 */;
}
@font-face {
  font-family: 'InterCustom';
  src: url('/success-cases/DS-DIGI.TTF') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
  /* 0–9 */
}
.BCRight {
  position: absolute;
  top: 9.375rem /* 150/16 */;
  right: 1.375rem /* 22/16 */;
}
.bc-panel {
  width: 260px;
  padding: 16px 18px;
  border-radius: 14px;
  /* 核心：青蓝系半透明背景 */
  background: rgba(0, 234, 255, 0.18);
  backdrop-filter: blur(8px);
  /* 同色系边框 */
  border: 1px solid rgba(0, 234, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #dffbff;
  position: absolute;
  top: 10rem /* 160/16 */ !important;
  right: 1.375rem /* 22/16 */;
}
/* 标题 */
.bc-panel-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  color: #bff6ff;
  border-left: 3px solid rgba(0, 234, 255, 0.9);
  padding-left: 8px;
}
/* 每一行数据 */
.bc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 234, 255, 0.18);
}
.bc-item:last-child {
  border-bottom: none;
}
/* 指标名 */
.label {
  font-size: 13px;
  color: rgba(200, 245, 255, 0.9);
  white-space: nowrap;
}
/* 数值 */
.value {
  font-size: 22px;
  font-weight: 600;
  text-align: right;
  /* 不是纯白，避免刺眼 */
  color: #e9fdff;
  text-shadow: 0 0 6px rgba(0, 234, 255, 0.35);
}
/* 单位 */
.unit {
  font-size: 12px;
  margin-left: 2px;
  color: rgba(180, 240, 255, 0.65);
}
.BC-outside {
  padding: 0 1.375rem /* 22/16 */;
  z-index: 10000;
}
:root {
    --primary-color: #00f3ff;
    --hover-color: #0088aa;
    --warning-color: #ff3333;
    --bg-color: #050a14;
    --panel-bg: rgba(0, 0, 0, 0.4);
    --text-main: #ffffff;
    --text-regular: rgba(255, 255, 255, 0.8);
    --border-color: rgba(77, 253, 255, 0.3);
    --success-color: #00ff00;
}

/* 页面背景 */
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

/* 按钮基础样式 */
.cyber-btn {
    position: relative;
    padding: 0.5rem 1.5625rem;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    color: var(--primary-color);
    background-color: transparent;
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(77, 253, 255, 0.1) 100%),
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    border: 0.0625rem solid rgba(77, 253, 255, 0.4);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 0.625rem rgba(77, 253, 255, 0.1);
    
    /* 简单的斜切角效果 */
    clip-path: polygon(
        0.625rem 0, 
        100% 0, 
        100% calc(100% - 0.625rem), 
        calc(100% - 0.625rem) 100%, 
        0 100%, 
        0 0.625rem
    );
}

.cyber-btn:hover {
    background-color: rgba(77, 253, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 1.25rem rgba(77, 253, 255, 0.4);
    text-shadow: 0 0 0.5rem var(--primary-color);
    transform: translateY(-0.125rem);
}

.cyber-btn:active {
    transform: translateY(0.0625rem);
}

.cyber-btn.warning {
    color: var(--warning-color);
    border-color: rgba(255, 51, 51, 0.5);
    background-image: 
        linear-gradient(90deg, transparent 50%, rgba(255, 51, 51, 0.1) 100%),
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.cyber-btn.warning:hover {
    background-color: rgba(255, 51, 51, 0.15);
    border-color: var(--warning-color);
    box-shadow: 0 0 1.25rem rgba(255, 51, 51, 0.4);
    text-shadow: 0 0 0.5rem var(--warning-color);
}

/* 按钮装饰线条 */
.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid currentColor;
    border-left: 0.125rem solid currentColor;
    pointer-events: none;
    opacity: 0.8;
}

.cyber-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0.625rem;
    height: 0.625rem;
    border-bottom: 0.125rem solid currentColor;
    border-right: 0.125rem solid currentColor;
    pointer-events: none;
    opacity: 0.8;
}

/* 触发按钮特定样式 */
#openBtn {
    padding: 0.625rem 1.875rem;
    font-size: 1rem;
    min-width: 9.375rem;
    
    /* 初始居中定位，JS会覆盖 */
    position: relative;
    z-index: 100;
}

/* 弹窗容器样式 */
.popup-window {
    display: block;
    position: absolute;
    z-index: 1000;
    width: 20rem; /* 调整宽度以匹配垂直卡片布局 (原40.625rem -> 20rem) */
    padding: 1.25rem;
    background: rgba(10, 30, 45, 0.95);
    border: 0.0625rem solid rgba(77, 253, 255, 0.3);
    box-shadow: 0 0 1.875rem rgba(0, 0, 0, 0.6), 0 0 0.625rem rgba(77, 253, 255, 0.1);
    /* 顶部高亮线条 */
    border-top: 0.125rem solid rgba(77, 253, 255, 0.8);
    animation: fadeIn 0.3s ease-out;
    border-radius: 0.25rem;
    backdrop-filter: blur(0.625rem); /* 磨砂玻璃效果 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.popup-window::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(77, 253, 255, 0.03) 0.0625rem, transparent 0.0625rem),
        linear-gradient(90deg, rgba(77, 253, 255, 0.03) 0.0625rem, transparent 0.0625rem);
    background-size: 1.25rem 1.25rem;
    z-index: -1;
}

/* 装饰角标 - 修改为四角L型 */
.corner-decoration {
    display: block;
    position: absolute;
    width: 0.625rem;
    height: 0.625rem;
    border-color: var(--primary-color);
    border-style: solid;
}

.corner-top-left { top: -0.0625rem; left: -0.0625rem; border-width: 0.125rem 0 0 0.125rem; }
.corner-top-right { top: -0.0625rem; right: -0.0625rem; border-width: 0.125rem 0.125rem 0 0; }
.corner-bottom-left { bottom: -0.0625rem; left: -0.0625rem; border-width: 0 0 0.125rem 0.125rem; }
.corner-bottom-right { bottom: -0.0625rem; right: -0.0625rem; border-width: 0 0.125rem 0.125rem 0; }

/* 弹窗头部 */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5625rem;
    padding-bottom: 0.625rem;
    border-bottom: 0.0625rem solid rgba(77, 253, 255, 0.2);
    padding: 0.625rem 0.9375rem;
    margin: -1.25rem -1.25rem 1.25rem -1.25rem; /* 贴合顶部 */
    background: linear-gradient(90deg, rgba(77, 253, 255, 0.1) 0%, transparent 100%);
}

.popup-title {
    font-size: 1.25rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 0.625rem rgba(77, 253, 255, 0.5);
    display: flex;
    align-items: center;
}

.popup-title::before {
    content: ''; /* 恢复装饰条 */
    display: inline-block;
    width: 0.25rem;
    height: 1.125rem;
    background: var(--primary-color);
    margin-right: 0.625rem;
    box-shadow: 0 0 0.5rem var(--primary-color);
}

.close-btn {
    color: rgba(0, 243, 255, 0.7);
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: var(--warning-color);
    text-shadow: 0 0 0.5rem rgba(255, 51, 51, 0.6), 0 0 0.9375rem rgba(255, 51, 51, 0.3);
}

/* 状态显示面板区 */
.status-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 1.5625rem;
    padding: 0.9375rem 0;
    background: rgba(0, 0, 0, 0.2);
    border: 0.0625rem solid rgba(77, 253, 255, 0.1);
    position: relative;
}

.status-item {
    text-align: center;
    padding: 0 0.625rem;
    border-right: 0.0625rem solid rgba(255, 255, 255, 0.1);
    border-left: none;
}

.status-item:last-child {
    border-right: none;
}

.status-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.status-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 0.625rem rgba(77, 253, 255, 0.5);
    font-family: 'Segoe UI', 'DIN Alternate', sans-serif;
    white-space: nowrap;
}

.status-value.alert {
    color: var(--warning-color);
    text-shadow: 0 0 0.5rem rgba(255, 51, 51, 0.6), 0 0 0.9375rem rgba(255, 51, 51, 0.3);
}

/* 针对第3项（效率）的数字显示进行字体放大，以匹配汉字视觉大小 */
.status-item:nth-child(3) .status-value {
    font-size: 2rem;
    line-height: 1.2;
}

/* 参数输入区域 */
.control-row {
    display: flex;
    align-items: stretch; /* 改为 stretch 使左右两个卡片高度一致 */
    gap: 1.25rem;
    margin-bottom: 1.875rem;
}

.input-group {
    flex: 1;
    position: relative;
    border: none; /* Reset border */
}

.input-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(0, 243, 255, 0.8);
    margin-bottom: 0.5rem;
    padding-left: 0.3125rem;
}

.cyber-input {
    display: block; /* Show input */
    width: 100%;
    background: rgba(5, 10, 20, 0.6);
    border: 0.0625rem solid rgba(0, 243, 255, 0.4);
    border-left: 0.1875rem solid var(--primary-color);
    color: #fff;
    padding: 0.625rem 0.9375rem;
    font-size: 1.125rem;
    font-family: 'Courier New', monospace;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s;
}

.cyber-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0.9375rem rgba(0, 243, 255, 0.2);
    background: rgba(0, 243, 255, 0.1);
}

/* 按钮容器 */
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 0;
}

.button-group .cyber-btn {
    flex: 1;
    min-width: auto;
}

/* 动画定义 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: 
            translate(-50%, -50%)
            scale(0.95)
            translateY(10px);
    }
    to {
        opacity: 1;
        transform: 
            translate(-50%, -50%)
            scale(1)
            translateY(0);
    }
}

@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0.5; }
}

/* 实用工具类 */
.text-success { color: #0f0 !important; }
.text-normal { color: var(--primary-color) !important; text-shadow: 0 0 0.625rem var(--primary-color) !important; }
.text-mute { color: rgba(0, 243, 255, 0.7) !important; text-shadow: none !important; }

.text-warning-blink { 
    color: var(--warning-color) !important; 
    animation: blink 0.5s infinite alternate !important;
}

.text-normal-blink {
    color: var(--primary-color) !important;
    animation: blink 1s infinite alternate !important;
}

.hidden { display: none !important; }
.u-flex-1 { flex: 1; }
.u-z-index-1 { z-index: 1; }

.formula-card {
    background: rgba(0, 0, 0, 0.2);
    border: 0.0625rem solid rgba(77, 253, 255, 0.15); /* 更加柔和的边框 */
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* 模拟大屏Widget的切角或装饰 */
    position: relative;
}

/* 顶部装饰条 */
.formula-card::before {
    content: '';
    position: absolute;
    top: -0.0625rem; left: -0.0625rem; right: -0.0625rem;
    height: 0.125rem;
    background: rgba(77, 253, 255, 0.5);
    box-shadow: 0 0 0.3125rem rgba(77, 253, 255, 0.5);
    display: none; /* 暂时隐藏，用头部背景代替 */
}

.formula-header {
    font-size: 0.875rem;
    color: #fff;
    background: linear-gradient(90deg, rgba(77, 253, 255, 0.15) 0%, transparent 100%);
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.9375rem;
    text-shadow: none;
    border-bottom: 0.0625rem solid rgba(77, 253, 255, 0.1);
    border-left: 0.1875rem solid var(--primary-color);
}

.formula-expression {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 0.9375rem;
    letter-spacing: 0.0625rem;
    padding: 0 0.625rem;
    display: block; /* Show formula */
}

.variable-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-family: 'Segoe UI', sans-serif; /* 统一字体 */
    padding: 0 0.625rem 0.625rem 0.625rem;
}

.var-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.375rem 0.625rem;
    border-radius: 0;
    border-left: 0.125rem solid transparent;
}

.var-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--primary-color);
}

.var-item.main-result {
    grid-column: 1 / -1;
    background: rgba(77, 253, 255, 0.1);
    border: 0.0625rem solid rgba(77, 253, 255, 0.2);
    margin-bottom: 0.3125rem;
    padding-bottom: 0.375rem;
    border-bottom: 0.0625rem solid rgba(77, 253, 255, 0.2); 
}

.var-item.main-result .var-value {
    color: var(--primary-color);
    text-shadow: 0 0 0.625rem rgba(77, 253, 255, 0.4);
    font-size: 1.5rem; 
}

.var-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.var-value {
    color: #fff;
    font-weight: bold;
    font-size: 0.875rem;
}


/* New Layout Additions for Device Control */
.status-lamps-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.25rem;
    padding: 0.9375rem;
    background: rgba(0,0,0,0.2);
    border: 0.0625rem solid rgba(77, 253, 255, 0.1);
}
.lamp-item {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
}
.lamp-indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #666, #222);
    border: 0.125rem solid #333;
    box-shadow: 
        inset 0 0 0.3125rem #000, 
        0 0 0.125rem rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.lamp-indicator.red {
    background: radial-gradient(circle at 30% 30%, #ff8888, #cc0000);
    border-color: #880000;
    box-shadow: 
        0 0 0.625rem #ff3333, 
        0 0 1.25rem rgba(255, 51, 51, 0.6),
        inset 0 0 0.3125rem rgba(255, 255, 255, 0.4);
}
.lamp-indicator.green {
    background: radial-gradient(circle at 30% 30%, #88ff88, #00cc00);
    border-color: #008800;
    box-shadow: 
        0 0 0.625rem #00ff00, 
        0 0 1.25rem rgba(51, 255, 51, 0.6),
        inset 0 0 0.3125rem rgba(255, 255, 255, 0.4);
}

.control-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9375rem;
    margin-bottom: 1.5625rem;
}
.control-grid .cyber-btn {
    text-align: center;
    padding: 0.75rem 0;
}

.data-list {
    margin-bottom: 1.5625rem;
    padding: 0 0.625rem;
}
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 0.0625rem solid rgba(77, 253, 255, 0.1);
    align-items: center;
}
.data-row:last-child {
    border-bottom: none;
}
.data-label {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}
.data-value {
    color: #fff;
    font-size: 1.125rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 0.3125rem rgba(77, 253, 255, 0.5);
}
.data-label.green, .data-value.green {
    color: var(--success-color);
    text-shadow: 0 0 0.5rem var(--success-color);
}

.dosage-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5625rem;
    padding: 0.9375rem;
    background: rgba(77, 253, 255, 0.05);
    border: 0.0625rem solid rgba(77, 253, 255, 0.2);
}
.dosage-label {
    color: #fff;
    font-size: 1rem;
}
.spinner {
    display: flex;
    align-items: center;
    gap: 0.9375rem;
}
.spin-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.125rem;
    transition: 0.2s;
}
.spin-btn:hover {
    color: #fff;
    text-shadow: 0 0 0.3125rem #fff;
}
.spin-val {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    width: 3.75rem; /* 稍微加宽以容纳输入 */
    text-align: center;
    font-family: 'Courier New', monospace;
    background: transparent;
    border: none;
    border-bottom: 0.0625rem solid rgba(77, 253, 255, 0.3); /* 添加底部边框暗示可输入 */
    outline: none;
    padding: 0 0.3125rem;
}
.spin-val:focus {
    border-bottom-color: var(--primary-color);
    box-shadow: 0 0.0625rem 0.3125rem rgba(0, 243, 255, 0.2);
}

.width-100 {
    width: 100%;
}

/* Toggle Switch Style */
.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-top: 0.0625rem solid rgba(77, 253, 255, 0.1);
}
.switch-label {
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 500;
}
.cyber-switch {
    position: relative;
    display: inline-block;
    width: 3.5rem;
    height: 1.75rem;
}
.cyber-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 1.75rem;
    border: 0.0625rem solid #555;
}
.slider:before {
    position: absolute;
    content: "";
    height: 1.25rem;
    width: 1.25rem;
    left: 0.25rem;
    bottom: 0.1875rem;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 0 0.3125rem rgba(0,0,0,0.5);
}
.cyber-switch input:checked + .slider {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0.625rem rgba(0, 243, 255, 0.3);
}
.cyber-switch input:checked + .slider:before {
    transform: translateX(1.75rem);
}

.cyber-switch input:checked + .slider {
  background-color: var(--primary-color);
}

.cyber-switch.running .slider {
  background: linear-gradient(
    90deg,
    rgba(0, 243, 255, 0.6),
    rgba(0, 243, 255, 0.9)
  );
  box-shadow:
    0 0 0.625rem rgba(0, 243, 255, 0.6),
    inset 0 0 0.3125rem rgba(255, 255, 255, 0.4);
}
/* Confirmation Modal */
.confirm-modal-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(0.125rem);
}
.confirm-modal-box {
    width: 20rem;
    background: rgba(10, 10, 15, 0.95);
    border: 0.0625rem solid var(--primary-color);
    box-shadow: 0 0 1.25rem rgba(0, 243, 255, 0.2), inset 0 0 0.625rem rgba(0, 243, 255, 0.1);
    padding: 1.5rem;
    position: relative;
    text-align: center;
        top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.confirm-modal-box::before,
.confirm-modal-box::after,
.confirm-decoration-bl,
.confirm-decoration-br {
    content: '';
    position: absolute;
    width: 0.625rem;
    height: 0.625rem;
    border: 0.125rem solid var(--primary-color);
    transition: all 0.3s ease;
}
.confirm-modal-box::before { top: -0.125rem; left: -0.125rem; border-right: 0; border-bottom: 0; }
.confirm-modal-box::after { top: -0.125rem; right: -0.125rem; border-left: 0; border-bottom: 0; }
.confirm-decoration-bl { bottom: -0.125rem; left: -0.125rem; border-right: 0; border-top: 0; }
.confirm-decoration-br { bottom: -0.125rem; right: -0.125rem; border-left: 0; border-top: 0; }

.confirm-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 0 0 0.5rem var(--primary-color);
    border-bottom: 0.0625rem solid rgba(77, 253, 255, 0.3);
    padding-bottom: 0.5rem;
}
.confirm-message {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.confirm-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.confirm-btn {
    flex: 1;
    padding: 0.625rem;
    border: 0.0625rem solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}
.confirm-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 1rem var(--primary-color);
}
.confirm-btn.cancel {
    border-color: #ff3333;
    color: #ff3333;
}
.confirm-btn.cancel:hover {
    background: #ff3333;
    color: #fff;
    box-shadow: 0 0 1rem #ff3333;
}

/* Grid Layout for Status Lamps (2x2) */
.status-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9375rem; /* 15px */
    margin-bottom: 1.25rem;
    padding: 0.9375rem;
    background: rgba(0,0,0,0.2);
    border: 0.0625rem solid rgba(77, 253, 255, 0.05);
}

/* Specific adjustment for grid items to center content */
.status-grid-2x2 .lamp-item {
    justify-content: space-between; /* Label on left, lamp on right */
    padding: 0.3125rem 0.625rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.25rem;
}

/* --- System Control Center Styles --- */

/* Top Status Bar */
.status-bar-row {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    margin-bottom: 1.25rem;
    border: 0.0625rem solid rgba(77, 253, 255, 0.1);
}
.status-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    border-right: 0.0625rem solid rgba(255, 255, 255, 0.1);
}
.status-cell:last-child {
    border-right: none;
}
.status-cell-label {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 0.3125rem;
}
.status-cell-value {
    font-size: 1.125rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 0.3125rem rgba(255, 255, 255, 0.5);
}

/* Two Column Layout */
.cols-2-layout {
    display: flex;
    gap: 0.9375rem;
    margin-bottom: 1.25rem;
}
.calc-card {
    flex: 1;
    border: 0.0625rem solid rgba(77, 253, 255, 0.2);
    background: rgba(10, 20, 30, 0.6);
    padding: 0.625rem;
    display: flex;
    flex-direction: column;
}
.card-header {
    border-left: 0.1875rem solid var(--primary-color);
    padding-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}
.formula-text {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
    margin-bottom: 0.625rem;
    white-space: nowrap;
}
.result-display {
    background: rgba(0, 20, 30, 0.8);
    border: 0.0625rem solid rgba(77, 253, 255, 0.3);
    padding: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
}
.result-label {
    color: #888;
    font-size: 0.875rem;
}
.result-val {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Input Grid within Card */
.input-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3125rem;
}
.input-cell {
    background: rgba(255,255,255,0.05);
    padding: 0.3125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.input-label {
    font-size: 0.75rem;
    color: #ccc;
}
.mini-input {
    width: 2.6rem;
    background: transparent;
    border: none;
    border-bottom: 0.0625rem solid #666;
    color: #fff;
    text-align: right;
    font-size: 0.875rem;
}

/* Start/Stop Buttons */
.action-buttons-row {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}
.big-action-btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: 0.0625rem solid transparent;
    color: #fff;
    transition: all 0.3s;
}
.btn-start {
    background: linear-gradient(180deg, rgba(0, 162, 255, 0.2) 0%, rgba(0, 162, 255, 0.5) 100%);
    border-color: #00a2ff;
    box-shadow: 0 0 0.625rem rgba(0, 162, 255, 0.3);
}
.btn-start:hover {
    background: #00a2ff;
    box-shadow: 0 0 1.25rem rgba(0, 162, 255, 0.6);
}
.btn-stop {
    background: linear-gradient(180deg, rgba(255, 50, 50, 0.2) 0%, rgba(255, 50, 50, 0.5) 100%);
    border-color: #ff3232;
    box-shadow: 0 0 0.625rem rgba(255, 50, 50, 0.3);
}
.btn-stop:hover {
    background: #ff3232;
    box-shadow: 0 0 1.25rem rgba(255, 50, 50, 0.6);
}
.disabled{
    border-bottom: none;
}

.cyber-switch.disabled {
  opacity: 0.5;       /* 变暗 */
  cursor: not-allowed; /* 鼠标变禁止 */
}

.cyber-switch.disabled .slider {
  background-color: #999; /* slider 变灰 */
}.ZJBZ-outside {
  padding: 0 1.375rem /* 22/16 */;
}
.BCLeft {
  position: absolute;
  top: 9.375rem /* 150/16 */;
}
.BCLeft .com-content {
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: 100% 100%;
}
.BCLeft .com-content:nth-child(2) {
  margin-top: 1.25rem /* 20/16 */;
}
.BCLeft .com-content .title {
  font-size: 1.25rem /* 20/16 */;
  height: 3.125rem /* 50/16 */;
  line-height: 3.125rem /* 50/16 */;
  text-indent: 1.25rem /* 20/16 */;
  font-weight: 800;
  padding-bottom: 0.625rem /* 10/16 */;
}
.BCLeft .com-content .count {
  text-align: right;
  padding-right: 1.375rem /* 22/16 */;
  margin-top: 0.625rem /* 10/16 */;
  padding-bottom: 1.25rem /* 20/16 */;
  font-size: 1.625rem /* 26/16 */;
}
.BCLeft .com-content .count span:nth-child(1) {
  font-family: 'InterCustom', system-ui, sans-serif;
  font-weight: 900;
}
.BCLeft .com-content .count span:nth-child(2) {
  font-size: 1.375rem;
  /* 22/16 */
}
.BCLeft .per {
  margin-top: 1.25rem /* 20/16 */;
}
.BCLeft .first-B {
  display: flex;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.BCLeft .first-B .content {
  flex-direction: column;
  text-align: center;
  position: relative;
}
.BCLeft .first-B .content .name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem /* 12/16 */;
}
.BCLeft .first-B .content p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem /* 20/16 */;
  font-family: 'InterCustom', system-ui, sans-serif;
}
.BCLeft .first-B .content p span:nth-child(1) {
  font-size: 1.375rem /* 22/16 */;
}
.BCLeft .first-B .content p span:nth-child(2) {
  font-size: 1rem /* 16/16 */;
}
.BCLeft .second-B {
  margin-bottom: -1.875rem /* 30/16 */;
}
.BCLeft .lottie {
  width: 8.125rem /* 130/16 */;
}
@font-face {
  font-family: 'InterCustom';
  src: url('/success-cases/DS-DIGI.TTF') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
  /* 0–9 */
}
.BC-outside {
  padding: 0 1.375rem /* 22/16 */;
}
.BCLeft {
  position: absolute;
  top: 9.375rem /* 150/16 */;
}
.BCLeft .com-content {
  background-image: url('/success-cases/assets/power-BtJZnKKt.svg');
  background-size: 100% 100%;
}
.BCLeft .com-content:nth-child(2) {
  margin-top: 1.25rem /* 20/16 */;
}
.BCLeft .com-content .title {
  font-size: 1.25rem /* 20/16 */;
  height: 3.125rem /* 50/16 */;
  line-height: 3.125rem /* 50/16 */;
  text-indent: 1.25rem /* 20/16 */;
  font-weight: 800;
  padding-bottom: 0.625rem /* 10/16 */;
}
.BCLeft .com-content .count {
  text-align: right;
  padding-right: 1.375rem /* 22/16 */;
  margin-top: 0.625rem /* 10/16 */;
  padding-bottom: 1.25rem /* 20/16 */;
  font-size: 1.625rem /* 26/16 */;
}
.BCLeft .com-content .count span:nth-child(1) {
  font-family: 'InterCustom', system-ui, sans-serif;
  font-weight: 900;
}
.BCLeft .com-content .count span:nth-child(2) {
  font-size: 1.375rem;
  /* 22/16 */
}
.BCLeft .per {
  margin-top: 1.25rem /* 20/16 */;
}
.BCLeft .first-B {
  display: flex;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.BCLeft .first-B .content {
  flex-direction: column;
  text-align: center;
  position: relative;
}
.BCLeft .first-B .content .name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem /* 12/16 */;
}
.BCLeft .first-B .content p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem /* 20/16 */;
  font-family: 'InterCustom', system-ui, sans-serif;
}
.BCLeft .first-B .content p span:nth-child(1) {
  font-size: 1.375rem /* 22/16 */;
}
.BCLeft .first-B .content p span:nth-child(2) {
  font-size: 1rem /* 16/16 */;
}
.BCLeft .second-B {
  margin-bottom: -1.875rem /* 30/16 */;
}
.BCLeft .lottie {
  width: 8.125rem /* 130/16 */;
}
@font-face {
  font-family: 'InterCustom';
  src: url('/success-cases/DS-DIGI.TTF') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
  /* 0–9 */
}
.BCRight {
  position: absolute;
  top: 9.375rem /* 150/16 */;
  right: 1.375rem /* 22/16 */;
}
.bc-panel {
  width: 260px;
  padding: 16px 18px;
  border-radius: 14px;
  /* 核心：青蓝系半透明背景 */
  background: rgba(0, 234, 255, 0.18);
  backdrop-filter: blur(8px);
  /* 同色系边框 */
  border: 1px solid rgba(0, 234, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #dffbff;
  position: absolute;
  top: 9.375rem /* 150/16 */;
  right: 1.375rem /* 22/16 */;
}
/* 标题 */
.bc-panel-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  color: #bff6ff;
  border-left: 3px solid rgba(0, 234, 255, 0.9);
  padding-left: 8px;
}
/* 每一行数据 */
.bc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 234, 255, 0.18);
}
.bc-item:last-child {
  border-bottom: none;
}
/* 指标名 */
.label {
  font-size: 13px;
  color: rgba(200, 245, 255, 0.9);
  white-space: nowrap;
}
/* 数值 */
.value {
  font-size: 22px;
  font-weight: 600;
  text-align: right;
  /* 不是纯白，避免刺眼 */
  color: #e9fdff;
  text-shadow: 0 0 6px rgba(0, 234, 255, 0.35);
}
/* 单位 */
.unit {
  font-size: 12px;
  margin-left: 2px;
  color: rgba(180, 240, 255, 0.65);
}
.BC-outside {
  padding: 0 1.375rem /* 22/16 */;
}
.login-page-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(60rem 40rem at 10% 10%, rgba(73, 191, 220, 0.16), transparent 55%),
    radial-gradient(50rem 35rem at 90% 90%, rgba(73, 191, 220, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(6, 16, 28, 0.72), rgba(11, 20, 32, 0.78));
  z-index: 1000000;
  pointer-events: auto;
  isolation: isolate;
}

.login-card {
  position: relative;
  width: min(27rem, 92vw);
  padding: 2.1rem 2.6rem 2.1rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 249, 0.95));
  box-shadow: 0 2.2rem 4.5rem rgba(3, 10, 18, 0.55);
  font-family: "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #101927;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: -40% 45% auto -20%;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 191, 220, 0.22), transparent 65%);
  pointer-events: none;
}

.login-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 191, 220, 0.16), transparent 70%);
  pointer-events: none;
}

.login-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(10, 16, 24, 0.08);
  color: #111827;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.login-close-btn:hover {
  transform: rotate(12deg);
  background: rgba(10, 16, 24, 0.16);
      color: var(--warning-color);
    text-shadow: 0 0 0.5rem rgba(255, 51, 51, 0.6), 0 0 0.9375rem rgba(255, 51, 51, 0.3);
}



.login-header {
  text-align: left;
  margin-bottom: 1.6rem;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(16, 25, 39, 0.6);
}

.login-title {
  margin: 0.5rem 0 0.35rem;
  font-size: 2rem;
  font-weight: 600;
}

.login-sub {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(16, 25, 39, 0.65);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  text-align: left;
  width: 100%;
}

.login-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(16, 25, 39, 0.65);
}

.login-card input {
  width: 100%;
  height: 2.8rem;
  padding: 0 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-card input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.login-card input:focus {
  border-color: #49bfdc;
  box-shadow: 0 0 0 0.22rem rgba(73, 191, 220, 0.22);
}

.captcha-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.captcha-input {
  flex: 1;
  min-width: 0;
}

.captcha-img {
  width: 6.8rem;
  height: 2.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.captcha-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.captcha-img:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.75rem 1.2rem rgba(15, 23, 42, 0.18);
}

.captcha-hint {
  font-size: 0.8rem;
  color: rgba(16, 25, 39, 0.55);
  white-space: nowrap;
}

.error-text {
  margin: 0.85rem 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(239, 68, 68, 0.12);
  color: #b42318;
  font-size: 0.85rem;
}

.login-btn {
  width: 100%;
  height: 2.9rem;
  margin-top: 0.4rem;
  border: none;
  border-radius: 0.95rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #49bfdc, #2ea9c9);
  box-shadow: 0 0.9rem 1.6rem rgba(73, 191, 220, 0.35);
  transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.2);
  opacity: 0.6;
  box-shadow: none;
}

.switch-auth {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: rgba(16, 25, 39, 0.7);
}

.switch-auth-btn {
  margin-left: 0.3rem;
  border: none;
  background: transparent;
  color: #1f8ea8;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.switch-auth-btn:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .login-card {
    padding: 2rem 1.6rem 1.75rem;
    border-radius: 1.1rem;
  }

  .login-title {
    font-size: 1.6rem;
  }
}
.register-page-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background:
    radial-gradient(60rem 40rem at 10% 10%, rgba(73, 191, 220, 0.16), transparent 55%),
    radial-gradient(50rem 35rem at 90% 90%, rgba(73, 191, 220, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(6, 16, 28, 0.72), rgba(11, 20, 32, 0.78));
  z-index: 1000001;
  pointer-events: auto;
  isolation: isolate;
}

.register-card {
  position: relative;
  width: min(27rem, 92vw);
  padding: 2.1rem 2.6rem 2.1rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 249, 0.95));
  box-shadow: 0 2.2rem 4.5rem rgba(3, 10, 18, 0.55);
  font-family: "HarmonyOS Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #101927;
  overflow: hidden;
}

.register-card::before {
  content: "";
  position: absolute;
  inset: -40% 45% auto -20%;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 191, 220, 0.22), transparent 65%);
  pointer-events: none;
}

.register-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 191, 220, 0.16), transparent 70%);
  pointer-events: none;
}

.register-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(10, 16, 24, 0.08);
  color: #111827;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.register-close-btn:hover {
  transform: rotate(12deg);
  background: rgba(10, 16, 24, 0.16);
  color: #d92d20;
}

.register-header {
  text-align: left;
  margin-bottom: 1.6rem;
}

.register-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(16, 25, 39, 0.6);
}

.register-title {
  margin: 0.5rem 0 0.35rem;
  font-size: 2rem;
  font-weight: 600;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  text-align: left;
  width: 100%;
}

.register-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(16, 25, 39, 0.65);
}

.register-card input {
  width: 100%;
  height: 2.8rem;
  padding: 0 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-card input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.register-card input:focus {
  border-color: #49bfdc;
  box-shadow: 0 0 0 0.22rem rgba(73, 191, 220, 0.22);
}

.register-captcha-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

.register-captcha-input {
  flex: 1;
  min-width: 0;
}

.register-captcha-img {
  width: 6.8rem;
  height: 2.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-captcha-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-captcha-img:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.75rem 1.2rem rgba(15, 23, 42, 0.18);
}

.register-captcha-hint {
  font-size: 0.8rem;
  color: rgba(16, 25, 39, 0.55);
  white-space: nowrap;
}

.register-error-text {
  margin: 0.85rem 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(239, 68, 68, 0.12);
  color: #b42318;
  font-size: 0.85rem;
}

.register-btn {
  width: 100%;
  height: 2.9rem;
  margin-top: 0.4rem;
  border: none;
  border-radius: 0.95rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #49bfdc, #2ea9c9);
  box-shadow: 0 0.9rem 1.6rem rgba(73, 191, 220, 0.35);
  transition: transform 0.1s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.register-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.register-btn:active {
  transform: translateY(0);
}

.register-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.2);
  opacity: 0.6;
  box-shadow: none;
}

.register-switch-auth {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  color: rgba(16, 25, 39, 0.7);
}

.register-switch-auth-btn {
  margin-left: 0.3rem;
  border: none;
  background: transparent;
  color: #1f8ea8;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.register-switch-auth-btn:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .register-card {
    padding: 2rem 1.6rem 1.75rem;
    border-radius: 1.1rem;
  }

  .register-title {
    font-size: 1.6rem;
  }
}
.bot-wrap {
  position: fixed;
  width: 5rem /* 80/16 */;
  height: 6.25rem /* 100/16 */;
  z-index: 50;
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 9999999;
}
.bot-wrap.dragging {
  cursor: grabbing;
}
.bot {
  width: 100%;
  height: 100%;
}
.bot-chat {
  position: absolute;
  width: 30rem /* 480/16 */;
  height: 31.25rem /* 500/16 */;
  background: rgba(18, 28, 34, 0.92);
  color: #eaf2f5;
  border: 1px solid rgba(84, 112, 126, 0.4);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bot-chat__resize {
  position: absolute;
  z-index: 2;
}
.bot-chat__resize--top {
  top: 0;
  left: 0;
  right: 0;
  height: 0.4rem;
  cursor: ns-resize;
}
.bot-chat__resize--right {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.4rem;
  cursor: ew-resize;
}
.bot-chat__resize--left {
  top: 0;
  left: 0;
  bottom: 0;
  width: 0.4rem;
  cursor: ew-resize;
}
.bot-chat__resize--corner {
  top: 0;
  right: 0;
  width: 0.8rem;
  height: 0.8rem;
  cursor: nwse-resize;
}
.bot-chat__header {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(38, 58, 68, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bot-chat__close {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid rgba(120, 160, 176, 0.4);
  background: transparent;
  color: rgba(234, 242, 245, 0.8);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.bot-chat__body {
  flex: 1 1 auto;
  padding: 0.8rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(234, 242, 245, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: text;
}
.bot-chat__messages {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  padding: 0.65rem 0.45rem 0.55rem 0.2rem;
  border-radius: 0.6rem;
  background: linear-gradient(180deg, rgba(12, 19, 24, 0.68) 0%, rgba(11, 18, 23, 0.42) 100%);
  border: 1px solid rgba(84, 112, 126, 0.22);
  scroll-behavior: smooth;
}
.bot-chat__messages::-webkit-scrollbar {
  width: 0.35rem;
}
.bot-chat__messages::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 173, 193, 0.35);
}
.bot-chat__messages::-webkit-scrollbar-track {
  background: transparent;
}
.bot-chat__empty {
  padding: 0.4rem 0;
  color: rgba(234, 242, 245, 0.75);
}
.bot-chat__message {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.1rem 0.05rem;
}
.bot-chat__message.is-user {
  flex-direction: row-reverse;
}
.bot-chat__avatar {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(92, 178, 190, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.bot-chat__message.is-user .bot-chat__avatar {
  background: rgba(78, 146, 231, 0.35);
}
.bot-chat__bubble {
  position: relative;
  max-width: 85%;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  background: rgba(20, 30, 36, 0.85);
  border: 1px solid rgba(84, 112, 126, 0.4);
  box-shadow: inset 0 0.1rem 0.4rem rgba(0, 0, 0, 0.3);
  font-size: 0.78rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.bot-chat__message.is-bot .bot-chat__bubble {
  max-width: 100%;
}
.bot-chat__actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.bot-chat__confirm-actions {
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}
.bot-chat__confirm-btn {
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 176, 0.4);
  padding: 0 0.8rem;
  height: 1.8rem;
  font-size: 0.72rem;
  cursor: pointer;
  background: rgba(18, 28, 34, 0.9);
  color: #eaf2f5;
}
.bot-chat__confirm-btn.is-confirm {
  background: rgba(120, 190, 170, 0.95);
  border-color: transparent;
  color: #0b1e18;
}
.bot-chat__confirm-btn.is-cancel {
  background: rgba(20, 31, 38, 0.95);
}
.bot-chat__action {
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 176, 0.4);
  padding: 0 0.8rem;
  height: 1.8rem;
  font-size: 0.72rem;
  cursor: pointer;
  background: rgba(18, 28, 34, 0.9);
  color: #eaf2f5;
}
.bot-chat__action.is-suspend {
  background: rgba(92, 178, 190, 0.2);
}
.bot-chat__action.is-resolve {
  background: rgba(120, 190, 170, 0.9);
  border-color: transparent;
  color: #0b1e18;
}
.bot-chat__message.is-user .bot-chat__bubble {
  background: rgba(78, 146, 231, 0.85);
  border-color: rgba(78, 146, 231, 0.6);
  color: #f2f6ff;
}
.bot-chat__history {
  gap: 0.5rem;
}
.bot-chat__history-back {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: flex-start;
  height: 1.8rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 176, 0.4);
  background: rgba(20, 31, 38, 0.95);
  color: #eaf2f5;
  font-size: 0.72rem;
  cursor: pointer;
}
.bot-chat__history-item {
  width: 100%;
  text-align: left;
  border-radius: 0.58rem;
  border: 1px solid rgba(94, 132, 149, 0.35);
  background: linear-gradient(135deg, rgba(19, 30, 36, 0.88) 0%, rgba(13, 21, 26, 0.9) 100%);
  color: #eaf2f5;
  padding: 0.58rem 0.65rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.bot-chat__message-delete {
  position: absolute;
  top: 0.28rem;
  right: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 28, 35, 0.72);
  color: rgba(220, 235, 242, 0.9);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.bot-chat__bubble.has-delete:hover .bot-chat__message-delete,
.bot-chat__message-delete:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.bot-chat__message-delete:hover {
  background: rgba(255, 104, 137, 0.22);
  color: #fff;
}
.bot-chat__history-row {
  position: relative;
}
.bot-chat__history-delete {
  position: absolute;
  top: 50%;
  right: 0.42rem;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: -0.85rem;
  border: 1px solid rgba(255, 127, 154, 0.38);
  border-radius: 50%;
  background: rgba(83, 24, 38, 0.38);
  color: rgba(255, 193, 205, 0.92);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.bot-chat__history-row:hover .bot-chat__history-delete,
.bot-chat__history-delete:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.bot-chat__history-delete:hover {
  border-color: rgba(255, 122, 150, 0.9);
  background: rgba(158, 38, 68, 0.72);
  color: #fff;
}
.bot-chat__history-item:hover {
  border-color: rgba(107, 181, 205, 0.62);
  background: linear-gradient(135deg, rgba(26, 42, 50, 0.95) 0%, rgba(15, 25, 31, 0.95) 100%);
  transform: translateY(-1px);
}
.bot-chat__history-time {
  font-size: 0.7rem;
  color: rgba(169, 206, 223, 0.9);
  letter-spacing: 0.02em;
}
.bot-chat__history-content {
  margin-top: 0.32rem;
  font-size: 0.75rem;
  color: rgba(226, 238, 244, 0.92);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bot-chat__history .bot-chat__message .bot-chat__bubble {
  max-width: 100%;
}
.bot-chat__text {
  display: block;
  word-break: break-word;
}
.bot-chat__chart {
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(10, 18, 22, 0.6);
  position: relative;
  overflow: hidden;
}
.bot-chat__chart-canvas {
  width: 100%;
  height: 100%;
}
.bot-chat__chart-open {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  padding: 0 0.5rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 176, 0.4);
  background: rgba(24, 36, 44, 0.9);
  color: #eaf2f5;
  font-size: 0.68rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bot-chat__chart-open img {
  width: 0.85rem;
  height: 0.85rem;
}
.bot-chat__modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 10, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
}
.bot-chat__modal-content {
  width: min(90vw, 640px);
  background: rgba(18, 28, 34, 0.98);
  border: 1px solid rgba(84, 112, 126, 0.45);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45);
}
.bot-chat__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #eaf2f5;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.bot-chat__modal-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.bot-chat__modal-print {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid rgba(120, 160, 176, 0.4);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.bot-chat__modal-print img {
  width: 0.9rem;
  height: 0.9rem;
}
.bot-chat__modal-close {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1px solid rgba(120, 160, 176, 0.4);
  background: transparent;
  color: rgba(234, 242, 245, 0.9);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.bot-chat__text table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0;
  font-size: 0.75rem;
}
.bot-chat__text th,
.bot-chat__text td {
  border: 1px solid rgba(120, 160, 176, 0.35);
  padding: 0.3rem 0.4rem;
  text-align: center;
}
.bot-chat__text th {
  background: rgba(92, 178, 190, 0.2);
}
.bot-chat__loading::after {
  content: '';
  animation: bot-loading-dots 1.5s infinite;
}
@keyframes bot-loading-dots {
  0% {
    content: '.';
  }
  33% {
    content: '..';
  }
  66% {
    content: '...';
  }
  100% {
    content: '.';
  }
}
.bot-chat__input {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5rem;
  padding: 0 0.8rem 0.6rem;
}
.bot-chat__input input {
  flex: 1;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 176, 0.35);
  background: rgba(10, 18, 22, 0.6);
  color: #eaf2f5;
  padding: 0 0.8rem;
  font-size: 0.8rem;
}
.bot-chat__input button {
  height: 2rem;
  min-width: 3.2rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: none;
  background: #5cb2be;
  color: #0b1d24;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bot-chat__input button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.bot-chat__footer {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem 0.8rem;
  background: rgba(24, 36, 44, 0.92);
  align-items: center;
}
.bot-chat__tab {
  flex: 1;
  border: 1px solid rgba(120, 160, 176, 0.35);
  border-radius: 999px;
  background: transparent;
  color: rgba(234, 242, 245, 0.8);
  font-size: 0.8rem;
  height: 2rem;
  line-height: 2rem;
  padding: 0;
  cursor: pointer;
}
.bot-chat__tab.active {
  background: #5cb2be;
  color: #0b1d24;
  border-color: transparent;
}
.bot-chat.pos-top {
  left: 50%;
  bottom: calc(100% + 0.75rem);
  transform: translateX(-50%);
}
.bot-chat.pos-bottom {
  left: 50%;
  top: calc(100% + 0.75rem);
  transform: translateX(-50%);
}
.bot-chat.pos-left {
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
}
.bot-chat.pos-right {
  left: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
}
.bot-chat__tips div {
  font-size: 1.125rem /* 18/16 */;
  line-height: 2.25rem /* 36/16 */;
}
.waring {
  position: fixed;
  right: 1.5rem;
  bottom: 9rem;
  width: 19.5rem;
  z-index: 9999999;
  background: linear-gradient(135deg, rgba(24, 36, 44, 0.96), rgba(10, 16, 20, 0.98));
  border: 1px solid rgba(226, 89, 89, 0.55);
  border-radius: 1rem;
  box-shadow: 0 1.2rem 2.6rem rgba(0, 0, 0, 0.4);
  padding: 0.9rem 1rem 1.1rem;
  color: #f5f7fa;
}
.waring__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffb6b6;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.02em;
}
.waring__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-height: 15rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}
.waring__item {
  background: rgba(14, 22, 27, 0.8);
  border: 1px solid rgba(120, 160, 176, 0.3);
  border-radius: 0.85rem;
  padding: 0.6rem 0.8rem;
  box-shadow: inset 0 0.4rem 0.9rem rgba(0, 0, 0, 0.25);
}
.waring__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.waring__desc {
  color: rgba(245, 247, 250, 0.9);
  display: flex;
  align-items: center;
  font-size: 0.84rem;
  min-width: 0;
}
.waring__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.waring__btn {
  min-width: 4.6rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 176, 0.5);
  background: rgba(10, 16, 20, 0.35);
  color: #eaf2f5;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.waring__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
}
.waring__btn--primary {
  background: rgba(255, 107, 107, 0.95);
  border-color: transparent;
  color: #190808;
}
.waring__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.waring__btn--resolved {
  background: rgba(120, 190, 170, 0.9);
  border-color: transparent;
  color: #0b1e18;
}
.waring__btn--resolved:disabled {
  opacity: 0.85;
}
.fullscreen-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.ptz-panel {
  position: absolute;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.ptz-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.7);
  margin: 5px;
  transition: all 0.2s;
}
.ptz-button:hover {
  background: rgba(0, 255, 0, 0.8);
  box-shadow: 0 0 12px #00ff00;
  transform: scale(1.1);
}
.pro-log {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 80vh;
  border-radius: 0.25rem /* 4/16 */;
  padding: 0.5rem /* 8/16 */;
}
@media print {
  /* 1. 隐藏页面所有内容 */
  body * {
    visibility: hidden !important;
  }
  /* 2. 只显示打印副本，并强行拉回到纸张原点 */
  .final-print-content,
  .final-print-content * {
    visibility: visible !important;
  }
  .final-print-content {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    display: block !important;
    background: #fff !important;
    color: #000 !important;
  }
  /* 3. 修复表格结构：强制表头重复 */
  .final-print-content table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    color: #000 !important;
  }
  .final-print-content thead {
    display: table-header-group !important;
  }
  /* 4. 解决“没内容”：强行给文字和单元格染色 */
  /* 因为你的原项目可能是深色模式，文字可能是白色，打印必须变黑 */
  .final-print-content .ant-table-cell {
    color: #000 !important;
    border: 1px solid #333 !important;
    background: #fff !important;
    font-size: 10px !important;
  }
  .final-print-content .ant-table-thead th {
    background: #f0f0f0 !important;
    color: #000 !important;
    font-weight: bold !important;
  }
  /* 5. 纸张设置 */
  @page {
    size: landscape;
    margin: 1cm;
  }
}
html{
/* 横向滚动条样式 */
  ::-webkit-scrollbar {
    height: 0.5rem;
  }
  ::-webkit-scrollbar-thumb {
    background-color: rgba(73, 191, 220, 0.6);
    border-radius: 0.25rem;
  }
  ::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
  }
  scrollbar-width: thin;
  scrollbar-color: rgba(73, 191, 220, 0.6) rgba(0, 0, 0, 0.1);
  color: #fff;
}


.scene-public-out{
  position: absolute;
  top: 9.375rem /* 150/16 */;
  width: 100vw;
  height: 200px;
}

