:root {
  color-scheme: light;
  font: 16px/1.6 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #183630;
  background: #f8faf9;
}

* { box-sizing: border-box; }
body { margin: 0; }

.status-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.status { max-width: 32rem; text-align: center; }
.status h1 { margin: 1rem 0 .4rem; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.035em; }
.status p { margin: .5rem 0 1rem; color: #50635c; }
.status code { color: #386454; overflow-wrap: anywhere; }
.text-action {
  appearance: none;
  display: inline-block;
  padding: .4rem .65rem;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  color: #28634f;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.text-action:hover { background: #e8f1ed; }
.text-action:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.spinner, .success-mark {
  width: 2.3rem;
  height: 2.3rem;
  margin: 0 auto;
  border-radius: 50%;
}
.spinner {
  border: 2px solid #d8e5de;
  border-top-color: #287052;
  animation: spin .85s linear infinite;
}
.success-mark { color: #216847; background: #e0efe7; font-size: 1.5rem; line-height: 2.3rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

.landing {
  height: 100vh;
  height: 100dvh;
  background: #fff;
}
.landing iframe { display: block; width: 100%; height: 100%; border: 0; }

[hidden] { display: none !important; }
.transfer-page { background: #fff; color: #000; }
.transfer-page .spinner { width: 36px; height: 36px; border: 3px solid #c0ddff; border-top-color: #1a90ff; }
.dots { display: flex; height: 30px; gap: 10px; align-items: center; justify-content: center; margin-bottom: 50px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: #1a73e8; animation: bounce 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { background: #ea4335; animation-delay: .15s; }
.dots i:nth-child(3) { background: #fbbc05; animation-delay: .3s; }
.dots i:nth-child(4) { background: #34a853; animation-delay: .45s; }
.status .hint { margin: 0; font-size: 18px; color: inherit; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; } }
