/* /m/marketing — PC marketing result contract, mobile publishing layout. */

.marketing_page,
.marketing_page * {
  box-sizing: border-box;
}

.marketing_page {
  padding-bottom: 0 !important;
}

.marketing_page .landing_wrap {
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  gap: 0;
  margin-top: 20px;
}

.marketing_page.is-loading .landing_wrap {
  opacity: .5;
  pointer-events: none;
}

.marketing_page .ll-marketing-async-result {
  position: relative;
  width: 100%;
  min-height: 220px;
}

.marketing_page .ll-mkt-loading,
.marketing_page .ll-mkt-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 28px 16px;
  color: rgba(112, 115, 124, .95);
  font-size: 14px;
  text-align: center;
}

.marketing_page .ll-mkt-error {
  color: #c03434;
}

.marketing_page .ll-mkt-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 8900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(255, 255, 255, .72);
}

.marketing_page .ll-mkt-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(53, 54, 57, .16);
  border-top-color: #353639;
  border-radius: 50%;
  animation: llMktSpin .75s linear infinite;
}

@keyframes llMktSpin {
  to { transform: rotate(360deg); }
}

/* 유사 키워드 클릭 시 우측 포스팅 패널만 덮는 로딩 오버레이 (좌측·제목 유지) */
.marketing_page .ll-mkt-panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  background: rgba(255, 255, 255, .6);
  border-radius: 20px;
}

.marketing_page .ll-mkt-panel-spinner {
  position: fixed;
  z-index: 6;
  pointer-events: none;
}

/* Entry */
.marketing_page .copy_area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 24px 0 0;
  text-align: center;
}

.marketing_page .copy_area h3 {
  display: block;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  color: #111;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.32;
}

.marketing_page .copy_area .h4_gap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}

.marketing_page .copy_area h4,
.marketing_page .copy_area h5 {
  margin: 0;
  color: rgba(46, 47, 51, .78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  word-break: keep-all;
}

.marketing_page .copy_area h5 {
  margin-top: 2px;
}

.marketing_page .marketing_tab_wrap {
  display: flex;
  width: 100%;
  margin: 28px auto 24px;
}

.marketing_page .marketing_tab_wrap ul {
  display: flex;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 56px;
  background: #f2f3f7;
}

.marketing_page .marketing_tab_wrap li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border: 2px solid #f2f3f7;
  border-radius: 48px;
  color: #3d3f47;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}

.marketing_page .marketing_tab_wrap li.current {
  border-color: #3d3f47;
  background: #fff;
  font-weight: 600;
}

.marketing_page .marketing_tab_wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marketing_page .search_main_wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 8px;
  margin: 16px 0 0;
}

.marketing_page .marketing_entry_search {
  align-items: center;
}

.marketing_page .marketing_entry_search .search_main_container.only_search {
  overflow: visible;
}

.marketing_page .marketing_entry_search .search_main_box {
  height: 48px;
  padding: 0 24px 0 70px;
  border: 2px solid #d0fd6b;
  border-radius: 60px;
  font-size: 14px;
}

.marketing_page .marketing_entry_search .search_main_box:focus {
  border-color: #d0fd6b;
}

.marketing_page .marketing_entry_search .search_main_box.search {
  border-color: #d0fd6b;
  /* 베이스 .search_main_box{border:...#D0FD6B !important} 를 이겨 아래 테두리를 흰색으로(랜딩/출시상품과 동일하게 이음매 제거) */
  border-bottom-color: #fff !important;
  border-radius: 30px 30px 0 0;
}

.marketing_page .search_main_container {
  position: relative;
  width: 100%;
}

.marketing_page .search_main_box {
  width: 100%;
  height: 48px;
  padding: 0 24px;
  border: 2px solid #d0fd6b;
  border-radius: 60px;
  background: #fff;
  color: #171719;
  font-size: 14px;
  outline: none;
}

.marketing_page .search_main_box:focus,
.marketing_page .search_main_box.search {
  border-color: #353639;
}

/* 검색 돋보기 아이콘 = 랜딩(.landing_wrap .search_main_icon)과 동일하게 왼쪽 배치.
   진입 검색 아이콘은 <button>(submit)이므로 기본 버튼 외형(테두리/배경/폰트)도 리셋한다. */
.marketing_page .search_main_icon {
  position: absolute;
  top: 0;
  left: 20px;
  right: auto;
  width: 40px;
  height: 48px;
  padding: 0;
  border: 0;
  background: url(/assets/images/common/ico_search.svg) no-repeat 12px center;
  background-size: 16px auto;
  font-size: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.marketing_page .related_main_box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.marketing_page .related_main_box.active {
  display: block;
}

.marketing_page .related_main_item {
  padding: 12px 16px;
  border-bottom: 1px solid #f4f4f5;
  color: #353639;
  font-size: 14px;
  cursor: pointer;
}

.marketing_page .related_main_item:last-child {
  border-bottom: 0;
}

.marketing_page .marketing_entry_search .related_main_box {
  position: static;
  top: 100%;
  width: 100%;
  max-height: 230px;
  padding: 12px;
  border: 2px solid #d0fd6b;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  box-shadow: none;
}

.marketing_page .marketing_entry_search .related_main_item {
  padding: 10px 15px;
  border-bottom: 0;
  border-radius: 30px;
  font-size: 15px;
}

.marketing_page .related_main_item.is-active,
.marketing_page .related_main_item:hover {
  background: #f4f4f5;
  font-weight: 600;
}

.marketing_page .page_button_wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  gap: 8px;
}

