/* 모든 청첩장 디자인 공통: 샘플·미리보기 화면 위에 붙는 안내 줄 (사이트 색을 따른다) */
.sample-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 16px;
  background: #ffffff;
  border-bottom: 1px solid #e4e2dc;
  color: #17181c;
  font: 600 14px/1.4 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  letter-spacing: -.01em;
}
.sample-bar a { color: #17181c; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.sample-bar form { margin: 0; }
.sample-bar button,
.sample-bar .sample-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #17181c;
  background: #17181c;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.sample-bar .sample-bar__btn--ghost { background: #ffffff; border-color: #e4e2dc; color: #17181c; }
.sample-bar__group { display: flex; gap: 8px; align-items: center; }

/* 배경음악 버튼 (모든 디자인 공통). 색은 디자인 CSS 에서 --music-* 로 바꿀 수 있다 */
.music-btn {
  position: fixed; top: 14px; right: max(14px, calc(50% - 201px)); z-index: 30;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--music-line, rgba(0, 0, 0, 0.12)); background: var(--music-bg, rgba(255, 255, 255, 0.86)); color: var(--music-ink, #2b2723);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.18s ease;
}
.music-btn:active { transform: scale(0.94); }
.music-btn__on { display: none; }
.music-btn[aria-pressed='true'] .music-btn__on { display: block; }
.music-btn[aria-pressed='true'] .music-btn__off { display: none; }
@keyframes music-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) { .music-btn[aria-pressed='true'] .music-btn__on { animation: music-spin 6s linear infinite; } }
.footer__share { margin-top: 18px; padding: 0 22px; }
