/*! bw-appfeel.css — 휴대폰·앱(WebView)에서 '앱처럼' (2026-11-17)
 *  1) 새 알림 안내(.bw-nl-toast) — 화면 위(머리글 바로 아래), 글자 15px, 누르는 곳 44px
 *  2) 누르는 느낌: 단추·아래 막대·메뉴 칸을 누르는 동안 살짝 흐려진다(손가락으로 쓰는 기기만)
 *  3) 아래 막대·머리글 단추를 길게 눌러도 글자 선택·링크 팝업이 뜨지 않게(앱처럼). 본문 글자는 그대로 선택된다
 */

/* 1) 새 알림 안내 — 앱 알림처럼 화면 위(머리글 바로 아래)에서 내려온다. 아래쪽은 아래 막대·쿠키 띠·알림 받기 안내·도움 단추가 모여 있어 피한다 */
.bw-nl-toast {
  position: fixed;
  left: 12px;
  right: 12px;
  top: calc(var(--bw-header-h, 60px) + env(safe-area-inset-top, 0px) + 8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  padding: 10px 8px 10px 14px;
  background: #fff;
  color: #1F2430;
  border: 1px solid #E6E3DA;
  border-left: 4px solid #C2410C;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(11, 14, 20, .18);
  font-size: 15px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.bw-nl-toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1024px) { .bw-nl-toast { left: auto; right: 24px; width: 400px; margin: 0; } }
.bw-nl-toast__ico { flex: 0 0 auto; width: 22px; height: 22px; color: #C2410C; }
.bw-nl-toast__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.bw-nl-toast__txt b { font-weight: 800; font-size: 15px; }
.bw-nl-toast__txt span { font-size: 14px; color: #4A5160; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-nl-toast__go {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; min-height: 44px; padding: 0 14px;
  border-radius: 10px;
  background: #C2410C; color: #fff !important;
  font-size: 15px; font-weight: 800; text-decoration: none !important;
}
.bw-nl-toast__x {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 0; border-radius: 10px;
  background: transparent; color: #4A5160;
  font-size: 18px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .bw-nl-toast { transition: none; transform: none; } }

/* 2) 누르는 느낌 (손가락 기기) */
@media (hover: none) and (pointer: coarse) {
  html body .bw-tabbar a:active,
  html body .bw-hdr__btn:active,
  html body .bw-dr-tile:active,
  html body .bw-nl-toast__go:active,
  html body .bw-nl-toast__x:active { opacity: .6; transition: opacity 0s; }
}

/* 3) 길게 눌러도 글자 선택 안 되게 (아래 막대·머리글 단추만) */
html body .bw-tabbar,
html body .bw-hdr__btn,
html body .bw-hdr__burger {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
