.performance-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.performance-overview {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  margin-top: 18px;
}

.performance-card,
.performance-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  box-shadow: var(--glow);
}

.performance-card {
  padding: 22px;
}

.performance-card h3,
.performance-panel h3 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.performance-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.compare-stack {
  margin-top: 22px;
}
.compare-row + .compare-row { margin-top: 16px; }
.compare-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
.compare-row span { color: var(--muted); }
.compare-row b { color: var(--ink); }
.compare-track,
.source-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.compare-track i,
.source-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
}
.compare-row.moru .compare-track i {
  background: linear-gradient(90deg, #637f6b, #8bb090);
}

.performance-blogs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.performance-panel {
  overflow: hidden;
}
.performance-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.018);
}
.performance-panel-head .brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
}
.performance-panel.red .brand-dot { color: var(--accent-bright); background: currentColor; }
.performance-panel.moru .brand-dot { color: #8bb090; background: currentColor; }
.performance-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.performance-panel-sub {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
}

.perf-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.perf-metric {
  min-width: 0;
  padding: 18px;
  background: rgba(18,21,25,.96);
}
.perf-metric span,
.perf-metric small {
  display: block;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
}
.perf-metric span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.perf-metric strong {
  display: block;
  margin-top: 7px;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}
.perf-metric small {
  margin-top: 6px;
  font-size: 10px;
}

.performance-block {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.performance-block:first-of-type { border-top: 0; }
.performance-block-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.performance-block-head h4 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.performance-block-head span {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
}

.source-row + .source-row { margin-top: 13px; }
.source-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}
.source-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}
.source-line b {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 600;
}

.performance-panel .table-wrap { margin-top: 0; }
.performance-panel .hq-table {
  background: transparent;
}
.performance-panel .hq-table th,
.performance-panel .hq-table td {
  padding: 11px 10px;
}
.performance-panel .hq-table td:nth-child(2) {
  min-width: 240px;
  line-height: 1.45;
}
.rank-cell {
  width: 42px;
  color: var(--muted);
  text-align: center !important;
}
.views-cell {
  width: 66px;
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
.perf-note {
  padding: 0 20px 20px;
  color: #8f8881;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.55;
}
.perf-empty {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.performance-history {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px dashed rgba(255,255,255,.13);
  border-radius: 15px;
  background: rgba(255,255,255,.018);
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .performance-overview,
  .performance-blogs { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .performance-meta { flex-direction: column; }
  .perf-kpis { grid-template-columns: repeat(2, 1fr); }
  .performance-panel .hq-table td:nth-child(2) { min-width: 200px; }
}


.performance-analysis { margin-top: 18px; }
.performance-analysis .analysis-lead { margin-bottom: 12px; }
.performance-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.performance-analysis-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.performance-analysis-card.red { box-shadow: inset 3px 0 0 rgba(197,65,88,.55); }
.performance-analysis-card.moru { box-shadow: inset 3px 0 0 rgba(139,176,144,.5); }
.perf-analysis-row + .perf-analysis-row {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.perf-analysis-row span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.perf-analysis-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 980px) {
  .performance-analysis-grid { grid-template-columns: 1fr; }
}
