.park-map-layout {
  display: grid;
  grid-template-columns: minmax(390px, 40%) minmax(0, 60%);
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 128, 160, .10);
}

.pg-cluster {
  width: 48px;
  height: 48px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #00856f;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 80, 65, .28);
}

.pg-course-pin {
  position: relative;
  display: grid;
  width: 38px;
  height: 57px;
  padding: 0;
  border: 0;
  appearance: none;
  place-items: start center;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 5px 6px rgba(0, 72, 58, .24));
  transition: transform 180ms ease-out, filter 180ms ease-out;
}

.pg-course-pin__halo {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(220, 255, 244, .72);
  opacity: .78;
  transform: translateX(-50%) scale(.86);
  transition: transform 180ms ease-out, opacity 180ms ease-out, background 180ms ease-out;
}

.pg-course-pin__head {
  position: relative;
  z-index: 1;
  display: block;
  width: 38px;
  height: 57px;
}

.pg-course-pin__head img {
  display: block;
  width: 38px;
  height: 57px;
  object-fit: contain;
}

.pg-course-pin__partner {
  position: absolute;
  z-index: 2;
  top: -3px;
  right: -7px;
  min-width: 26px;
  padding: 2px 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ffd66b;
  color: #6d5200;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.pg-course-pin:hover {
  z-index: 3;
  filter: drop-shadow(0 7px 9px rgba(0, 72, 58, .3));
  transform: translateY(-2px) scale(1.06);
}

.pg-course-pin.is-selected {
  z-index: 3;
  filter: drop-shadow(0 7px 9px rgba(0, 61, 44, .38));
  transform: translateY(-2px);
}

.pg-course-pin.is-selected .pg-course-pin__halo {
  background: rgba(7, 91, 69, .34);
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
}

.park-map-detail[hidden] {
  display: none !important;
}

.pg-map-popup {
  width: min(240px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid #cfe6e9;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  color: #12333a;
  box-shadow: 0 16px 36px rgba(0, 72, 58, .2);
  font-family: "Wanted Sans", "Noto Sans KR", sans-serif;
  text-align: left;
}

.pg-map-popup__eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dcfff4;
  color: #075a4e;
  font-size: 11px;
  font-weight: 850;
}

.pg-map-popup strong {
  display: block;
  color: #075a4e;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.25;
  word-break: keep-all;
}

.pg-map-popup p {
  margin: 6px 0 10px;
  color: #5f7480;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.45;
  word-break: keep-all;
}

.pg-map-popup__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pg-map-popup__facts span {
  padding: 5px 8px;
  border-radius: 9px;
  background: #f3fbff;
  color: #1881a5;
  font-size: 12px;
  font-weight: 760;
}

.pg-map-popup small {
  display: block;
  margin-top: 10px;
  color: #7b8d94;
  font-size: 11px;
  font-weight: 650;
}

.park-map-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(220, 255, 244, .72), transparent 36%),
    linear-gradient(145deg, #fff 42%, #f5fcff);
}

.park-map-picker {
  padding: 16px;
  border: 1px solid #d8ecf0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 26px rgba(0, 128, 160, .06);
}

.pg-picker-kicker {
  display: block;
  margin-bottom: 4px;
  color: #00856f;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}

.park-map-picker .field-label {
  display: block;
  margin-bottom: 10px;
  color: #12333a;
  font-size: 17px;
  font-weight: 820;
}

.pg-select-shell {
  position: relative;
}

.pg-select-shell::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #075a4e;
  border-bottom: 2px solid #075a4e;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.park-course-select {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 48px 0 16px;
  border: 1px solid #cfe6e9;
  border-radius: 15px;
  appearance: none;
  background: #fbfeff;
  color: #12333a;
  font: inherit;
  font-size: 16px;
  font-weight: 780;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease-out;
}

.park-course-select:hover {
  border-color: #79cdbd;
  background: #fff;
}

.park-course-select:focus-visible,
.park-filter-button:focus-visible,
.pg-detail-toggle:focus-visible,
.pg-action:focus-visible {
  outline: 3px solid rgba(0, 169, 244, .3);
  outline-offset: 3px;
}