.marketing_page .search_main_wrap .page_button_wrap {
  margin-top: 0;
}

.marketing_page .btn_special,
.marketing_page .btn_normal,
.m-marketing-modal .btn_special,
.m-marketing-modal .btn_normal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 24px;
  color: #313131;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.marketing_page .btn_special,
.m-marketing-modal .btn_special {
  background: #d0fd6b;
}

.marketing_page .btn_normal,
.m-marketing-modal .btn_normal {
  background: #f4f4f5;
}

.marketing_page .btn_normal.scrap::before,
.m-marketing-modal .btn_normal.sub_action::before {
  content: '+';
  margin-right: 6px;
  font-weight: 700;
}

.marketing_page .mkt_posting_entry {
  align-items: center;
}

.marketing_page .mkt_posting_entry .mkt_form_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}

.marketing_page .mkt_posting_entry .mkt_form_title {
  margin: 0;
  color: #171719;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.marketing_page .mkt_posting_entry .mkt_form_guide {
  margin: 0;
  color: rgba(112, 115, 124, .95);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  word-break: keep-all;
}

.marketing_page .mkt_posting_entry.mkt_posting_entry_launched .mkt_form_guide,
.marketing_page .mkt_posting_entry.mkt_posting_entry_plan .mkt_form_guide {
  color: #2e2f33;
  font-size: 14px;
  font-weight: 500;
}

.marketing_page .mkt_posting_entry .search_main_container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

.marketing_page .mkt_posting_entry .mkt_search_field {
  position: relative;
  width: 100%;
}

/* 출시 상품 검색 input = 왼쪽 돋보기를 위한 좌측 패딩(랜딩과 동일) */
.marketing_page .mkt_posting_entry .mkt_search_field .search_main_box {
  padding: 0 56px 0 70px;
}

/* 출시 상품 자동완성 = 랜딩/키워드 드롭다운과 동일한 녹색 셸로 통일.
   상품 정보(.mkt_product_ac_name / .mkt_product_ac_meta)는 그대로 출력. */
.marketing_page .mkt_posting_entry .mkt_search_field .search_main_box.search {
  border-color: #d0fd6b;
  border-bottom-color: #fff;
  border-radius: 30px 30px 0 0;
}
.marketing_page .mkt_search_field #mktProductAcBox.related_main_box {
  top: 100%;
  padding: 12px;
  border: 2px solid #d0fd6b;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  box-shadow: none;
}
.marketing_page .mkt_search_field #mktProductAcBox.related_main_box .related_main_item {
  padding: 10px 15px;
  border: 0;
  border-radius: 30px;
}

.marketing_page .mkt_posting_entry .mkt_product_clear_btn,
.marketing_page .mkt_posting_entry .mkt_plan_clear_btn {
  position: absolute;
  top: 50%;
  z-index: 11;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: transparent url(/mobile/assets/images/common/ico_delete.svg) no-repeat center center;
  background-size: 12px auto;
  cursor: pointer;
  opacity: .58;
}

.marketing_page .mkt_posting_entry .mkt_product_clear_btn {
  right: 14px;
}

.marketing_page .mkt_posting_entry .mkt_product_clear_btn:hover,
.marketing_page .mkt_posting_entry .mkt_plan_clear_btn:hover {
  background-color: #f4f4f5;
  opacity: .92;
}

.marketing_page .mkt_posting_entry .mkt_product_clear_btn[hidden],
.marketing_page .mkt_posting_entry .mkt_plan_clear_btn[hidden] {
  display: none !important;
}

.marketing_page .mkt_posting_entry .mkt_design_field {
  position: relative;
  width: 100%;
}

.marketing_page .mkt_posting_entry .mkt_design_input {
  padding: 0 150px 0 24px;
  background: #fff !important;
}

.marketing_page .mkt_posting_entry .mkt_plan_clear_btn {
  right: 102px;
}

.marketing_page .mkt_posting_entry .custom_select,
.marketing_page .mkt_posting_entry .dropdown_container {
  width: 100% !important;
  margin: 0 !important;
}

.marketing_page .mkt_posting_entry .dropdown_select {
  height: 48px;
  margin-bottom: 0;
}

.marketing_page .mkt_posting_entry .dropdown_select span {
  display: block;
  max-width: calc(100% - 28px);
  overflow: hidden;
  color: #171719;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing_page .mkt_posting_entry .dropdown_container.active {
  margin-bottom: 156px !important;
  z-index: 60;
}

.marketing_page .mkt_posting_entry .mkt_load_inline {
  width: fit-content;
  align-self: flex-end;
}

