/* 랜딩페이지 공용 스타일. 편집기 미리보기와 공개 페이지가 함께 사용합니다. */
.lp-root {
  margin: 0 auto;
  width: 100%;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.lp-block {
  position: relative;
  box-sizing: border-box;
}

.lp-text {
  white-space: pre-wrap;
  word-break: keep-all;
}

/* 입력한 띄어쓰기가 그대로 보이도록 flex 대신 일반 텍스트 흐름을 씁니다. */
.lp-inline {
  display: block;
  word-break: keep-all;
}

.lp-part {
  white-space: pre-wrap;
}

.lp-strike {
  text-decoration: line-through;
}

.lp-num {
  font-variant-numeric: tabular-nums;
}

.lp-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}

.lp-cd-cell {
  min-width: 1.6em;
  text-align: center;
}

.lp-cd-sep {
  opacity: 0.7;
}

.lp-cta {
  display: block;
  font-family: inherit;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.lp-cta:hover {
  filter: brightness(1.05);
}
.lp-cta:active {
  transform: scale(0.99);
}

.lp-cta-sub {
  margin-top: 6px;
}

/* 상단·하단 고정 묶음. 여러 요소를 한 묶음으로 붙여 서로 겹치지 않게 합니다. */
.lp-pinned-wrap {
  position: sticky;
  z-index: 20;
  background: inherit;
}

.lp-pinned-top {
  top: 0;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.06);
}

.lp-pinned-bottom {
  bottom: 0;
  box-shadow: 0 -2px 10px rgba(17, 24, 39, 0.06);
}

/* 알림 자리. 높이 0이라 본문을 밀지 않고 위에 떠 있기만 합니다. */
.lp-toast-host {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 60;
}

.lp-toast {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #dc2626;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  word-break: keep-all;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.22);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lp-toast.is-on {
  opacity: 1;
  transform: translateY(0);
}

.lp-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
}
.lp-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 13px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
}

.lp-divider {
  width: 100%;
}

/* 페이지 위에 그대로 뜨는 채널 추가 확인창 */
.lp-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lp-modal.is-on {
  opacity: 1;
}

.lp-modal-dim {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.lp-modal-card {
  position: relative;
  width: 100%;
  max-width: 330px;
  padding: 24px 20px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.3);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}
.lp-modal.is-on .lp-modal-card {
  transform: translateY(0) scale(1);
}

.lp-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.lp-modal-text {
  margin: 8px 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4b5563;
  word-break: keep-all;
  white-space: pre-wrap;
}

.lp-modal-ok,
.lp-modal-cancel {
  display: block;
  width: 100%;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.lp-modal-ok {
  padding: 15px;
  border-radius: 10px;
  background: #fee500;
  color: #191600;
  font-size: 15.5px;
  font-weight: 700;
}
.lp-modal-ok:hover {
  filter: brightness(0.97);
}

.lp-modal-cancel {
  margin-top: 4px;
  padding: 11px;
  background: none;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 500;
}
.lp-modal-cancel:hover {
  color: #4b5563;
}
