/**
 * DS4K 로그인 유도 모달 스타일
 */
.ds4k-nudge-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ds4k-nudge-overlay[hidden] {
  display: none !important;
}

body.ds4k-nudge-open {
  overflow: hidden;
}

.ds4k-nudge-dialog {
  position: relative;
  width: min(100%, 400px);
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  text-align: center;
}

.ds4k-nudge-x {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.ds4k-nudge-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ds4k-nudge-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.4;
  word-break: keep-all;
}

.ds4k-nudge-desc {
  margin: 10px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.55;
  word-break: keep-all;
}

.ds4k-nudge-stats {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ds4k-nudge-stats li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ds4k-nudge-stats strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0369a1;
}

.ds4k-nudge-stats span {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
}

.ds4k-nudge-providers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds4k-nudge-btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s, filter 0.15s;
}
.ds4k-nudge-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.ds4k-nudge-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ds4k-nudge-btn-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.ds4k-nudge-kakao {
  background: #fee500;
  color: #191600;
  box-shadow: 0 3px 0 #c6b400;
}

.ds4k-nudge-naver {
  background: #03c75a;
  color: #fff;
  box-shadow: 0 3px 0 #028a3f;
}

.ds4k-nudge-google {
  background: #fff;
  color: #1f2937;
  border: 2px solid #e5e7eb;
  box-shadow: 0 3px 0 #d1d5db;
}
.ds4k-nudge-google .ds4k-nudge-btn-icon {
  color: #ea4335;
  font-weight: 900;
}

.ds4k-nudge-signup {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0369a1;
  text-decoration: underline;
}

.ds4k-nudge-foot {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ds4k-nudge-link {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: underline;
  cursor: pointer;
}

.ds4k-nudge-never {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
}

.ds4k-nudge-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 10021;
  background: #0f172a;
  color: #fff;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  max-width: min(90vw, 360px);
  text-align: center;
  word-break: keep-all;
}
.ds4k-nudge-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
