.course-explorer {
  --course-ink: #183e43;
  --course-accent: #b77737;
  margin: 32px 0 12px;
  border: 1px solid #ceddd5;
  border-radius: 20px;
  background: #fffef9;
  overflow: hidden;
  box-shadow: 0 12px 34px #173f4508;
}
.course-explorer [hidden] {
  display: none !important;
}
.course-intro {
  padding: 28px 28px 0;
}
.course-explorer h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 10px 0 12px;
}
.detail-body .course-intro p {
  color: #516c61;
  font-size: 0.85rem;
  margin-bottom: 0;
}
.course-stage {
  max-width: 540px;
  margin: 0 auto;
}
.course-circle {
  display: block;
  width: 100%;
  height: auto;
  touch-action: pan-y;
}
.course-explorer.is-ready .course-circle {
  cursor: crosshair;
}
.course-wind-label {
  fill: #376e69;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
}
.course-ring-labels {
  font-size: 24px;
  font-weight: 650;
  fill: #365d55;
}
.course-ring-labels .course-small-label {
  font-size: 17px;
  font-weight: 450;
  fill: #607a70;
}
.course-ring-labels .course-no-go-label {
  fill: #9b5144;
  font-size: 22px;
}
.course-stage-key {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.72rem;
  margin: -14px 0 22px;
  color: #526c61;
}
.course-stage-key span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.course-stage-key i {
  width: 17px;
  height: 3px;
  background: var(--course-accent);
}
.course-stage-key span + span i {
  background: #477f80;
}
.course-readout {
  margin: 0 24px;
  padding: 20px 22px;
  border-radius: 12px;
  background: #edf4ee;
  border-left: 4px solid #3f806d;
  min-height: 174px;
}
.course-explorer.is-no-go .course-readout {
  background: #fbede5;
  border-left-color: #b86a55;
}
.course-readout-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.course-readout-heading strong {
  font-size: 1.2rem;
  line-height: 1.25;
}
.course-readout-heading span {
  font-size: 0.76rem;
  white-space: nowrap;
  color: #59786a;
  font-variant-numeric: tabular-nums;
}
.detail-body .course-readout p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 8px 0 0;
}
.detail-body .course-readout .course-side {
  color: #597266;
  font-size: 0.75rem;
}
.course-controls {
  padding: 22px 24px 8px;
}
.course-top-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 12px;
  padding: 16px 24px 0;
}
.course-picker {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 650;
  margin: 0;
}
.course-picker select {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid #b4ccc0;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fffef9;
  color: #254f49;
  font: inherit;
  font-size: 16px;
}
.course-top-controls > input,
.course-top-controls > .course-slider-label {
  grid-column: 1 / -1;
}
.course-explorer button {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: #254f49;
  border: 1px solid #cbd9cf;
  background: #fffef9;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 44px;
  cursor: pointer;
  line-height: 1.4;
}
.course-explorer button:hover {
  background: #e8f0e8;
}
.course-explorer button[aria-pressed="true"],
.course-explorer .course-play {
  color: #fff;
  border-color: #275e53;
  background: #275e53;
}
.course-explorer button:focus-visible,
.course-explorer select:focus-visible,
.course-explorer input:focus-visible {
  outline: 3px solid #bd803d;
  outline-offset: 3px;
}
.course-explorer button:disabled {
  opacity: 0.5;
  cursor: default;
}
.course-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 650;
}
.course-slider-label span {
  font-size: 0.7rem;
  font-weight: 400;
  color: #62796a;
}
.course-explorer input[type="range"] {
  accent-color: #275e53;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  touch-action: pan-y;
}
.course-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.course-butterfly {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.8rem;
  margin: 18px 0 0;
}
.course-butterfly input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: #275e53;
  margin: 0;
}
.course-explorer figcaption {
  padding: 18px 26px 26px;
  font-size: 0.72rem;
  line-height: 1.65;
  color: #627769;
}
@media (max-width: 600px) {
  .course-intro {
    padding: 22px 16px 0;
  }
  .course-explorer h3 {
    font-size: 24px;
  }
  .detail-body .course-intro p,
  .detail-body .course-readout p {
    font-size: 15px;
  }
  .course-readout {
    margin: 0 12px;
    padding: 16px;
    min-height: 204px;
  }
  .course-readout-heading strong {
    font-size: 20px;
  }
  .course-readout-heading span,
  .detail-body .course-readout .course-side {
    font-size: 13px;
  }
  .course-controls {
    padding: 18px 12px 6px;
  }
  .course-top-controls {
    padding: 16px 12px 0;
    gap: 3px 8px;
  }
  .course-picker {
    font-size: 13px;
  }
  .course-explorer button {
    font-size: 13px;
    padding: 8px 10px;
  }
  .course-slider-label,
  .course-butterfly {
    font-size: 14px;
  }
  .course-slider-label span {
    font-size: 12px;
  }
  .course-explorer figcaption {
    padding: 16px;
    font-size: 13px;
  }
  .course-stage-key {
    font-size: 12px;
    margin-top: -4px;
  }
}
@media print {
  .course-controls,
  .course-top-controls {
    display: none;
  }
  .course-explorer {
    box-shadow: none;
    break-inside: avoid;
  }
}
