@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;650;750;850;900&display=swap");

:root {
  color-scheme: light;
  --ink: #161816;
  --muted: #626c68;
  --line: #dfe5e1;
  --paper: #f3f6f4;
  --white: #ffffff;
  --mint: #28b389;
  --coral: #e45746;
  --gold: #d7a928;
  --blue: #376fb2;
  --violet: #6d5dfc;
  --charcoal: #101412;

  /* tiered shadow system */
  --shadow-xs: 0 1px 2px rgba(18, 24, 21, 0.04);
  --shadow-sm: 0 2px 8px rgba(18, 24, 21, 0.05), 0 1px 2px rgba(18, 24, 21, 0.03);
  --shadow-md: 0 8px 24px rgba(18, 24, 21, 0.08), 0 2px 6px rgba(18, 24, 21, 0.04);
  --shadow-lg: 0 20px 50px rgba(18, 24, 21, 0.12), 0 8px 16px rgba(18, 24, 21, 0.06);
  --shadow-ring: 0 0 0 3px rgba(40, 179, 137, 0.12);
  --shadow: 0 22px 60px rgba(18, 24, 21, 0.13);
  --soft-shadow: 0 12px 34px rgba(18, 24, 21, 0.09);

  /* transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 360ms;

  /* gradients */
  --gradient-mint: linear-gradient(90deg, #1a8a6a, #28b389 40%, #6dd3ad);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

::selection {
  background: rgba(40, 179, 137, 0.2);
}

*:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: "Inter Tight", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 246, 244, 0.98) 520px),
    var(--paper);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
  font-size: 1.05rem;
  white-space: nowrap;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.header-social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.header-social a:hover {
  color: var(--ink);
  background: rgba(40, 179, 137, 0.12);
}

.header-social svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 720px) {
  .header-social {
    padding-left: 8px;
    gap: 0;
  }

  .header-social a {
    width: 24px;
    height: 24px;
  }

  .header-social svg {
    width: 13px;
    height: 13px;
  }
}

/* ===== Mobile nav drawer ===== */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.nav-toggle:hover {
  background: rgba(40, 179, 137, 0.1);
  border-color: rgba(40, 179, 137, 0.4);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 18, 0.45);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 60;
}

.nav-backdrop.is-open {
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 320px);
  background: var(--paper, #fff);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -24px rgba(16, 20, 18, 0.35);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 70;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.nav-drawer-brand {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-drawer-close {
  /* Consistency with .detail-close (44px circle) — was a rounded-corner square. */
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  box-shadow: var(--shadow-sm);
}

.nav-drawer-close:hover {
  background: rgba(40, 179, 137, 0.1);
  border-color: rgba(40, 179, 137, 0.4);
}

.nav-drawer-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap; /* override bare `nav { flex-wrap: wrap }` — otherwise a short
                       drawer wraps "Discounts" into a second column instead of scrolling */
  gap: 2px;
  padding: 16px 12px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0; /* required for flex children to actually scroll inside a flex parent */
}

.nav-drawer-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease;
}

.nav-drawer-links a:hover,
.nav-drawer-links a[aria-current="page"] {
  background: rgba(40, 179, 137, 0.12);
  color: var(--ink);
}

.nav-drawer-social {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-left: none;
}

.nav-drawer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.nav-drawer-social a:hover {
  color: var(--ink);
  background: rgba(40, 179, 137, 0.12);
}

.nav-drawer-social svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.nav-drawer-open {
  overflow: hidden;
}

/* Hamburger nav engages below 1300px — the full nav has 9 items with original
   wording (e.g. "How Scoring Works", "Find Your Paddle") that need ~920px of
   horizontal room INCLUDING the 6px inter-link gap. Narrower viewports get the
   cleaner drawer experience where all 9 items stack vertically with full
   readable size. */
@media (max-width: 1299px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header > nav {
    display: none;
  }
}

