/* 하단 플로팅 블록(floatingBanner) 기본 구조 CSS — 색상/폰트는 FloatingBannerStyleRender 가 인라인 적용 */
.skin_floating_banner_section {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* 다른 모달(z-index:2000)보다 낮게 */
    z-index: 1500;
    /* 스크롤 노출 진입/이탈 애니메이션 (기획 프로토타입: y150+fade 스프링 근사) */
    transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), opacity .4s ease;
}
/* 스크롤 시 노출 모드에서 임계값 이전(숨김) 상태 — 아래로 슬라이드 + 페이드아웃 */
.skin_floating_banner_section.fb_out {
    transform: translateY(150px);
    opacity: 0;
    pointer-events: none;
}
.floating_banner_module {
    --fb-row-h: 44px; /* 컨택폼 1행 높이 = 입력칸·전송 버튼 높이 (시안: 모두 44px) */
    position: relative;
    width: 100%;
    /* 배경은 화면 전체 폭(edge-to-edge)으로 채우고, 카드 콘텐츠(.fb_bar)만 가운데 정렬된다 */
    background: #fff;
    box-sizing: border-box;
}
.floating_banner_module * {
    box-sizing: border-box;
}
/* 편집 버튼 묶음 위치/모양은 blockEditor.js(_controlWrapEl) 인라인 스타일이 담당 */
.fb_band {
    display: block;
    /* 시안 공지 띠: 높이 44px(24px 줄 + 상하 10px), 15/bold — 색상은 FloatingBannerStyleRender._applyBand 인라인 */
    padding: 10px 0;
    overflow: hidden;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
    white-space: nowrap;
}
/* 단일 문구 marquee — 우측 밖에서 시작해 좌측 밖까지 이동 후 반복 */
.fb_band_track {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: fb_band_scroll 15s linear infinite;
    will-change: transform;
}
@keyframes fb_band_scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
.fb_bar {
    display: flex;
    /* 로고/문구/전송 버튼은 컨택폼 항목이 여러 행이어도 첫 번째 행에 고정 — 세로 중앙이 아니라 상단 정렬 (높이는 1행 높이 --fb-row-h 로 맞춤) */
    align-items: flex-start;
    justify-content: center;
    /* 구획 간 간격은 gap 대신 .fb_info 의 margin-right / .fb_submit_slot 의 margin-left 로 준다 */
    max-width: 1280px;
    margin: 0 auto;
    /* 시안: 폼 몸체 사방 24px */
    padding: 24px;
}
/* 연락처 영역 — 시안: 전화번호 아래에 보조문구(.fb_label), 로고(.fb_logo_link)는 타입 C/D 에서만 노출.
   그리드 영역으로 배치해 DOM 순서(label→logo→phone)와 무관하게 표시 순서를 정한다. 기본(A/B)은 1열: 전화 / 보조문구 */
.fb_info {
    display: grid;
    grid-template-areas: "phone" "label";
    grid-template-columns: auto;
    justify-items: center;
    align-content: center;
    row-gap: 4px;
    flex: 0 0 auto;
    margin-right: 24px; /* 시안: 브랜드/연락처 ↔ 폼 간격 24px */
    min-height: var(--fb-row-h, 44px);
    min-width: 0;
}
.fb_label {
    grid-area: label;
    /* 보조문구는 시안 12/18 캡션 — 내용이 없으면 자리를 차지하지 않는다 */
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    opacity: .7;
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 200px;
    text-align: center;
}
.fb_label:empty {
    display: none;
}
.fb_logo_link {
    grid-area: logo;
    display: none; /* 로고는 타입 C/D 에서만 노출 (아래 타입별 규칙) */
    flex: 0 0 auto;
    align-items: center;
}
.fb_logo {
    /* 시안 Brand 슬롯 88×44 고정 — 로고 이미지 가로 길이에 따라 옆의 컨택폼(입력창) 영역이 줄어들지 않게, 이미지는 비율 유지로 슬롯 안에 맞춘다 */
    width: 88px;
    height: 44px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}
