.seo-bar {
  display: block;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.seo-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--success);
  transition: width 0.15s ease, background 0.15s ease;
}
.seo-bar.is-warn span { background: #facc15; }
.seo-bar.is-bad  span { background: var(--danger); }

.serp-sub {
  margin: 22px 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 600;
}

.serp-tips {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 13px;
}
.serp-tips li { margin: 4px 0; }
.serp-tips strong { color: var(--text); }

.serp {
  background: #ffffff;
  color: #202124;
  border-radius: var(--radius-sm);
  padding: 16px 18px 14px;
  font-family: arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  max-width: 600px;
}

.serp.is-mobile { font-size: 13.5px; max-width: 100%; }
.serp-crumb {
  font-size: 12px;
  color: #4d5156;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.serp-crumb .dot { width: 16px; height: 16px; border-radius: 50%; background: #f1f3f4; display: inline-block; }
.serp-title {
  color: #1a0dab;
  font-size: 20px;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 400;
  display: block;
  cursor: pointer;
  max-width: 580px;
  word-break: break-word;
}
.serp-title:hover { text-decoration: underline; }
.serp.is-mobile .serp-title { font-size: 18px; }
.serp-desc {
  color: #4d5156;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
}
.serp-desc span:first-child { color: #70757a; }

.serp-snippet {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text);
  max-height: 260px;
  overflow: auto;
}
