html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.cl {
  position: relative;
  box-sizing: border-box;
  width: min(408px, 88vw);
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 8px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #fff7e6;
}

.cl__map {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: clamp(104px, 34vw, 160px);
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  background: radial-gradient(circle at 34% 86%, #c9e0bd 0 30px, transparent 30px), linear-gradient(96deg, transparent 0 62%, #bcd9ea 62% 69%, transparent 69%), repeating-linear-gradient(90deg, #fffdf7 0 7px, transparent 7px 27px), repeating-linear-gradient(0deg, #fffdf7 0 7px, transparent 7px 29px), #efe9dc;
}

.cl__map::before, .cl__map::after {
  content: "";
  position: absolute;
  border-radius: 4px;
  background: #e2dac9;
  pointer-events: none;
}

.cl__map::before {
  left: 10%;
  top: 14%;
  width: 56px;
  height: 28px;
}

.cl__map::after {
  left: 44%;
  top: 20%;
  width: 40px;
  height: 40px;
}

.cl__pin {
  position: absolute;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #17141a;
  cursor: pointer;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) scale(1);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cl__pin svg {
  display: block;
}

.cl__pin:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

.cl__pin.is-on, .cl__pin:hover {
  color: #2f6df6;
  transform: translate(-50%, -100%) scale(1.42);
}

.cl__ring {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 34px;
  height: 34px;
  border: 2px solid #2f6df6;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  pointer-events: none;
}

.cl__pin.is-on .cl__ring, .cl__pin:hover .cl__ring {
  animation-name: cl-ring-pulse;
  animation-duration: 600ms;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

@keyframes cl-ring-pulse {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.55);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.9);
  }
}
.cl__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  align-content: start;
}

.cl__card {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #17141a;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1), background 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cl__card:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.cl__card.is-on, .cl__card:hover {
  border-color: #fff7e6;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cl__ic {
  display: inline-flex;
  flex: 0 0 auto;
  color: #17141a;
}

.cl__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cl__name {
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cl__dist {
  font-size: 9px;
  line-height: 12px;
  font-weight: 600;
  color: #17141a;
}

.cl__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cl.is-demo .cl__card, .cl.is-demo .cl__pin {
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

.cl.is-demo .cl__card.cl--a {
  animation-name: cl-card-a;
}

.cl.is-demo .cl__card.cl--b {
  animation-name: cl-card-b;
}

.cl.is-demo .cl__card.cl--c {
  animation-name: cl-card-c;
}

.cl.is-demo .cl__pin.cl--a {
  animation-name: cl-pin-a;
}

.cl.is-demo .cl__pin.cl--b {
  animation-name: cl-pin-b;
}

.cl.is-demo .cl__pin.cl--c {
  animation-name: cl-pin-c;
}

.cl.is-demo .cl__ring {
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.cl.is-demo .cl--a .cl__ring {
  animation-name: cl-ring-a;
}

.cl.is-demo .cl--b .cl__ring {
  animation-name: cl-ring-b;
}

.cl.is-demo .cl--c .cl__ring {
  animation-name: cl-ring-c;
}

@keyframes cl-card-a {
  0% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  4% {
    border-color: #fff7e6;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  34% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
}
@keyframes cl-card-b {
  0% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  34% {
    border-color: #fff7e6;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  64% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
}
@keyframes cl-card-c {
  0% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  64% {
    border-color: #fff7e6;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  88% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
}
@keyframes cl-pin-a {
  0% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
  4% {
    color: #2f6df6;
    transform: translate(-50%, -100%) scale(1.42);
  }
  34% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
  100% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
}
@keyframes cl-pin-b {
  0% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
  34% {
    color: #2f6df6;
    transform: translate(-50%, -100%) scale(1.42);
  }
  64% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
  100% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
}
@keyframes cl-pin-c {
  0% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
  64% {
    color: #2f6df6;
    transform: translate(-50%, -100%) scale(1.42);
  }
  88% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
  100% {
    color: #17141a;
    transform: translate(-50%, -100%) scale(1);
  }
}
@keyframes cl-ring-a {
  0%, 4% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  9% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.55);
  }
  30% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.9);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
}
@keyframes cl-ring-b {
  0%, 34% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  39% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.55);
  }
  60% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.9);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
}
@keyframes cl-ring-c {
  0%, 64% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  69% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.55);
  }
  88% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.9);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
}
@media (max-width: 400px) {
  .cl {
    grid-template-columns: 1fr;
  }
  .cl__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .cl__card {
    height: 36px;
    gap: 4px;
    padding: 0 4px;
  }
  .cl__ic {
    display: none;
  }
  .cl__name {
    font-size: 9px;
    line-height: 12px;
  }
  .cl__dist {
    font-size: 8px;
    line-height: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl.is-demo .cl__card,
  .cl.is-demo .cl__pin,
  .cl.is-demo .cl__ring,
  .cl__pin.is-on .cl__ring,
  .cl__pin:hover .cl__ring {
    animation: none !important;
  }
  .cl__card, .cl__pin {
    transition: none;
  }
}
