.shot-map-section {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  scroll-margin-top: 150px;
}
.shot-map-section + .goals-section {
  margin-top: 40px;
}
.shot-map-ball {
  position: absolute;
  z-index: 5;
  font-size: 24px;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px #0008);
}
.shot-map-intro,
.shot-map-note,
.shot-map-facts {
  color: var(--muted);
}
.shot-map-intro {
  margin: 12px 0 0;
}
.shot-map-filters {
  display: flex;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.shot-map-filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.shot-map-filters select {
  min-width: 160px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--white);
}
#shot-map-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#shot-map-methods button,
.shot-map-moment {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  min-height: 44px;
}
#shot-map-methods button[aria-pressed="true"],
.shot-map-moment[aria-pressed="true"] {
  border-color: var(--lime);
  color: var(--white);
  background: color-mix(in srgb, var(--lime) 10%, transparent);
}
.shot-map-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.shot-map-field-panel {
  min-width: 0;
}
.shot-map-direction {
  text-align: center;
  letter-spacing: 3px;
  font-size: 10px;
  color: var(--muted);
}
.shot-map-pitch {
  position: relative;
  aspect-ratio: 100/80;
  max-width: 600px;
  margin: auto;
  border-radius: 16px;
  background: repeating-linear-gradient(
    180deg,
    #142d29 0%,
    #142d29 12.5%,
    #17342e 12.5%,
    #17342e 25%
  );
  overflow: hidden;
}
.shot-map-pitch svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #91bca880;
  stroke-width: 0.4;
}
.shot-map-point {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a1a13;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  isolation: isolate;
}
.shot-map-point::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  z-index: -1;
  background: #c6f65b;
  border: 1px solid #eefad0;
  box-shadow: 0 0 14px #c6f65b30;
  transition: transform 0.2s;
}
.shot-map-point[data-method="free"]::before {
  background: #f1b84e;
  border-color: #ffe2ad;
}
.shot-map-point[data-method="penalty"]::before {
  background: #5dc4ef;
  border-color: #bbeafb;
}
.shot-map-point[aria-pressed="true"]::before {
  transform: scale(1.3);
  outline: 2px solid white;
  outline-offset: 4px;
}
.shot-map-point:focus-visible,
.shot-map-moment:focus-visible,
#shot-map-methods button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
.shot-map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
.shot-map-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: #c6f65b;
  border-radius: 50%;
}
.shot-map-legend [data-method="free"]::before {
  background: #f1b84e;
}
.shot-map-legend [data-method="penalty"]::before {
  background: #5dc4ef;
}
.shot-map-note {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 20px;
}
.shot-map-detail {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  min-width: 0;
  background: var(--bg);
}
.shot-map-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
}
.shot-map-detail h3 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  margin: 12px 0;
}
.shot-map-facts {
  font-size: 12px;
  margin: 18px 0;
}
.shot-map-context {
  line-height: 1.7;
  font-size: 14px;
  margin: 24px 0;
}
.shot-map-accuracy {
  color: var(--muted);
  font-size: 11px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.shot-map-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}
.shot-map-watch {
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--bg);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
}
.shot-map-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}
.shot-map-moment {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 11px;
  line-height: 1.5;
}
.shot-map-number {
  color: var(--lime);
  font-size: 14px;
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .shot-map-layout {
    grid-template-columns: 1fr;
  }
  .shot-map-moments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header nav {
    display: flex;
    overflow-x: auto;
  }
  .site-header nav a {
    flex: 0 0 auto;
  }
}
@media (max-width: 600px) {
  .shot-map-section {
    padding: 18px;
    margin-top: 32px;
  }
  .shot-map-section .section-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .shot-map-detail {
    padding: 20px;
  }
  .shot-map-filters {
    gap: 16px;
  }
  .shot-map-filters label,
  .shot-map-filters select {
    width: 100%;
  }
  #shot-map-methods {
    gap: 6px;
  }
  #shot-map-methods button {
    padding: 10px;
    font-size: 11px;
  }
  .shot-map-moment {
    padding: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shot-map-point::before {
    transition: none;
  }
}

@keyframes shot-detail-in {
  from {
    opacity: 0.45;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.shot-map-detail > * {
  animation: shot-detail-in 0.25s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .shot-map-detail > * {
    animation: none;
  }
}
