/* One Question V2 funnel surface. Scoped to this page's new acquisition CTA and modal. */
.am-v2-motto,
.am-v2-mountain-visual {
  display: none;
}

html[lang] body #purchaseSection .am-v2-home-acquisition {
  width: min(100%, 620px);
  margin: 34px auto 0;
  text-align: center;
}

html[lang] body #purchaseSection .am-v2-free-feature-panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 20px 19px;
  border: 1px solid rgba(184, 134, 44, .48);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 253, 246, .98), rgba(241, 227, 185, .78));
  box-shadow: inset 0 0 22px rgba(184, 134, 44, .08), 0 10px 26px rgba(184, 134, 44, .10);
}

html[lang] body #purchaseSection .am-v2-free-feature-panel::before {
  position: absolute;
  top: -42px;
  right: -22px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .82), rgba(230, 190, 92, 0) 70%);
  content: '';
  pointer-events: none;
}

html[lang] body #purchaseSection .am-v2-free-feature-panel::after {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(184, 134, 44, .62);
  content: '✦';
  font-size: 14px;
  pointer-events: none;
}

html[lang] body #purchaseSection .am-v2-home-acquisition .am-prepay-primary {
  margin: 0;
  color: #b8862c;
  -webkit-text-fill-color: #b8862c;
  font-size: clamp(28px, 2.35vw, 36px);
  font-weight: 700;
  line-height: 1.3;
}

html[lang] body #purchaseSection .am-v2-home-tagline {
  margin: 12px 0 0;
  color: #315d76;
  -webkit-text-fill-color: #315d76;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.7;
}

html[lang] body #purchaseSection .am-v2-home-daily {
  margin: 5px 0 0;
  color: #315d76;
  -webkit-text-fill-color: #315d76;
  font-size: 15px;
  line-height: 1.7;
}

html[lang] body #purchaseSection .am-v2-home-pricing-copy {
  width: 100%;
  margin: 22px auto 0;
  text-align: center;
}

html[lang] body #purchaseSection .am-v2-single-copy,
html[lang] body #purchaseSection .am-v2-membership-copy {
  color: #315d76;
  -webkit-text-fill-color: #315d76;
}

html[lang] body #purchaseSection .am-v2-single-copy strong {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  color: #123f5c;
  -webkit-text-fill-color: #123f5c;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
}

html[lang] body #purchaseSection .am-v2-membership-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  white-space: nowrap;
}

html[lang] body #purchaseSection .am-v2-membership-currency {
  color: #8d5a0d;
  -webkit-text-fill-color: #8d5a0d;
  font-size: 15px;
  font-weight: 700;
}

html[lang] body #purchaseSection .am-v2-membership-copy {
  margin-top: 18px;
}

html[lang] body #purchaseSection .am-v2-membership-price {
  display: inline-flex;
  color: #b8862c;
  -webkit-text-fill-color: #b8862c;
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.22;
}

html[lang] body #purchaseSection .am-v2-membership-period,
html[lang] body #purchaseSection .am-v2-membership-credits-unit {
  color: #8d5a0d;
  -webkit-text-fill-color: #8d5a0d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

html[lang] body #purchaseSection .am-v2-membership-credits {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: #8d5a0d;
  -webkit-text-fill-color: #8d5a0d;
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.15;
}

html[lang] body #purchaseSection .am-v2-membership-credits-number {
  font-size: 1.12em;
}

html[lang] body #purchaseSection .am-v2-home-cta {
  display: block;
  width: min(100%, 360px);
  min-height: 58px;
  margin: 24px auto 0;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 1px solid rgba(184, 134, 44, .58);
  border-radius: 14px;
  background: linear-gradient(145deg, #f5d98f, #b8862c);
  color: #123b5d;
  -webkit-text-fill-color: #123b5d;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
}

html[lang] body #purchaseSection .am-v2-home-membership-bridge {
  display: none !important;
}

html[lang] body #purchaseSection [data-yiwen-v2-state] {
  display: none !important;
}

.am-yw-payment-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.am-yw-payment-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.am-yw-payment-free,
.am-yw-payment-single {
  background: linear-gradient(145deg, #fffdf6, #f1e3b9);
  border: 1px solid rgba(184, 134, 44, .46);
  color: #123f5c;
  -webkit-text-fill-color: #123f5c;
  box-shadow: 0 12px 28px rgba(184, 134, 44, .10);
}

.am-yw-payment-membership {
  background: linear-gradient(145deg, #f6dda0, #b8862c);
  border: 1px solid rgba(141, 90, 13, .72);
  color: #123f5c;
  -webkit-text-fill-color: #123f5c;
  box-shadow: 0 18px 34px rgba(141, 90, 13, .22);
}

.am-yw-payment-membership strong {
  color: #123f5c;
  -webkit-text-fill-color: #123f5c;
}

.am-yw-payment-membership-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  white-space: nowrap;
}

.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-top: 0;
}