.marketing_page .mkt_posting_entry .mkt_design_load_btn {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  width: auto !important;
  min-width: 86px;
  height: 36px;
  min-height: 0;
  padding: 0 16px;
  transform: translateY(-50%);
  align-items: center;
  align-self: auto;
  justify-content: center;
  border-radius: 40px;
  background: #f5f5f5;
  color: rgba(28, 24, 13, 0.8);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.marketing_page .mkt_ac_box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  text-align: left;
}

.marketing_page .mkt_ac_box.open,
.m-marketing-modal .mkt_ac_box.open {
  display: block;
}

.marketing_page .mkt_ac_item,
.m-marketing-modal .mkt_ac_item {
  padding: 11px 14px;
  border-bottom: 1px solid #f4f4f5;
  cursor: pointer;
}

.marketing_page .mkt_ac_item strong,
.m-marketing-modal .mkt_ac_item strong {
  display: block;
  color: #171719;
  font-size: 13px;
  font-weight: 700;
}

.marketing_page .mkt_ac_item span,
.m-marketing-modal .mkt_ac_item span {
  display: block;
  margin-top: 2px;
  color: rgba(112, 115, 124, .95);
  font-size: 11px;
}

.marketing_page .mkt_ac_empty,
.m-marketing-modal .mkt_ac_empty {
  padding: 14px;
  color: rgba(112, 115, 124, .95);
  font-size: 13px;
}

.marketing_page .footer_menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.marketing_page .footer_menu li {
  margin: 0;
}

/* Results */
.marketing_page .copy_area.pd_result {
  margin: 20px 0 5px 0;
  text-align: center;
}

.marketing_page .copy_area.pd_result h4 {
  display: block;
  color: rgba(112, 115, 124, .95);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  white-space: normal;
  word-break: keep-all;
}

.marketing_page .copy_area.pd_result h4 strong {
  display: inline;
  margin-right: 8px;
  color: #353639;
  font-weight: 500;
}

.marketing_page .copy_area.mkt_product_result_title h4 strong,
.marketing_page .copy_area.mkt_product_result_title .mkt_result_suffix {
  display: block;
}

.marketing_page .copy_area.mkt_product_result_title h4 strong {
  margin-right: 0;
}

/* 결과 로딩/대기 중 결과 제목 헤더 기본 숨김(차단 시 깜빡임 방지). 성공 렌더 시 JS 가 is-result-pending 제거→노출 */
.marketing_page .landing_wrap.is-result-pending .copy_area.pd_result {
  visibility: hidden;
}

.marketing_page .fx_layout.mkt_result {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.marketing_page .mkt_result .fx_block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 20px;
  width: 100%;
}

.marketing_page .mkt_result .fx_block.small {
  gap: 10px;
}

.marketing_page .keyword_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 20px;
  background: #f4f4f5;
}

.marketing_page .mkt_keyword_filter_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 32px;
  padding: 0 4px;
}

.marketing_page .mkt_keyword_filter_bar .mkt_category_select {
  flex: 0 1 auto;
  max-width: calc(100% - 122px);
  height: 32px;
  line-height: 32px;
  background-position: right 2px center;
}

.marketing_page .mkt_similar_btn {
  flex: none;
  width: auto !important;
  min-width: 108px;
  height: 32px;
  min-height: 32px;
  padding: 0 18px !important;
  border-radius: 18px;
  color: #313131;
  font-size: 13px;
  line-height: 1.2;
}

.marketing_page .mkt_result .mkt_product_action_bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.marketing_page .mkt_product_reference_btn,
.marketing_page .mkt_result .mkt_product_compare_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: auto !important;
  min-width: 108px;
  height: 32px;
  min-height: 32px;
  padding: 0 18px !important;
  border: 0;
  border-radius: 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  appearance: none;
}

.marketing_page .mkt_product_reference_btn {
  background: #d0fd6b;
  color: #313131;
  cursor: pointer;
}

.marketing_page .mkt_result .mkt_product_compare_btn {
  background: #f4f4f5;
  color: rgba(112, 115, 124, .95);
  cursor: pointer;
  opacity: .85;
}

.marketing_page .mkt_product_reference_btn:focus-visible {
  outline: 2px solid var(--btn-special);
  outline-offset: 2px;
}

.marketing_page .com_head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.marketing_page .com_head h4 {
  margin: 0;
  color: #313131 !important;
  font-size: 18px !important;
  font-weight: 500;
  text-align: left;
}