.fb_phone {
    grid-area: phone;
    /* 문구가 여러 줄이면 아래로 늘어나고, 한 줄이면 32px(시안 전화번호 줄 높이) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 32px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    white-space: nowrap;
}
/* 캔버스에서 Froala 로 수정하면 <p> 로 감싸질 수 있어 기본 여백 제거 */
.fb_phone p {
    margin: 0;
}
.fb_form {
    /* 남는 공간만 차지, 부족하면 축소(min-width:0) */
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
}
.fb_field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
/* PC 바 컨택폼 영역 — 기획서 컬럼 규칙: 기본 1행 4컬럼, 항목별 사용 컬럼 수는 data-span (장문형·보안문자 2, 주소 4(내용은 3컬럼, 마지막 1컬럼 비움), 그 외 라디오/체크박스 포함 1).
   열 수(--fb-cols)는 floatingBannerRender._drawFields 가 사용 컬럼 합(최대 4)으로 지정 — 4보다 작으면 컬럼 수만큼 균등, 넘치면 다음 행에 이어 표시.
   행 높이는 --fb-row-h(전송 버튼 높이)로 맞춰 첫 행이 로고/문구/전송 버튼과 같은 선에 놓인다. */
.fb_bar > .fb_form {
    display: grid;
    grid-template-columns: repeat(var(--fb-cols, 4), minmax(0, 1fr));
    grid-auto-rows: minmax(var(--fb-row-h, 44px), auto);
    gap: 4px 12px; /* 시안: 행 간격 4px, 필드 간격 12px */
    align-items: center;
}
.fb_bar .fb_form > [data-span="2"] { grid-column: span 2; }
.fb_bar .fb_form > [data-span="3"] { grid-column: span 3; }
.fb_bar .fb_form > [data-span="4"] { grid-column: span 4; }
/* 라디오/체크박스/약관동의/텍스트 — 그리드 칸 안에서 옵션을 가로로 나열, 칸보다 길면 옵션명을 말줄임 */
.fb_field_options {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.fb_field input[type=text],
.fb_field input[type=tel],
.fb_field input[type=email],
.fb_field input[type=date],
.fb_field input[type=file],
.fb_field select,
.fb_field textarea {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    font-size: inherit;
    font-family: inherit;
    background: #fff;
    /* 항목명(placeholder)/선택값이 컬럼 너비보다 길면 말줄임 */
    text-overflow: ellipsis;
}
/* placeholder 색 — _applyInputs() 가 갱신하는 --fb-input-text-color 참조 */
.fb_field input::placeholder,
.fb_field textarea::placeholder {
    color: var(--fb-input-text-color, inherit);
    opacity: 0.6;
}
.fb_field textarea {
    /* line-height 를 콘텐츠 높이(44-테두리2px)에 맞춰 세로 중앙정렬 */
    padding: 0 12px;
    line-height: 42px;
    resize: none;
}
.fb_field_radio_group,
.fb_field_term {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    font-size: 0.9em;
    white-space: nowrap;
    /* 옵션명이 컬럼보다 길면 말줄임 (기획서) — flex 자식이 줄어들 수 있도록 min-width:0 */
    min-width: 0;
}
.fb_field_radio_group > span,
.fb_field_term > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 파일 첨부 — 읽기 전용 파일명 INPUT + '파일 선택' 버튼을 1칸 안에 나란히 (1행 4열 규칙의 1열 너비 기준).
   파일명이 INPUT 보다 길면 INPUT 너비 기준으로 말줄임. 숨은 값/파일 선택창용 input 은 레이아웃에 영향이 없다. */
.fb_field_attach .fb_attach_row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.fb_field_attach .fb_attach_row .fb_attach_name {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
}
.fb_field_attach .fb_attach_btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    background: #f4f6f8;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
}
.fb_field_attach .fb_attach_btn:disabled {
    cursor: default;
    opacity: .6;
}
/* 보안문자 — 이미지(클릭 시 새로고침) + 새로고침 버튼 + 입력칸을 한 줄로 (사용 컬럼 2) */
.fb_field_captcha .fb_captcha_row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.fb_field_captcha .fb_captcha_img {
    flex: 0 0 auto;
    width: 120px;
    height: 44px;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}
.fb_field_captcha .fb_captcha_refresh {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    background: #f4f6f8;
    color: inherit;
    cursor: pointer;
}
.fb_field_captcha .fb_captcha_row .fb_captcha_input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}
/* 주소 — [우편번호][검색 버튼][주소][상세주소] 한 줄 (사용 컬럼 3). 우편번호·주소는 검색 결과로만 채워지는 읽기 전용 */
.fb_field_address .fb_address_row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
/* 4컬럼 행에서 3컬럼 폭만 사용하고 마지막 컬럼은 비운다 (컬럼 = (전체-간격36px)/4 → 3컬럼+간격24px = 75% - 3px) */
.fb_field_address .fb_address_row {
    width: calc(75% - 3px);
}
.fb_field_address .fb_address_row input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}
.fb_field_address .fb_address_row .fb_addr_zip {
    flex: 0 0 88px;
    cursor: pointer;
}
/* 주소 영역 3컬럼 = [우편번호·검색·주소] 2컬럼 + [상세주소] 1컬럼. 상세주소 폭 = 그리드 1컬럼(필드 간격 12px 반영) */
.fb_field_address .fb_address_row .fb_addr_main {
    flex: 1 1 0;
    cursor: pointer;
}
.fb_field_address .fb_address_row .fb_addr_detail {
    flex: 0 0 calc((100% - 24px) / 3);
    margin-left: 8px; /* 기본 gap 4px + 8px = 12px — 다른 항목 간 필드 간격과 동일 */
}
.fb_field_address .fb_addr_search {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cdd5df;
    border-radius: 8px;
    background: #f4f6f8;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
}
.fb_field_address .fb_addr_search:disabled {
    cursor: default;
    opacity: .6;
}
/* 날짜 — [시작일][시작시간] ~ [종료일][종료시간] 한 줄. 달력 아이콘은 입력 오른쪽 안쪽 */
.fb_field_date .fb_date_row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.fb_field_date .fb_date_item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
.fb_field_date .fb_date_item input {
    padding-right: 30px;
    cursor: pointer;
}
.fb_field_date .fb_date_item i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    opacity: .6;
    cursor: pointer;
}
.fb_field_date .fb_date_time {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: 96px;
}
.fb_field_date .fb_date_sep {
    flex: 0 0 auto;
}
/* 약관동의 — 항목명 아래에 '자세히보기' 링크를 두 줄로 배치 (기획 이미지) */
.fb_field_options_term {
    /* 시안: 체크박스 · 항목명 · 보기 링크를 한 줄로 (이전 기획 이미지는 두 줄) */
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}
.fb_field_options_term .fb_field_term {
    height: auto;
    min-width: 0;
    font-size: 12px;
    line-height: 18px;
}
/* 약관 팝업이 열린 동안 딤과 약관 레이어를 하단 플로팅 바(1500)·우측 플로팅 메뉴(99999) 위로 올림 (우편번호 레이어와 동일 기준).
   레이어는 팝업마다 새로 만들어 닫을 때 제거되고, 딤 class 는 hideCenterLayer 가 초기화하므로 복구 불필요 */