.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-line > span,
.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-line > strong {
  display: inline-block;
  margin-top: 0;
}

.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-line > strong.am-yw-payment-membership-credits {
  display: inline-flex;
  align-items: baseline;
}

.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-line .am-yw-payment-membership-credits span {
  display: inline-block;
  margin-top: 0;
}

.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-credits-number {
  font-size: 1.12em;
  line-height: 1;
}

.am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-credits-unit {
  font-size: 13px;
  line-height: 1.2;
}

.am-yw-payment-membership-currency,
.am-yw-payment-membership-period,
.am-yw-payment-membership-credits-unit {
  color: #8d5a0d;
  -webkit-text-fill-color: #8d5a0d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.am-yw-payment-membership-price {
  font-size: 26px;
  line-height: 1.2;
}

.am-yw-payment-membership .am-yw-payment-membership-credits {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: #8d5a0d;
  -webkit-text-fill-color: #8d5a0d;
  font-size: 31px;
  line-height: 1.05;
  font-weight: 900;
}

.am-yw-payment-membership-credits-number {
  font-size: 1.12em;
}

.am-yw-payment-membership .am-yw-payment-membership-cta {
  display: block;
  margin-top: 7px;
  color: #174b6a;
  -webkit-text-fill-color: #174b6a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.am-yw-payment-membership-cta {
  white-space: nowrap;
}

.am-yw-member-signin {
  min-height: 54px;
  padding-inline: 22px;
  font-size: 19px;
}

.am-yw-payment-care {
  width: min(520px, 100%);
  margin: 18px auto 0;
  color: #6e6252;
  -webkit-text-fill-color: #6e6252;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.am-yw-payment-option:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.am-paid-customer-care:not([hidden]) {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 19px 22px;
  color: #526573;
  -webkit-text-fill-color: #526573;
  background: linear-gradient(145deg, rgba(255, 253, 246, .92), rgba(241, 227, 185, .62));
  border: 1px solid rgba(184, 134, 44, .38);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(18, 58, 90, .07);
  font-size: 14px;
  line-height: 1.72;
  text-align: left;
}

.am-paid-customer-care p {
  margin: 0;
}

.am-paid-customer-care p + p {
  margin-top: 7px;
}

@media (max-width: 640px) {
  html[lang] body #purchaseSection .am-v2-home-acquisition {
    margin-top: 26px;
    padding-inline: 8px;
    box-sizing: border-box;
  }

  html[lang] body #purchaseSection .am-v2-home-cta {
    width: min(100%, 350px);
    min-height: 58px;
  }

  .am-yw-payment-options {
    grid-template-columns: 1fr;
  }

  .am-yw-payment-membership strong {
    font-size: 23px;
  }

  .am-yw-payment-membership-price {
    font-size: 25px;
  }

  .am-yw-payment-membership .am-yw-payment-membership-credits {
    font-size: 30px;
  }

  .am-yw-member-signin {
    min-height: 54px;
    font-size: 19px;
  }

  .am-paid-customer-care:not([hidden]) {
    margin-top: 22px;
    padding: 16px 17px;
    font-size: 14px;
    line-height: 1.7;
  }

  html[lang] body #purchaseSection .am-v2-home-cta {
    width: min(84%, 320px);
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel {
    padding: 20px 15px 17px;
  }
}

@media (max-width: 767px) {
  html[lang="zh-CN"] body.site-cn.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta,
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page #purchaseSection #startYiwenCheckout.am-v2-home-cta,
  html[lang="en"] body.site-cn.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    width: min(76%, 280px) !important;
    height: 56px !important;
    min-height: 56px !important;
    margin-top: 18px !important;
  }
}

/* AM V2 — Desktop parity with the approved mobile pricing and mountain footer.
   Keep the mobile surface locked above; this is intentionally wide-screen only. */
