/* China-only additions. Original snapshot styles remain unchanged. */
.thinks-library.reveal.is-visible .lesson-row:nth-child(5) { animation: folio-rise 520ms var(--ease-out) 640ms both; }
.thinks-library.reveal.is-visible .lesson-row:nth-child(6) { animation: folio-rise 520ms var(--ease-out) 700ms both; }
.thinks-library.reveal.is-visible .lesson-row:nth-child(7) { animation: folio-rise 520ms var(--ease-out) 760ms both; }
.thinks-library.reveal.is-visible .lesson-row:nth-child(n+8) { animation: folio-rise 520ms var(--ease-out) 820ms both; }

/* Beat both .reveal and .reveal.is-visible without depending on the observer. */
body .footer-baseline.reveal {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

body.is-zh .account-index h2[data-legal-language="zh"] {
  line-height: 1.2;
  letter-spacing: 0;
}

/* Reuse member.css .subscribe-button's purple/red, radius and padding for both
   overlays, without loading member.css's page-wide rules into the 404 page. */
.cn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 18px;
  color: #fff;
  background: var(--purple);
  font: 700 14px/1.4 var(--ui);
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s;
}
.cn-action:hover { background: var(--red); }
.cn-action:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
