/* The surface is read at the toss; the artwork describes the match's real pitch. */
.pitch-inspection {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--edge);
  color: var(--cream);
}
.pitch-inspection > :is(summary, header) {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  min-height: 48px;
  padding: 10px 0;
  font-size: var(--type-body);
  line-height: 1.4;
  cursor: pointer;
}
.pitch-inspection > summary::-webkit-details-marker {
  display: none;
}
.pitch-inspection > header {
  cursor: default;
}
.pitch-inspection > :is(summary, header) > span {
  font-weight: 600;
}
.pitch-inspection > :is(summary, header) > strong {
  margin-left: auto;
  color: var(--gold);
  font-size: var(--type-body);
  font-weight: 700;
}
.pitch-inspection > summary > svg {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--dim);
  shape-rendering: crispEdges;
}
.pitch-inspection[open] > summary > svg {
  transform: rotate(180deg);
}
.pitch-inspection > summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.pitch-inspection-body {
  padding: 0 0 14px;
  display: grid;
  gap: 10px;
}
.pitch-inspection-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 128px;
  object-fit: cover;
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  background: #5a804c;
}
.pitch-inspection-body > p {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 0;
  max-width: 58ch;
}
.pitch-inspection-body > p > strong {
  font-weight: 600;
  color: var(--cream);
}
.pitch-inspection-unavailable {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
}
@container game (max-width:700px) {
  .pitch-inspection-art {
    max-height: 112px;
  }
  .pitch-inspection-body {
    gap: 9px;
    padding-bottom: 12px;
  }
}

.pitch-readings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}
.pitch-readings > div {
  min-width: 0;
  padding: 7px 8px;
  border-left: 2px solid #b8c887;
  background: #102a35;
}
.pitch-readings dt {
  font-size: var(--type-caption);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ab4bd;
}
.pitch-readings dd {
  margin: 3px 0 0;
  font-size: var(--type-caption);
  font-weight: 800;
  color: #f6e9c7;
  line-height: 1.3;
}