.marketing_page .btn_txt.modify,
.marketing_page .mkt_research,
.marketing_page .mkt_chip_clear {
  color: #828285;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.marketing_page .keyword_item,
.marketing_page .pname_item {
  margin: 0;
  width: 100%;
}

.marketing_page .keyword_item ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing_page .keyword_item ul li {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 20px;
  background: #fff;
  color: #828285;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
}

.marketing_page .pname_item ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing_page .pname_item ul li {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 16px;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 10px;
  background: #fff;
  color: #353639;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  word-break: keep-all;
}

.marketing_page .keyword_item ul li.my,
.marketing_page .pname_item ul li.my {
  border-color: #707070;
  border-style: dashed;
  background: #707070;
  color: #fff;
}

.marketing_page .keyword_item ul li.select,
.marketing_page .pname_item ul li.select {
  background: #f4f4f4;
  color: #353639;
}

.marketing_page .keyword_item ul li.empty,
.marketing_page .pname_item ul li.empty {
  border: 0;
  background: transparent;
  color: rgba(112, 115, 124, .95);
}

.marketing_page .keyword_item.ranking ul {
  flex-direction: column;
  flex-wrap: nowrap;
}

.marketing_page .keyword_item.ranking ul li {
  width: fit-content;
  margin-left: 75px;
  cursor: pointer;
}

.marketing_page .keyword_item.ranking ul li > span:first-child {
  position: absolute;
  left: -55px;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  padding: 6px 0;
  border-radius: 20px;
  background: #f4f4f5;
  color: rgba(55, 56, 60, .61);
  font-size: 14px;
  font-weight: 300;
}

.marketing_page .keyword_item.scroll,
.marketing_page .pname_item.scroll {
  max-height: 390px;
  overflow-y: auto;
}

.marketing_page .mkt_kw_detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
}

.marketing_page .mkt_kw_sort {
  justify-content: flex-end;
}

.marketing_page .keyword_group_g {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #e8e8e8;
}

.marketing_page .pname_item.box_type {
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.marketing_page select {
  width: 100%;
  min-height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 10px;
  background: #fff url(/mobile/assets/images/common/ico_select.png) no-repeat right 12px center;
  background-size: 10px auto;
  color: rgba(46, 47, 51, .88);
  font-size: 13px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.marketing_page select.text {
  flex: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding: 0 30px 0 0 !important;
  border: 0;
  border-radius: 0;
  background: #fff url(/assets/images/common/ico_select_fill.svg) no-repeat right 2px top -4px;
  background-size: auto;
  line-height: 1.3;
  white-space: nowrap;
  field-sizing: content;
}

.marketing_page .list_wrap {
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 10px;
  width: 100%;
}

.marketing_page .list_wrap > .com_head {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.marketing_page .list_wrap > .com_head .button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
}

.marketing_page .keyword_link_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.marketing_page .keyword_link_wrap h4 {
  width: 100%;
  margin: 0;
  color: rgba(112, 115, 124, .95) !important;
  font-size: 13px !important;
  font-weight: 400;
  white-space: nowrap;
}

.marketing_page .com_head .keyword_link_wrap h4 {
  width: auto;
}

.marketing_page .list_wrap > .com_head .mkt_together {
  flex-basis: 100%;
  order: 3;
  width: 100%;
}

.marketing_page .list_wrap > .com_head .mkt_together h4 {
  width: 100%;
}

.marketing_page .keyword_link_wrap span,
.marketing_page .mkt_chip_clear,
.marketing_page .mkt_together_selected {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 20px;
  background: #fff;
  color: #353639 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.marketing_page .keyword_link_wrap span.current,
.marketing_page .mkt_together_selected.current {
  border-color: #d0fd6b;
  background: #d0fd6b;
  color: #111 !important;
}

.marketing_page .mkt_together_selected i {
  margin-left: 6px;
  font-style: normal;
  color: rgba(46, 47, 51, .68);
}

.marketing_page .mkt_chip_clear {
  border-color: #353639;
  background: #353639;
  color: #fff !important;
}

.marketing_page .mkt_together {
  position: relative;
}

.marketing_page .list_flex {
  position: relative;
  display: flex;
  width: 100%;
}

.marketing_page .list_flex ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketing_page .list_flex ul li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  background: #fff;
}

.marketing_page .list_flex.full ul li {
  width: 100%;
  gap: 20px;
  padding-bottom: 60px;
}

.marketing_page .list_flex ul li .img_box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 60px;
  height: 60px;
}

.marketing_page .list_flex ul li .img_box img,
.marketing_page .ll-search-image-fallback {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  object-fit: cover;
}

.marketing_page .ll-search-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f5;
  color: rgba(46, 47, 51, .7);
  font-size: 18px;
  font-weight: 700;
}

.marketing_page .list_flex ul li .title_box {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.marketing_page .list_flex ul li .title_box p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  color: rgba(112, 115, 124, .95);
  font-size: 13px;
}

.marketing_page .list_flex ul li .title_box h4 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #353639;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.marketing_page .list_flex ul li .title_box p.hesy span {
  color: rgba(112, 115, 124, .95);
  font-size: 13px;
}

.marketing_page mark.ll-mkt-hl {
  padding: 0 2px;
  border-radius: 3px;
  background: #f0ffc0;
}

.marketing_page .source {
  display: inline-flex;
  align-items: center;
  min-width: 56px;
  height: 20px;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
  color: rgba(46, 47, 51, .88);
  font-size: 11px;
  font-weight: 700;
}

