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

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

.vn {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  width: min(420px, 94vw);
  align-items: stretch;
}

@media (max-width: 340px) {
  .vn {
    grid-template-columns: 1fr;
  }
  .vn__map {
    display: none;
  }
  .vn__name {
    margin-bottom: 4px;
    font-size: 12px;
  }
  .vn__addr {
    margin-bottom: 8px;
    font-size: 10px;
  }
  .vn__tabs {
    margin-bottom: 8px;
  }
  .vn__tab {
    padding: 4px 0;
    font-size: 10px;
  }
  .vn__panel {
    font-size: 10px;
  }
}
.vn__name {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: clamp(12px, 3.4vw, 13px);
  line-height: 1.3;
  font-family: inherit;
  color: #17141a;
}

.vn__addr {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.6);
}

.vn__tabs {
  position: relative;
  display: flex;
  border-bottom: 1px solid rgba(23, 20, 26, 0.12);
  margin-bottom: 12px;
}

.vn__tab {
  flex: 1 1 0;
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
  -webkit-tap-highlight-color: transparent;
}

.vn__tab[aria-selected=true] {
  color: #17141a;
}

.vn__ind {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 33.3333333333%;
  height: 2px;
  background: #2f6df6;
  transform: translateX(0%);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vn__panels {
  position: relative;
  display: grid;
  min-height: 34px;
}

.vn__panel {
  grid-area: 1/1;
  margin: 0;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.75);
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vn__panel--0 {
  opacity: 1;
}

.vn__map {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(rgba(23, 20, 26, 0.08) 1px, transparent 1px) 0 0/20px 20px, linear-gradient(90deg, rgba(23, 20, 26, 0.08) 1px, transparent 1px) 0 0/20px 20px, #fff7e6;
  min-height: 120px;
}

.vn__pin {
  position: absolute;
  left: 46%;
  top: 42%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2f6df6;
  box-shadow: 0 0 0 0 rgba(47, 109, 246, 0.5);
  animation: vn-ping 2s ease-out infinite;
}

@keyframes vn-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 109, 246, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(47, 109, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(47, 109, 246, 0);
  }
}
.vn.is-demo .vn__ind {
  animation: vn-loop 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.vn.is-demo .vn__panel--0 {
  animation: vn-panel-0 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.vn.is-demo .vn__panel--1 {
  animation: vn-panel-1 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.vn.is-demo .vn__panel--2 {
  animation: vn-panel-2 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes vn-loop {
  0%, 15% {
    transform: translateX(0%);
  }
  33%, 48% {
    transform: translateX(100%);
  }
  66%, 81% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes vn-panel-0 {
  0%, 15% {
    opacity: 1;
  }
  30%, 100% {
    opacity: 0;
  }
}
@keyframes vn-panel-1 {
  0%, 30% {
    opacity: 0;
  }
  45%, 63% {
    opacity: 1;
  }
  78%, 100% {
    opacity: 0;
  }
}
@keyframes vn-panel-2 {
  0%, 63% {
    opacity: 0;
  }
  78%, 96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vn__ind, .vn__panel {
    transition: none;
  }
  .vn__pin {
    animation: none;
  }
  .vn.is-demo .vn__ind,
  .vn.is-demo .vn__panel--0,
  .vn.is-demo .vn__panel--1,
  .vn.is-demo .vn__panel--2 {
    animation: none !important;
  }
}