@media (min-width: 768px) {
  html[lang] body #purchaseSection .am-v2-home-acquisition {
    width: min(100%, 680px);
    margin-top: 46px;
    padding-bottom: 18px;
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel {
    display: block;
    padding: 30px 32px 26px;
    border-radius: 22px;
    background: linear-gradient(145deg, #fffdf6, #f1e3b9);
    box-shadow: inset 0 0 24px rgba(184, 134, 44, .08), 0 14px 30px rgba(184, 134, 44, .12);
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel [data-yiwen-v2-free-title] {
    color: #8d5a0d;
    -webkit-text-fill-color: #8d5a0d;
    font-size: clamp(32px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.25;
  }

  html[lang] body #purchaseSection .am-v2-home-tagline {
    margin-top: 11px;
    color: #315d76;
    -webkit-text-fill-color: #315d76;
    font-size: 20px;
    line-height: 1.5;
  }

  html[lang] body #purchaseSection .am-v2-home-daily {
    margin-top: 7px;
    color: #456174;
    -webkit-text-fill-color: #456174;
    font-size: 16px;
    line-height: 1.55;
  }

  html[lang] body #purchaseSection .am-v2-home-pricing-copy {
    margin-top: 32px;
  }

  html[lang] body #purchaseSection .am-v2-single-copy {
    display: inline-block;
    width: auto;
    padding: 0 18px 13px;
    border-bottom: 1px solid rgba(184, 134, 44, .46);
  }

  html[lang] body #purchaseSection .am-v2-single-copy strong.am-v2-single-line {
    color: #123f5c;
    -webkit-text-fill-color: #123f5c;
    font-size: 22px;
    line-height: 1.35;
  }

  html[lang] body #purchaseSection .am-v2-membership-copy {
    margin-top: 22px;
  }

  html[lang] body #purchaseSection .am-v2-membership-line {
    gap: 9px;
  }

  html[lang] body #purchaseSection .am-v2-membership-currency,
  html[lang] body #purchaseSection .am-v2-membership-period,
  html[lang] body #purchaseSection .am-v2-membership-credits-unit {
    font-size: 16px;
    line-height: 1.2;
  }

  html[lang] body #purchaseSection .am-v2-membership-price,
  html[lang] body #purchaseSection .am-v2-membership-credits {
    font-size: 42px;
    line-height: 1;
  }

  html[lang] body #purchaseSection .am-v2-membership-price {
    color: #b8862c;
    -webkit-text-fill-color: #b8862c;
    font-weight: 850;
  }

  html[lang] body #purchaseSection .am-v2-membership-credits {
    color: #8d5a0d;
    -webkit-text-fill-color: #8d5a0d;
    font-weight: 900;
  }

  html[lang] body #purchaseSection .am-v2-membership-credits-number {
    font-size: 1em;
  }

  html[lang] body #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    width: min(78%, 300px);
    height: 60px;
    min-height: 60px;
    margin-top: 38px;
    border: 1px solid rgba(141, 90, 13, .78);
    border-radius: 14px;
    background: linear-gradient(145deg, #f5d98f, #b8862c);
    color: #123f5c;
    -webkit-text-fill-color: #123f5c;
    box-shadow: 0 10px 22px rgba(141, 90, 13, .20), inset 0 1px 0 rgba(255, 255, 255, .48);
    font-size: 19px;
  }

  html[lang] body #purchaseSection .am-v2-mountain-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 40px);
    height: 208px;
    max-width: none;
    margin: 36px -20px 0;
    overflow: hidden;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(3, 10, 14, .04), rgba(3, 10, 14, .28)),
      url("yiwen-footer-mountain-no-text.png") center 58% / cover no-repeat;
    box-shadow: 0 10px 28px rgba(18, 58, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .22);
  }

  html[lang] body #purchaseSection .am-v2-motto {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 24px 28px;
    color: #37566c;
    -webkit-text-fill-color: #37566c;
    font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
    text-align: center;
    text-shadow: 0 1px 12px rgba(255, 253, 246, .92);
  }

  html[lang] body #purchaseSection .am-v2-motto-primary,
  html[lang] body #purchaseSection .am-v2-motto-primary > span {
    display: block;
    color: #37566c;
    -webkit-text-fill-color: #37566c;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    white-space: nowrap;
  }

  html[lang] body #purchaseSection .am-v2-motto-brand {
    display: block;
    color: #9a6b2e;
    -webkit-text-fill-color: #9a6b2e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.35;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  html[lang="zh-CN"] body.site-cn.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta,
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page #purchaseSection #startYiwenCheckout.am-v2-home-cta,
  html[lang="en"] body.site-cn.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    display: block !important;
    width: min(76%, 280px) !important;
    min-width: 0 !important;
    max-width: 320px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 12px 20px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  html[lang] body #purchaseSection [data-yiwen-v2-paid] {
    display: block !important;
    width: min(100%, 390px) !important;
    min-width: 0 !important;
    margin: 14px auto 0 !important;
  }

  html[lang] body #purchaseSection .yiwen-v2-entitlement-state {
    min-height: 1.7em;
    margin: 12px auto 0;
    color: #315d76;
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (min-width: 768px) {
  html[lang] body #purchaseSection .am-v2-free-feature-panel {
    display: contents;
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel::before,
  html[lang] body #purchaseSection .am-v2-free-feature-panel::after {
    display: none;
  }

  html[lang] body #purchaseSection .am-v2-membership-currency {
    margin-right: -9px;
    color: #b8862c;
    -webkit-text-fill-color: #b8862c;
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 850;
    line-height: 1.22;
  }

  html[lang] body #purchaseSection .am-v2-membership-credits {
    color: #315d76;
    -webkit-text-fill-color: #315d76;
    font-size: clamp(27px, 3vw, 35px);
  }

  html[lang] body #purchaseSection .am-v2-membership-credits-number {
    font-size: 1.16em;
  }
}

