/* Contribution Skyline — site temasıyla uyumlu, çerçevesiz kart stilleri */
.skyline {
  border: 0;
  border-radius: 0;
  background: var(--card);
  padding: 14px;
}
.skyline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 10px;
}
.skyline-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}
.skyline-head h3 strong { font-weight: 700; }
.skyline-toggle {
  display: inline-flex;
  border: 0;
  border-radius: 0;
  padding: 2px;
  gap: 2px;
}
.skyline-toggle button {
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.skyline-toggle button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}
.skyline-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  min-height: 150px;
}
.skyline-stage canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  outline: none;
}
.skyline-tip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
  border-radius: 0;
  padding: 6px 10px;
  font-size: 12px;
  background: var(--fg);
  color: var(--bg);
  opacity: 0;
  transition: opacity 0.15s;
}
.skyline-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  padding: 14px 4px 2px;
}
@media (min-width: 640px) {
  .skyline-stats { grid-template-columns: repeat(4, 1fr); }
}
.skyline-stats .stat-label { font-size: 13px; color: var(--muted); }
.skyline-stats .stat-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.skyline-stats .stat-unit { font-size: 14px; margin-left: 6px; }
.skyline-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.skyline-legend { display: flex; align-items: center; gap: 6px; }
.skyline-legend button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}