.legal-footer {
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  color: #6b6459;
  background: transparent;
  font-family: 'Pretendard Variable', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.legal-footer__copy {
  margin: 0;
}

.legal-footer__links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 3px;
}

.legal-footer__links a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.legal-footer__links a:hover {
  text-decoration: underline;
}

.legal-footer__links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 8px;
}

.legal-footer--embedded {
  padding-inline: 0;
  padding-bottom: 0;
}

.legal-footer--dark {
  color: rgba(249, 246, 240, 0.76);
}

.legal-footer--map {
  position: fixed;
  z-index: 110;
  right: 8px;
  bottom: max(4px, env(safe-area-inset-bottom, 0px));
  left: 8px;
  width: fit-content;
  max-width: calc(100% - 16px);
  margin-inline: auto;
  padding: 2px 9px;
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 1px 3px rgba(68, 61, 51, 0.12);
  font-size: 0.68rem;
  line-height: 1.35;
}

.legal-footer--map .legal-footer__links {
  margin-top: 2px;
}

@media (max-width: 420px) {
  .legal-footer__links {
    gap: 0;
  }

}