/* APPROVED MOCKUP FINAL MOBILE SURFACE */
@media (max-width: 767px) {
  html[lang="zh-CN"] body.site-cn #purchaseSection .yiwen-flow-item,
  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection .yiwen-flow-item,
  html[lang="en"] body.site-cn #purchaseSection .yiwen-flow-item {
    min-height: 0 !important;
    padding: 14px 16px 15px !important;
  }

  html[lang="zh-CN"] body.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta,
  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection #startYiwenCheckout.am-v2-home-cta,
  html[lang="en"] body.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    width: min(78%, 280px) !important;
    height: 56px !important;
    min-height: 56px !important;
    margin-top: 18px !important;
  }

  html[lang] body #purchaseSection .yiwen-flow-preview {
    gap: 10px !important;
    margin-bottom: 20px !important;
  }

  html[lang] body #purchaseSection .yiwen-flow-item {
    min-height: 0 !important;
    padding: 14px 16px 15px !important;
    border-radius: 14px !important;
  }

  html[lang] body #purchaseSection .yiwen-flow-number {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 0 !important;
    font-size: 12px !important;
  }

  html[lang] body #purchaseSection .yiwen-flow-item h3 {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  html[lang] body #purchaseSection .yiwen-flow-item p {
    margin-top: 8px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel {
    padding: 18px 14px 16px !important;
    border: 1px solid rgba(184, 134, 44, .72) !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #fffdf6, #f1e3b9) !important;
    box-shadow: inset 0 0 20px rgba(184, 134, 44, .10), 0 10px 24px rgba(184, 134, 44, .14) !important;
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel [data-yiwen-v2-free-title] {
    color: #8d5a0d !important;
    -webkit-text-fill-color: #8d5a0d !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-size: 27px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  html[lang] body #purchaseSection .am-v2-home-tagline {
    margin-top: 8px !important;
    color: #315d76 !important;
    -webkit-text-fill-color: #315d76 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  html[lang] body #purchaseSection .am-v2-home-daily {
    margin-top: 3px !important;
    color: #526573 !important;
    -webkit-text-fill-color: #526573 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  html[lang] body #purchaseSection .am-v2-home-pricing-copy {
    margin-top: 18px !important;
  }

  html[lang] body #purchaseSection .am-v2-single-copy {
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px 9px !important;
    border-bottom: 1px solid rgba(184, 134, 44, .46) !important;
  }

  html[lang] body #purchaseSection .am-v2-single-copy strong.am-v2-single-line {
    color: #123f5c !important;
    -webkit-text-fill-color: #123f5c !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-copy {
    margin-top: 12px !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-line {
    gap: 4px !important;
    color: #123f5c !important;
    -webkit-text-fill-color: #123f5c !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-currency,
  html[lang] body #purchaseSection .am-v2-membership-period {
    color: #123f5c !important;
    -webkit-text-fill-color: #123f5c !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-price {
    color: #b8862c !important;
    -webkit-text-fill-color: #b8862c !important;
    font-size: 27px !important;
    line-height: 1.1 !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-credits {
    color: #8d5a0d !important;
    -webkit-text-fill-color: #8d5a0d !important;
    font-size: 35px !important;
    line-height: 1 !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-credits-number {
    font-size: 1em !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-credits-unit {
    color: #8d5a0d !important;
    -webkit-text-fill-color: #8d5a0d !important;
    font-size: 12px !important;
  }

  html[lang] body #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    width: min(78%, 280px) !important;
    height: 56px !important;
    min-height: 56px !important;
    margin-top: 18px !important;
    border: 1px solid rgba(141, 90, 13, .78) !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, #f5d98f, #b8862c) !important;
    color: #123f5c !important;
    -webkit-text-fill-color: #123f5c !important;
    box-shadow: 0 8px 18px rgba(141, 90, 13, .18), inset 0 1px 0 rgba(255, 255, 255, .46) !important;
  }

  html[lang] body #purchaseSection .am-v2-motto {
    display: block;
    margin-top: 13px;
    color: #8d5a0d;
    -webkit-text-fill-color: #8d5a0d;
    font-family: "Songti SC", "STSong", "SimSun", serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
  }

  html[lang] body #purchaseSection .am-v2-mountain-visual {
    display: block;
    width: 100%;
    height: 78px;
    margin-top: 15px;
    border-radius: 14px 14px 0 0;
    background:
      linear-gradient(180deg, rgba(3, 10, 14, .10), rgba(3, 10, 14, .50)),
      url("yiwen-footer-mountain-no-text.png") center bottom / cover no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .20);
  }

  .am-yw-payment-membership {
    position: relative;
    background: linear-gradient(145deg, #f6dda0, #b8862c) !important;
    border-color: rgba(141, 90, 13, .78) !important;
    box-shadow: 0 18px 34px rgba(141, 90, 13, .26) !important;
  }

  .am-yw-payment-option.am-yw-payment-free,
  .am-yw-payment-option.am-yw-payment-single {
    background: linear-gradient(145deg, #fffdf6, #f1e3b9) !important;
    border-color: rgba(184, 134, 44, .50) !important;
  }

  .am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-badge {
    position: absolute;
    top: 10px;
    right: 13px;
    display: inline-block;
    margin: 0;
    padding: 3px 8px;
    border: 1px solid rgba(255, 253, 246, .72);
    border-radius: 999px;
    background: rgba(141, 90, 13, .84);
    color: #fffdf6;
    -webkit-text-fill-color: #fffdf6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
  }

  .am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-line {
    margin-top: 6px;
  }

  .am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-credits {
    font-size: 36px !important;
  }

  .am-yw-payment-option.am-yw-payment-membership .am-yw-payment-membership-credits-number {
    font-size: 1em !important;
  }

  .am-yw-member-signin {
    min-height: 54px !important;
    margin-top: 20px !important;
    padding: 10px 22px !important;
    border: 1px solid rgba(184, 134, 44, .62) !important;
    border-radius: 999px !important;
    background: rgba(255, 253, 246, .78) !important;
    color: #123f5c !important;
    -webkit-text-fill-color: #123f5c !important;
    box-shadow: 0 7px 16px rgba(184, 134, 44, .12) !important;
    text-decoration: none !important;
  }

  .am-yw-payment-care {
    width: min(100%, 310px);
    margin-top: 14px;
    color: #746957;
    -webkit-text-fill-color: #746957;
    font-size: 12px;
    line-height: 1.6;
  }
}

/* AM V2 — final free-title readability lock */
@media (max-width: 767px) {
  html[lang] body #purchaseSection .am-v2-free-feature-panel::before,
  html[lang] body #purchaseSection .am-v2-free-feature-panel::after {
    display: none !important;
  }

  html[lang] body #purchaseSection .am-v2-free-feature-panel [data-yiwen-v2-free-title] {
    position: relative !important;
    z-index: 2 !important;
    color: #8d5a0d !important;
    -webkit-text-fill-color: #8d5a0d !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
  }
}

