:root {
  --build-footer-height: 32px;
}

.build-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--build-footer-height);
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(23, 32, 25, 0.96);
  color: #dfe5df;
  font-family: Inter, Pretendard, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.build-footer-contact {
  color: #c9ffdf;
  text-decoration: none;
}

.build-footer-contact:hover,
.build-footer-contact:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

/* 일반 흐름의 푸터가 짧은 화면에서도 자연스럽게 하단에 놓이도록 공간을 계산한다. */
.app {
  min-height: calc(100vh - var(--build-footer-height));
}

.auth-gate {
  min-height: calc(100vh - 77px - var(--build-footer-height));
}

@media (max-width: 820px) {
  .auth-gate {
    min-height: calc(100vh - 66px - var(--build-footer-height));
  }
}

@media (min-width: 1181px) {
  body.place-action-route > .app {
    height: calc(100dvh - var(--build-footer-height));
  }
}

@media (max-width: 480px) {
  .build-footer {
    gap: 5px;
    padding: 0 8px;
    font-size: 10px;
  }
}