.marketing_page .source.threads { width: 74px; background-image: url(/assets/images/common/logo_threads.svg); }
.marketing_page .source.naver { width: 52px; background-image: url(/assets/images/common/logo_naver.svg); }
.marketing_page .source.tiktok { width: 62px; background-image: url(/assets/images/common/logo_tiktok.svg); }
.marketing_page .source.instagram { width: 74px; background-image: url(/assets/images/common/logo_instagram.svg); }
.marketing_page .source.youtube { width: 82px; background-image: url(/assets/images/common/logo_youtube.svg); }
.marketing_page .source.has-platform-image {
  min-width: 0;
  min-height: 20px;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.marketing_page .list_flex.full ul li .button {
  display: flex;
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  flex: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.marketing_page .list_flex.full ul li .button span {
  color: rgba(112, 115, 124, .95);
  font-size: 13px;
  white-space: nowrap;
}

.marketing_page .btn_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: #f5f5f5 url(/assets/images/common/ico_link.svg) no-repeat center center;
  background-size: 14px auto;
  cursor: pointer;
}

.marketing_page .btn_link.ll-search-denied {
  opacity: .55;
}

.marketing_page .ll-search-empty-card,
.marketing_page .mkt_empty,
.marketing_page .mkt_empty_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  background: #fff;
  color: rgba(112, 115, 124, .95);
  font-size: 13px;
  text-align: center;
}

.marketing_page .mkt_empty_title {
  margin: 0;
  color: #171719;
  font-weight: 700;
}

.marketing_page .mkt_empty_sub {
  margin: 6px 0 0;
}

.marketing_page .paginate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}

.marketing_page .paginate a,
.marketing_page .paginate strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: rgba(46, 47, 51, .88);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}

.marketing_page .paginate strong {
  background: #d0fd6b;
  border-color: #d0fd6b;
  color: #000;
}

.marketing_page .ll-mkt-locked-postings {
  position: relative;
  flex-direction: column;
  gap: 10px;
}

.marketing_page .ll-mkt-locked-cta {
  position: sticky;
  bottom: 18px;
  z-index: 10;
}

.marketing_page .btn_special.upgrade {
  min-height: 44px;
  background: #353639;
  color: #fff;
}

.marketing_page .btn_special.upgrade::before {
  content: '+';
  margin-right: 6px;
}

.marketing_page .ll-mkt-posting-skeleton {
  pointer-events: none;
}

.marketing_page .ll-mkt-skel-bar,
.marketing_page .ll-mkt-posting-skeleton .img_box {
  display: block;
  border-radius: 8px;
  background: #ececed;
}

.marketing_page .ll-mkt-skel-source { width: 62px; height: 18px; }
.marketing_page .ll-mkt-skel-account { width: 70px; height: 18px; }
.marketing_page .ll-mkt-skel-chip { width: 58px; height: 24px; border-radius: 14px; }
.marketing_page .ll-mkt-skel-chip.short { width: 42px; }
.marketing_page .ll-mkt-skel-line { width: 90%; height: 13px; }
.marketing_page .ll-mkt-skel-line.short { width: 55%; margin-top: 5px; }
.marketing_page .ll-mkt-skel-tag { width: 54px; height: 18px; border-radius: 10px; }
.marketing_page .ll-mkt-skel-date { width: 72px; height: 12px; }
.marketing_page .ll-mkt-skel-icon { width: 36px; height: 36px; border-radius: 10px; }

.marketing_page .ll-post-list,
.marketing_page .ll-product-list {
  width: 100%;
}

.marketing_page .ll-mkt-locked-postings {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.marketing_page .ll-mkt-posting-skeleton .post_avatar {
  display: block;
  border-radius: 16px;
  background: #ececed;
}

.marketing_page .ll-post-card .btn_link,
.marketing_page .ll-product-card .btn_link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  background: #f4f4f5 url(/assets/images/common/ico_link.svg) no-repeat center center;
  background-size: 14px auto;
  text-decoration: none;
}

.marketing_page .ll-post-card .source {
  min-height: 20px;
  height: auto;
  padding: 0 8px;
  border-radius: 999px;
  background: #f4f4f5;
  color: rgba(46, 47, 51, .88);
  font-size: 11px;
  font-weight: 600;
}

