.maintenance-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.maintenance-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.maintenance-dialog {
  position: relative;
  width: 430px;
  max-width: 100%;
  padding: 34px 30px 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .28);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  text-align: center;
  transform: translateY(12px);
  transition: transform .2s ease;
}

.maintenance-overlay.is-visible .maintenance-dialog {
  transform: translateY(0);
}

.maintenance-close {
  position: absolute;
  top: 8px;
  right: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #999;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.maintenance-close:hover {
  color: #D30000;
}

.maintenance-dialog h3 {
  margin-bottom: 12px;
  color: #333;
  font-size: 22px;
  font-weight: bold;
}

.maintenance-dialog h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto 14px;
  background: #D30000;
  border-radius: 2px;
}

.maintenance-desc {
  margin-bottom: 24px;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.maintenance-qr-list {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-bottom: 26px;
}

.maintenance-qr {
  color: #444;
  font-size: 14px;
}

.maintenance-qr img {
  display: block;
  width: 132px;
  height: 132px;
  margin-bottom: 10px;
  object-fit: contain;
  border: 1px solid #eee;
  background: #fff;
}

.maintenance-ok {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 5px;
  background: #666;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.maintenance-ok:hover {
  background: #980000;
}

@media (max-width: 480px) {
  .maintenance-dialog {
    padding: 30px 18px 22px;
  }

  .maintenance-qr-list {
    gap: 20px;
  }

  .maintenance-qr img {
    width: 110px;
    height: 110px;
  }
}
