/* SNS 공유 버튼 — 접두어 mbs- 로 기존 화면 스타일과 겹치지 않게 함 */
.mbs { margin: 16px auto; text-align: center; }
.mbs--bottom { margin: 32px auto 24px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.mbs-head { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: #374151; }
.mbs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mbs-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0; border: 0; background: none; cursor: pointer;
  color: #4b5563; font: inherit; font-size: 12px; line-height: 1.2; text-decoration: none;
}
.mbs-btn:hover, .mbs-btn:focus { color: #111827; text-decoration: none; }
.mbs-btn:focus-visible .mbs-ico { outline: 3px solid #2563eb; outline-offset: 2px; }
.mbs-btn[hidden] { display: none; }
.mbs-ico {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mbs-btn:hover .mbs-ico { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.mbs-kakao .mbs-ico    { background: #FEE500; color: #191919; }
.mbs-threads .mbs-ico  { background: #000; color: #fff; }
.mbs-facebook .mbs-ico { background: #1877F2; color: #fff; }
.mbs-x .mbs-ico        { background: #000; color: #fff; }
.mbs-naver .mbs-ico    { background: #03C75A; color: #fff; }
.mbs-copy .mbs-ico     { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.mbs-native .mbs-ico   { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.mbs--top .mbs-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mbs--top .mbs-row { gap: 10px; }
.mbs--top .mbs-ico { width: 38px; height: 38px; }
.mbs-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 9999;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px;
  background: #111827; color: #fff; font-size: 14px; line-height: 1.4;
  transition: opacity .2s ease, transform .2s ease;
}
.mbs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .mbs-toast { bottom: 110px; } }
@media (prefers-reduced-motion: reduce) {
  .mbs-ico, .mbs-toast { transition: none; }
}