.marketing_page .ll-post-card .source.threads,
.marketing_page .ll-post-card .source.naver,
.marketing_page .ll-post-card .source.tiktok,
.marketing_page .ll-post-card .source.instagram,
.marketing_page .ll-post-card .source.youtube,
.marketing_page .ll-post-card .source.x {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.marketing_page .ll-post-card .source.threads { width: 66px; background-image: url(/assets/images/common/logo_threads.svg); }
.marketing_page .ll-post-card .source.naver { width: 52px; background-image: url(/assets/images/common/logo_naver.svg); }
.marketing_page .ll-post-card .source.tiktok { width: 58px; background-image: url(/assets/images/common/logo_tiktok.svg); }
.marketing_page .ll-post-card .source.instagram { width: 70px; background-image: url(/assets/images/common/logo_instagram.svg); }
.marketing_page .ll-post-card .source.youtube { width: 78px; background-image: url(/assets/images/common/logo_youtube.svg); }
.marketing_page .ll-post-card .source.x { width: 32px; background-image: url(/admin/assets/media/svg/social-logos/x.svg); }

.marketing_page .ll-post-card .source.has-platform-image {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.marketing_page .ll-product-card .ll-search-image-fallback {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  font-size: 20px;
}

.marketing_page .mkt_product_cards {
  flex-direction: column;
  width: 100%;
  max-height: 390px;
  padding: 10px;
  overflow-y: auto;
  border-radius: 10px;
  background: #fff;
}

.marketing_page .mkt_product_cards .ll-product-list {
  gap: 10px;
}

/* Modals */
.m-marketing-modal,
.m-marketing-modal * {
  box-sizing: border-box;
}

.m-marketing-modal .pop_inner {
  width: 520px;
  max-width: 92vw;
  height: auto;
  max-height: calc(100vh - 40px);
  min-height: 0;
  overflow: hidden;
  text-align: left;
}

.m-marketing-modal .pop_inner.small {
  width: 440px;
}

.m-marketing-modal .com_head.col_type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 14px;
}

.m-marketing-modal .com_head.col_type h4 {
  margin: 0;
  color: #171719;
  font-size: 18px;
  font-weight: 700;
}

.m-marketing-modal .com_head.col_type span {
  color: rgba(112, 115, 124, .95);
  font-size: 12px;
}

.m-marketing-modal form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-marketing-modal .search_main_container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* 검색 팝업(키워드/상품 변경)은 통합 드롭다운(position:static)이 flex 자식이 되어 gap만큼 떠
   입력창과 추천 박스 사이 윤곽선이 끊겨 보인다 → gap 제거해 이음매 없이 붙인다.
   (.only_search 모달 = 키워드변경/상품변경[입력창+드롭다운], 키워드편집[입력창 단독]은 무영향) */
.m-marketing-modal .search_main_container.only_search {
  gap: 0;
}

.m-marketing-modal .search_main_box {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 24px;
  background: #fff;
  color: #171719;
  font-size: 14px;
  outline: none;
}

#layer_keyword_search_change.m-marketing-modal .search_main_box.search {
  border-color: #d0fd6b;
  border-radius: 24px 24px 0 0;
  border-bottom-color: #fff !important;
}

/* 키워드 변경 모달 = 랜딩/엔트리처럼 돋보기 왼쪽 배치(검색 input 정합) */
#layer_keyword_search_change.m-marketing-modal .search_main_box {
  padding: 0 14px 0 44px;
}

#layer_keyword_search_change.m-marketing-modal .search_main_icon {
  left: 14px;
  right: auto;
}

#layer_keyword_search_change.m-marketing-modal .related_main_box {
  /* position:static = 베이스 .related_main_box(absolute)를 풀어 모달 안에서 in-flow로 늘어나게
     → 모달 overflow:hidden 에 잘리지 않고 추천 키워드가 모두 보임(상품 변경 모달과 동일 방식). */
  position: static;
  display: none;
  width: 100%;
  max-height: min(52vh, 360px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 12px;
  border: 2px solid #d0fd6b;
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #fff;
  box-sizing: border-box;
}

#layer_keyword_search_change.m-marketing-modal .related_main_box.active {
  display: block;
}

#layer_keyword_search_change.m-marketing-modal .related_main_item {
  padding: 10px 15px;
  border-radius: 30px;
  color: #171719;
  font-size: 15px;
  cursor: pointer;
}

.m-marketing-modal .search_main_icon {
  position: absolute;
  top: 24px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  transform: translateY(-50%);
  background: url(/assets/images/common/ico_search.svg) no-repeat center center;
  background-size: 16px auto;
}

#layer_product_change.m-marketing-modal .search_main_box {
  padding: 0 14px 0 44px;
  background: #fff url(/assets/images/common/ico_search.svg) no-repeat left 18px center;
  background-size: 16px auto;
}

#layer_product_change.m-marketing-modal .search_main_icon {
  display: none;
}

#layer_product_change.m-marketing-modal .pop_inner.small {
  width: min(440px, calc(100vw - 32px));
}

/* 입력창 .search 상태 = 랜딩/키워드 변경과 동일: 녹색 사이드 + 흰 하단(이음매 제거, 베이스 !important 무력화) + 상단만 둥글게 */
#layer_product_change.m-marketing-modal .search_main_box.search {
  border-color: #d0fd6b;
  border-bottom-color: #fff !important;
  border-radius: 30px 30px 0 0;
}

/* 검색 결과 = 입력창에 붙는 녹색 드롭다운(출시상품창/키워드 변경 모달과 동일). 헤더·회색 패널 제거. */
#layer_product_change.m-marketing-modal .mkt_product_change_results {
  position: static;
  z-index: auto;
  top: 100%;
  margin-top: 0;
  max-height: min(52vh, 360px);
  padding: 12px;
  border: 2px solid #d0fd6b;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  box-shadow: none;
}

#layer_product_change.m-marketing-modal .mkt_product_change_results.active {
  display: block;
}

/* 항목 = 상품명 + 브랜드·카테고리·출시일 (출시상품창과 동일, 정보 그대로). */
#layer_product_change.m-marketing-modal .mkt_product_ac_name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #202124;
}

