/*! XUNTU-SOFTWARE-NOTICE
 * 讯图金耳朵 Web 调音系统
 * Copyright © 2026 深圳市迅图电子科技有限公司。保留所有权利。
 * “讯图”“讯图金耳朵”为注册商标。
 * 本公司自有代码及素材适用专有许可；法律允许或另有授权的情形除外。
 * 第三方组件继续适用其原许可。完整声明见用户端 HTML 源码。
 */
.battery-reading {
  flex: none;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  color: #455677;
}

.dialog-battery-warning,
.response-battery-warning {
  position: absolute;
  display: grid;
  place-items: center;
  pointer-events: none;
  user-select: none;
}

:is(.battery-reading, .response-logo-watermark, .dialog-battery-warning, .response-battery-warning)[hidden] {
  display: none !important;
}

.dialog-battery-warning {
  inset: 10%;
  z-index: 3;
  opacity: .8;
}

.response-battery-warning {
  inset: 8% 0 12%;
  width: min(46%, 210px);
  margin-inline: auto;
  z-index: 2;
  opacity: 1;
}

.battery-warning-art {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  animation: battery-warning-flash 1s steps(1, end) infinite;
}

.battery-warning-art text {
  text-anchor: middle;
  font-family: system-ui, "Microsoft YaHei UI", sans-serif;
  font-weight: 800;
  fill: #2c200b;
}

.response-battery-warning .battery-power-prompt { display: none; }
.response-battery-warning .battery-warning-caption {
  fill: #ffe57b;
  paint-order: stroke;
  stroke: #2c200b;
  stroke-width: 3px;
  stroke-linejoin: round;
}

@keyframes battery-warning-flash {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(.57); }
}
