/*
 * Final accessibility, responsive layout, and subscription-conversion layer.
 * This file is intentionally loaded after all legacy and theme styles.
 */

/* The skip link remains available to keyboards without covering page content. */
html:root body .nlr-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  transform: translateY(calc(-100% - 16px));
  background: #1b0f14 !important;
  color: #fff8f6 !important;
  padding: 12px 20px;
  border: 2px solid #ffd98f;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
}

html:root body .nlr-skip-link:focus {
  transform: none;
  outline: 2px solid #fff8f6;
  outline-offset: 2px;
}

html:root body #nlr-contact-form .nlr-contact-submit button {
  font-size: 16px !important;
  min-height: 48px !important;
}

html:root body #nlr-contact-form .nlr-contact-privacy a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}

html:root {
  --nlr-a11y-text: #fff8f6;
  --nlr-a11y-body: #eadde1;
  --nlr-a11y-muted: #d5c1c7;
  --nlr-a11y-dim: #baa4ab;
  --nlr-a11y-gold: #ffd98f;
  --nlr-a11y-red: #df1745;
  --nlr-a11y-red-dark: #8f0022;
  --nlr-a11y-surface: #1b0f14;
  --nlr-a11y-surface-2: #26131b;
  --nlr-a11y-line: rgba(255, 217, 143, .3);
}

/* Readability: every supporting sentence remains clearly visible on dark cards. */
html:root body :where(.nlr-page, .nlr-review-article, .entry-content, .article-body) :where(p, li, dd, td) {
  color: var(--nlr-a11y-body) !important;
}

html:root body :where(.nlr-page, .nlr-review-article) :where(small, .description, .nlr-summary-note, .nlr-subscription-signup__note) {
  color: var(--nlr-a11y-muted) !important;
}

html:root body :where(.nlr-page, .nlr-review-article) :where(h1, h2, h3, h4, strong, dt) {
  color: var(--nlr-a11y-text) !important;
}

html:root body :where(.nlr-page, .nlr-review-article) a:not(.nlr-subscription-signup__button):not(.nlr-submission-hero-cta):not(.nlr-continue-cta-button) {
  color: var(--nlr-a11y-gold) !important;
  text-decoration-color: rgba(255, 217, 143, .55) !important;
  text-underline-offset: .16em;
}

html:root body :where(.post-date, .post-update, .post-author, .footer-meta, .entry-categories-tags) {
  color: var(--nlr-a11y-muted) !important;
  opacity: 1 !important;
}

html:root body :where(.post-date, .post-update, .post-author, .footer-meta, .entry-categories-tags) * {
  color: var(--nlr-a11y-muted) !important;
  opacity: 1 !important;
}

/* Publication dates on permanent utility pages add noise and look like form data. */
html:root body.page:not(.home) .entry-header :where(.date-tags, .post-date, .post-update, .post-meta) {
  display: none !important;
}

html:root body.page:not(.home) :where(.date-tags, .post-date, .post-update, .post-meta.entry-meta) {
  display: none !important;
}

html:root body.page:not(.home) .entry-header,
html:root body.page:not(.home) .article-header {
  min-height: 0 !important;
  padding-bottom: 26px !important;
  padding-top: 26px !important;
}

html:root body.page:not(.home) .entry-title {
  margin: 0 !important;
}

html:root body.page .article-footer :where(.sns-follow, .footer-meta, .entry-categories-tags) {
  display: none !important;
}

/* Inputs and placeholder copy must stay readable before and during entry. */
html:root body :where(input, select, textarea) {
  background: #211117 !important;
  border-color: rgba(255, 217, 143, .42) !important;
  color: var(--nlr-a11y-text) !important;
}

html:root body select option {
  background: #211117;
  color: var(--nlr-a11y-text);
}

html:root body :where(input, textarea)::placeholder {
  color: #bca7ae !important;
  opacity: 1 !important;
}

html:root body :where(input, select, textarea):focus {
  border-color: var(--nlr-a11y-gold) !important;
  box-shadow: 0 0 0 3px rgba(255, 217, 143, .18) !important;
  outline: 2px solid transparent !important;
}

html:root body :where(button, .button, .btn, input[type="submit"], .nlr-actions a, .nlr-subscription-signup__button) {
  min-height: 44px;
}