#layer_product_change.m-marketing-modal .mkt_product_ac_meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(112, 115, 124, .95);
}

.m-marketing-modal .custom_select,
.m-marketing-modal .dropdown_container {
  width: 100% !important;
  margin: 0 !important;
}

#layer_similar_products.m-marketing-modal .pop_inner.small,
#layer_similar_keywords.m-marketing-modal .pop_inner.small {
  width: min(440px, calc(100vw - 32px));
}

#layer_similar_products.m-marketing-modal .mkt_similar_product_panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#layer_similar_products.m-marketing-modal .mkt_product_title_list {
  width: 100%;
}

#layer_similar_products.m-marketing-modal .mkt_product_title_list.scroll {
  max-height: min(52vh, 390px);
  overflow-y: auto;
}

#layer_similar_products.m-marketing-modal .mkt_product_title_list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#layer_similar_products.m-marketing-modal .mkt_product_title_list li {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 10px;
  background: #fff;
  color: #353639;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
  cursor: pointer;
}

#layer_similar_products.m-marketing-modal .mkt_product_title_list li.select {
  border-color: rgba(0, 0, 0, .16);
  background: #f4f4f4;
  color: #353639;
}

#layer_similar_products.m-marketing-modal .mkt_product_title_list li.empty {
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(112, 115, 124, .95);
  cursor: default;
}

#layer_similar_keywords.m-marketing-modal .mkt_kw_detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

#layer_similar_keywords.m-marketing-modal .mkt_kw_sort {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

#layer_similar_keywords.m-marketing-modal select.text {
  flex: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  height: auto;
  padding: 0 30px 0 0 !important;
  border: 0;
  border-radius: 0;
  background: #fff url(/assets/images/common/ico_select_fill.svg) no-repeat right 2px top -4px;
  background-size: auto;
  color: rgba(46, 47, 51, .88);
  font-size: 13px;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
  field-sizing: content;
}

#layer_similar_keywords.m-marketing-modal .keyword_item {
  width: 100%;
  margin: 0;
}

#layer_similar_keywords.m-marketing-modal .keyword_item.scroll {
  max-height: min(52vh, 390px);
  overflow-y: auto;
}

#layer_similar_keywords.m-marketing-modal .keyword_item ul {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#layer_similar_keywords.m-marketing-modal .keyword_item ul li {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  max-width: calc(100% - 60px);
  margin-left: 60px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, .4);
  border-radius: 20px;
  background: #fff;
  color: #828285;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
  cursor: pointer;
}

#layer_similar_keywords.m-marketing-modal .keyword_item ul li.select {
  background: #f4f4f4;
  color: #353639;
}

#layer_similar_keywords.m-marketing-modal .keyword_item ul li.empty {
  max-width: 100%;
  margin-left: 0;
  border: 0;
  background: transparent;
  color: rgba(112, 115, 124, .95);
  cursor: default;
}

#layer_similar_keywords.m-marketing-modal .keyword_item.ranking ul li > span:first-child {
  position: absolute;
  left: -50px;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 6px 0;
  border-radius: 20px;
  background: #f4f4f5;
  color: rgba(55, 56, 60, .61);
  font-size: 14px;
  font-weight: 300;
}

.m-marketing-modal .sub_action {
  width: fit-content;
}

.m-marketing-modal .mkt_ac_box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.m-marketing-modal .mkt_design_table_wrap {
  max-height: 58vh;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
}

.m-marketing-modal .mkt_design_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.m-marketing-modal .mkt_design_table th,
.m-marketing-modal .mkt_design_table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f4f4f5;
  text-align: left;
  vertical-align: top;
}

.m-marketing-modal .mkt_design_table th {
  color: rgba(112, 115, 124, .95);
  font-weight: 600;
}

.m-marketing-modal .mkt_design_table tr.select td {
  background: #f1f6df;
}

.m-marketing-modal .mkt_design_table .d_title {
  display: block;
  color: #171719;
  font-weight: 700;
}

.m-marketing-modal .mkt_design_table .d_path {
  display: block;
  margin-top: 2px;
  color: rgba(112, 115, 124, .95);
  font-size: 11px;
}

.m-marketing-modal .mkt_design_empty {
  padding: 26px 10px;
  color: rgba(112, 115, 124, .95);
  text-align: center;
}

#layer_design_pick.m-marketing-modal {
  align-items: center;
  justify-content: center;
  padding: 12px;
}

#layer_design_pick.m-marketing-modal .pop_inner {
  flex: none;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(420px, calc(100vw - 24px));
  max-width: 420px;
  height: min(640px, calc(100dvh - 24px));
  max-height: calc(100dvh - 24px);
  padding: 20px;
  gap: 16px;
  overflow: hidden;
  border-radius: 14px;
}

#layer_design_pick.m-marketing-modal .com_head.col_type {
  margin-bottom: 0;
  padding-right: 34px;
}

#layer_design_pick.m-marketing-modal .mkt_design_detail {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

#layer_design_pick.m-marketing-modal .mkt_design_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 4px 0 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(55, 56, 60, .5) transparent;
  scrollbar-width: thin;
}

