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);
}

.fc {
  --drop: -26px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  width: clamp(288px, 94vw, 432px);
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.fc__map {
  position: relative;
  flex: 0 0 132px;
  height: 132px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-color: #fbf6ee;
  background-image: repeating-linear-gradient(0deg, rgba(87, 81, 98, 0.2) 0 6px, transparent 6px 72px), repeating-linear-gradient(90deg, rgba(87, 81, 98, 0.16) 0 2px, transparent 2px 36px), repeating-linear-gradient(0deg, rgba(87, 81, 98, 0.16) 0 2px, transparent 2px 36px);
  background-size: 72px 72px, 36px 36px, 36px 36px;
}

.fc__map:focus-visible {
  outline: 3px solid #479089;
  outline-offset: 2px;
}

.fc__pin {
  position: absolute;
  left: calc(50% - 15px);
  top: 30px;
  display: block;
  width: 30px;
  height: 30px;
  color: #ff4d1f;
}

.fc__pin svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fc__ripple {
  position: absolute;
  left: calc(50% - 18px);
  top: 42px;
  display: block;
  width: 36px;
  height: 36px;
  border: 2px solid #ff4d1f;
  border-radius: 50%;
  opacity: 0.35;
}

.fc__side {
  flex: 1 1 auto;
  min-width: 0;
}

.fc__title {
  margin: 0 0 8px;
  color: #1b1a20;
  font-weight: 800;
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.2;
  font-family: inherit;
}

.fc__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
}

.fc__card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: #fbf6ee;
  text-decoration: none;
}

.fc__card:focus-visible {
  outline: 3px solid #479089;
  outline-offset: 2px;
}

.fc__ic {
  display: flex;
  flex: 0 0 auto;
  color: #479089;
}

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

.fc__k {
  color: #575162;
  font-weight: 600;
  font-size: clamp(9px, 2.2vw, 10px);
  line-height: 1.2;
}

.fc__v {
  color: #1b1a20;
  font-weight: 700;
  font-size: clamp(11px, 2.6vw, 12px);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc.is-demo .fc__pin,
.fc__map.is-drop .fc__pin {
  animation-name: pinDrop;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-fill-mode: backwards;
}

.fc.is-demo .fc__ripple,
.fc__map.is-drop .fc__ripple {
  animation-name: pinRipple;
  animation-timing-function: ease-out;
  animation-fill-mode: backwards;
}

.fc.is-demo .fc__pin, .fc.is-demo .fc__ripple {
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.fc__map.is-drop .fc__pin, .fc__map.is-drop .fc__ripple {
  animation-duration: 900ms;
  animation-iteration-count: 1;
}

.fc.is-demo .fc__card {
  animation-name: cardIn;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.fc.is-demo .fc__card:nth-child(2) {
  animation-delay: 220ms;
}

.fc.is-demo .fc__card:nth-child(3) {
  animation-delay: 440ms;
}

@keyframes pinDrop {
  0% {
    transform: translateY(var(--drop));
    opacity: 0;
  }
  6% {
    transform: translateY(var(--drop));
    opacity: 1;
  }
  30% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-9px);
  }
  52%, 100% {
    transform: translateY(0);
  }
}
@keyframes pinRipple {
  0%, 28% {
    transform: scale(0.3);
    opacity: 0;
  }
  34% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  76%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
@keyframes cardIn {
  0%, 6% {
    transform: translateY(10px);
    clip-path: inset(0 100% 0 0);
  }
  26% {
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
  86% {
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
  99%, 100% {
    transform: translateY(0);
    clip-path: inset(0 0 0 100%);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .fc {
    --drop: -14px;
    width: 276px;
    gap: 8px;
    padding: 8px;
  }
  .fc__map {
    flex: 0 0 84px;
    height: 84px;
  }
  .fc__pin {
    left: calc(50% - 10px);
    top: 18px;
    width: 20px;
    height: 20px;
  }
  .fc__ripple {
    left: calc(50% - 12px);
    top: 26px;
    width: 24px;
    height: 24px;
  }
  .fc__title {
    margin: 0 0 4px;
    font-size: 12px;
  }
  .fc__cards {
    gap: 4px;
  }
  .fc__card {
    gap: 4px;
    padding: 4px 8px;
  }
  .fc__ic svg {
    width: 14px;
    height: 14px;
  }
  .fc__k {
    font-size: 9px;
  }
  .fc__v {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fc__pin, .fc__ripple, .fc__card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .fc__ripple {
    opacity: 0.35 !important;
  }
}
