/* 이미지 로드 페이드인 (image-resolver.js가 data-loaded를 붙임) */
img[data-resolve] {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

img[data-resolve][data-loaded="true"] {
  opacity: 1;
}

/* 포커스 표시 (키보드 접근성) */
:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
}

::selection {
  background: var(--warm-soft);
  color: var(--ink);
}

/* 섹션 사이 장식 디바이더 (심플한 다이아몬드 오너먼트) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--line);
  margin: 0 auto;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--line);
}

.ornament__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm-soft);
  transform: rotate(45deg);
}

/* 계좌 복사 버튼 눌림 피드백 */
.copy-btn.is-copied {
  background: var(--cool-deep);
  color: var(--white);
  border-color: var(--cool-deep);
}

/* 스크롤바 (웹킷 브라우저) - 은은하게 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

/* prefers-reduced-motion: 히어로 패럴랙스/스크롤 점 애니메이션 정지 */
@media (prefers-reduced-motion: reduce) {
  .hero__media img {
    transform: none !important;
  }
  .hero__scroll::after {
    animation: none;
  }
  .loader__mark {
    animation: none;
  }
}

.map-frame__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.map-frame__empty code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
}

/* 다크 배경 위 아이콘 버튼 공통 */
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
