/*
 * AFFINGER compatibility fixes for the Amazon Now LP.
 * Loaded after affinger-lp.css so theme rules cannot hide or resize LP parts.
 */

/* AFFINGER heading decorations and text-fill rules must not hide LP headings. */
.anlp h1,
.anlp h2,
.anlp h3,
.anlp h4 {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-indent: 0 !important;
}

.anlp h1::before,
.anlp h1::after,
.anlp h2::before,
.anlp h2::after {
  display: none !important;
  content: none !important;
}

.anlp .anlp-kicker {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--orange-dark) !important;
  -webkit-text-fill-color: var(--orange-dark) !important;
}

.anlp .anlp-hero h1 span,
.anlp .anlp-heading h2 span,
.anlp .anlp-first h2 span,
.anlp .anlp-about h2 span,
.anlp .anlp-tracking h2 span,
.anlp .anlp-final h2 span {
  color: var(--orange) !important;
  -webkit-text-fill-color: var(--orange) !important;
}

.anlp .anlp-heading h2 span,
.anlp .anlp-first h2 span,
.anlp .anlp-tracking h2 span {
  color: var(--orange-dark) !important;
  -webkit-text-fill-color: var(--orange-dark) !important;
}

/* The cards already contain their own numbered badges. Remove theme list numbers. */
.anlp ol.anlp-register-steps,
.anlp ol.anlp-flow {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
}

.anlp ol.anlp-register-steps > li,
.anlp ol.anlp-flow > li {
  margin-left: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
}

.anlp ol.anlp-register-steps > li::marker,
.anlp ol.anlp-flow > li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.anlp ol.anlp-register-steps > li::before,
.anlp ol.anlp-flow > li::before {
  display: none !important;
  content: none !important;
}

/* Keep the 5 / 20 / 50 roadmap numbers at the complete-preview size. */
.anlp .anlp-roadmap article > b {
  display: block !important;
  min-width: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #e8e9e9 !important;
  font-family: Arial, "Noto Sans JP", "Yu Gothic", sans-serif !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: -.04em !important;
  text-align: right !important;
}

.anlp .anlp-roadmap article.is-active > b {
  color: var(--orange) !important;
}

/* Isolate every referral CTA from AFFINGER link and external-link decorations. */
.anlp a.anlp-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  width: min(100%, 430px) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 17px 20px 17px 23px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ffb100, var(--orange)) !important;
  color: #17120a !important;
  -webkit-text-fill-color: #17120a !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.anlp a.anlp-cta::before,
.anlp a.anlp-cta::after {
  display: none !important;
  content: none !important;
}