@media (min-width: 1300px) {
  .nav-drawer,
  .nav-backdrop {
    display: none !important;
  }
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Desktop primary nav — breathe between the 9 items so they don't feel cramped.
   Scoped to .site-header > nav so it doesn't widen the mobile drawer or footer navs. */
.site-header > nav {
  gap: 6px;
}

nav a {
  border-radius: 8px;
  padding: 7px 8px;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(40, 179, 137, 0.1);
}

.hero {
  min-height: min(620px, calc(100vh - 72px));
  display: grid;
  align-content: center;
  gap: clamp(20px, 4vw, 42px);
  padding: clamp(56px, 10vw, 140px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

.hero-copy {
  max-width: 980px;
}

.hero h1,
.finder-intro h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p,
.finder-intro p,
.section p,
.split-band p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 720px;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
}

.hero .eyebrow {
  color: #7fe2bc;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--coral);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.discount-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  position: relative;
}

.discount-copy .copy-hint {
  font-size: 0.72em;
  font-weight: 400;
  opacity: 0.45;
  letter-spacing: 0.02em;
}

.discount-copy.copied .copy-hint {
  opacity: 1;
  color: var(--ink);
}

.discount-copy.copied::after {
  content: "Copied!";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9em;
}

.button,
button {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  background: var(--white);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.hero .button.primary {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button.secondary,
button {
  color: var(--ink);
  background: transparent;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.score-panel {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  text-align: center;
}

.score-panel span {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  color: #7fe2bc;
}

.score-panel p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.band,
.section,
.split-band,
.finder-intro,
.recommendations,
.results-section {
  padding: clamp(36px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.stats-band,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stats-band article,
.feature-grid article {
  min-height: 180px;
  padding: 28px;
  background: var(--white);
}

.image-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(36px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.image-band h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 0.96;
}

.image-band img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(12px, 3vw, 28px);
  background: #fbfcfb;
  box-shadow: var(--soft-shadow);
}

.stats-band strong,
.feature-grid h3 {
  font-size: 1.45rem;
}

.section-heading h2,
.split-band h2,
.section h2 {
  max-width: 900px;
  margin: 0;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: 0;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 520px);
  gap: 32px;
  align-items: start;
  background: #e9f5ef;
}

.compact {
  max-width: 920px;
}

.page-hero {
  min-height: 56vh;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(56px, 10vw, 132px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(79, 191, 143, 0.2), transparent 42%),
    linear-gradient(260deg, rgba(47, 116, 192, 0.16), transparent 36%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: 5.2rem;
  line-height: 0.96;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.page-hero p.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
}

.directory-grid,
.discount-grid,
.story-grid,
.recommendation-list,
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(28px, 5vw, 72px);
  background: var(--line);
}

.directory-grid a,
.discount-grid article,
.discount-card,
.story-grid a,
.story-grid article,
.recommendation-list article,
.feature-row article {
  min-height: 240px;
  padding: 28px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.directory-grid a:hover,
.discount-grid article:hover,
.discount-card:hover,
.story-grid a:hover,
.story-grid article:hover,
.recommendation-list article:hover,
.feature-row article:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.feature-row article .button {
  margin-top: 14px;
}

.directory-tile span,
.story-grid span,
.recommendation-list span,
.discount-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--coral);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.directory-grid h2,
.discount-grid h2,
.story-grid h2,
.recommendation-list h2,
.feature-row h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  line-height: 1.05;
}

.directory-grid p,
.discount-grid p,
.story-grid p,
.recommendation-list p,
.feature-row p {
  color: var(--muted);
  margin: 0;
}

.discount-grid strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.discount-code strong[data-copyable] {
  cursor: copy;
  border-bottom: 1px dashed currentColor;
}

.discount-code strong.copied {
  color: var(--green, #28b389);
}

.discount-logo {
  width: 100%;
  height: 96px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #fbfcfb;
}

.discount-code {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.discount-cat {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.tile-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #e8eeeb;
}

.finder-page {
  background: #f4f7f5;
}

.finder-intro {
  background:
    linear-gradient(135deg, rgba(40, 179, 137, 0.12), rgba(109, 93, 252, 0.08) 44%, rgba(228, 87, 70, 0.08)),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.intelligence-intro {
  padding-bottom: 52px;
}

.intro-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.intro-metrics span {
  border: 1px solid rgba(22, 24, 22, 0.14);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  box-shadow: 0 8px 28px rgba(18, 24, 21, 0.05);
}

.intro-metrics strong {
  color: var(--ink);
  margin-right: 6px;
}

.quadrant-section {
  padding: clamp(36px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(40, 179, 137, 0.16), transparent 36%),
    linear-gradient(225deg, rgba(228, 87, 70, 0.12), transparent 34%),
    #101412;
  color: var(--white);
}

.quadrant-section .section-heading h2 {
  color: var(--white);
}

.quadrant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.quadrant-map {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 50% 0 / 1px 100% no-repeat,
    linear-gradient(0deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 50% / 100% 1px no-repeat,
    linear-gradient(135deg, rgba(40, 179, 137, 0.22), transparent 42%),
    linear-gradient(225deg, rgba(228, 87, 70, 0.18), transparent 42%),
    linear-gradient(45deg, rgba(215, 169, 40, 0.18), transparent 44%),
    #15191d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 80px rgba(0, 0, 0, 0.18);
}

.axis {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.x-axis {
  left: 18px;
  right: 18px;
  bottom: 14px;
  text-align: center;
}

.y-axis {
  top: 18px;
  left: 18px;
}

.quadrant-zone {
  position: absolute;
  display: grid;
  align-content: start;
  gap: 8px;
  width: 50%;
  height: 50%;
  padding: 22px;
  border: 0;
  color: var(--white);
  text-align: left;
  background: transparent;
  z-index: 1;
}

.quadrant-zone:hover,
.quadrant-zone.active {
  outline: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.quadrant-zone strong {
  font-size: 1.45rem;
  line-height: 1;
}

.quadrant-zone span {
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.72);
}

.zone-control { left: 0; top: 0; }
.zone-balanced { right: 0; top: 0; }
.zone-value { left: 0; bottom: 0; }
.zone-power { right: 0; bottom: 0; }

.quadrant-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  border-radius: 2px;
  background: var(--mint);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
  z-index: 3;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.quadrant-dot:hover {
  transform: translate(-50%, -50%) rotate(45deg) scale(1.25);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.18);
}

.dot-balanced { background: #7fe2bc; }
.dot-control { background: #9fd3ff; }
.dot-power { background: #ff897b; }
.dot-value { background: #f0c65a; }

.quadrant-picks {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.picks-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quadrant-pick {
  display: grid;
  gap: 3px;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.22);
  padding: 12px;
  color: var(--white);
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
}

.quadrant-pick:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.11);
}

.quadrant-pick span,
.quadrant-pick em {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-style: normal;
}

.quadrant-copy {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.quadrant-copy h3 {
  margin: 0;
  font-size: 2rem;
}

.quadrant-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.quadrant-legend {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.quadrant-legend button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
}

.quadrant-legend button.active,
.quadrant-legend button:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(150px, 1fr));
  gap: 14px;
  position: sticky;
  top: 65px;
  z-index: 8;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  background: #fafcfb;
  color: var(--ink);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

input:focus,
select:focus {
  border-color: var(--mint);
  box-shadow: var(--shadow-ring);
  outline: none;
}

.recommendations {
  background: var(--white);
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.paddle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.paddle-list {
  display: grid;
  gap: 10px;
}

.paddle-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  min-width: 0;
}

.paddle-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(86px, 0.45fr)) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.paddle-row:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 179, 137, 0.5);
  box-shadow: var(--shadow-md), var(--shadow-ring);
}

.row-title h3 {
  margin: 2px 0 0;
  font-size: 1.05rem;
}

.row-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.row-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.row-metric strong {
  font-size: 1rem;
}

.paddle-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f1f3f4, #dfe6e1);
}

.paddle-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.paddle-placeholder {
  display: grid;
  place-items: center;
  width: 76%;
  height: 76%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  padding: 18px;
  background: var(--white);
}

.paddle-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.paddle-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.paddle-title h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.15;
}

.brand-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.score-pill {
  flex: 0 0 auto;
  align-self: start;
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  min-width: 0;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  font-size: 0.98rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  border-radius: 6px;
  padding: 4px 10px;
  background: #e9f5ef;
  font-size: 0.76rem;
  font-weight: 750;
  border: 1px solid transparent;
}

.notes {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  text-decoration: none;
  font-weight: 750;
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  justify-items: end;
  background: rgba(17, 20, 23, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.detail-overlay[hidden] {
  display: none;
}

.detail-panel {
  width: min(720px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--white);
  box-shadow: var(--shadow-lg), -1px 0 0 var(--line);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  animation: slideInPanel var(--duration-slow) var(--ease-out);
}

@keyframes slideInPanel {
  from { transform: translateX(40px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}

.detail-close {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin: 14px 20px 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-size: 0;
  color: transparent;
  transition: all var(--duration-fast) ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.detail-close::before {
  content: "✕";
  font-size: 1rem;
  color: var(--ink);
  line-height: 1;
}

.detail-close:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}

.detail-content {
  display: grid;
  gap: 28px;
  padding: 8px 32px 48px;
}

.detail-content h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1;
}

/* Detail score hero */
.detail-score-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-score-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}

.detail-score-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.standalone-detail {
  min-height: 70vh;
  padding: clamp(24px, 5vw, 72px);
  background: var(--paper);
}

.page-detail-content {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.page-detail-content h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, #f8faf9, #eef3f0);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.detail-image img {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 20px;
}

.detail-section {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.detail-section h3 {
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}

.affiliate-code {
  margin: 0;
  padding: 10px 14px;
  background: rgba(40, 179, 137, 0.08);
  border: 1px solid rgba(40, 179, 137, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink);
}
.affiliate-code strong {
  color: var(--mint);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.affiliate-code-copy {
  cursor: copy;
  border-bottom: 1px dashed var(--mint);
}

.affiliate-code-copy.copied {
  color: var(--mint);
}

.affiliate-copy-hint {
  font-size: 0.8em;
  opacity: 0.45;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand strong {
  color: var(--ink);
  font-weight: 800;
}

.footer-brand span {
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links > a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 160ms ease;
}

.footer-links > a:hover {
  color: var(--ink);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.footer-social a:hover {
  color: var(--ink);
  background: rgba(40, 179, 137, 0.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 520px) {
  footer {
    padding: 24px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-social {
    padding-left: 0;
    border-left: 0;
  }
}

/* =========================================================
   Paddle Intelligence — rebuilt page styles
   ========================================================= */

.section-heading {
  display: grid;
  gap: 6px;
  max-width: 880px;
}

.section-heading.light h2 {
  color: var(--ink);
}

.section-sub {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 720px;
}

/* ----- Best Overall ----- */

.best-overall-section {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.best-overall-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-top: 32px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(140% 90% at 0% 0%, rgba(40, 179, 137, 0.10), transparent 55%),
    radial-gradient(140% 90% at 100% 100%, rgba(109, 93, 252, 0.08), transparent 55%),
    var(--white);
  box-shadow: var(--soft-shadow);
}

.best-overall-loading {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.best-overall-image {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3f6f4, #e3ece7);
  padding: 24px;
}

.best-overall-image img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.best-overall-image .paddle-placeholder {
  width: 70%;
  height: 70%;
}

.best-overall-body {
  display: grid;
  gap: 24px;
  align-content: start;
}

.best-overall-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.best-overall-head h3 {
  margin: 4px 0 8px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.best-overall-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 60ch;
}

.score-ring {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    conic-gradient(var(--mint) 0 var(--ring, 80%), rgba(40, 179, 137, 0.15) var(--ring, 80%) 100%);
  box-shadow: 0 12px 36px rgba(40, 179, 137, 0.18);
  text-align: center;
  transition: box-shadow var(--duration-normal) ease;
}

.score-ring:hover {
  box-shadow: 0 16px 44px rgba(40, 179, 137, 0.24);
}

.score-ring strong {
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  width: 92px;
  height: 92px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.score-ring span {
  display: none;
}

.best-overall-breakdown {
  display: grid;
  gap: 10px;
}

.best-overall-breakdown.compact .breakdown-row {
  font-size: 0.86rem;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 12px;
}

.breakdown-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breakdown-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(22, 24, 22, 0.04);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.breakdown-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-mint);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: barFill 600ms var(--ease-out) both;
  transform-origin: left center;
}

@keyframes barFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.breakdown-row:nth-child(1) .breakdown-bar i { animation-delay: 0ms; }
.breakdown-row:nth-child(2) .breakdown-bar i { animation-delay: 60ms; }
.breakdown-row:nth-child(3) .breakdown-bar i { animation-delay: 120ms; }
.breakdown-row:nth-child(4) .breakdown-bar i { animation-delay: 180ms; }
.breakdown-row:nth-child(5) .breakdown-bar i { animation-delay: 240ms; }
.breakdown-row:nth-child(6) .breakdown-bar i { animation-delay: 300ms; }

.breakdown-value {
  text-align: right;
  font-weight: 850;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.breakdown-value em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  margin-left: 2px;
}

.best-overall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ----- Category sections (style + level) ----- */

.category-section {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.category-section.alt {
  background: var(--white);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 20px;
}

.category-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--white);
  font-weight: 750;
  color: var(--muted);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-normal) var(--ease-out);
}

.category-tabs button:hover {
  color: var(--ink);
  border-color: rgba(40, 179, 137, 0.5);
  box-shadow: var(--shadow-sm);
  background: rgba(40, 179, 137, 0.06);
}

.category-tabs button.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(22, 24, 22, 0.15);
}

.category-blurb {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 720px;
  font-size: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.category-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--white);
  text-align: center;
}

.category-winner {
  display: grid;
  background: transparent;
}

.winner-card {
  display: grid;
  grid-template-rows: auto auto;
  text-align: left;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) ease,
              border-color var(--duration-normal) ease;
}

.winner-card:hover {
  transform: translateY(-4px) scale(1.005);
  border-color: rgba(40, 179, 137, 0.6);
  box-shadow: var(--shadow-lg);
}

.winner-image {
  display: grid;
  place-items: center;
  height: 240px;
  background: linear-gradient(135deg, #f3f6f4, #e1eae5);
  padding: 20px;
  overflow: hidden;
  position: relative;
}

.winner-card:hover .winner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  animation: shimmer 800ms ease forwards;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.winner-image img {
  max-width: 70%;
  max-height: 100%;
  object-fit: contain;
}

.winner-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.rank-pill {
  margin: 0;
  align-self: start;
  justify-self: start;
  border-radius: 999px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #1a1e1c, #2a302c);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-xs);
}

.winner-body h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.05;
}

.winner-brand {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.winner-blurb {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.winner-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.winner-metrics div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  background: var(--paper);
  transition: all var(--duration-fast) ease;
}

.winner-metrics div:hover {
  border-color: var(--mint);
  box-shadow: var(--shadow-xs);
}

.winner-metrics span {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.winner-metrics strong {
  font-size: 1.05rem;
}

.winner-metric-score strong {
  color: var(--white);
  background: var(--ink);
  padding: 2px 8px;
  border-radius: 5px;
}

.category-runners {
  display: grid;
  gap: 10px;
  align-content: start;
}

.runner-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1.4fr) repeat(3, minmax(70px, 0.5fr));
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-normal) var(--ease-out);
}

.runner-row:hover {
  border-color: rgba(40, 179, 137, 0.55);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
  background: rgba(40, 179, 137, 0.02);
}

.runner-rank {
  font-weight: 900;
  color: var(--muted);
  font-size: 0.95rem;
  width: 26px;
}

.runner-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.runner-title strong {
  font-size: 0.98rem;
}

.runner-title span {
  font-size: 0.8rem;
  color: var(--muted);
}

.runner-metric {
  text-align: right;
}

.runner-metric span {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.runner-metric strong {
  font-size: 0.95rem;
}

/* ----- Skip These (worst-ranked) ----- */

.worst-section {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #181b1f, #101316);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.worst-section .section-heading h2 {
  color: var(--white);
}

.worst-section .section-sub {
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow.warn {
  color: #ff897b;
}

.worst-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.worst-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.worst-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 137, 123, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.worst-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 137, 123, 0.18);
  border: 1px solid rgba(255, 137, 123, 0.4);
  color: #ffb6ad;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.worst-image {
  display: grid;
  place-items: center;
  height: 180px;
  background: linear-gradient(135deg, #1f2329, #15181c);
  padding: 18px;
}

.worst-image img {
  width: 100%;
  height: 144px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.3) brightness(0.92);
}

.worst-image .paddle-placeholder {
  width: 70%;
  height: 70%;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
}

.worst-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.worst-brand {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.worst-body h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.15;
  color: var(--white);
}

.worst-why {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.45;
}

.worst-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.worst-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.worst-metrics span {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
}

.worst-metrics strong {
  font-size: 0.95rem;
  color: var(--white);
}

/* ----- Reviewer Credits ----- */

.reviewer-credits-section {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.reviewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.reviewer-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 18px 20px;
  min-height: 80px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) ease,
              border-color var(--duration-normal) ease;
}

.reviewer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 179, 137, 0.5);
}

.reviewer-card strong {
  font-size: 0.85rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.reviewer-card span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* info icon in section heading */
.info-icon-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--muted);
  transition: color var(--duration-normal) ease;
}
.info-icon-link:hover {
  color: var(--mint);
}
.info-icon {
  width: 22px;
  height: 22px;
}

/* credits sub-sections */
.credits-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 32px 0 6px;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.credits-subhead:first-of-type {
  margin-top: 36px;
}
.credits-subhead-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.credits-subhead-icon svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}
.credits-sublabel {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
}
.lab-card {
  border-left: 3px solid var(--blue);
}
.lab-card:hover {
  border-color: var(--mint);
}
.lab-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.lab-icon svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

/* ----- Explorer ----- */

.explorer-section {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.explorer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.explorer-controls {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--white), rgba(243, 246, 244, 0.5));
  box-shadow: var(--shadow-md);
  align-self: start;
}

.explorer-controls::-webkit-scrollbar {
  width: 8px;
}

.explorer-controls::-webkit-scrollbar-thumb {
  background: rgba(22, 24, 22, 0.18);
  border-radius: 999px;
}

.control-group {
  display: grid;
  gap: 12px;
}

.control-group h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.control-hint {
  margin: -4px 0 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.sliders {
  display: grid;
  gap: 10px;
}

.slider-row {
  display: grid;
  gap: 4px;
  text-transform: none;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.slider-label em {
  font-style: normal;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
}

.slider-row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-height: 0;
  height: 4px;
  padding: 0;
  background: rgba(22, 24, 22, 0.1);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.slider-row input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slider-row input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.slider-row input[type="range"]:active::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preset-row button {
  flex: 1 1 auto;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 750;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) ease;
}

.preset-row button:hover {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.reset-button {
  width: 100%;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  transition: all var(--duration-fast) ease;
}

.reset-button:hover {
  color: var(--coral);
  border-color: var(--coral);
  background: rgba(228, 87, 70, 0.04);
}

.explorer-results {
  display: grid;
  gap: 14px;
}

.explorer-results .results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}

.explorer-results .results-heading select {
  width: auto;
  min-width: 220px;
}

.row-image {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3f6f4, #e3ece7);
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-xs);
}

.row-image img {
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
}

.row-image .paddle-placeholder {
  border-width: 1px;
  font-size: 0.55rem;
  padding: 4px;
  width: 90%;
  height: 90%;
}

.paddle-row {
  grid-template-columns: auto minmax(0, 1.3fr) repeat(5, minmax(72px, 0.45fr));
  border-radius: 12px;
}

.paddle-row .row-title h3 {
  font-size: 1rem;
}

.paddle-row em.quality-strong { color: #1c7d5f; font-style: normal; font-weight: 800; background: rgba(40, 179, 137, 0.10); padding: 1px 7px; border-radius: 4px; }
.paddle-row em.quality-usable { color: #2b5b91; font-style: normal; font-weight: 800; background: rgba(55, 111, 178, 0.08); padding: 1px 7px; border-radius: 4px; }
.paddle-row em.quality-weak { color: #8c6a10; font-style: normal; font-weight: 800; background: rgba(215, 169, 40, 0.10); padding: 1px 7px; border-radius: 4px; }
.paddle-row em.quality-manual_queue { color: #4f5754; font-style: normal; font-weight: 800; background: rgba(98, 108, 104, 0.08); padding: 1px 7px; border-radius: 4px; }

/* Score metric emphasis */
.row-metric-score strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
}

/* ----- Tags + detail polish ----- */

.tag-quality {
  text-transform: lowercase;
  font-weight: 800;
}
.tag-quality.tag-strong { background: rgba(40, 179, 137, 0.16); color: #1c7d5f; border-color: rgba(40, 179, 137, 0.3); }
.tag-quality.tag-usable { background: rgba(55, 111, 178, 0.14); color: #2b5b91; border-color: rgba(55, 111, 178, 0.25); }
.tag-quality.tag-weak { background: rgba(215, 169, 40, 0.18); color: #8c6a10; border-color: rgba(215, 169, 40, 0.3); }
.tag-quality.tag-manual_queue { background: rgba(98, 108, 104, 0.12); color: #4f5754; border-color: rgba(98, 108, 104, 0.2); }
.tag-score { background: var(--ink); color: var(--white); letter-spacing: 0.04em; font-size: 0.74rem; }
.tag-pro {
  background: rgba(201, 131, 10, 0.12);
  color: #8c5e08;
  border-color: rgba(201, 131, 10, 0.28);
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.tag-pro:hover { background: rgba(201, 131, 10, 0.2); }
.tags { flex-wrap: wrap; row-gap: 6px; }

.detail-sub {
  margin: 8px 0 14px;
  color: var(--muted);
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sources a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: all var(--duration-fast) ease;
}

.sources a:hover {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

@media (max-width: 1050px) {
  .best-overall-card,
  .category-grid,
  .explorer-layout {
    grid-template-columns: 1fr;
  }

  .explorer-controls {
    position: static;
  }

  .winner-image {
    aspect-ratio: 16 / 10;
  }

  .paddle-row {
    grid-template-columns: auto minmax(0, 1fr) repeat(2, minmax(70px, 0.4fr));
  }

  .paddle-row .row-metric:nth-of-type(4),
  .paddle-row .row-metric:nth-of-type(5),
  .paddle-row .row-metric:nth-of-type(6) {
    display: none;
  }

  .runner-row {
    grid-template-columns: auto minmax(0, 1.5fr) minmax(60px, 0.4fr);
  }

  .runner-row .runner-metric:nth-of-type(3),
  .runner-row .runner-metric:nth-of-type(4) {
    display: none;
  }

  .breakdown-row {
    grid-template-columns: 90px minmax(0, 1fr) 80px;
  }
}

@media (max-width: 720px) {
  .best-overall-head {
    flex-direction: column;
  }

  .winner-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .paddle-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .paddle-row .row-image {
    width: 80px;
    height: 80px;
  }
}

/* ----- Shared cross-link "explore more" block ----- */

.explore-more {
  padding: clamp(36px, 6vw, 80px) clamp(18px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.explore-more .section-heading {
  margin-bottom: 24px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.explore-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.explore-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 179, 137, 0.55);
  box-shadow: 0 16px 32px rgba(18, 24, 21, 0.08);
}

.explore-card .eyebrow {
  margin: 0;
}

.explore-card h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.1;
}

.explore-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.explore-card span.cta {
  margin-top: 6px;
  font-weight: 800;
}

/* ----- Page hero polish (used by directory/discounts/lessons/etc.) ----- */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 90% 10%, rgba(40, 179, 137, 0.18), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(109, 93, 252, 0.14), transparent 60%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
}

/* ----- Homepage refresh ----- */

.home-best-section {
  padding: clamp(48px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.home-best-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-top: 32px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(140% 90% at 0% 0%, rgba(40, 179, 137, 0.10), transparent 55%),
    radial-gradient(140% 90% at 100% 100%, rgba(109, 93, 252, 0.08), transparent 55%),
    var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--duration-normal) ease;
}

.home-best-card:hover {
  box-shadow: var(--shadow-lg);
}

.home-best-loading {
  grid-column: 1 / -1;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.home-best-image {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3f6f4, #e3ece7);
  padding: 24px;
}

.home-best-image img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.home-best-image .paddle-placeholder {
  width: 70%;
  height: 70%;
}

.home-best-body {
  display: grid;
  gap: 18px;
  align-content: center;
}

.home-best-body h3 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.home-best-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-best-summary {
  margin: 0;
  color: var(--ink);
  max-width: 60ch;
  line-height: 1.5;
}

.home-best-bars {
  display: grid;
  gap: 8px;
}

.home-best-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}

.home-best-score {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.home-best-score strong {
  display: inline-block;
  margin-right: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  box-shadow: var(--shadow-xs);
}

.home-style-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.home-style-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease;
}

.home-style-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-mint);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.home-style-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 179, 137, 0.55);
  box-shadow: var(--shadow-md);
}

.home-style-card:hover::before {
  transform: scaleX(1);
}

.home-style-card .eyebrow {
  margin: 0;
  color: var(--mint);
}

.home-style-card h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
  line-height: 1.15;
}

.home-style-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-style-score {
  margin-top: 8px;
}

.home-style-score strong {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
}

.home-style-score span {
  color: var(--muted);
  font-size: 0.78rem;
}

.home-stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.home-stats-band article {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 36px clamp(24px, 5vw, 56px);
  background: var(--white);
}

.stat-num {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.home-stats-band strong {
  font-size: 1.08rem;
}

.home-stats-band p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36ch;
}

.home-pillars {
  padding: clamp(48px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.pillar-card {
  display: grid;
  gap: 10px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 179, 137, 0.55);
  box-shadow: 0 22px 48px rgba(18, 24, 21, 0.10);
}

.pillar-card .eyebrow {
  margin: 0;
}

.pillar-card h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.05;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
}

.pillar-cta {
  margin-top: 8px;
  font-weight: 800;
  color: var(--ink);
}

.home-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: clamp(48px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--white);
}

.home-cta h2 {
  margin: 8px 0 4px;
  max-width: 740px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
}

.home-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

/* keep the original responsive block intact below */

@media (max-width: 1050px) {
  .split-band,
  .image-band {
    grid-template-columns: 1fr;
  }

  .controls,
  .paddle-grid,
  .quadrant-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paddle-row {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(86px, 0.35fr)) auto;
  }

  .paddle-row .row-metric:nth-of-type(4),
  .paddle-row .row-metric:nth-of-type(5) {
    display: none;
  }

  .hero h1,
  .finder-intro h1 {
    font-size: 4.2rem;
  }

  .section-heading h2,
  .split-band h2,
  .section h2,
  .page-hero h1 {
    font-size: 3rem;
  }

  .directory-grid,
  .discount-grid,
  .story-grid,
  .recommendation-list,
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    background: var(--charcoal);
  }
}

/* ===== Mobile + tablet pass for the rebuilt sections ===== */

@media (max-width: 1100px) {
  .home-style-row,
  .pillar-grid,
  .home-stats-band,
  .worst-grid,
  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-best-card {
    grid-template-columns: 1fr;
  }

  .home-best-image {
    min-height: 220px;
  }

  .home-best-image img {
    max-height: 240px;
  }

  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .home-style-row,
  .pillar-grid,
  .home-stats-band,
  .worst-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .home-best-card,
  .best-overall-card {
    padding: 22px;
    border-radius: 14px;
  }

  .home-best-body h3,
  .best-overall-head h3 {
    font-size: 1.8rem;
  }

  .winner-image {
    height: 200px;
  }

  .breakdown-row {
    grid-template-columns: 90px minmax(0, 1fr) 70px;
    gap: 8px;
    font-size: 0.78rem;
  }

  .breakdown-label {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
  }

  .breakdown-value {
    font-size: 0.78rem;
  }

  .home-stats-band article {
    min-height: 0;
    padding: 24px 18px;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  .pillar-card {
    padding: 22px;
  }

  .pillar-card h3 {
    font-size: 1.3rem;
  }

  .home-pillars,
  .home-best-section,
  .home-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .category-tabs button {
    padding: 8px 14px;
    font-size: 0.86rem;
  }

  .winner-body {
    padding: 18px;
  }

  .winner-body h3 {
    font-size: 1.3rem;
  }

  .winner-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .runner-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .runner-row .runner-metric:nth-of-type(2),
  .runner-row .runner-metric:nth-of-type(3),
  .runner-row .runner-metric:nth-of-type(4) {
    display: none;
  }

  .runner-row::after {
    content: "›";
    color: var(--muted);
    font-size: 1.4rem;
  }

  .worst-image {
    height: 160px;
  }

  .worst-card .worst-metrics {
    grid-template-columns: repeat(4, 1fr);
  }

  .explorer-controls {
    position: static;
    max-height: none;
    padding: 18px;
  }

  .explorer-results .results-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .explorer-results .results-heading select {
    min-width: 0;
    width: 100%;
  }

  .paddle-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
    align-items: center;
  }

  .paddle-row .row-image {
    width: 64px;
    height: 64px;
  }

  .paddle-row .row-title h3 {
    font-size: 0.95rem;
  }

  .paddle-row .row-title .row-meta {
    font-size: 0.74rem;
  }

  .paddle-row {
    position: relative;
  }

  .paddle-row .row-metric {
    display: none;
  }

  .paddle-row .row-metric-score {
    display: block;
    position: absolute;
    top: 12px;
    right: 12px;
    text-align: right;
  }

  .detail-panel {
    width: 100%;
  }

  .detail-content {
    padding: 12px 18px 28px;
  }

  .detail-content h2 {
    font-size: 1.8rem;
  }

  .detail-image {
    min-height: 220px;
  }

  .detail-image img {
    max-height: 240px;
  }

  .home-best-actions {
    gap: 12px;
  }

  .home-best-actions .button {
    width: 100%;
    text-align: center;
  }

  .home-best-section .section-heading h2,
  .best-overall-section .section-heading h2,
  .category-section .section-heading h2,
  .worst-section .section-heading h2,
  .explorer-section .section-heading h2,
  .home-pillars .section-heading h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .home-cta h2 {
    font-size: 1.8rem;
  }

  .finder-intro h1 {
    font-size: 2.4rem;
  }

  .finder-intro p {
    font-size: 1rem;
  }

  .intro-metrics {
    gap: 8px;
  }

  .intro-metrics span {
    font-size: 0.86rem;
    padding: 8px 10px;
  }

  /* Header: keep brand visible, let nav scroll horizontally instead of stacking weirdly */
  .site-header {
    flex-direction: row;
    align-items: center;
    padding: 12px 18px;
    gap: 12px;
  }

  .site-header nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: 0.85rem;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    flex: 0 0 auto;
    padding: 6px 8px;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 0.95rem;
  }

  footer {
    flex-direction: row;
    align-items: center;
    padding: 22px 18px;
    font-size: 0.86rem;
  }
}

@media (max-width: 720px) {
  .results-heading,
  footer {
    align-items: flex-start;
  }

  .controls,
  .paddle-grid,
  .quadrant-layout,
  .stats-band,
  .feature-grid,
  .image-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
    background: var(--charcoal);
  }

  .hero h1,
  .finder-intro h1 {
    font-size: 3rem;
  }

  .score-panel span {
    font-size: 2rem;
  }

  .section-heading h2,
  .split-band h2,
  .section h2,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .page-hero {
    min-height: 44vh;
  }

  .directory-grid,
  .discount-grid,
  .story-grid,
  .recommendation-list,
  .feature-row {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .controls {
    position: static;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .paddle-card {
    grid-template-rows: auto auto;
  }

  .quadrant-map {
    min-height: 520px;
  }

  .quadrant-zone {
    padding: 16px;
  }

  .meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .paddle-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .paddle-row .row-metric:nth-of-type(4),
  .paddle-row .row-metric:nth-of-type(5) {
    display: block;
  }

  .detail-content h2 {
    font-size: 2rem;
  }

  .page-detail-content h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 56px 18px 44px;
    min-height: 0;
    background: var(--charcoal);
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1;
  }

  .hero .eyebrow {
    font-size: 0.7rem;
  }

  .hero p {
    font-size: 0.96rem;
  }

  .hero .actions .button {
    flex: 1 1 100%;
    text-align: center;
  }

  .score-panel {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 18px;
    gap: 12px;
  }

  .score-panel span {
    font-size: 1.6rem;
  }

  .finder-intro h1 {
    font-size: 2rem;
  }

  .home-best-body h3,
  .best-overall-head h3 {
    font-size: 1.5rem;
  }

  .home-best-section .section-heading h2,
  .best-overall-section .section-heading h2,
  .category-section .section-heading h2,
  .worst-section .section-heading h2,
  .explorer-section .section-heading h2,
  .home-pillars .section-heading h2,
  .home-cta h2 {
    font-size: 1.7rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .home-best-image {
    min-height: 180px;
    padding: 16px;
  }

  .home-best-image img {
    max-height: 200px;
  }

  .winner-image {
    height: 180px;
    padding: 14px;
  }

  .breakdown-row {
    grid-template-columns: 82px minmax(0, 1fr) 58px;
  }

  .home-best-section,
  .best-overall-section,
  .category-section,
  .worst-section,
  .explorer-section,
  .home-pillars,
  .home-cta,
  .explore-more,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .home-cta {
    align-items: flex-start;
  }

  .winner-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .winner-metrics div {
    padding: 8px;
  }

  .worst-image {
    height: 140px;
  }
}

/* ===== HOW IT WORKS ===== */

.hiw-pipeline {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(18px, 5vw, 72px) clamp(40px, 6vw, 80px);
}

.hiw-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.hiw-step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mint);
  color: white;
  font-weight: 850;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.hiw-step-content {
  min-width: 0;
}

.hiw-step-content h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hiw-step-content > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hiw-step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--mint);
}

