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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface-0);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  width: 100%;
  max-width: 820px;
  padding: 40px 24px 0;
  text-align: center;
}

.header-back {
  display: inline-block;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.header-back:hover {
  color: var(--text-secondary);
}

.header-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.header-sub {
  color: var(--text-muted);
  font-size: 14px;
}

.main {
  width: 100%;
  max-width: 820px;
  padding: 32px 24px;
}

.footer {
  color: var(--text-muted);
  font-size: 11px;
  padding: 0 24px 32px;
  text-align: center;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 640px) {
  .header {
    padding-top: 24px;
  }

  .header-title {
    font-size: 22px;
  }

  .main {
    padding: 20px 16px;
  }
}