.park-course-detail {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.pg-course-hero {
  padding: 2px 2px 0;
}

.pg-course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.pg-badge,
.pg-region-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 820;
}

.pg-badge {
  background: #dcfff4;
  color: #075a4e;
}

.pg-region-badge {
  border: 1px solid #d8ecf0;
  background: #f3fbff;
  color: #5f7480;
}

.pg-course-heading {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.pg-course-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #dcfff4, #e8f9ff);
  box-shadow: inset 0 0 0 1px rgba(0, 133, 111, .08);
}

.pg-course-mark svg {
  width: 31px;
  height: 31px;
  fill: #00856f;
}

.pg-course-mark circle {
  fill: #fff;
}

.park-map-detail h3 {
  margin: 0;
  color: #075a4e;
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 850;
  line-height: 1.22;
  word-break: keep-all;
}

.pg-address {
  margin: 7px 0 0;
  color: #5f7480;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.5;
  word-break: keep-all;
}

.pg-highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(105px, .55fr);
  gap: 10px;
  margin-top: 18px;
}

.pg-highlight {
  min-width: 0;
  padding: 14px 15px;
  border-radius: 17px;
}

.pg-highlight span,
.pg-service-item span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .01em;
}

.pg-highlight strong {
  display: block;
  color: #12333a;
  font-size: 16px;
  font-weight: 820;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pg-highlight--operator {
  border: 1px solid #d8ecf0;
  background: #f3fbff;
}

.pg-highlight--operator span {
  color: #1881a5;
}

.pg-highlight--holes {
  border: 1px solid #f6e4a6;
  background: #fff9d7;
  text-align: center;
}

.pg-highlight--holes span {
  color: #8a6700;
}

.pg-highlight--holes strong {
  color: #6d5200;
  font-size: 23px;
}

.pg-highlight--holes small {
  margin-left: 2px;
  font-size: 14px;
  font-weight: 780;
}

.pg-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #e0eff1;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
}

.pg-service-item {
  min-width: 0;
  padding: 10px 11px;
  border-radius: 12px;
  background: #f8fcfd;
}

.pg-service-item--wide {
  grid-column: 1 / -1;
}

.pg-service-item span {
  color: #00856f;
}

.pg-service-item strong {
  display: block;
  color: #12333a;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pg-data-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 2px 12px;
  color: #5f7480;
  font-size: 13px;
  font-weight: 650;
}

.pg-data-note span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #dcfff4;
  color: #00856f;
  font-size: 12px;
  font-weight: 900;
}

.pg-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.pg-action {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00856f, #00a58a);
  color: #fff;
  font-weight: 820;
  box-shadow: 0 14px 30px rgba(0, 133, 111, .20);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.pg-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(0, 133, 111, .25);
}

.pg-action small {
  display: block;
  margin-bottom: 1px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 700;
}

.pg-action-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .17);
}

.pg-action-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.pg-action.secondary {
  min-height: 52px;
  background: #fff;
  color: #075a4e;
  border: 1px solid #cfe6e9;
  box-shadow: none;
}

.pg-detail-extra[hidden] {
  display: none;
}

.park-map-canvas {
  position: relative;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  background: #e9f5ef;
}

.park-map-canvas__map {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 620px;
  overflow: hidden;
  background: #e9f5ef;
}