#skinModal.fb_term_dim_up {
    z-index: 100000;
}
body .resp_layer_pop.fb_term_layer {
    z-index: 100001;
}
/* 주소 검색(다음 우편번호) 레이어가 열린 동안 딤과 레이어를 하단 플로팅 바(1500)·우측 플로팅 메뉴(99999) 위로 올림 */
#skinModal.fb_post_dim_up {
    z-index: 100000;
}
#daumPostWrapElement.fb_post_layer_up {
    z-index: 100001;
}
.fb_term_detail {
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    line-height: 18px;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.fb_empty_form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    flex: 1 1 auto;
    font-size: 0.95em;
    opacity: 0.7;
}
.fb_submit_slot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-left: 12px;
    min-height: var(--fb-row-h, 44px);
}
.fb_submit {
    height: 44px;
    min-width: 136px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
/* 버튼 hover 색 전환 — --fb-active-* 는 _applyButtons() 가 갱신, !important 로 인라인 기본색을 이김 */
.floating_banner_module .fb_submit:hover,
.floating_banner_module .fb_m_cta:hover {
    color: var(--fb-active-color, #ffffff) !important;
    background-color: var(--fb-active-bg, #d97400) !important;
    border-color: var(--fb-active-border, #d97400) !important;
}
.fb_mobile_bar {
    display: none;
}
/* 모바일 브랜드 로고 — 기본 숨김(A/B). 노출은 모바일 미디어쿼리 안 타입 C/D 규칙에서만 */
.fb_m_logo {
    display: none;
}
.fb_mobile_modal {
    display: none;
}

/* 타입별 변형 — 시안 Rounded Banners 4종 (A=캡슐 / B=전폭 / C=로고형 / D=옵션 확장). 4번째 이후(C 와 동일)는 별도 타입 없음. E 는 폐지 — 저장된 E 블록은 기본(B 와 같은 로고 없는 전폭)으로 보인다.
   전폭(B/C/D)은 래퍼가 화면 폭 전체이고 콘텐츠(.fb_bar)만 최대 1280px 가운데 정렬. */

/* A — 캡슐형: 좌우 24px 여백에 최대 1280px 로 떠 있는 둥근 카드(PC 전용). 공지 띠는 카드 안쪽 상단 */
@media (min-width: 769px) {
    .skin_floating_banner_section[data-content-type2="floatingBanner-type-A"] {
        width: calc(100% - 48px);
        max-width: 1280px;
        margin: 0 auto;
    }
    .floating_banner_module[data-content-type2="floatingBanner-type-A"] {
        border-radius: 22px;
    }
    /* 띠배너 상단 라운딩 — 모듈 라운딩(22px)의 안쪽 곡선(테두리 두께 제외, --fb-border-width 는 FloatingBannerStyleRender 가 지정)에 맞춘다.
       border-radius 는 박스 높이보다 크면 CSS 가 반지름을 줄여버리므로 띠배너 높이(44px)를 반지름(22px) 이상으로 유지한다. */
    .floating_banner_module[data-content-type2="floatingBanner-type-A"] .fb_band {
        border-radius: calc(22px - var(--fb-border-width, 1px)) calc(22px - var(--fb-border-width, 1px)) 0 0;
    }
}

/* B — 전폭형: 시안에 보조문구(창업문의)가 없어 PC 에서 숨긴다 (문구 옵션 값은 그대로 두고 모바일 하단바 문구에는 계속 쓰인다) */
.floating_banner_module[data-content-type2="floatingBanner-type-B"] .fb_label {
    display: none;
}

/* C — 로고형: 로고 슬롯만 노출(시안에 전화번호 없음). D — 옵션 확장형: 로고 + 전화번호(+보조문구) 를 가로로 배치 */
.floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_info,
.floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_info {
    grid-template-areas: "logo phone" ". label";
    grid-template-columns: 88px auto;
    justify-items: start;
    align-items: center;
    column-gap: 8px;
}
.floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_info {
    grid-template-areas: "logo" "label";
    grid-template-columns: 88px;
}
.floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_phone {
    display: none;
}
.floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_logo_link,
.floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_logo_link {
    display: flex;
}
.floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_label,
.floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_label {
    text-align: left;
}

/* 시안 공통 스타일 — 체크박스/라디오 20px 사용자 정의 표시(브랜드색 = 전송 버튼 배경색, --fb-brand 는 _applyButtons 가 지정), PC 카드 그림자 */
.fb_field_radio_group input[type=checkbox],
.fb_field_radio_group input[type=radio],
.fb_field_term input[type=checkbox],
.fb_field_term input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid #cdd5df;
    border-radius: 4px;
    background: #fff center / 12px no-repeat;
    cursor: pointer;
}
.fb_field_radio_group input[type=radio],
.fb_field_term input[type=radio] {
    border-radius: 999px;
}
.fb_field_radio_group input:checked,
.fb_field_term input:checked {
    border-color: var(--fb-brand, #f58800);
    background-color: var(--fb-brand, #f58800);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fb_field_radio_group input[type=radio]:checked,
.fb_field_term input[type=radio]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='2.6' fill='%23fff'/%3E%3C/svg%3E");
}
.fb_field_radio_group input:focus-visible,
.fb_field_term input:focus-visible {
    outline: 2px solid var(--fb-brand, #f58800);
    outline-offset: 2px;
}
@media (min-width: 769px) {
    .floating_banner_module {
        box-shadow: 0 8px 28px rgba(23, 33, 48, .12);
    }
    /* 시안 입력칸 상태 — 기본 테두리 #cdd5df, 포커스 2px 브랜드색(테두리 두께 변화로 흔들리지 않게 box-shadow 로 1px 추가), 비활성 #f3f5f7 */
    .fb_field input:focus,
    .fb_field select:focus,
    .fb_field textarea:focus {
        outline: 0;
        border-color: var(--fb-brand, #f58800);
        box-shadow: 0 0 0 1px var(--fb-brand, #f58800);
    }
    .fb_field input:disabled,
    .fb_field select:disabled,
    .fb_field textarea:disabled {
        background: #f3f5f7;
    }
    /* 시안 체크박스/라디오 상태 — hover 는 테두리만 브랜드색, 포커스는 3px 링 */
    .fb_field_radio_group input:not(:checked):not(:disabled):hover,
    .fb_field_term input:not(:checked):not(:disabled):hover {
        border-color: var(--fb-brand, #f58800);
    }
    .fb_field_radio_group input:focus-visible,
    .fb_field_term input:focus-visible {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(23, 33, 48, .12);
    }
    .fb_field_radio_group input:disabled,
    .fb_field_term input:disabled {
        background-color: #f3f5f7;
        cursor: default;
    }
}

/* 태블릿/작은 노트북(769~1180px): 시안은 1280px 이상 PC 와 390px 모바일뿐이라, PC 바를 그대로 쓰면 로고·전화번호 영역과 전송 버튼이 폭을 먹어 컨택폼이 좁게 찌그러진다.
   → 여백·연락처 영역을 줄이고 컨택폼 열 수를 줄여(1025~1180: 3열 / 769~1024: 2열) 입력칸 폭을 확보한다. 열 수가 줄면 3·4칸 항목은 가용 열 수까지만 차지한다. */
@media (min-width: 769px) and (max-width: 1180px) {
    /* 3컬럼 그리드에서는 주소가 3컬럼 전체를 쓴다(비울 컬럼 없음) */
    .fb_field_address .fb_address_row { width: 100%; }
    .fb_bar {
        padding: 16px;
    }
    .fb_info {
        margin-right: 16px;
    }
    .fb_phone {
        font-size: 20px;
    }
    /* D — 로고 + 전화번호를 세로로 쌓아 가로 폭을 줄인다 */
    .floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_info {
        grid-template-areas: "logo" "phone" "label";
        grid-template-columns: auto;
        row-gap: 4px;
    }
    .fb_bar > .fb_form {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .fb_bar .fb_form > [data-span="4"] {
        grid-column: span 3;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .fb_field_address .fb_address_row { width: 100%; }
    .fb_bar > .fb_form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .fb_bar .fb_form > [data-span="3"],
    .fb_bar .fb_form > [data-span="4"] {
        grid-column: span 2;
    }
}

/* 모바일: 시안 카드형 — 좌우 16px 여백에 떠 있는 둥근 카드. 위에서부터 띠배너 / 접힘(브랜드 + 신청 버튼) ↔ 펼침(폼, 같은 카드 안에서 펼쳐짐).
   브랜드 영역은 타입별로 PC 와 같은 규칙 — A/B: 전화번호만, C: 로고만, D: 로고 + 전화번호 */
@media (max-width: 768px) {
    .skin_floating_banner_section {
        /* 위치/폭은 이전과 동일 — 화면 하단(bottom:0)에 폭 100% 로 붙인다. 하단 간격(gap) 설정은 PC 전용이라 FloatingBannerStyleRender._applyGap 의 인라인 bottom 보다 !important 가 우선 */
        bottom: 0 !important;
        width: 100%;
        margin: 0;
    }
    .floating_banner_module {
        overflow: hidden;
        box-shadow: none;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    /* A — 화면 하단에 붙으므로 위쪽 두 모서리만 둥글게, 아래쪽은 라운딩 없음. 다른 타입은 라운딩 없음 */
    .floating_banner_module[data-content-type2="floatingBanner-type-A"] {
        border-radius: 16px 16px 0 0;
    }
    .fb_bar { display: none; }

    /* 브랜드 영역(접힘 바/펼침 헤더 공용) */
    .fb_m_brand {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1 1 auto;
        min-width: 0;
    }
    .fb_m_logo {
        display: none;
        flex: 0 0 auto;
        /* PC 슬롯(88×44)과 같은 비율의 고정 크기 — 로고 길이에 따라 옆 영역이 변하지 않게 */
        width: 64px;
        height: 32px;
        object-fit: contain;
        border-radius: 8px;
    }
    .fb_m_phone {
        min-width: 0;
        /* 폭이 모자라면 말줄임 대신 줄바꿈 — 하이픈(-)에서 먼저 나뉘고, 그래도 넘치면 글자 단위로 나뉨 */
        white-space: normal;
        overflow-wrap: anywhere;
        /* 시안 24px, 좁은 화면(360px 안팎)에서는 20px 까지 줄여 한 줄에 최대한 담는다 */
        font-size: clamp(20px, 6vw, 24px);
        line-height: 32px;
        font-weight: 700;
    }
    .floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_m_logo,
    .floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_m_logo { display: block; }
    .floating_banner_module[data-content-type2="floatingBanner-type-C"] .fb_m_phone { display: none; }
    /* D 는 로고 + 전화번호 — 한 줄에 다 들어가면 나란히, 모자라면 전화번호가 로고 아래 줄로 내려간다 */
    .floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_m_brand {
        flex-wrap: wrap;
        row-gap: 4px;
    }
    .floating_banner_module[data-content-type2="floatingBanner-type-D"] .fb_m_phone {
        flex: 0 1 auto;
        font-size: 20px;
    }

    /* 접힘 — 브랜드 + 신청 버튼 */
    .fb_mobile_bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 16px;
    }
    .fb_mobile_bar .fb_m_cta {
        flex: 0 0 142px;
        width: 142px;
        height: 48px;
        padding: 0 12px;
        border: 1px solid transparent;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    /* 펼침 — 같은 카드 안에서 폼이 펼쳐지고 접힘 바는 숨김. 키보드가 올라와도 시트 안에서 스크롤 (시안: max-height 70dvh) */
    .floating_banner_module.fb_m_open .fb_mobile_bar { display: none; }
    .fb_mobile_modal.open {
        display: block;
        animation: fb_modal_fade_in .25s ease;
    }
    .fb_mobile_modal.closing {
        animation: fb_modal_fade_out .2s ease forwards;
    }
    .fb_mobile_modal_inner {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: 90dvh; /* 시안은 70dvh — 스크롤이 너무 자주 생겨 90dvh 로 늘림 */
        overflow-y: auto;
        padding: 16px;
        background: #fff;
    }
    /* 시트 높이가 max-height 에 걸리면 flex 자식이 줄어들어 입력칸/버튼 높이가 깨진다 — 줄어들지 않고 시트 안에서 스크롤되게 한다 */
    .fb_mobile_modal_inner > * {
        flex-shrink: 0;
    }
    /* 헤더 — 브랜드 + '접기' 텍스트 버튼(시안 12/18 + 위쪽 화살표) */
    .fb_mobile_modal_head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        min-height: 42px;
    }
    .fb_mobile_modal_close {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        padding: 0;
        border: 0;
        background: none;
        color: inherit;
        font-size: 12px;
        line-height: 18px;
        font-family: inherit;
        cursor: pointer;
    }
    .fb_mobile_modal_close::after {
        content: "";
        width: 8px;
        height: 8px;
        margin: 4px 8px 0 8px;
        border-top: 2px solid currentColor;
        border-left: 2px solid currentColor;
        transform: rotate(45deg);
    }
    .fb_mobile_modal_inner .fb_form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .fb_mobile_modal_inner .fb_field input,
    .fb_mobile_modal_inner .fb_field select,
    .fb_mobile_modal_inner .fb_field textarea {
        height: 44px;
        border-radius: 8px;
        padding: 0 12px;
        line-height: 42px; /* textarea 세로 중앙정렬용 */
    }
    .fb_mobile_modal_inner .fb_field_attach .fb_attach_btn {
        height: 44px;
        padding: 0 12px;
        border-radius: 8px;
    }
    /* 주소: 우편번호+검색 / 주소 / 상세주소를 세 줄로 */
    .fb_mobile_modal_inner .fb_field_address .fb_address_row {
        width: 100%;
        flex-wrap: wrap;
    }
    .fb_mobile_modal_inner .fb_field_address .fb_address_row .fb_addr_main,
    .fb_mobile_modal_inner .fb_field_address .fb_address_row .fb_addr_detail {
        flex: 1 1 100%;
        margin-left: 0;
    }
    /* 날짜: 시작/종료를 두 줄로, 구분선(~)은 숨김 */
    .fb_mobile_modal_inner .fb_field_date .fb_date_row {
        flex-wrap: wrap;
    }
    .fb_mobile_modal_inner .fb_field_date .fb_date_sep {
        flex: 1 1 100%;
        text-align: center;
        line-height: 1;
    }
    .fb_mobile_modal_inner .fb_field_captcha .fb_captcha_img {
        width: 100px;
    }
    /* 시안 모바일 CTA 48px 전폭 */
    .fb_mobile_modal_inner .fb_submit {
        width: 100%;
        height: 48px;
        border-radius: 8px;
    }
}
@keyframes fb_modal_fade_in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fb_modal_fade_out {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes fb_sheet_slide_up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@keyframes fb_sheet_slide_down {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}