/* AM V2 — approved CN visual lock */
@media (max-width: 767px) {

  html[lang="zh-CN"] body #purchaseSection
  .am-v2-free-feature-panel::before,
  html[lang="zh-CN"] body #purchaseSection
  .am-v2-free-feature-panel::after {
    display: none !important;
  }

  html[lang="zh-CN"] body #purchaseSection
  [data-yiwen-v2-free-title] {
    color: #8d5a0d !important;
    -webkit-text-fill-color: #8d5a0d !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    opacity: 1 !important;
    filter: none !important;
    text-shadow: none !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-motto {
    display: none !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-mountain-visual {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 486 / 178 !important;
    margin-top: 16px !important;
    border-radius: 0 0 14px 14px !important;
    background: none !important;
    box-shadow: none !important;
  }
}

/* AM V2 — CN mobile breathing-room refinement */
@media (max-width: 767px) {
  html[lang="zh-CN"] body #purchaseSection .am-v2-free-feature-panel {
    margin: 16px auto 26px !important;
    padding-top: 24px !important;
    padding-bottom: 22px !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-home-pricing-copy {
    margin-top: 22px !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-single-copy {
    padding-bottom: 13px !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-membership-copy {
    margin-top: 20px !important;
  }

  html[lang="zh-CN"] body.site-cn #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-motto {
    margin-top: 22px !important;
    margin-bottom: 8px !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-mountain-visual {
    height: 156px !important;
    aspect-ratio: auto !important;
    margin-top: 24px !important;
    margin-bottom: 14px !important;
  }

  html[lang="zh-CN"] body #purchaseSection .am-v2-home-acquisition {
    padding-bottom: 18px !important;
  }
}

/* AM V2 — shared text footer over the no-text mountain background */
@media (max-width: 767px) {
  html[lang] body #purchaseSection .am-v2-motto {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 22px !important;
    margin-bottom: 0 !important;
    color: #8d5a0d !important;
    -webkit-text-fill-color: #8d5a0d !important;
    font-family: "Songti SC", "STSong", "SimSun", Georgia, serif;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: .12em;
    line-height: 1.45 !important;
    text-align: center;
  }

  html[lang] body #purchaseSection .am-v2-motto-primary,
  html[lang] body #purchaseSection .am-v2-motto-brand {
    display: block;
  }

  html[lang] body #purchaseSection .am-v2-motto-brand {
    color: #b8862c !important;
    -webkit-text-fill-color: #b8862c !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.3;
  }

  html[lang] body #purchaseSection .am-v2-mountain-visual {
    display: block !important;
    width: calc(100% + 16px) !important;
    height: 184px !important;
    max-width: none !important;
    margin: 24px -8px 14px !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
    background:
      linear-gradient(180deg, rgba(3, 10, 14, .04), rgba(3, 10, 14, .28)),
      url("yiwen-footer-mountain-no-text.png") center 58% / cover no-repeat !important;
    box-shadow: 0 9px 24px rgba(18, 58, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
  }
}