.park-map-canvas__map.is-error {
  background: linear-gradient(145deg, #f3fbff, #e9f5ef);
}

.park-map-guide {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  display: inline-flex;
  max-width: calc(100% - 24px);
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #075a4e;
  box-shadow: 0 8px 20px rgba(0, 72, 58, .13);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.park-map-guide span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #dcfff4;
  color: #00856f;
  font-size: 15px;
}

.park-map-status {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(320px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid #d8ecf0;
  border-radius: 18px;
  background: #fff;
  color: #12333a;
  box-shadow: 0 18px 42px rgba(0, 128, 160, .10);
  text-align: center;
  transform: translate(-50%, -50%);
}

.park-filter-button {
  min-height: 46px;
}

.pg-empty {
  display: grid;
  gap: 8px;
  margin: auto;
  color: #5f7480;
  text-align: center;
}

.pg-empty strong {
  color: #075a4e;
  font-size: 22px;
}

@media (max-width: 1120px) {
  .park-map-layout {
    grid-template-columns: minmax(365px, 43%) minmax(0, 57%);
  }

  .park-map-detail {
    padding: 18px;
  }

  .pg-highlight-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(96px, .7fr);
  }
}

@media (max-width: 1023px) {
  .mobile-park-map {
    position: relative;
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #d8ecf0;
    border-radius: 24px;
    background:
      radial-gradient(circle at 100% 0, rgba(255, 222, 170, .48), transparent 34%),
      linear-gradient(155deg, #fff9e8 18%, #f0fbf7 100%);
    box-shadow: 0 16px 38px rgba(0, 56, 32, .10);
  }

  .mobile-park-map__visual {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 18px;
    background: #0f5132;
    isolation: isolate;
  }

  .mobile-park-map__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 69%;
    filter: brightness(1.06) saturate(1.04);
  }

  .mobile-park-map__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 22%, rgba(0, 33, 17, .16) 48%, rgba(0, 33, 17, .88) 100%);
  }

  .mobile-park-map__copy {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    left: 18px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 24, 12, .42);
  }

  .mobile-park-map__copy span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(255, 253, 244, .88);
    color: #075a4e;
    font-size: 13px;
    font-weight: 800;
    text-shadow: none;
  }

  .mobile-park-map__copy h2 {
    margin: 10px 0 4px;
    color: #fff;
    font-size: 26px;
    font-weight: 850;
    line-height: 1.22;
    letter-spacing: -.03em;
    word-break: keep-all;
  }

  .mobile-park-map__copy p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    word-break: keep-all;
  }

  .mobile-park-map__filters {
    display: flex;
    gap: 8px;
    min-width: 0;
    margin: 0 -10px;
    padding: 2px 10px 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .mobile-park-map__filters::-webkit-scrollbar {
    display: none;
  }

  .mobile-park-map .park-filter-button {
    flex: 0 0 auto;
    min-width: 58px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d8ecf0;
    border-radius: 999px;
    background: #fff;
    color: #405047;
    font: inherit;
    font-size: 15px;
    font-weight: 780;
    white-space: nowrap;
    scroll-snap-align: start;
    box-shadow: 0 5px 14px rgba(0, 56, 32, .05);
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .mobile-park-map .park-filter-button.is-active {
    border-color: #075a4e;
    background: #075a4e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 56, 32, .18);
  }

  .mobile-park-map .park-filter-button:active {
    transform: scale(.97);
  }

  .mobile-park-map .park-map-layout {
    display: flex;
    min-height: 0;
    flex-direction: column;
    border: 1px solid #d8ecf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
  }

  .mobile-park-map .park-map-detail {
    gap: 14px;
    min-height: 160px;
    padding: 14px;
    border-top: 1px solid #d8ecf0;
    background:
      radial-gradient(circle at 0 0, rgba(221, 239, 227, .86), transparent 38%),
      #fff9e8;
  }

  .mobile-park-map .pg-course-hero--compact {
    padding-top: 0;
  }

  .mobile-park-map .pg-mobile-summary {
    display: grid;
    grid-template-columns: minmax(96px, .75fr) minmax(0, 1.25fr);
    gap: 10px;
    margin-top: 16px;
  }

  .mobile-park-map .pg-mobile-summary__item {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #d8ecf0;
    border-radius: 16px;
    background: #f3fbff;
  }

  .mobile-park-map .pg-mobile-summary__item--holes {
    border-color: #f6e4a6;
    background: #fff9d7;
    text-align: center;
  }

  .mobile-park-map .pg-mobile-summary__item span {
    display: block;
    margin-bottom: 5px;
    color: #00856f;
    font-size: 12px;
    font-weight: 820;
  }

  .mobile-park-map .pg-mobile-summary__item--holes span {
    color: #8a6700;
  }

  .mobile-park-map .pg-mobile-summary__item strong {
    display: block;
    color: #12333a;
    font-size: 15px;
    font-weight: 820;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .mobile-park-map .pg-mobile-summary__item--holes strong {
    color: #6d5200;
    font-size: 22px;
  }

  .mobile-park-map .pg-mobile-summary__item--holes small {
    margin-left: 2px;
    font-size: 13px;
  }

  .mobile-park-map .pg-detail-toggle {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    border: 1px solid #b9ded5;
    border-radius: 15px;
    background: #fff;
    color: #075a4e;
    font: inherit;
    font-size: 15px;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(7, 90, 78, .07);
  }

  .mobile-park-map .pg-detail-toggle__icon {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease-out;
  }

  .mobile-park-map .pg-detail-toggle[aria-expanded="true"] .pg-detail-toggle__icon {
    transform: translateY(2px) rotate(225deg);
  }

  .mobile-park-map .pg-detail-extra {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
  }

  .mobile-park-map .pg-detail-extra[hidden] {
    display: none;
  }

  .mobile-park-map .pg-detail-extra .pg-service-grid {
    margin-top: 10px;
  }

  .mobile-park-map .park-map-picker {
    padding: 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .mobile-park-map .park-map-picker .field-label {
    font-size: 16px;
  }

  .mobile-park-map .park-course-select {
    min-height: 56px;
    border-color: #c9d9cf;
    background: #fff;
    color: #12333a;
  }

  .mobile-park-map .park-course-detail {
    padding: 4px 1px 0;
  }

  .mobile-park-map .park-map-detail h3 {
    color: #075a4e;
    font-size: 24px;
  }

  .mobile-park-map .pg-course-heading {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .mobile-park-map .pg-course-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .mobile-park-map .pg-highlight-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(92px, .65fr);
  }

  .mobile-park-map .pg-service-grid {
    border-color: #d8ecf0;
  }

  .mobile-park-map .pg-action {
    min-width: 44px;
    min-height: 58px;
    border-radius: 15px;
    background: linear-gradient(135deg, #075a4e, #00a58a);
    box-shadow: 0 12px 26px rgba(0, 56, 32, .20);
  }

  .mobile-park-map .pg-action.secondary {
    border: 1px solid #c9d9cf;
    background: #fff;
    color: #075a4e;
    box-shadow: none;
  }

  .mobile-park-map .park-map-canvas,
  .mobile-park-map .park-map-canvas__map {
    min-height: 360px;
  }

  .mobile-park-map .park-map-canvas {
    border-top: 1px solid #d8ecf0;
    background: #e9f5ef;
  }

  .mobile-park-map .park-map-canvas__map {
    height: 360px !important;
    scroll-margin-top: 84px;
    background: #e9f5ef;
  }

  .mobile-park-map .park-map-status {
    width: calc(100% - 28px);
    padding: 18px 16px;
  }

  .mobile-park-map .pg-empty {
    min-height: 118px;
    align-content: center;
  }

  .mobile-park-map .pg-empty strong {
    font-size: 19px;
  }
}

@media (max-width: 359px) {
  .mobile-park-map {
    padding: 8px;
    border-radius: 20px;
  }

  .mobile-park-map__visual {
    height: 230px;
  }

  .mobile-park-map__copy {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .mobile-park-map__copy h2 {
    font-size: 23px;
  }

  .mobile-park-map .park-map-detail {
    padding: 12px;
  }

  .mobile-park-map .pg-highlight-grid,
  .mobile-park-map .pg-service-grid {
    grid-template-columns: 1fr;
  }

  .mobile-park-map .pg-service-item--wide {
    grid-column: auto;
  }

  .park-map-guide {
    right: 9px;
    left: 9px;
    justify-content: center;
    max-width: none;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .park-course-select,
  .pg-action,
  .mobile-park-map .park-filter-button {
    transition: none;
  }

  .pg-course-pin,
  .pg-course-pin__halo {
    transition: none;
  }

  .pg-action:hover {
    transform: none;
  }

  .pg-detail-toggle,
  .pg-detail-toggle__icon {
    transition: none;
  }
}
