:root {
  color-scheme: light;
  --panel: rgba(255, 255, 255, 0.96);
  --ink: #12201c;
  --muted: #5f716b;
  --line: #dce7e0;
  --brand: #02866a;
  --brand-dark: #045b49;
  --accent: #f5b642;
  --blue: #376f9f;
  --night: #0b2035;
  --shadow: 0 22px 56px rgba(9, 28, 38, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 182, 66, 0.2), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #0b2035 0%, #075f63 42%, #159267 100%);
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans SC", Arial, sans-serif;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  z-index: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.7px) 8% 18% / 180px 180px,
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.8px) 72% 24% / 230px 230px,
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.8px) 42% 78% / 210px 210px,
    linear-gradient(115deg, transparent 0 22%, rgba(255, 255, 255, 0.1) 22% 22.8%, transparent 22.8% 54%, rgba(255, 255, 255, 0.08) 54% 54.7%, transparent 54.7%);
  animation: starPulse 6s ease-in-out infinite;
}

body::after {
  z-index: 0;
  width: 190px;
  height: 2px;
  inset: 16% auto auto -220px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.72);
  transform: rotate(-22deg);
  animation: meteor 9s linear infinite;
}

body.wait-page {
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(145deg, #081a2d 0%, #123f52 44%, #0d765f 100%);
}

body.wait-page::before {
  background:
    linear-gradient(110deg, transparent 0 24%, rgba(91, 214, 190, 0.18) 24% 31%, transparent 31% 55%, rgba(255, 255, 255, 0.1) 55% 58%, transparent 58%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 90px);
  animation: auroraShift 12s ease-in-out infinite;
}

body.wait-page::after {
  width: 260px;
  height: 260px;
  inset: auto 8% 10% auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(circle, rgba(91, 214, 190, 0.18), transparent 64%);
  box-shadow: 0 0 60px rgba(91, 214, 190, 0.24);
  transform: none;
  animation: haloDrift 10s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 58px 0;
}

.shell.center {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.title {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(32px, 7vw, 46px);
  font-weight: 850;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.24);
}

.card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card h2 {
  margin: 0;
  padding: 15px 18px;
  background: linear-gradient(90deg, var(--brand), var(--blue));
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.entry-list,
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry {
  padding: 18px 20px 17px;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.entry:last-child {
  border-bottom: 0;
}

.entry strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
}

.entry span {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.entry-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 850;
}

.entry-link::after {
  margin-left: 6px;
  content: ">";
}

.notice {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: #f8fbf9;
}

.notice-list {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.notice-list li + li {
  margin-top: 5px;
}

.notice-list strong {
  margin-left: 4px;
  color: var(--ink);
  font-weight: 900;
}

.notice-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.notice-link:hover {
  color: var(--brand-dark);
}

.footer {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.24);
}

.wait-card {
  width: min(480px, 100%);
  padding: 42px 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wait-card h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 850;
}

.copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.copy strong {
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 900;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  padding: 13px 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--brand), var(--blue));
  color: #fff;
  font-weight: 850;
}

@keyframes auroraShift {
  0%,
  100% {
    opacity: 0.72;
    transform: translate3d(-2%, 0, 0);
  }

  50% {
    opacity: 1;
    transform: translate3d(2%, 0, 0);
  }
}

@keyframes haloDrift {
  0%,
  100% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate3d(-20px, -12px, 0) scale(1.04);
  }
}

@keyframes starPulse {
  0%,
  100% {
    opacity: 0.76;
  }

  50% {
    opacity: 1;
  }
}

@keyframes meteor {
  0%,
  72% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-22deg);
  }

  76% {
    opacity: 1;
  }

  88% {
    opacity: 0;
    transform: translate3d(150vw, 54vh, 0) rotate(-22deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(150vw, 54vh, 0) rotate(-22deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

@media (max-width: 520px) {
  .shell {
    padding: 36px 0;
  }

  .card h2 {
    font-size: 17px;
  }
}