/* The payment modal keeps its care copy in the shared markup, but it is not part of the approved visual. */
.am-yw-payment-card .am-yw-payment-care {
  display: none !important;
}

/* AM V2 — final copy hierarchy cleanup */
@media (max-width: 767px) {
  html[lang] body #purchaseSection .am-v2-home-tagline {
    font-size: 17px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
    color: #315d76 !important;
    -webkit-text-fill-color: #315d76 !important;
  }

  html[lang] body #purchaseSection .am-v2-home-daily {
    margin-top: 8px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;
    color: #36556a !important;
    -webkit-text-fill-color: #36556a !important;
  }

.am-yw-payment-care {
    display: none !important;
  }
}

/* AM V2 — mobile footer motto lives inside the approved mountain artwork */
@media (max-width: 767px) {
  html[lang] body #purchaseSection .am-v2-free-feature-panel {
    margin: 24px auto 34px !important;
    padding-top: 26px !important;
    padding-bottom: 24px !important;
  }

  html[lang] body #purchaseSection .am-v2-home-pricing-copy {
    margin-top: 26px !important;
  }

  html[lang] body #purchaseSection .am-v2-single-copy {
    padding-bottom: 15px !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-copy {
    margin-top: 24px !important;
  }

  html[lang] body #purchaseSection #startYiwenCheckout.am-v2-home-cta {
    margin-top: 34px !important;
    margin-bottom: 30px !important;
  }

  html[lang] body #purchaseSection .am-v2-mountain-visual {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: calc(100% + 16px) !important;
    height: 198px !important;
    max-width: none !important;
    margin: 0 -8px 18px !important;
    overflow: hidden;
    border-radius: 14px !important;
    background-position: center 58% !important;
  }

  html[lang] body #purchaseSection .am-v2-motto {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    padding: 20px 16px !important;
    color: #37566c !important;
    -webkit-text-fill-color: #37566c !important;
    text-align: center;
    text-shadow: 0 1px 10px rgba(255, 253, 246, .88);
  }

  html[lang] body #purchaseSection .am-v2-motto-primary {
    display: block;
    color: #37566c !important;
    -webkit-text-fill-color: #37566c !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: .14em;
    line-height: 1.4 !important;
    white-space: nowrap;
  }

  html[lang] body #purchaseSection .am-v2-motto-brand {
    display: block;
    color: #9a6b2e !important;
    -webkit-text-fill-color: #9a6b2e !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .16em;
    line-height: 1.35 !important;
    white-space: nowrap;
  }

  html[lang] body #purchaseSection .am-v2-home-acquisition {
    padding-bottom: 26px !important;
  }
}

