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

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  color: #1a202c;
  background: #f6f3ec;
}

.ub-page {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  padding-top: max(1.5rem, env(safe-area-inset-top));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  background-image:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgb(142 180 232 / 35%), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgb(30 58 95 / 8%), transparent);
}

.ub-card {
  width: 100%;
  max-width: 28rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid rgb(30 58 95 / 28%);
  background: #fff;
  box-shadow:
    4px 4px 0 rgb(30 58 95 / 10%),
    0 16px 48px -20px rgb(45 90 135 / 45%);
}

.ub-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e3a5f;
}

.ub-lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #64748b;
}

.ub-steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #64748b;
}

.ub-steps li + li {
  margin-top: 0.5rem;
}

.ub-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.ub-btn {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ub-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

.ub-btn-secondary {
  color: #1e3a5f;
  background: #f8fafc;
  border: 1px solid rgb(30 58 95 / 18%);
}

.ub-link {
  color: #1e3a5f;
  word-break: break-all;
}

.ub-toast {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  text-align: center;
  color: #2d5a87;
}

.ub-toast[hidden] {
  display: none;
}