.hiw-step-icon svg {
  width: 100%;
  height: 100%;
}

.hiw-connector {
  display: flex;
  justify-content: center;
  padding-left: 10px;
  width: 40px;
}
.hiw-connector svg {
  width: 24px;
  height: 48px;
}

/* Step 1: metrics grid */
.hiw-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.hiw-metric {
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  border-left: 3px solid var(--blue);
}

.hiw-metric strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 750;
  margin-bottom: 2px;
}

.hiw-metric span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Step 2: source types */
.hiw-source-types {
  display: grid;
  gap: 8px;
}

.hiw-source-type {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.hiw-source-type p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink);
}

.hiw-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hiw-badge-strong { background: #d4f5e9; color: #0d6b40; }
.hiw-badge-good { background: #ddeeff; color: #1a5a8e; }
.hiw-badge-okay { background: #fef3cd; color: #856404; }
.hiw-badge-low { background: #f5e6e6; color: #8b3a3a; }

/* Step 3: tiers */
.hiw-tiers {
  display: grid;
  gap: 10px;
}

.hiw-tier {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: center;
}

.hiw-tier-bar {
  height: 10px;
  border-radius: 5px;
  transition: width 0.6s var(--ease-out);
}
.hiw-tier-strong { background: var(--mint); }
.hiw-tier-usable { background: var(--blue); }
.hiw-tier-weak { background: var(--gold); }
.hiw-tier-queue { background: var(--muted); }

.hiw-tier-label {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.hiw-tier-label strong {
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
}

.hiw-tier-label span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Step 4: blend visual */
.hiw-blend-visual {
  margin-top: 4px;
}

.hiw-blend-bar {
  display: flex;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  gap: 2px;
}

.hiw-blend-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-width: 0;
}

.hiw-blend-seg span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 4px;
}

.hiw-blend-caption {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

/* Step 5: CTA */
.hiw-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Principles */
.hiw-principles {
  padding: clamp(40px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.hiw-principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.hiw-principle {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}

.hiw-principle-icon {
  width: 32px;
  height: 32px;
  color: var(--mint);
  margin-bottom: 12px;
}

.hiw-principle-icon svg {
  width: 100%;
  height: 100%;
}

.hiw-principle h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
}

.hiw-principle p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* HIW responsive */
@media (max-width: 720px) {
  .hiw-step {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .hiw-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hiw-tier {
    grid-template-columns: 80px 1fr;
    gap: 8px;
  }

  .hiw-blend-seg span {
    font-size: 0.58rem;
  }

  .hiw-source-type {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .hiw-metrics-grid {
    grid-template-columns: 1fr;
  }

  .hiw-tier {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hiw-tier-bar {
    height: 8px;
  }

  .hiw-blend-seg span {
    font-size: 0.52rem;
  }

  .hiw-step-number {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }
}

/* ===== Affiliate code chip (visible everywhere a paddle has a code) ===== */
.affiliate-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 11px;
  background: rgba(40, 179, 137, 0.12);
  border: 1px solid rgba(40, 179, 137, 0.32);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  max-width: 100%;
  vertical-align: middle;
}
.affiliate-chip-label {
  color: var(--mint);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}
.affiliate-chip .affiliate-code-copy {
  background: none;
  border: none;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 4px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  touch-action: manipulation;
  user-select: none;
  border-radius: 6px;
}
.affiliate-chip .affiliate-code-copy:hover,
.affiliate-chip .affiliate-code-copy:focus-visible {
  color: var(--mint);
  outline: 2px solid rgba(40, 179, 137, 0.5);
  outline-offset: 2px;
}
.affiliate-chip .affiliate-code-copy.copied {
  color: var(--mint);
}
.affiliate-chip-compact {
  padding: 3px 9px;
  margin-top: 6px;
  font-size: 0.7rem;
}
.affiliate-chip-compact .affiliate-chip-label {
  font-size: 0.6rem;
}
.affiliate-chip-compact .affiliate-code-copy {
  min-height: 24px;
  padding: 2px 3px;
}
/* Inline copy element in .affiliate-code paragraphs (best-overall, detail drawer). */
.affiliate-code .affiliate-code-copy {
  display: inline;
  font-weight: 800;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  touch-action: manipulation;
  user-select: none;
}
.affiliate-code .affiliate-code-copy:hover,
.affiliate-code .affiliate-code-copy:focus-visible {
  background: rgba(40, 179, 137, 0.18);
  outline: 2px solid rgba(40, 179, 137, 0.5);
  outline-offset: 1px;
}
.affiliate-code .affiliate-code-copy.copied {
  color: var(--mint);
  background: rgba(40, 179, 137, 0.18);
}

@media (max-width: 720px) {
  .affiliate-chip {
    font-size: 0.74rem;
    padding: 6px 12px;
  }
  .affiliate-chip-compact {
    font-size: 0.68rem;
  }
  /* On mobile, the explorer row's title column wraps — let the chip wrap below. */
  .paddle-row .affiliate-chip,
  .runner-row .affiliate-chip {
    white-space: normal;
  }
}

/* ===== Per-paddle SEO pages (/paddles/{slug}.html) ===== */
.paddle-page {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 5vw, 72px);
  color: var(--ink);
}
.paddle-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.paddle-page .breadcrumbs > * {
  display: inline-flex;
  align-items: center;
}
.paddle-page .breadcrumbs > *:not(:last-child)::after {
  content: "›";
  margin: 0 10px;
  color: #c4ccc8;
  font-weight: 400;
}
.paddle-page .breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.paddle-page .breadcrumbs a:hover {
  color: var(--mint);
}
.paddle-page .breadcrumbs span[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.paddle-page-body {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.paddle-page-image {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border: 1px solid var(--line);
}
.paddle-page-image img.large {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.paddle-page-image .paddle-placeholder.large {
  text-align: center;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.4;
}
.paddle-page-image .placeholder-note {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  font-style: italic;
}
.paddle-page-head {
  grid-column: 2;
}
.paddle-page-head h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 850;
  margin: 8px 0 12px;
  line-height: 1.05;
}
.paddle-page-head .detail-sub {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 12px;
}
.paddle-page-head .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
/* Blended score on per-paddle pages — matches the drawer's clean look (just
   number + label, no colored box). The tier color applies to the score
   NUMBER text instead of the background. See tools/build_paddle_pages.py
   score_tier() for thresholds (≥70 green | 55-69 lime | 40-54 amber | <40 red).
   Darker tier shades chosen for legibility against the white page bg. */
.paddle-page .detail-score-hero {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 8px;
}
.paddle-page .detail-score-hero .detail-score-num {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}
.paddle-page .detail-score-hero .detail-score-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
/* Tier color rules are GLOBAL (not nested under .paddle-page) so the drawer
   and the static paddle page both get the colored score number with the same
   thresholds. */
.detail-score-hero.tier-excellent .detail-score-num { color: #1a8a6a; }
.detail-score-hero.tier-good      .detail-score-num { color: #6c9929; }
.detail-score-hero.tier-mid       .detail-score-num { color: #b8901c; }
.detail-score-hero.tier-poor      .detail-score-num { color: #c4382b; }
.paddle-page .detail-section {
  grid-column: 1 / -1;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.paddle-page .detail-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.paddle-page .detail-section .notes {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.paddle-page .best-overall-breakdown.compact {
  display: grid;
  gap: 8px;
}
.paddle-page .breakdown-row {
  display: grid;
  grid-template-columns: 110px 1fr 90px;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}
.paddle-page .breakdown-label {
  font-weight: 600;
  color: var(--muted);
}
.paddle-page .breakdown-bar {
  display: block;
  width: 100%;
  height: 8px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.paddle-page .breakdown-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--mint), #1a8a6a);
}
.paddle-page .breakdown-value {
  text-align: right;
  font-weight: 700;
  color: var(--ink);
}
.paddle-page .breakdown-value em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  margin-left: 2px;
}
.paddle-page .meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.paddle-page .meta-grid .metric {
  background: var(--paper);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.paddle-page .meta-grid .metric span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.paddle-page .meta-grid .metric strong {
  font-size: 1rem;
  font-weight: 800;
}
.paddle-page .sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.paddle-page .sources a {
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.paddle-page .sources a:hover {
  text-decoration: underline;
}
.paddle-page .affiliate-code {
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.paddle-page-related a {
  color: var(--mint);
  font-weight: 600;
  text-decoration: none;
}
.paddle-page-related a:hover {
  text-decoration: underline;
}
.under-review-badge {
  background: rgba(215, 169, 40, 0.12);
  border: 1px solid rgba(215, 169, 40, 0.35);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.under-review-badge strong {
  color: #8a6a18;
  display: inline;
}

@media (max-width: 720px) {
  .paddle-page-body {
    grid-template-columns: 1fr;
  }
  .paddle-page-image {
    grid-row: 1;
    max-width: 320px;
    margin: 0 auto;
  }
  .paddle-page-head {
    grid-column: 1;
  }
  .paddle-page .detail-score-hero {
    grid-column: 1;
  }
  .paddle-page .breakdown-row {
    grid-template-columns: 86px 1fr 70px;
    font-size: 0.85rem;
  }
}

/* Link from drawer → static paddle page (SEO link equity + share URL). */
.detail-page-link {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.detail-page-link a {
  color: var(--mint);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}
.detail-page-link a:hover {
  text-decoration: underline;
}

/* ===== No-image placeholder (uses /assets/no-image-placeholder.svg) ===== */
/* Visual treatment only — size comes from each container's existing `img`
   rules (.row-image img, .worst-image img, .winner-image img, etc.) so the
   placeholder fits the same box a real paddle photo would. The SVG file has
   explicit width/height (320x320) so the browser knows its intrinsic size
   even before CSS applies (prevents first-paint overflow). */
img.placeholder-img {
  background: var(--paper);
  border-radius: 8px;
  object-fit: contain;
}
/* Drawer + per-paddle page: their containers don't constrain image height as
   tightly as card containers do, so size the placeholder explicitly. */
.detail-image:has(.placeholder-img),
.paddle-page-image:has(.placeholder-img) {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0;
  min-height: 280px;
}
.detail-image img.placeholder-img,
.paddle-page-image img.placeholder-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
}

/* ===== Comment icon (subtle subscript next to paddle name) ===== */
/* Lives only on the drawer (h2#detailTitle) and per-paddle pages (h1).
   No background, no border — just a small chat-bubble icon with a notification
   dot when there are comments. Gray by default; mint on hover or activity. */
.comment-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 10px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  opacity: 0.5;
  line-height: 0;
  transition: opacity 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.comment-icon svg {
  width: 0.62em;
  height: 0.62em;
  display: block;
}
.comment-icon:hover,
.comment-icon:focus-visible {
  opacity: 1;
  color: var(--mint);
  outline: none;
}
/* Has comments: full opacity + mint, with a small notification dot at corner. */
.comment-icon:not([data-count="0"]):not([data-count=""]) {
  opacity: 1;
  color: var(--mint);
}
.comment-icon:not([data-count="0"]):not([data-count=""])::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--white);
}

/* ===== Per-paddle page: comments section ===== */
.paddle-comments {
  margin-top: 40px;
}
.paddle-comments .comments-header h2 {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.paddle-comments .comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 2px 8px;
  background: rgba(40, 179, 137, 0.15);
  color: var(--mint);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}
.paddle-comments .comments-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 18px;
}
.comment-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
.comment-form-field {
  display: block;
  /* Breathing room between the Name field and the Comment label below it. */
  margin-bottom: 22px;
}
.comment-form-field span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.comment-form-field input,
.comment-form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
}
.comment-form-field textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}
.comment-form-foot {
  /* Gap above the Post Comment button after the textarea. */
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.comment-status {
  font-size: 0.85rem;
  color: var(--muted);
}
.comments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.comment-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.comment-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.comment-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.comment-time {
  font-size: 0.78rem;
  color: var(--muted);
}
.comment-body {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.comment-empty,
.comment-loading,
.comment-error {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  background: var(--paper);
  border-radius: 10px;
  list-style: none;
}
.comment-error { color: #c4382b; font-style: normal; }

@media (max-width: 720px) {
  .comment-pill {
    font-size: 0.68rem;
    padding: 2px 7px 2px 5px;
    margin-left: 6px;
  }
  .comment-pill svg { width: 10px; height: 10px; }
}

/* Score breakdown coverage note on per-paddle pages.
   Honest signal: tells the user the score reflects partial data, not hides it. */
.paddle-page .metric-coverage-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.paddle-page .coverage-full {
  color: #1a8a6a;
}
.paddle-page .coverage-partial {
  color: #8a6a18;
}
