:root {
  --line: #06c755;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.redirect-page {
  padding: 32px;
  text-align: center;
}

.redirect-page h1 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #333;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: none;
}

.redirect-page h1::before,
.redirect-page h1::after {
  display: none;
  content: none;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 24px;
  border: 4px solid #ddd;
  border-top-color: var(--line);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

p {
  margin: 0 0 24px;
  color: #666;
  line-height: 1.7;
}

.line-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--line);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.line-btn:focus-visible {
  outline: 3px solid #075e2c;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}
