.media-card:has(svg) {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.media-card .axis,
.media-card .tick,
.media-card .grid {
  stroke-linecap: round;
}

.media-card .axis {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 5;
}

.media-card .tick {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 4;
}

.media-card .grid {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2;
}

.media-card .duck-shape {
  opacity: 0.72;
  filter: drop-shadow(0 10px 22px rgba(240, 200, 90, 0.12));
  transform-origin: center;
}

.media-card .ghost-line {
  fill: none;
  stroke: rgba(12, 52, 112, 0.12);
  stroke-width: 8;
  transition: d 1.2s ease, opacity 0.8s ease;
}

.media-card .main-fill {
  fill: rgba(12, 52, 112, 0.16);
  transition: d 1.2s ease;
}

.media-card .main-line {
  fill: none;
  stroke: #0c3470;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 1.2s ease;
  filter: drop-shadow(0 10px 18px rgba(10, 40, 90, 0.10));
}

.media-card .x-label {
  font-size: 14px;
  fill: rgba(35, 65, 95, 0.8);
  font-weight: 600;
}

.media-card .year-label {
  font-size: 22px;
  font-weight: 700;
  fill: #0c3470;
  opacity: 0.72;
}
