.gg-maintenance-screen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  overflow: auto;
  box-sizing: border-box;
  border: 0;
  color: #182944;
  background: radial-gradient(ellipse at 50% 36%, #e9f2ff, #f3f6fa 68%);
  font: 14px/1.6 system-ui, 'Microsoft YaHei', sans-serif;
}

.gg-maintenance-screen[open] {
  display: grid;
  place-items: center;
}

.gg-maintenance-card {
  box-sizing: border-box;
  width: min(100%, 510px);
  padding: clamp(20px, 5vw, 32px);
  border: 1px solid #dce7f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(29 67 115 / 8%);
}

.gg-maintenance-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gg-maintenance-heading h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 5vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  outline: none;
}

.gg-maintenance-icon {
  display: grid;
  flex: 0 0 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  color: #0965e8;
  background: #eaf3ff;
  font-size: 32px;
  line-height: 1;
}

.gg-maintenance-description {
  margin: 18px 0 22px;
  color: #4c617a;
}

.gg-maintenance-status {
  padding: 16px;
  border: 1px solid #deebfa;
  border-radius: 12px;
  background: #f6f9fd;
}

.gg-maintenance-status p {
  margin: 0 0 10px;
  color: #145bbb;
  font-weight: 600;
}

.gg-maintenance-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfeaf9;
}

.gg-maintenance-progress::before {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: #2077ef;
  content: '';
  animation: gg-maintenance-wait 1.8s ease-in-out infinite;
}

.gg-maintenance-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 12px;
  color: #4c617a;
  font-size: 12px;
}

.gg-maintenance-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e2eaf4;
  color: #4c617a;
  font-size: 12px;
}

@keyframes gg-maintenance-wait {
  from { transform: translateX(-100%); }
  to { transform: translateX(295%); }
}

@media (prefers-reduced-motion: reduce) {
  .gg-maintenance-progress::before {
    animation: none;
  }
}