/* AM V2 — final mobile pricing hierarchy refinement */
@media (max-width: 767px) {
  html[lang] body #purchaseSection .am-v2-free-feature-panel [data-yiwen-v2-free-title] {
    font-size: 29px !important;
  }

  html[lang] body #purchaseSection .am-v2-home-tagline {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  html[lang] body #purchaseSection .am-v2-home-daily {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #456174 !important;
    -webkit-text-fill-color: #456174 !important;
  }

  html[lang] body #purchaseSection .am-v2-single-copy strong.am-v2-single-line {
    font-size: 20px !important;
    line-height: 1.35 !important;
    white-space: nowrap;
  }

  html[lang] body #purchaseSection .am-v2-membership-line {
    gap: 3px !important;
    white-space: nowrap;
  }

  html[lang] body #purchaseSection .am-v2-membership-price,
  html[lang] body #purchaseSection .am-v2-membership-credits {
    font-size: 32px !important;
    line-height: 1 !important;
  }

  html[lang] body #purchaseSection .am-v2-membership-period,
  html[lang] body #purchaseSection .am-v2-membership-credits-unit {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  html[lang="zh-CN"] body.site-cn.site-cn #purchaseSection .am-v2-home-acquisition #startYiwenCheckout.am-v2-home-cta,
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page #purchaseSection .am-v2-home-acquisition #startYiwenCheckout.am-v2-home-cta,
  html[lang="en"] body.site-cn.site-cn #purchaseSection .am-v2-home-acquisition #startYiwenCheckout.am-v2-home-cta {
    margin-top: 42px !important;
  }
}

