/* SEO Results library — /seo-results/
   Playhost tokens: mountain sec-pill, Bebas, frost cards. */

body.seo-results-page {
  --sr-ice: #7ec4ff;
  --sr-blue: #3d9eff;
  --sr-muted: #97a8ba;
  --sr-body: #c9d5e2;
  --sr-card: rgba(14, 20, 30, 0.92);
  --sr-line: rgba(255, 255, 255, 0.12);
  --sr-display: "Bebas Neue", "DM Sans", sans-serif;
  --sr-mono: "JetBrains Mono", ui-monospace, monospace;
}

body.seo-results-page main {
  max-width: none;
  padding: 0 0 2rem;
  margin: 0;
}

body.seo-results-page .sr-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

body.seo-results-page .sr-block {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
body.seo-results-page .sr-block--flush { padding-top: 0; }

body.seo-results-page .sr-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(61, 158, 255, 0.14);
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(61, 158, 255, 0.18), transparent 55%),
    transparent;
}
body.seo-results-page .sr-hero h1 {
  margin: 0 0 0.75rem;
  max-width: 16ch;
  font-family: var(--sr-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.98;
  color: #f3f7fc;
  text-wrap: balance;
}
body.seo-results-page .sr-hero h1 .hl { color: var(--sr-ice); }
body.seo-results-page .sr-hero .lede {
  max-width: 40rem;
  margin: 0 0 1.25rem;
  color: var(--sr-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.seo-results-page .sr-h2 {
  margin: 0 0 0.55rem;
  font-family: var(--sr-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.98;
  color: #f3f7fc;
}
body.seo-results-page .sr-sub {
  max-width: 40rem;
  margin: 0 0 1.4rem;
  color: var(--sr-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

body.seo-results-page .sr-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
body.seo-results-page .sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
body.seo-results-page .sr-btn--ice {
  border: 0;
  background: linear-gradient(180deg, #8fd0ff, #3d9eff);
  color: #041018 !important;
}
body.seo-results-page .sr-btn--ice:hover { filter: brightness(1.06); transform: translateY(-2px); }
body.seo-results-page .sr-btn--ghost {
  border: 1px solid rgba(126, 196, 255, 0.4);
  color: #fff !important;
  background: transparent;
}
body.seo-results-page .sr-btn--ghost:hover {
  border-color: rgba(126, 196, 255, 0.7);
  transform: translateY(-2px);
}

body.seo-results-page .sr-filters {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}
body.seo-results-page .sr-filter-row {
  display: grid;
  gap: 0.55rem;
}
body.seo-results-page .sr-filter-label {
  font-family: var(--sr-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sr-muted);
}
body.seo-results-page .sr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
body.seo-results-page .sr-chip {
  appearance: none;
  cursor: pointer;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 196, 255, 0.28);
  background: rgba(61, 158, 255, 0.06);
  color: #d7e8ff;
  font-family: var(--sr-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
body.seo-results-page .sr-chip em {
  font-style: normal;
  color: var(--sr-muted);
  margin-left: 0.15rem;
}
body.seo-results-page .sr-chip:hover {
  border-color: rgba(126, 196, 255, 0.55);
  color: #fff;
}
body.seo-results-page .sr-chip.is-on {
  border-color: rgba(126, 196, 255, 0.7);
  background: rgba(61, 158, 255, 0.18);
  color: #fff;
}
body.seo-results-page .sr-status {
  margin: 1rem 0 0;
  font-family: var(--sr-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sr-ice);
}

body.seo-results-page .sr-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.2rem;
}
body.seo-results-page .sr-section-head .sr-h2 { margin: 0; }
body.seo-results-page .sr-more {
  color: var(--sr-ice);
  font-weight: 600;
  text-decoration: none;
}
body.seo-results-page .sr-more:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

body.seo-results-page .sr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 960px) {
  body.seo-results-page .sr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.seo-results-page .sr-grid { grid-template-columns: 1fr; }
}

body.seo-results-page .sr-card {
  margin: 0;
  padding: 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--sr-line);
  background: var(--sr-card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
body.seo-results-page .sr-card .art {
  display: block;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0a0e14;
  cursor: zoom-in;
}
body.seo-results-page .sr-card .art img {
  display: block;
  width: 100%;
  height: auto;
}
body.seo-results-page .sr-rank {
  margin: 0 0 0.35rem;
  font-family: var(--sr-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sr-ice);
}
body.seo-results-page .sr-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: #f3f7fc;
}
body.seo-results-page .sr-card > p {
  margin: 0 0 0.75rem;
  color: var(--sr-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
body.seo-results-page .sr-card a.more-link {
  color: var(--sr-ice);
  text-decoration: none;
}
body.seo-results-page .sr-card a.more-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.seo-results-page .sr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 !important;
}
body.seo-results-page .sr-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 196, 255, 0.22);
  background: rgba(61, 158, 255, 0.08);
  color: #d7e8ff;
  font-family: var(--sr-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
body.seo-results-page .sr-tag--type { color: var(--sr-ice); }

body.seo-results-page .sr-empty {
  display: none;
  margin: 0 auto 2rem;
  color: var(--sr-muted);
}
body.seo-results-page .sr-empty.is-show { display: block; }

body.seo-results-page .sr-cta {
  margin: 0 0 1rem;
  padding: clamp(2rem, 5vw, 2.8rem);
  border-radius: 22px;
  border: 1px solid rgba(126, 196, 255, 0.28);
  background:
    radial-gradient(ellipse 60% 80% at 85% 0%, rgba(61, 158, 255, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(16, 24, 38, 0.86), rgba(7, 11, 18, 0.9));
  text-align: center;
}
body.seo-results-page .sr-cta .sec-pill { justify-content: center; }
body.seo-results-page .sr-cta h2 {
  margin: 0 0 0.5rem;
  font-family: var(--sr-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #f3f7fc;
}
body.seo-results-page .sr-cta > p:not(.sec-pill) {
  max-width: 34rem;
  margin: 0 auto 1.2rem;
  color: var(--sr-muted);
}
body.seo-results-page .sr-cta .sr-btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  body.seo-results-page .sr-btn:hover { transform: none; }
}