.anlp a.anlp-cta > span {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 3px !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.anlp a.anlp-cta strong,
.anlp a.anlp-cta small {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  white-space: normal !important;
}

.anlp a.anlp-cta strong {
  font-size: 17px !important;
  font-weight: 900 !important;
}

.anlp a.anlp-cta small {
  font-size: 11px !important;
  font-weight: 600 !important;
}

.anlp a.anlp-cta svg {
  position: static !important;
  display: block !important;
  flex: 0 0 25px !important;
  width: 25px !important;
  min-width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  fill: none !important;
  stroke: currentColor !important;
}

.anlp a.anlp-cta--compact {
  width: auto !important;
  min-width: 210px !important;
  padding: 12px 16px !important;
  border-radius: 9px !important;
}

.anlp a.anlp-cta--compact strong {
  font-size: 13px !important;
}

.anlp a.anlp-cta--compact svg {
  flex-basis: 19px !important;
  width: 19px !important;
  min-width: 19px !important;
  height: 19px !important;
}

@media (max-width: 850px) {
  .anlp .anlp-header > a.anlp-cta {
    display: none !important;
  }

  .anlp .anlp-header {
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .anlp .anlp-brand {
    min-width: 0 !important;
  }

  .anlp .anlp-brand > span:last-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

/* v1.2.2: remove redundant bullet dots; keep review check / exclamation icons. */
.anlp .anlp-review li,
.anlp .anlp-work-grid li {
  list-style: none !important;
  list-style-type: none !important;
}

.anlp .anlp-review li::marker,
.anlp .anlp-work-grid li::marker {
  content: "" !important;
  font-size: 0 !important;
}

.anlp .anlp-work-grid li::before {
  display: none !important;
  content: none !important;
  margin: 0 !important;
}

/* v1.2.3: lock the complete-preview white / black / orange hierarchy. */
.anlp {
  color: #16202a !important;
  -webkit-text-fill-color: currentColor !important;
}

.anlp .anlp-heading h2,
.anlp .anlp-first h2,
.anlp .anlp-tracking h2,
.anlp .anlp-alert h2,
.anlp .anlp-roadmap h3,
.anlp .anlp-station-grid h3,
.anlp .anlp-register-steps h3,
.anlp .anlp-flow h3,
.anlp .anlp-review h3,
.anlp .anlp-work-grid h3,
.anlp .anlp-faq summary {
  color: #16202a !important;
  -webkit-text-fill-color: #16202a !important;
}

.anlp .anlp-hero,
.anlp .anlp-section--dark,
.anlp .anlp-final {
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
}

.anlp .anlp-hero h1,
.anlp .anlp-section--dark .anlp-about h2,
.anlp .anlp-final h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.anlp .anlp-hero h1 span,
.anlp .anlp-section--dark .anlp-about h2 span,
.anlp .anlp-final h2 span {
  color: #ff9900 !important;
  -webkit-text-fill-color: #ff9900 !important;
}

.anlp .anlp-heading h2 span,
.anlp .anlp-first h2 span,
.anlp .anlp-tracking h2 span,
.anlp .anlp-kicker,
.anlp .anlp-toc p span,
.anlp .anlp-toc a b,
.anlp .anlp-roadmap article > span {
  color: #e87800 !important;
  -webkit-text-fill-color: #e87800 !important;
}

.anlp .anlp-table thead,
.anlp .anlp-table thead th {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.anlp .anlp-table tbody th span,
.anlp .anlp-example__total,
.anlp .anlp-max-card > strong,
.anlp .anlp-checklist > div > span {
  color: #e87800 !important;
  -webkit-text-fill-color: #e87800 !important;
}

.anlp .anlp-max-card > strong > span {
  color: #16202a !important;
  -webkit-text-fill-color: #16202a !important;
}

.anlp .anlp-roadmap article > b {
  color: #e8e9e9 !important;
  -webkit-text-fill-color: #e8e9e9 !important;
}

.anlp .anlp-roadmap article.is-active > b {
  color: #ff9900 !important;
  -webkit-text-fill-color: #ff9900 !important;
}

.anlp .anlp-payment strong,
.anlp .anlp-compare__head span:last-child {
  color: #ffc45b !important;
  -webkit-text-fill-color: #ffc45b !important;
}

.anlp .anlp-review--good > p,
.anlp .anlp-review--good li::before,
.anlp .anlp-campaign-note > strong {
  color: #0c7a52 !important;
  -webkit-text-fill-color: #0c7a52 !important;
}

.anlp .anlp-review--bad > p,
.anlp .anlp-review--bad li::before {
  color: #e87800 !important;
  -webkit-text-fill-color: #e87800 !important;
}

.anlp a.anlp-cta,
.anlp a.anlp-cta strong,
.anlp a.anlp-cta small {
  color: #17120a !important;
  -webkit-text-fill-color: #17120a !important;
}

@media (max-width: 620px) {
  .anlp .anlp-wrap {
    width: calc(100% - 24px) !important;
  }

  .anlp .anlp-section {
    padding: 60px 0 !important;
  }

  .anlp .anlp-hero {
    padding: 42px 0 50px !important;
  }

  .anlp .anlp-hero h1 {
    font-size: clamp(32px, 10vw, 40px) !important;
    line-height: 1.12 !important;
  }

  .anlp h2 {
    font-size: clamp(28px, 8.5vw, 36px) !important;
    line-height: 1.28 !important;
  }

  .anlp a.anlp-cta,
  .anlp a.anlp-cta--compact {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 24px !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 15px 16px !important;
  }

  .anlp a.anlp-cta strong,
  .anlp a.anlp-cta--compact strong {
    font-size: 15px !important;
  }

  .anlp a.anlp-cta small {
    font-size: 10px !important;
  }

  .anlp a.anlp-cta svg,
  .anlp a.anlp-cta--compact svg {
    justify-self: end !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
  }

  .anlp .anlp-roadmap article {
    grid-template-columns: 54px minmax(0, 1fr) 48px !important;
    gap: 10px !important;
  }

  .anlp .anlp-roadmap article > b {
    min-width: 40px !important;
    font-size: 34px !important;
  }

  .anlp .anlp-register-steps li,
  .anlp .anlp-flow li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .anlp .anlp-mobile-cta {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
}

@media (max-width: 420px) {
  .anlp .anlp-header {
    height: 58px !important;
    padding-inline: 12px !important;
  }

  .anlp .anlp-brand {
    font-size: 11px !important;
  }

  .anlp .anlp-brand__mark {
    width: 29px !important;
    height: 29px !important;
    font-size: 16px !important;
  }

  .anlp .anlp-hero h1 {
    font-size: 30px !important;
  }

  .anlp h2 {
    font-size: 27px !important;
  }

  .anlp .anlp-roadmap article {
    grid-template-columns: 48px minmax(0, 1fr) 40px !important;
    padding: 16px 13px !important;
  }

  .anlp .anlp-roadmap article > b {
    min-width: 34px !important;
    font-size: 30px !important;
  }

  .anlp a.anlp-cta,
  .anlp a.anlp-cta--compact {
    padding: 14px !important;
  }

  .anlp a.anlp-cta strong,
  .anlp a.anlp-cta--compact strong {
    font-size: 14px !important;
  }
}

/* v1.2 readability refinements. */
.anlp .anlp-roadmap h3,
.anlp .anlp-register-steps h3,
.anlp .anlp-flow h3,
.anlp .anlp-station-grid h3 {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.anlp .anlp-roadmap p,
.anlp .anlp-register-steps p,
.anlp .anlp-flow p,
.anlp .anlp-station-grid p,
.anlp .anlp-review li,
.anlp .anlp-work-grid p,
.anlp .anlp-work-grid li,
.anlp .anlp-faq details p {
  font-size: 13px !important;
}

.anlp .anlp-source-note,
.anlp .anlp-work-grid small,
.anlp .anlp-footer p {
  font-size: 10px !important;
}

@media (max-width: 620px) {
  .anlp {
    padding-bottom: 96px !important;
  }

  .anlp,
  .anlp * {
    box-sizing: border-box !important;
  }

  .anlp .anlp-wrap {
    width: calc(100% - 24px) !important;
  }

  .anlp .anlp-section {
    padding: 56px 0 !important;
  }

  .anlp .anlp-heading {
    margin-bottom: 30px !important;
  }

  .anlp .anlp-heading > p:last-child,
  .anlp .anlp-first__text,
  .anlp .anlp-about__intro p,
  .anlp .anlp-tracking__grid > div:first-child > p:last-child,
  .anlp .anlp-final__inner > p:not(.anlp-kicker) {
    font-size: 14px !important;
    line-height: 1.85 !important;
  }

  .anlp .anlp-lead {
    margin: 20px 0 24px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  .anlp .anlp-eyebrow {
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }

  .anlp .anlp-hero__amount {
    padding: 18px !important;
  }

  .anlp .anlp-hero__amount strong {
    font-size: clamp(27px, 8.5vw, 32px) !important;
    overflow-wrap: anywhere !important;
  }

  .anlp .anlp-hero__amount ul,
  .anlp .anlp-email-note {
    font-size: 13px !important;
  }

  .anlp .anlp-microcopy {
    font-size: 11px !important;
    line-height: 1.75 !important;
  }

  .anlp a.anlp-cta,
  .anlp a.anlp-cta--compact {
    min-height: 62px !important;
  }

  .anlp a.anlp-cta small {
    font-size: 11px !important;
  }

  .anlp .anlp-trustbar__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .anlp .anlp-trustbar p {
    min-width: 0 !important;
    padding: 18px 10px 18px 34px !important;
  }

  .anlp .anlp-trustbar b {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .anlp .anlp-trustbar small {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .anlp .anlp-toc {
    padding: 24px 0 !important;
  }

  .anlp .anlp-toc .anlp-wrap > div {
    gap: 7px !important;
  }

  .anlp .anlp-toc a {
    min-height: 44px !important;
    padding: 11px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  /* Campaign table: wide desktop table becomes vertical cards. */
  .anlp .anlp-table-wrap {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .anlp table.anlp-table,
  .anlp .anlp-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .anlp .anlp-table thead {
    display: none !important;
  }

  .anlp .anlp-table tbody {
    display: grid !important;
    gap: 10px !important;
  }

  .anlp .anlp-table tbody tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid #e8dcc5 !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  .anlp .anlp-table tbody tr.is-focus {
    border: 2px solid var(--orange) !important;
    background: #fff3d9 !important;
  }

  .anlp .anlp-table tbody th,
  .anlp .anlp-table tbody td {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    text-align: left !important;
  }

  .anlp .anlp-table tbody th {
    grid-column: 1 / -1 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #eee3cf !important;
    font-size: 14px !important;
  }

  .anlp .anlp-table tbody th span {
    min-width: 32px !important;
    font-size: 23px !important;
  }

  .anlp .anlp-table tbody td::before {
    display: block !important;
    margin-bottom: 4px !important;
    color: #7a6f5e !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
  }

  .anlp .anlp-table tbody td:nth-child(2)::before {
    content: "通常特典" !important;
  }

  .anlp .anlp-table tbody td:nth-child(3)::before {
    content: "招待特典" !important;
  }

  .anlp .anlp-table tbody td:nth-child(4) {
    grid-column: 1 / -1 !important;
    border-top: 1px solid #eee3cf !important;
  }

  .anlp .anlp-table tbody td:nth-child(4)::before {
    content: "ボーナス累計" !important;
  }

  .anlp .anlp-table tbody td:last-child strong {
    font-size: 18px !important;
  }

  .anlp .anlp-campaign-note {
    padding: 18px !important;
  }

  .anlp .anlp-campaign-note strong {
    font-size: 14px !important;
  }

  .anlp .anlp-campaign-note p {
    font-size: 13px !important;
  }

  .anlp .anlp-example {
    padding: 22px 18px !important;
  }

  .anlp .anlp-example dl div {
    gap: 12px !important;
    font-size: 13px !important;
  }

  .anlp .anlp-example dt {
    min-width: 0 !important;
  }

  .anlp .anlp-example dd {
    flex: 0 0 auto !important;
    text-align: right !important;
  }

  .anlp .anlp-roadmap article {
    grid-template-columns: minmax(0, 1fr) 48px !important;
    grid-template-rows: auto auto !important;
    gap: 6px 12px !important;
    min-height: 0 !important;
    padding: 18px !important;
  }

  .anlp .anlp-roadmap article > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 10px !important;
  }

  .anlp .anlp-roadmap article > div {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
  }

  .anlp .anlp-roadmap article > b {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    min-width: 40px !important;
    font-size: 34px !important;
  }

  /* Amazon Flex / Now comparison: fixed width becomes stacked cards. */
  .anlp .anlp-compare {
    display: grid !important;
    gap: 10px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .anlp .anlp-compare__head {
    display: none !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-width: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.045) !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > * {
    min-width: 0 !important;
    padding: 12px !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > b {
    grid-column: 1 / -1 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    font-size: 12px !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > span {
    display: block !important;
    border: 0 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > span:last-child {
    border-left: 1px solid rgba(255,255,255,.12) !important;
    color: #fff !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > span::before {
    display: block !important;
    margin-bottom: 5px !important;
    color: #9eabb6 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > span:first-of-type::before {
    content: "一般的なFlex" !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > span:last-child::before {
    content: "Amazon Now" !important;
    color: #ffc45b !important;
  }

  .anlp .anlp-station-grid article,
  .anlp .anlp-register-steps li,
  .anlp .anlp-flow li,
  .anlp .anlp-review,
  .anlp .anlp-work-grid article {
    padding: 21px 19px !important;
  }

  .anlp .anlp-station-grid article {
    min-height: 0 !important;
  }

  .anlp .anlp-station-grid h3,
  .anlp .anlp-register-steps h3,
  .anlp .anlp-flow h3 {
    font-size: 17px !important;
  }

  .anlp .anlp-station-grid p,
  .anlp .anlp-register-steps p,
  .anlp .anlp-flow p,
  .anlp .anlp-review li,
  .anlp .anlp-work-grid p,
  .anlp .anlp-work-grid li,
  .anlp .anlp-faq details p,
  .anlp .anlp-alert li {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .anlp .anlp-flow li {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 13px !important;
  }

  .anlp .anlp-review h3,
  .anlp .anlp-work-grid h3 {
    font-size: 19px !important;
    line-height: 1.5 !important;
  }

  .anlp .anlp-source-note,
  .anlp .anlp-work-grid small,
  .anlp .anlp-footer p,
  .anlp .anlp-final__inner > small {
    font-size: 11px !important;
    line-height: 1.75 !important;
  }

  .anlp .anlp-checklist b {
    font-size: 14px !important;
  }

  .anlp .anlp-checklist small,
  .anlp .anlp-payment span,
  .anlp .anlp-payment small {
    font-size: 11px !important;
    line-height: 1.6 !important;
  }

  .anlp .anlp-payment > div {
    padding: 20px !important;
  }

  .anlp .anlp-faq summary {
    min-height: 58px !important;
    padding: 18px 4px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .anlp .anlp-registration__cta {
    padding: 17px !important;
  }

  .anlp .anlp-mobile-cta {
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)) !important;
  }

  .anlp .anlp-mobile-cta a.anlp-cta--compact {
    min-height: 54px !important;
    padding: 12px 15px !important;
  }
}

@media (max-width: 420px) {
  .anlp h2 {
    font-size: 26px !important;
  }

  .anlp .anlp-roadmap article {
    grid-template-columns: minmax(0, 1fr) 42px !important;
    padding: 16px !important;
  }

  .anlp .anlp-trustbar__grid {
    grid-template-columns: 1fr !important;
  }

  .anlp .anlp-trustbar p {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .anlp .anlp-trustbar p:last-child {
    border-bottom: 0 !important;
  }

  .anlp .anlp-table tbody tr {
    grid-template-columns: 1fr !important;
  }

  .anlp .anlp-table tbody td,
  .anlp .anlp-table tbody td:nth-child(4) {
    grid-column: 1 !important;
    border-top: 1px solid #eee3cf !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) {
    grid-template-columns: 1fr !important;
  }

  .anlp .anlp-compare > div:not(.anlp-compare__head) > span:last-child {
    border-top: 1px solid rgba(255,255,255,.12) !important;
    border-left: 0 !important;
  }

  .anlp .anlp-flow li {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    padding: 18px 15px !important;
  }

  .anlp .anlp-footer__nav {
    display: grid !important;
    gap: 0 !important;
  }

  .anlp .anlp-footer__nav a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    font-size: 12px !important;
  }
}

/* v1.2.1: keep the first CTA visible directly below the update line. */
@media (max-width: 850px) {
  .anlp .anlp-update {
    position: relative !important;
    z-index: 1 !important;
  }

  .anlp .anlp-header {
    position: relative !important;
    z-index: 20 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 16px 14px !important;
    overflow: visible !important;
  }

  .anlp .anlp-header nav {
    display: none !important;
  }

  .anlp .anlp-header .anlp-brand {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .anlp .anlp-header > a.anlp-cta,
  .anlp .anlp-header > a.anlp-cta--compact {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 22px !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 12px 15px !important;
    transform: none !important;
  }
}

/* v9: trust bar / contents readability tune */
.anlp .anlp-trustbar span {
  font-size: 12px !important;
  font-weight: 900 !important;
}

.anlp .anlp-trustbar b {
  font-size: 17px !important;
  line-height: 1.5 !important;
  font-weight: 800 !important;
}

.anlp .anlp-trustbar small {
  margin-top: 8px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.anlp .anlp-toc p span {
  font-size: 11px !important;
  line-height: 1.4 !important;
}

.anlp .anlp-toc p strong {
  font-size: 20px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
}

.anlp .anlp-toc a {
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
}

.anlp .anlp-toc a b {
  font-size: 11px !important;
}

@media (max-width: 620px) {
  .anlp .anlp-trustbar b {
    font-size: 15px !important;
  }

  .anlp .anlp-trustbar small {
    font-size: 12px !important;
  }

  .anlp .anlp-toc p strong {
    font-size: 19px !important;
  }

  .anlp .anlp-toc a {
    font-size: 14px !important;
  }
}