/* AM V2 — EN free-card readability and TC/CN mobile card parity */
@media (max-width: 767px) {
  html[lang="en"] body.site-cn #purchaseSection .am-v2-free-feature-panel [data-yiwen-v2-free-title] {
    font-size: 30px !important;
  }

  html[lang="en"] body.site-cn #purchaseSection .am-v2-home-tagline {
    font-size: 19px !important;
  }

  html[lang="en"] body.site-cn #purchaseSection .am-v2-home-daily {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    font-size: 17px !important;
    line-height: 1.5 !important;
    white-space: nowrap;
  }

  html[lang="en"] body.site-cn #purchaseSection .am-v2-home-daily span {
    display: block;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection > .container {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
    box-sizing: border-box !important;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection .workbench,
  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection .form-card {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection .form-card {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page #purchaseSection .am-v2-free-feature-panel [data-yiwen-v2-free-title] {
    white-space: nowrap !important;
  }
}

/* AM V2 — mobile hero parity and readable navigation */
@media (max-width: 767px) {
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .section-intro .intro-text-box {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }

  html[lang="zh-CN"] body.site-cn.site-cn .site-nav .main-nav,
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .site-nav .main-nav,
  html[lang="en"] body.site-cn.site-cn .site-nav .main-nav {
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-right: 4px !important;
    padding-left: 4px !important;
    scrollbar-width: none !important;
  }

  html[lang="zh-CN"] body.site-cn.site-cn .site-nav .main-nav::-webkit-scrollbar,
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .site-nav .main-nav::-webkit-scrollbar,
  html[lang="en"] body.site-cn.site-cn .site-nav .main-nav::-webkit-scrollbar {
    display: none !important;
  }

  html[lang="zh-CN"] body.site-cn.site-cn .site-nav .main-nav a,
  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .site-nav .main-nav a,
  html[lang="en"] body.site-cn.site-cn .site-nav .main-nav a {
    flex: 0 0 auto !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }
}

/* AM V2 — final mobile CN pricing surface and TC intro wrapping */
@media (max-width: 767px) {
  html[lang="zh-CN"] body.site-cn.site-cn #purchaseSection .form-card {
    background-color: rgb(247, 243, 234) !important;
    background-image: none !important;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .section-intro .yiwen-intro-lines {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .section-intro .yiwen-intro-question {
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  html[lang="zh-Hant"] body.yiwen-tc-page.yiwen-tc-page .section-intro .am-v12-choice-emphasis {
    font-size: 1.2em !important;
    line-height: 35px !important;
  }

  html[lang="en"] body.site-cn.site-cn #purchaseSection .am-v2-motto-primary > span {
    display: block !important;
    white-space: nowrap !important;
  }
}.yiwen-referral-card {
  --yr-gold: #b68a3a;
  box-sizing: border-box;
  width: min(100%, 760px);
  margin: 24px auto 0;
  padding: 18px 20px;
  color: #f7f0df;
  text-align: center;
  background: linear-gradient(135deg, rgba(28, 31, 39, .94), rgba(58, 47, 32, .92));
  border: 1px solid rgba(207, 173, 104, .46);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(10, 10, 12, .16);
}
.yiwen-referral-card[hidden], .yiwen-referral-dialog[hidden] { display: none !important; }
.yiwen-referral-card--light { padding: 12px 16px; }
.yiwen-referral-title { margin: 0 0 6px; color: #f4dfb2; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.4; }
.yiwen-referral-copy { margin: 0; color: rgba(255, 249, 235, .88); font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.55; }
.yiwen-referral-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 9px 20px;
  color: #392a13;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  background: linear-gradient(110deg, #d9bd78, #f0dfad 45%, #d2b46c 70%, #ead69d);
  border: 1px solid rgba(255, 244, 212, .56);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(193, 153, 72, .16);
  cursor: pointer;
  animation: yiwen-referral-breath 5s ease-in-out infinite;
}
.yiwen-referral-open:hover { filter: brightness(1.05); }
.yiwen-referral-status { min-height: 1.4em; margin: 9px 0 0; color: #e4d1a5; font-size: 13px; line-height: 1.4; }
.yiwen-referral-dialog {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: rgba(5, 8, 13, .72);
}
.yiwen-referral-dialog[hidden] { display: none !important; }
.yiwen-referral-dialog-panel {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 560px);
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  padding: 28px clamp(18px, 5vw, 32px) 24px;
  color: #f7f1e4;
  background: linear-gradient(145deg, #1d222c, #30291f);
  border: 1px solid rgba(218, 185, 112, .58);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.yiwen-referral-dialog-panel h2 { margin: 0 30px 14px 0; color: #f3dfb4; font-size: 22px; line-height: 1.35; }
.yiwen-referral-dialog-panel p, .yiwen-referral-dialog-panel li { color: rgba(255, 250, 239, .9); font-size: 15px; line-height: 1.6; }
.yiwen-referral-steps { margin: 0 0 14px; padding-left: 23px; }
.yiwen-referral-rules { margin: 14px 0; padding: 12px 15px; color: rgba(255, 250, 239, .82); background: rgba(255,255,255,.055); border-radius: 12px; }
.yiwen-referral-rules li { font-size: 13px; line-height: 1.55; }
.yiwen-referral-privacy { margin: 12px 0 0 !important; color: #d9c99e !important; font-size: 13px !important; }
.yiwen-referral-dialog-status { min-height: 1.5em; margin: 12px 0 0 !important; color: #e4d1a5 !important; font-size: 13px !important; }
.yiwen-referral-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.yiwen-referral-actions .yiwen-referral-open { margin: 0; }
.yiwen-referral-copy-button, .yiwen-referral-close {
  min-height: 42px;
  padding: 9px 18px;
  color: #f7f0df;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(218, 185, 112, .56);
  border-radius: 999px;
  cursor: pointer;
}
.yiwen-referral-close { position: absolute; top: 13px; right: 13px; min-width: 40px; padding: 7px; }
.yiwen-referral-close:focus-visible, .yiwen-referral-open:focus-visible, .yiwen-referral-copy-button:focus-visible { outline: 3px solid #f4d88d; outline-offset: 3px; }
@keyframes yiwen-referral-breath { 0%, 100% { box-shadow: 0 4px 14px rgba(193,153,72,.16); } 50% { box-shadow: 0 5px 20px rgba(220,184,103,.32); } }
@media (max-width: 520px) {
  .yiwen-referral-card { padding: 16px 14px; border-radius: 15px; }
  .yiwen-referral-card--light { padding: 11px 12px; }
  .yiwen-referral-title { font-size: 17px; }
  .yiwen-referral-copy { font-size: 14px; }
  .yiwen-referral-dialog-panel { max-height: 90dvh; padding-top: 26px; }
  .yiwen-referral-dialog-panel h2 { font-size: 20px; }
  .yiwen-referral-dialog-panel p, .yiwen-referral-dialog-panel li { font-size: 14px; }
  .yiwen-referral-actions { display: grid; grid-template-columns: 1fr; }
  .yiwen-referral-actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .yiwen-referral-open { animation: none; }
}

html[lang] body #purchaseSection .am-v2-free-entry {
  display: block;
  width: min(100%, 360px);
  min-height: 52px;
  margin: 12px auto 0;
  padding: 11px 18px;
  box-sizing: border-box;
  border: 1px solid #123b55;
  border-radius: 14px;
  background: #174866;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
}
html[lang] body #purchaseSection .am-v2-free-entry:hover { filter: brightness(1.06); }
html[lang] body #purchaseSection .am-v2-free-entry:focus-visible { outline: 3px solid rgba(31, 78, 110, .3); outline-offset: 3px; }