html:root body :where(input[type="submit"], button[type="submit"], .nlr-review-search button, .nlr-submission-hero-cta, .nlr-contact-submit button, .nlr-continue-cta-button) {
  background: linear-gradient(135deg, #d4113f, #8f0022) !important;
  border-color: rgba(255, 255, 255, .24) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Remove unrelated Cocoon furniture from shop profiles. */
html:root body.single-nlr_shop .article-footer :where(.sns-follow, .footer-meta),
html:root body.single-nlr_shop :where(.related-entries, .related-entry-heading),
html:root body.single-nlr_shop #related-entries {
  display: none !important;
}

/* wpautop may insert layout-only breaks around shortcode markup. */
html:root body .nlr-page > br,
html:root body .nlr-page :where(.nlr-home-intro-points, .nlr-popular-searches-list, .nlr-actions, .nlr-site-footer nav) > br {
  display: none !important;
}

html:root body .nlr-public-empty,
html:root body .nlr-public-empty p,
html:root body .nlr-public-empty > div {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  width: 100% !important;
}

/* Related navigation must never become a white, low-contrast strip. */
html:root body .nlr-review-footer-links {
  background: #160c11 !important;
  border: 1px solid var(--nlr-a11y-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  gap: 10px !important;
  padding: 12px !important;
}

html:root body .nlr-review-footer-links a,
html:root body .nlr-review-footer-links a:link,
html:root body .nlr-review-footer-links a:visited {
  background: #25131a !important;
  border: 1px solid rgba(255, 217, 143, .3) !important;
  border-radius: 8px !important;
  color: var(--nlr-a11y-gold) !important;
  min-height: 44px;
  padding: 11px 12px !important;
  text-align: center;
  text-decoration: none !important;
}

html:root body .nlr-review-footer-links a:hover,
html:root body .nlr-review-footer-links a:focus-visible {
  background: #3a1622 !important;
  border-color: var(--nlr-a11y-gold) !important;
  color: #fff !important;
}

/* Article components: eliminate pale-on-pale combinations at their source. */
html:root body.single-post :where(.nlr-review-hero, .nlr-summary-item, .nlr-review-toc, .nlr-content-card-body, .nlr-review-panel-body, .nlr-prose-box, .nlr-insight-box, .nlr-review-ratings, .nlr-rating-row, .nlr-checkline-item) {
  background: #f3e7e3 !important;
  border-color: #caa9a2 !important;
  color: #2c191f !important;
}

html:root body .nlr-hero-title {
  color: var(--nlr-a11y-text) !important;
  font-size: clamp(1.45rem, 3.4vw, 2.25rem);
  line-height: 1.35;
  margin: 8px 0 12px;
}

html:root body .nlr-review-transparency {
  align-items: center;
  background: #211117;
  border: 1px solid rgba(255, 217, 143, .3);
  border-radius: 10px;
  color: var(--nlr-a11y-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  gap: 8px 16px;
  margin: 0 0 18px;
  padding: 11px 14px;
}

html:root body .nlr-review-transparency a {
  color: var(--nlr-a11y-gold) !important;
  font-weight: 800;
}

html:root body .nlr-review-policy-page > p:first-child {
  background: #24131a;
  border-left: 4px solid var(--nlr-a11y-gold);
  border-radius: 8px;
  padding: 14px 16px;
}

@media (max-width: 420px) {
  html:root body .nlr-review-transparency {
    align-items: flex-start;
    flex-direction: column;
  }
}

html:root body.single-post :where(.nlr-review-hero, .nlr-summary-item, .nlr-review-toc, .nlr-content-card-body, .nlr-review-panel-body, .nlr-prose-box, .nlr-insight-box, .nlr-review-ratings, .nlr-rating-row, .nlr-checkline-item) :where(p, li, span, strong, em, dt, dd, td) {
  color: #2c191f !important;
  -webkit-text-fill-color: #2c191f !important;
}

html:root body.single-post :where(.nlr-summary-value, .nlr-rating-value) {
  color: #700018 !important;
  -webkit-text-fill-color: #700018 !important;
}

html:root body.single-post :where(.nlr-review-meta-head, .nlr-content-card-head, .nlr-review-panel-head, .nlr-paid-gate-head, .nlr-continue-cta-head) {
  background: #431724 !important;
  border-color: #9f6171 !important;
  color: #fff !important;
}

html:root body.single-post :where(.nlr-review-meta-head, .nlr-content-card-head, .nlr-review-panel-head, .nlr-paid-gate-head, .nlr-continue-cta-head) * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html:root body.single-post .nlr-review-meta-table th {
  background: #32131c !important;
  color: #fff !important;
}

html:root body.single-post .nlr-review-meta-table td {
  background: #f3e7e3 !important;
  color: #2c191f !important;
}

html:root body.single-post :where(.nlr-paid-conversion, .wp-block-codoc-codoc-block, .codoc-entry, .codoc-entries, [data-id="codoc-tag"]) {
  background: #211016 !important;
  border: 2px solid #c48653 !important;
  color: #fff7f4 !important;
}

html:root body.single-post :where(.nlr-paid-conversion, .wp-block-codoc-codoc-block, .codoc-entry, .codoc-entries, [data-id="codoc-tag"]) :where(h2, h3, p, li, strong, span, small) {
  color: #fff7f4 !important;
  -webkit-text-fill-color: #fff7f4 !important;
}

/* Subscription decision path: one clear recommendation and one alternative. */
html:root body .nlr-plan-intro,
html:root body .nlr-plan-decision {
  background: #24131a !important;
  border: 1px solid var(--nlr-a11y-line) !important;
  border-radius: 12px;
  color: var(--nlr-a11y-body) !important;
  margin: 0 0 22px !important;
  padding: 16px 18px !important;
}

html:root body .nlr-plan-intro strong,
html:root body .nlr-plan-decision > strong {
  color: var(--nlr-a11y-gold) !important;
  display: block;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

html:root body .nlr-plan-intro p,
html:root body .nlr-plan-decision li {
  color: var(--nlr-a11y-body) !important;
}

html:root body .nlr-plan-intro p {
  margin: 0 !important;
}

html:root body .nlr-subscription-signup__quick {
  align-items: center !important;
  background: rgba(255, 217, 143, .08) !important;
  border: 1px solid rgba(255, 217, 143, .32) !important;
  border-radius: 10px !important;
  display: flex !important;
  gap: 10px !important;
  margin: 12px 0 16px !important;
  padding: 10px 12px !important;
}

html:root body .nlr-subscription-signup__quick span,
html:root body .nlr-subscription-signup__recommended {
  background: var(--nlr-a11y-gold) !important;
  border-radius: 999px;
  color: #32130d !important;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 5px 9px;
  white-space: nowrap;
}

html:root body .nlr-subscription-signup__quick strong {
  color: #fff !important;
  font-size: .92rem;
}

html:root body .nlr-subscription-signup__recommended {
  margin: 0 0 10px;
}

html:root body .nlr-subscription-signup__actions {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

html:root body .nlr-subscription-signup__button,
html:root body .nlr-subscription-signup__button:link,
html:root body .nlr-subscription-signup__button:visited {
  align-items: center;
  background: linear-gradient(135deg, #df1745, #8f0022) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  color: #fff !important;
  display: flex;
  justify-content: center;
  line-height: 1.35;
  padding: 13px 16px !important;
  text-align: center;
  text-decoration: none !important;
  width: 100%;
}

html:root body .nlr-subscription-signup__button--annual,
html:root body .nlr-subscription-signup__button--annual:link,
html:root body .nlr-subscription-signup__button--annual:visited {
  background: #3a2116 !important;
  border-color: #d9ad65 !important;
  color: #ffe0a1 !important;
}

html:root body .nlr-subscription-signup__note {
  border-top: 1px solid rgba(255, 255, 255, .12);
  line-height: 1.65 !important;
  margin-top: 14px !important;
  padding-top: 12px;
}

html:root body .nlr-conversion-strip .nlr-actions {
  align-items: stretch !important;
  display: grid !important;
  gap: 9px !important;
  grid-template-columns: 1fr !important;
  min-width: min(100%, 320px);
}

html:root body .nlr-conversion-strip .nlr-actions a {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 !important;
  padding: 12px 16px !important;
  text-align: center;
}

html:root body .nlr-conversion-strip .nlr-actions a:first-of-type,
html:root body .nlr-conversion-strip .nlr-actions a:first-of-type:link,
html:root body .nlr-conversion-strip .nlr-actions a:first-of-type:visited {
  background: linear-gradient(135deg, var(--nlr-a11y-red), var(--nlr-a11y-red-dark)) !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  color: #fff !important;
}

html:root body .nlr-conversion-strip .nlr-actions a:not(:first-of-type),
html:root body .nlr-conversion-strip .nlr-actions a:not(:first-of-type):link,
html:root body .nlr-conversion-strip .nlr-actions a:not(:first-of-type):visited {
  background: #321820 !important;
  border: 1px solid rgba(255, 217, 143, .55) !important;
  color: var(--nlr-a11y-gold) !important;
}

html:root body .nlr-conversion-strip .nlr-actions small {
  color: #f1dce2 !important;
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
}

/* The sticky prompt stays useful without obscuring navigation or purchase UI. */
html:root body .nlr-sticky-cta {
  align-items: center;
  display: flex;
  gap: 6px;
}

html:root body .nlr-sticky-cta > a {
  flex: 1 1 auto;
  min-width: 0;
}

html:root body .nlr-sticky-cta__dismiss {
  align-items: center;
  background: #2c1820 !important;
  border: 1px solid rgba(255, 217, 143, .4) !important;
  border-radius: 999px !important;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  flex: 0 0 38px;
  font-size: 1.25rem;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 0 !important;
  width: 38px;
}

/* Responsive completion pass: media, long content, grids, and intermediate widths. */
html:root body :where(img, picture, video, canvas, svg, iframe, embed, object) {
  box-sizing: border-box;
  max-width: 100%;
}

html:root body :where(img, video) {
  height: auto;
}

html:root body :where(iframe, embed, object) {
  width: 100%;
}

html:root body :where(pre, code, .wp-block-code) {
  max-width: 100%;
}

html:root body :where(pre, .wp-block-code) {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

html:root body :where(.nlr-page, .nlr-review-article, .entry-content, .article-body) :where(a, p, li, dd, td, figcaption) {
  overflow-wrap: anywhere;
}

html:root body :where(.nlr-page, .nlr-review-article, .entry-content, .article-body) :where(.alignwide, .alignfull) {
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 1024px) {
  html:root body :where(.nlr-card-grid, .nlr-link-grid, .nlr-genre-grid, .nlr-shop-directory-grid, .nlr-testimonial-grid, .nlr-submission-cards, .nlr-plan-comparison) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html:root body :where(.nlr-home-intro, .nlr-feed-main, .nlr-shell-layout, .nlr-shop-hero) {
    gap: 18px !important;
  }

  html:root body :where(.nlr-page, .nlr-review-article) {
    max-width: calc(100% - 24px) !important;
  }
}

@media (max-width: 768px) {
  html,
  html body {
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    width: 100% !important;
  }

  /* The fixed mobile menu already exposes navigation; remove the clipped PC row. */
  html:root body #navi,
  html:root body nav#navi,
  html:root body .navi:not(.navi-menu-content),
  html:root body .menu-top.menu-header.menu-pc {
    display: none !important;
  }

  html:root body :where(#header-container, #header-container-in, #header, #header-in, .logo-header) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  html:root body .logo-header {
    padding: 14px 12px !important;
  }

  html:root body .site-name-text {
    display: block !important;
    font-size: clamp(1.05rem, 5.2vw, 1.35rem) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  html:root body :where(#wrapper, #container, #content, #content-in, #main, .main, .content, .content-in, .content-area, #primary, article.article, .article, .entry-content, .article-body, .entry-body) {
    box-sizing: border-box !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html:root body .nlr-page,
  html:root body .nlr-page.nlr-plans-page,
  html:root body .nlr-page.nlr-submission-page,
  html:root body .nlr-page.nlr-contact-page,
  html:root body .nlr-page.nlr-area-page {
    box-sizing: border-box !important;
    margin: 8px !important;
    max-width: calc(100% - 16px) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 12px !important;
    width: auto !important;
  }

  html:root body .nlr-page > *,
  html:root body .nlr-page.nlr-plans-page > *,
  html:root body .nlr-page.nlr-submission-page > *,
  html:root body .nlr-page.nlr-contact-page > *,
  html:root body .nlr-page.nlr-area-page > *,
  html:root body.home .nlr-page :where(.nlr-section, .nlr-feed-panel, .nlr-home-intro, .nlr-review-search, .nlr-conversion-strip) {
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: auto !important;
  }

  html:root body .nlr-page *,
  html:root body .nlr-page *::before,
  html:root body .nlr-page *::after {
    box-sizing: border-box !important;
    min-width: 0;
  }

  html:root body :where(form, fieldset, label, input, select, textarea, button) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html:root body :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    width: 100% !important;
  }

  html:root body input[type="file"] {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html:root body .nlr-page :where(p, li, span, strong, a, h1, h2, h3, h4, td, th, dd, dt),
  html:root body #header :where(#site-name, .site-name, .header-logo, a) {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  html:root body #header :where(.logo-header, .header-in, #site-name, .site-name, .header-logo) {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  html:root body #header :where(#site-name a, .site-name a, .header-logo a) {
    font-size: clamp(1rem, 5vw, 1.22rem) !important;
    line-height: 1.45 !important;
    padding: 8px 14px 12px !important;
  }

  html:root body .nlr-home-intro,
  html:root body .nlr-section,
  html:root body .nlr-feed-panel,
  html:root body .nlr-review-search,
  html:root body .nlr-conversion-strip,
  html:root body .nlr-subscription-signup,
  html:root body .nlr-submission-hero,
  html:root body .nlr-submission-reward,
  html:root body .nlr-submission-guidelines,
  html:root body .nlr-review-submission-form,
  html:root body .nlr-contact-form-wrap {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html:root body :where(.nlr-card-grid, .nlr-link-grid, .nlr-genre-grid, .nlr-plan-comparison, .nlr-submission-steps, .nlr-submission-cards, .nlr-purchase-flow) {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  html:root body :where(.nlr-shop-directory-grid, .nlr-testimonial-grid, .nlr-summary-grid, .nlr-fact-grid, .nlr-point-grid, .nlr-checkline, .nlr-review-form-grid, .nlr-source-reviews) {
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  html:root body :where(.nlr-home-intro, .nlr-feed-main, .nlr-shell-layout, .nlr-shop-hero, .nlr-subscription-signup, .nlr-conversion-strip, .nlr-premium-cta) {
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  html:root body :where(.nlr-compact-list, .nlr-compact-placeholder, .nlr-card-placeholder, .nlr-review-card, .nlr-plan-comparison article, .nlr-subscription-signup__body, .nlr-subscription-signup__panel) {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html:root body .nlr-popular-searches-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  html:root body .nlr-review-footer-links {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html:root body :where(.wp-block-table, .scrollable-table) {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html:root body :where(.entry-content > table, .article-body > table, .nlr-page > table, .nlr-review-meta-table, .nlr-score-table) {
    display: block;
    max-width: 100% !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }

  html:root body :where(.nlr-review-meta-table, .nlr-score-table) tbody {
    display: table;
    min-width: 100%;
    width: 100%;
  }

  html:root body :where(.nlr-review-hero, .nlr-report-cover, .nlr-content-card, .nlr-review-panel, .nlr-paid-gate, .nlr-continue-cta, .nlr-source-review-card) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  html:root body :where(.nlr-actions, .nlr-home-intro-actions, .nlr-report-badges, .nlr-report-tags, .nlr-ranking-tabs, .nlr-ranking-genre-tabs) {
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }

  html:root body .nlr-subscription-signup__quick {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  html:root body .nlr-conversion-strip .nlr-actions {
    min-width: 0;
    width: 100% !important;
  }

  html:root body .nlr-sticky-cta {
    bottom: calc(58px + env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    padding: 0 !important;
    right: 8px !important;
    width: auto !important;
  }

  html:root body :where(.mobile-footer-menu-buttons, .mobile-menu-buttons) {
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  html:root body :where(.mobile-footer-menu-buttons, .mobile-menu-buttons) a {
    min-width: 0 !important;
  }

  html:root body .nlr-sticky-cta a {
    min-height: 52px !important;
    padding: 9px 11px !important;
  }

  html:root body .nlr-sticky-cta a span {
    font-size: .76rem !important;
    line-height: 1.35;
  }

  html:root body .nlr-sticky-cta a strong {
    font-size: .78rem !important;
    padding: 7px 9px !important;
  }

  html:root body.nlr-has-mobile-footer-menu :where(#container, #content, .container) {
    padding-bottom: calc(130px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 420px) {
  html:root body .nlr-page,
  html:root body .nlr-page.nlr-plans-page,
  html:root body .nlr-page.nlr-submission-page,
  html:root body .nlr-page.nlr-contact-page,
  html:root body .nlr-page.nlr-area-page {
    margin: 6px !important;
    max-width: calc(100% - 12px) !important;
    padding: 10px !important;
  }

  html:root body .nlr-sticky-cta a span {
    max-width: 145px !important;
  }

  html:root body :where(.nlr-actions, .nlr-home-intro-actions, .nlr-subscription-signup__actions) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
  }

  html:root body :where(.nlr-actions, .nlr-home-intro-actions, .nlr-subscription-signup__actions) :where(a, button) {
    justify-content: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    width: 100% !important;
  }

  html:root body :where(.nlr-ranking-tabs, .nlr-ranking-genre-tabs) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html:root body :where(.nlr-ranking-tabs, .nlr-ranking-genre-tabs) a {
    justify-content: center !important;
    min-height: 44px !important;
    white-space: normal !important;
    width: 100% !important;
  }

  html:root body .nlr-site-footer nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html:root body .nlr-site-footer nav a {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 40px;
    text-align: center;
  }

  html:root body .nlr-sticky-cta__dismiss {
    flex-basis: 34px;
    height: 34px;
    min-height: 34px;
    width: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:root body *,
  html:root body *::before,
  html:root body *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
html:root body .nlr-purchase-help {
  margin: 28px 0;
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid #b69a8e;
  border-radius: 12px;
  background: #fff8f3 !important;
  color: #30231e !important;
  overflow-wrap: anywhere;
}
html:root body .nlr-purchase-help :is(h2, p, li, summary) { color: #30231e !important; }
html:root body .nlr-purchase-help a { color: #781b35 !important; text-decoration: underline; }
html:root body .nlr-purchase-help summary { cursor: pointer; padding: 14px 0; font-weight: 700; }
html:root body .nlr-purchase-help :is(a, summary):focus-visible { outline: 3px solid #006b96; outline-offset: 3px; }

/* Final contrast repairs for components whose older light theme rules are more specific. */
html:root body.home .nlr-page .nlr-site-footer {
  background: #160c11 !important;
  border: 1px solid var(--nlr-a11y-line) !important;
  color: var(--nlr-a11y-body) !important;
}

html:root body.home .nlr-page .nlr-site-footer :where(a, a:link, a:visited) {
  color: var(--nlr-a11y-gold) !important;
}

html:root body.home .nlr-page .nlr-site-footer p {
  border-color: var(--nlr-a11y-line) !important;
  color: var(--nlr-a11y-muted) !important;
}

html:root body :where(.nlr-ranking-tabs, .nlr-ranking-genre-tabs) a.is-active,
html:root body :where(.nlr-ranking-tabs, .nlr-ranking-genre-tabs) a.is-active:link,
html:root body :where(.nlr-ranking-tabs, .nlr-ranking-genre-tabs) a.is-active:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html:root body .nlr-shop-official,
html:root body .nlr-shop-official:link,
html:root body .nlr-shop-official:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html:root body .nlr-review-consent {
  background: #211117 !important;
  border: 1px solid rgba(255, 217, 143, .35) !important;
  color: var(--nlr-a11y-body) !important;
}

html:root body .nlr-review-consent :where(label, span) {
  color: var(--nlr-a11y-body) !important;
}

html:root body .nlr-review-consent a,
html:root body .nlr-review-consent a:link,
html:root body .nlr-review-consent a:visited {
  color: var(--nlr-a11y-gold) !important;
}

/* Shared rhythm: quieter surfaces, clear hierarchy, and comfortable reading. */
html:root body .nlr-home .nlr-home-intro {
  display: block !important;
  min-height: 0 !important;
  padding: clamp(22px, 4vw, 48px) !important;
  border-radius: 16px !important;
  background: radial-gradient(ellipse at 100% 0, #4b1426 0, transparent 65%), #190f15 !important;
  box-shadow: none !important;
}
html:root body .nlr-home .nlr-home-intro-main h2 {
  padding: 0 !important;
  margin: 16px 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: clamp(1.55rem, 3vw, 2.5rem) !important;
  line-height: 1.5 !important;
  letter-spacing: .025em !important;
}
html:root body .nlr-home .nlr-home-intro-main p {
  max-width: 48em;
  margin: 0 !important;
  font-size: .95rem !important;
  line-height: 1.9 !important;
}
html:root body .nlr-home-eyebrow { color: #ffd98f !important; font: 600 .75rem/1.5 var(--nlr-v2-sans); letter-spacing: .12em; }
html:root body .nlr-home-browse { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
html:root body .nlr-home-browse a {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 46px; padding: 10px 16px; border: 1px solid #77515e; border-radius: 8px;
  background: #291822 !important; color: #fff8f6 !important; font-size: .85rem; text-decoration: none;
}
html:root body .nlr-home-browse a:hover { background: #422331 !important; border-color: #ffd98f; }
html:root body .nlr-home .nlr-home-intro-points { margin-top: 22px !important; gap: 12px !important; }
html:root body .nlr-home .nlr-home-intro-points span { border: 0 !important; padding: 0 !important; background: none !important; font-size: .75rem !important; }
html:root body .nlr-home :is(.nlr-review-search, .nlr-feed-panel, .nlr-about) {
  border-radius: 12px !important; box-shadow: none !important; padding: clamp(16px, 2.5vw, 28px) !important;
}
html:root body .nlr-home .nlr-review-search-row { display: flex !important; flex-direction: row !important; align-items: stretch; gap: 10px !important; }
html:root body .nlr-home .nlr-review-search-row input { flex: 1; width: 0 !important; min-height: 50px; margin: 0 !important; font-size: 16px !important; border-radius: 8px !important; }
html:root body .nlr-home .nlr-review-search-row button { flex: 0 0 88px; width: auto !important; margin: 0 !important; border-radius: 8px !important; }
html:root body .nlr-home .nlr-review-search-row br { display: none !important; }
html:root body.home .nlr-page .nlr-popular-searches { background: none !important; border: 0 !important; padding: 0 !important; margin-top: 16px !important; }
html:root body.home .nlr-page .nlr-popular-searches-list { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
html:root body.home .nlr-page .nlr-popular-searches-list a { display: inline-flex !important; align-items: center; min-height: 40px; padding: 6px 12px !important; border: 1px solid #62454f !important; border-radius: 24px !important; background: #24151b !important; }
html:root body.home .nlr-page .nlr-home-browse a span { color: #ffd98f !important; }
html:root body .nlr-home .nlr-section { margin-top: 24px !important; }
html:root body .nlr-page .nlr-section-head h2 { font-size: 1.15rem !important; line-height: 1.6 !important; }
html:root body .nlr-page .nlr-section-head a { min-height: 44px; display: inline-flex; align-items: center; }
html:root body .nlr-home .nlr-article-first { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
html:root body .nlr-compact-item a { border-radius: 10px !important; padding: 16px !important; }
html:root body .nlr-compact-body > strong { font-size: 1.05rem !important; line-height: 1.65 !important; }
html:root body .nlr-compact-body > span { line-height: 1.8 !important; }
html:root body .nlr-rating-stars { display: inline-block; position: relative; color: #856b75 !important; white-space: nowrap !important; letter-spacing: .08em; line-height: 1.4; }
html:root body .nlr-rating-stars > span:last-child { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #ffd98f !important; white-space: nowrap !important; }
html:root body .nlr-review-body { line-height: 1.95; }
html:root body .nlr-review-body > :is(p, ul, ol) { max-width: 46em; margin-inline: auto; }
html:root body :is(.nlr-review-body h2, .nlr-review-body h3, #genre, #new-reviews) { scroll-margin-top: 90px; }
html:root body .nlr-review-toc a { display: inline-block; padding: 8px 0; text-decoration: underline; }
@media (max-width: 480px) {
  html:root body .nlr-home-browse { display: grid; grid-template-columns: minmax(0, 1fr); }
  html:root body .nlr-home .nlr-review-search-row button { flex-basis: 66px; padding: 10px !important; }
  html:root body .nlr-home .nlr-home-intro { padding: 20px 16px !important; }
}
