/* PSP LIGHT POLISH v1. Decorative CSS only. No layout grids, CTA text or routing changes.
 * All rules are limited to the homepage, providers, compare, or review templates.
 */

/* Gentle finishing detail on the two homepage section titles. */
body.theme-paidsurveyguide .psp-home :is(.psp-home-top,.psp-home-guides) .section-title-row h2::after {
  content:""; display:block; width:44px; height:4px; margin:8px 0 0;
  background:linear-gradient(90deg,#087a53 0%,#7cdf9a 70%,#ffc928 100%);
  border-radius:999px;
}

/* Give the existing Top 5 cards and guide cards a little life, without changing size. */
@media (hover:hover) {
  body.theme-paidsurveyguide .psp-home .pick-card,
  body.theme-paidsurveyguide .psp-home .psp-guide-card {
    transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
  }
  body.theme-paidsurveyguide .psp-home .pick-card:hover {
    transform:translateY(-2px) !important;
    border-color:#addbc2 !important;
    box-shadow:0 10px 25px rgba(5,77,47,.12) !important;
  }
  body.theme-paidsurveyguide .psp-home .psp-guide-card:hover {
    transform:translateY(-2px) !important;
    box-shadow:0 12px 25px rgba(5,77,47,.12) !important;
  }
  body.theme-paidsurveyguide .psp-sites-v2 .pse-country-row423:hover {
    border-color:#afddc3 !important;
    box-shadow:0 8px 23px rgba(12,76,47,.10) !important;
  }
  body.theme-paidsurveyguide .pse-compare-page .pse-comparison tbody tr:hover td {
    background-color:#f1faf5 !important;
  }
}

/* The old country select has three identical global URLs: hide this inert control,
   keeping the working payment and sorting filters fully available. */
body.theme-paidsurveyguide .psp-sites-v2 label.pse-market-label-37,
body.theme-paidsurveyguide .pse-compare-page label.pse-compare-country {
  display:none !important;
}

/* Clearer hierarchy for the genuinely useful payment and sorting controls. */
body.theme-paidsurveyguide .psp-sites-v2 .psp-sites-v2-extra > summary,
body.theme-paidsurveyguide .pse-compare-page .psp-compare-native-disclosure > summary {
  text-underline-offset:3px;
  transition:color .15s ease;
}
body.theme-paidsurveyguide .psp-sites-v2 .psp-sites-v2-extra > summary:hover,
body.theme-paidsurveyguide .pse-compare-page .psp-compare-native-disclosure > summary:hover {
  color:#007e53;
}

/* Make the longer new review copy comfortable to read. */
body.theme-paidsurveyguide .pse-review-page.psp-review-v8 .psp-review-v8-intro > p {
  line-height:1.76 !important;
  max-width:78ch;
  text-wrap:pretty;
}
body.theme-paidsurveyguide .pse-review-page.psp-review-v8 .psp-review-v8-faq details {
  transition:border-color .15s ease, box-shadow .15s ease;
}
body.theme-paidsurveyguide .pse-review-page.psp-review-v8 .psp-review-v8-faq details[open] {
  border-color:#b5dcc9 !important;
  box-shadow:0 5px 16px rgba(5,77,47,.07) !important;
}
body.theme-paidsurveyguide .pse-review-page.psp-review-v8 :is(#details,#payments,#eligibility,#proscons,#faq,#verdict) {
  scroll-margin-top:100px;
}

/* Accessible, polished keyboard focus without disturbing the existing CTA skin. */
body.theme-paidsurveyguide :is(.psp-home,.psp-sites-v2,.pse-compare-page,.psp-review-v8) :is(a,button,summary,select):focus-visible {
  outline:3px solid #e5aa13 !important;
  outline-offset:3px !important;
}

@media (prefers-reduced-motion:reduce) {
  body.theme-paidsurveyguide .psp-home .pick-card,
  body.theme-paidsurveyguide .psp-home .psp-guide-card,
  body.theme-paidsurveyguide .psp-sites-v2 .pse-country-row423 {
    transition:none !important;
    transform:none !important;
  }
}