#layer_design_pick.m-marketing-modal .mkt_design_list::-webkit-scrollbar {
  width: 4px;
}

#layer_design_pick.m-marketing-modal .mkt_design_list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(55, 56, 60, .45);
}

#layer_design_pick.m-marketing-modal .mkt_design_card {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  min-height: 66px;
  padding: 12px 14px;
  column-gap: 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  background: #fff;
  color: #171719;
  cursor: pointer;
}

#layer_design_pick.m-marketing-modal .mkt_design_card.select,
#layer_design_pick.m-marketing-modal .mkt_design_card:has(input:checked) {
  border-color: rgba(23, 23, 25, .72);
  background: #f7f8f3;
}

#layer_design_pick.m-marketing-modal .mkt_design_card input {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 18px;
  height: 18px;
  margin: 0;
}

#layer_design_pick.m-marketing-modal .mkt_design_card .d_body {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  gap: 4px;
}

#layer_design_pick.m-marketing-modal .mkt_design_card .d_head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(112, 115, 124, .95);
  font-size: 12px;
  line-height: 16px;
}

#layer_design_pick.m-marketing-modal .mkt_design_card .d_no {
  flex: 0 1 auto;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#layer_design_pick.m-marketing-modal .mkt_design_card .d_meta {
  flex: 0 0 auto;
  color: rgba(112, 115, 124, .95);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

#layer_design_pick.m-marketing-modal .mkt_design_card .d_title {
  display: -webkit-box;
  max-height: 38px;
  overflow: hidden;
  color: #171719;
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#layer_design_pick.m-marketing-modal .mkt_design_card .d_cat {
  min-width: 0;
  overflow: hidden;
  color: rgba(112, 115, 124, .95);
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#layer_design_pick.m-marketing-modal .mkt_design_empty {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  padding: 24px 10px;
  color: rgba(112, 115, 124, .95);
  text-align: center;
}

#layer_design_pick.m-marketing-modal .page_button_wrap {
  width: 100%;
}

#layer_design_pick.m-marketing-modal .page_button_wrap .btn_special {
  width: 100%;
  min-height: 48px;
}

@media (max-height: 560px) {
  #layer_design_pick.m-marketing-modal .pop_inner {
    gap: 12px;
    padding: 16px;
  }
}

/* 키워드 변경(keyword_edit) 제약 모달 */
.m-marketing-modal .mkt_kwe_count {
  font-size: 13px;
  color: #171719;
}

.m-marketing-modal .mkt_kwe_count strong {
  font-weight: 700;
}

.m-marketing-modal .mkt_kwe_count span {
  color: #4b8b00;
}

.m-marketing-modal .mkt_kwe_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 34px;
}

.m-marketing-modal .mkt_kwe_chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 16px;
  background: #f1f6df;
  color: #171719;
  font-size: 12px;
}

.m-marketing-modal .mkt_kwe_chip .k_group {
  font-size: 10px;
  color: rgba(112, 115, 124, .9);
}

.m-marketing-modal .mkt_kwe_chip .k_close {
  border: 0;
  margin-left: 2px;
  padding: 0;
  background: none;
  color: rgba(112, 115, 124, .9);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.m-marketing-modal .mkt_kwe_notice {
  padding: 12px;
  border-radius: 12px;
  background: #f7f8fa;
}

.m-marketing-modal .mkt_kwe_notice .t {
  margin: 0 0 6px;
  color: rgba(112, 115, 124, .95);
  font-size: 12px;
  font-weight: 600;
}

.m-marketing-modal .mkt_kwe_notice ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.m-marketing-modal .mkt_kwe_notice li {
  position: relative;
  padding-left: 10px;
  color: rgba(112, 115, 124, .95);
  font-size: 11px;
  line-height: 1.7;
}

.m-marketing-modal .mkt_kwe_notice li::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(112, 115, 124, .7);
}

.m-marketing-modal .mkt_kwe_suggest {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 34vh;
  overflow-y: auto;
}

.m-marketing-modal .mkt_kwe_group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.m-marketing-modal .mkt_kwe_group .g_label {
  flex: 0 0 64px;
  padding-top: 6px;
  color: rgba(112, 115, 124, .95);
  font-size: 11px;
  font-weight: 600;
}

.m-marketing-modal .mkt_kwe_group .g_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-marketing-modal .mkt_kwe_add {
  padding: 5px 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 14px;
  background: #fff;
  color: #171719;
  font-size: 11px;
  cursor: pointer;
}

.m-marketing-modal .mkt_kwe_add:hover {
  border-color: #d0fd6b;
  background: #f7fbe8;
}

@media (max-width: 380px) {
  .marketing_page .list_flex ul li {
    gap: 10px;
    padding: 12px;
  }

  .marketing_page .list_flex ul li .img_box,
  .marketing_page .list_flex ul li .img_box img,
  .marketing_page .ll-search-image-fallback {
    width: 48px;
    height: 48px;
  }

  .marketing_page .list_flex.full ul li .button {
    gap: 8px;
  }
}
