/* 수신자 부고장(m write_share_detail) - 시안 VDO-F2 4050:10918(m) · 4050:14803(PC). 이 화면 뷰에서만 싣는다(cjb-theme · cjb-ui · cjb-player 뒤).
   글꼴: m 의 Pretendard 웹폰트는 굵기마다 이름이 다르다(font-r 400 · font-m 500 · font-sb 600, m/css/font_face.css).
   p_common.css 가 div · span · button 등에 font-family 를 바로 걸어 물려받기가 끊기므로, 글자를 담는 클래스마다 font-family 를 직접 둔다.
   맨 앞 'Pretendard' 는 기기에 설치된 글꼴이 있으면 쓰고, 없으면 굵기에 맞는 웹폰트로 내려간다. */

/* 새 시트(.cjb-bugo-sheet)는 옛 창 자리 - .cjb-bugo 밖에 있어 글꼴 변수를 함께 둔다. */
.cjb-bugo,
.cjb-bugo-sheet {
    --cjb-bugo-font: 'Pretendard', 'font-r', sans-serif;
    --cjb-bugo-font-medium: 'Pretendard', 'font-m', sans-serif;
    --cjb-bugo-font-semibold: 'Pretendard', 'font-sb', sans-serif;
}

.cjb-bugo {
    background-color: var(--fstd-surface);
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-weight: 400;
}

/* 클래스 규칙의 display 가 UA 의 [hidden] 을 이긴다 - 못 박는다. */
.cjb-bugo [hidden] {
    display: none !important;
}

/* 전역 CSS 가 포커스 윤곽선을 지운다(common.css a{outline:0}) - 키보드 포커스에서만 되살린다. */
.cjb-bugo :focus-visible {
    outline: 2px solid var(--fstd-fg-heavy);
    outline-offset: 2px;
}

.cjb-bugo__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- 공통 글자 · 구분 띠 ---------- */

/* KR/Title/Semibold/2 - 섹션 제목 */
.cjb-bugo__title {
    margin: 0;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
}

.cjb-bugo__divider {
    height: 8px;
    background-color: var(--cjb-surface-faint);
}

/* 라벨(48) + 값 한 줄 - 장례식장 정보 */
.cjb-bugo__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.cjb-bugo__row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* KR/Body/Semibold/4 - 라벨 칸 48. 글자가 길면 96 까지 넓히고 그 뒤로 줄바꿈 */
.cjb-bugo__label {
    flex: none;
    min-width: 48px;
    max-width: 96px;
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.14px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* KR/Body/Regular/3 */
.cjb-bugo__value {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.3px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* ---------- 헤더(Header sort=ccm 포함 7074:117350 · PC 인스턴스 7074:117535, 2026-11-20 18:20 KST 조회) - 업체 로고(+ CCM) 또는 첫장부고 로고 ---------- */

/* 높이 60 · 좌우 여백 16 · 위아래 여백 2 - 업체 로고(56)가 여백 안에 들어간다. 줄 안 요소는 세로 가운데.
   사이 12 = 시안의 로고영역 → CCM 간격(wrap/all 안 x 0 → 66, 로고영역 54). 두 폭 같다 */
.cjb-bugo__header {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    height: 60px;
    padding: 2px 16px;
    background-color: var(--fstd-surface);
}

/* 첫장부고 로고(logo_yn=N) - 누를 수 없다 */
.cjb-bugo__header-logo {
    display: block;
    width: auto;
    height: 21.9px;
}

/* 업체 로고 → 상조 홈페이지(앱은 외부 링크) */
.cjb-bugo__header-corp {
    display: flex;
    flex: none;
    align-items: center;
    cursor: pointer;
}

/* 로고 칸 최대 100 × 56(#637) - 업체가 올린 그림이라 비율을 지켜 칸 안에 넣는다. 더리본은 아래 --ccm 규칙(시안 54 × 50).
   더리본 밖 업체: 시안 Header sort=others(5607:105461, 2026-11-20 18:20 KST 조회)도 로고 자리에 더리본 그림(54 × 50)만 있어 업체마다 다른 그림에 쓸 값이 없다 - 지금 값을 둔다.
   폭은 그림 비율대로 줄어든다(최대 100) - 100 칸에 가운데로 넣으면 좁은 로고는 양옆이 비어 CCM 이 로고에서 12 보다 멀어진다.
   그려지는 로고 크기는 100 × 56 칸 안에 넣을 때와 같다(높이 56 기준 폭이 100 을 넘으면 폭 100 에 맞춘다) */
.cjb-bugo__header-corp-logo {
    display: block;
    width: auto;
    max-width: 100px;
    height: 56px;
    object-fit: contain;
}

/* 더리본(CCM 이 붙는 업체 - 머리 --ccm) 로고 칸은 시안대로 54 × 50(로고영역 7074:117352 · 의전업체로고 업체=더리본 5630:112070 - 그림 54 × 42 가 칸 y 4 에).
   업체가 올린 그림이라 자체 여백이 있는지 모른다 - 칸 54 × 50 에 비율대로 넣으면(contain) 여백 없는 54 × 42 그림은 칸 가운데(y 4)에, 시안처럼 위아래 여백 4 가 든 54 × 50 그림은 칸을 꽉 채워 둘 다 시안 자리에 그려진다 */
.cjb-bugo__header--ccm .cjb-bugo__header-corp-logo {
    width: 54px;
    height: 50px;
}

/* CCM 인증 표시(업체 「더리본」, D48) - 시안 Header sort=ccm 포함(7074:117350 · PC 인스턴스 7074:117535): 42 × 42 를 업체 로고 바로 오른쪽(사이 12 - 머리 gap)에. 머리 높이 안에서 가운데 */
.cjb-bugo__header-ccm {
    display: block;
    flex: none;
    width: 42px;
    height: 42px;
}

/* ---------- 부고 본문: 고인 카드 · 입실 전 안내 · 장례식장 정보 ---------- */

.cjb-bugo__intro {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px 32px;
}

.cjb-bugo__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    padding: 32px 16px;
    border: 1px solid var(--cjb-stroke-subtle);
    border-radius: 12px;
    background-color: var(--fstd-surface);
    text-align: center;
}

/* 기본 · 선택 일러스트는 112 원(4050:10928 - D18 2026-11-05 결정). 업로드 사진(resolveDeceasedImage 의 is_real_photo)만 아래 --photo 직사각 */
.cjb-bugo__portrait {
    flex: none;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border-radius: 999px;
    background-color: var(--cjb-surface-faint);
}
.cjb-bugo__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 업로드 사진 - 99.2×124 · 모서리 4 · 1px 안쪽 테두리(시안 컴포넌트 7124:13463 「고인 사진 여부=on」, PJT-671). 모바일 · PC 같은 크기 */
.cjb-bugo__portrait--photo {
    box-sizing: border-box;
    width: 99.2px;
    height: 124px;
    border: 1px solid var(--cjb-stroke-subtle);
    border-radius: 4px;
}
/* 세로 사진은 위쪽에 맞춰 자른다 - 영정은 얼굴이 사진 위쪽에 있다. 기존 실사진 액자도 top(m/css/style.css .wrap_profile2 .profile img). 가로 사진은 가운데 */
.cjb-bugo__portrait--photo img {
    object-position: 50% 0;
}

.cjb-bugo__name-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 6px;
    margin: 0;
}

/* KR/Title/Semibold/1 */
.cjb-bugo__name {
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -0.4px;
}

/* KR/Body/Regular/4 */
.cjb-bugo__age {
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.21px;
}

.cjb-bugo__intro-text,
.cjb-bugo__visit-notice {
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.21px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* 시안에 없는 기존 안내 - 정보 줄과 겹치지 않게 옅은 바탕 상자로 */
.cjb-bugo__visit-notice {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: var(--cjb-surface-faint);
    text-align: center;
}

/* 루트 글꼴은 첫 글자(섹션 제목)와 같게 둔다(style 비교 · 물려받는 자식) */
.cjb-bugo__hall {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
}

/* ---------- 상주 말씀 · 상주 정보 ---------- */

.cjb-bugo__comment,
.cjb-bugo__family {
    display: flex;
    flex-direction: column;
    padding: 24px 20px 32px;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
}

.cjb-bugo__section-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px;
}

.cjb-bugo__comment-text {
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.3px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* 상주 이름 칩 - Button/Basic neutral outline · round · small(36). 묶음 배치 · 상태는 cjb-bugo-family.css */
.cjb-bugo__call-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    height: 36px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--fstd-neutral-border);
    border-radius: 999px;
    background-color: transparent;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.21px;
    white-space: nowrap;
    cursor: pointer;
}
/* p_common 의 span 글꼴(font-r) · 글자색(#494949)을 끊고 버튼 글꼴 · 글자색을 잇는다 */
.cjb-bugo__call-chip-name {
    min-width: 0;
    overflow: hidden;
    font: inherit;
    color: inherit;
    text-overflow: ellipsis;
}
.cjb-bugo__call-chip img {
    display: block;
    flex: none;
    width: 14px;
    height: 14px;
}

/* ---------- 오시는 길(4271:137879) ---------- */

/* 루트 글꼴은 첫 글자(장례식장 이름)와 같게 둔다 - 숨김 제목이 물려받는다 */
.cjb-bugo__map {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px 32px;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
}

.cjb-bugo__map-canvas {
    height: 171px;
    overflow: hidden;
    background-color: var(--cjb-surface-faint);
}

.cjb-bugo__place {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.cjb-bugo__place-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* KR/Title/Semibold/2 */
.cjb-bugo__place-name {
    min-width: 0;
    margin: 0;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* IconButton brand solid xsmall(28) - 누르는 영역은 44 */
.cjb-bugo__icon-call {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background-color: var(--fstd-brand);
    cursor: pointer;
}
.cjb-bugo__icon-call::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
}
.cjb-bugo__icon-call img {
    display: block;
    width: 20px;
    height: 20px;
}

.cjb-bugo__address {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* KR/Body/Regular/3 */
.cjb-bugo__address-text {
    min-width: 0;
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.3px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* TextButton neutral xsmall(24) - KR/Label/Regular/3 밑줄. 누르는 영역은 높이 44 */
.cjb-bugo__text-button {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.13px;
    text-decoration: underline;
    text-decoration-thickness: 5%;
    white-space: nowrap;
    cursor: pointer;
}
.cjb-bugo__text-button::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -4px;
    bottom: -10px;
    left: -4px;
}

.cjb-bugo__route {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}

/* Button/Basic neutral outline xsmall(32) - 누르는 영역은 높이 44 */
.cjb-bugo__route-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    height: 32px;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid var(--fstd-neutral-border);
    border-radius: 4px;
    background-color: transparent;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: -0.13px;
    white-space: nowrap;
    cursor: pointer;
}
.cjb-bugo__route-button::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 0;
    bottom: -7px;
    left: 0;
}
.cjb-bugo__route-button img {
    display: block;
    flex: none;
    width: 14px;
    height: 14px;
}
/* p_common 의 span 글꼴(font-r)을 끊고 버튼 글꼴을 잇는다 */
.cjb-bugo__route-label {
    font-family: inherit;
}

/* ---------- 조문 메시지 · 근조화환(4050:12099 · 4050:12111) ---------- */

.cjb-bugo__messages,
.cjb-bugo__flowers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px 32px;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
}

.cjb-bugo__list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* KR/Title/Semibold/2 + 개수 KR/Title/Medium/3 */
.cjb-bugo__list-title {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    margin: 0;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.36px;
}
/* p_common 의 span 글꼴(font-r) · 크기(14) · 색(#494949)을 끊고 제목(18 · fg/neutral/heavy)을 잇는다 - 시안 4050:12102 · 4050:12112 */
.cjb-bugo__list-title-text {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}
.cjb-bugo__count {
    color: var(--cjb-fg-subtle);
    font-family: var(--cjb-bugo-font-medium);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.32px;
}

/* 시안에 없는 기존 [전체보기] - 누르는 영역은 높이 44 */
.cjb-bugo__more-link {
    position: relative;
    flex: none;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.14px;
    text-decoration: none;
}
.cjb-bugo__more-link::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -8px;
    bottom: -12px;
    left: -8px;
}

.cjb-bugo__entries {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cjb-bugo__entry {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--cjb-stroke-subtle);
    border-radius: 8px;
    background-color: var(--fstd-surface);
}

.cjb-bugo__avatar {
    display: block;
    flex: none;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    border: 1px solid var(--fstd-stroke-muted);
    border-radius: 999px;
    background-color: var(--fstd-surface);
    object-fit: cover;
}

.cjb-bugo__entry-text {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* KR/Body/Semibold/4 */
.cjb-bugo__entry-name {
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.14px;
    overflow-wrap: anywhere;
}

/* KR/Body/Regular/4 */
.cjb-bugo__entry-body {
    margin: 0;
    color: var(--cjb-fg-subtle);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.21px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* 기존 [⋮] 메뉴(수정 · 삭제) - 시안 카드에는 없다. 메뉴는 button_more_open 이 .active 를 붙여 연다 */
.cjb-bugo__entry-more {
    position: relative;
    flex: none;
    align-self: flex-start;
    width: 24px;
    height: 24px;
}

.cjb-bugo__more-button {
    position: relative;
    display: block;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.cjb-bugo__more-button::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
}
/* 누른 대상이 언제나 버튼(.w_100)이 되게 - 이미지를 누르면 html 클릭 핸들러가 메뉴를 바로 닫는다 */
.cjb-bugo__more-button img {
    display: block;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.cjb-bugo .comment_more_menu {
    position: absolute;
    top: 28px;
    right: 0;
    z-index: 2;
    display: none;
    min-width: 80px;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    background-color: var(--fstd-surface);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
}
.cjb-bugo .comment_more_menu.active {
    display: block;
}
/* t 전역 규칙(common.css ul>li>a{width:100%})이 너비를 메뉴 폭으로 잡아 좌우 여백만큼 칸 밖으로 넘친다 - 여백을 너비 안에 넣는다 */
.cjb-bugo .comment_more_menu a {
    display: block;
    box-sizing: border-box;
    padding: 15px 20px;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
}

/* ---------- 버튼(FSTD) - 브랜드 테두리 변형 ---------- */

/* fstd-button 은 글꼴을 물려받는다 - p_common 이 div · button 에 font-r 를 바로 걸어 굵기 600 웹폰트를 직접 준다 */
.cjb-bugo .fstd-button {
    font-family: var(--cjb-bugo-font-semibold);
}

/* Button/Basic brand outline(코랄 값 덮어씀) */
.cjb-bugo__button-outline,
.cjb-bugo__button-outline:hover,
.cjb-bugo__button-outline:active {
    border-color: var(--fstd-brand);
    background-color: transparent;
    color: var(--fstd-brand);
}

.cjb-bugo__write {
    width: 100%;
}

/* ---------- 업체 로고(끝, 4050:12137) - 로고만, 업체명 글자 없음(D47) ---------- */

.cjb-bugo__corp-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
}

.cjb-bugo__corp-end-link {
    display: flex;
    cursor: pointer;
}

/* 로고 칸 124 × 69.44(의전업체로고 6826:12643) - 업체가 올린 그림이라 비율을 지켜 칸 안에 넣는다 */
.cjb-bugo__corp-end-logo {
    display: block;
    width: 124px;
    height: 69.44px;
    object-fit: contain;
}

/* ---------- 하단 버튼(4050:12144) - 화면 아래 고정 ---------- */

/* 고정 바(77 = 위 테두리 1 + 12 + 버튼 48 + 16)에 마지막 섹션이 가리지 않게, 토스트는 그 위에 */
:root {
    --cjb-toast-offset: 77px;
}
.cjb-bugo {
    padding-bottom: calc(77px + env(safe-area-inset-bottom, 0px));
}

/* 옛 .btn_floating 과 같은 층(99) - 옛 창(딤 200 · 창 201 · 1000)이 위를 덮는다.
   744 미만은 기존 본문 폭(500, p_common 의 html · body · .wrap)과 같은 안쪽 폭을 쓴다. 루트 글꼴은 첫 글자(근조화환 보내기) 값 */
.cjb-bugo__bottom-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
    padding: 12px max(16px, calc((100% - 468px) / 2)) calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--cjb-stroke-subtle);
    background-color: var(--fstd-surface);
    color: var(--fstd-brand);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.24px;
}

/* 좌우 여백은 시안 14. 320 폭에서는 「근조화환 보내기」(16px, 약 99)가 잘리지 않게 그 폭에서만 줄어든다
   - 버튼 폭 (100vw − 96) / 2 에서 글자 99 · 테두리 2 를 빼고 반으로 나눈 값 */
.cjb-bugo__bottom-bar .fstd-button:not(.fstd-button--icon) {
    flex: 1 1 0;
    min-width: 0;
    padding-right: clamp(4px, calc((100vw - 302px) / 4), 14px);
    padding-left: clamp(4px, calc((100vw - 302px) / 4), 14px);
}

/* 수신자 하단 줄(수신자 부고장 · 완성 화면 미리보기, 4050:12144 · PC 4050:16034) - [공유하기]는 글자 폭, 두 코랄 버튼이 남은 폭을 똑같이 나눈다.
   [공유하기] 좌우 여백은 시안 14, 375 보다 좁으면 줄여 320 에서 4 가 된다.
   코랄 버튼 폭은 나눈 폭으로 정해지고 글자는 가운데 - 좌우 여백은 글자와 테두리 사이의 최소 틈(4)만 둔다. 웹 글꼴의 「근조화환 보내기」(약 99)가
   시안 글자(93)보다 넓어 여백 14 를 두면 375 에서 두 버튼 폭이 같지 않거나 글자가 잘린다. 더 좁아 나눈 폭이 글자보다 좁으면 그 버튼만 글자 폭을 지킨다(min-content) */
.cjb-bugo__bottom-bar.cjb-bugo__bottom-bar--guest .fstd-button {
    padding-right: 4px;
    padding-left: 4px;
}

.cjb-bugo__bottom-bar--guest .fstd-button:not(.cjb-bugo__share) {
    min-width: min-content;
}

.cjb-bugo__bottom-bar.cjb-bugo__bottom-bar--guest .cjb-bugo__share {
    flex: none;
    padding-right: clamp(4px, calc((100vw - 300px) / 5), 14px);
    padding-left: clamp(4px, calc((100vw - 300px) / 5), 14px);
}

/* ---------- 웹(PC) 배치 - 744 이상 본문 최대 912 가운데(4050:14803) ---------- */
/* p_common.css 가 html · body · .wrap 을 500 으로 묶는다(모바일 본문 폭). 이 파일은 이 화면에서만 실리므로 여기서만 푼다.
   좁은 웹(744~959)은 양옆 24 를 남긴다. 기존 991 · 480 분기와 섞지 않는다. */
@media (min-width: 744px) { /* @bp:744 */
    html,
    body,
    .wrap {
        max-width: none;
    }

    .cjb-bugo__header {
        height: auto;
        padding: 16px max(40px, calc((100% - 880px) / 2));
    }

    /* 업체 로고 머리는 시안 높이 64(PC 인스턴스 7074:117535) - 로고(56)가 여백 안으로 걸친다 */
    .cjb-bugo__header--corp {
        height: 64px;
    }

    .cjb-bugo__main {
        width: calc(100% - 48px);
        max-width: 912px;
        margin: 0 auto;
    }

    .cjb-bugo__intro {
        padding-right: 0;
        padding-left: 0;
    }

    .cjb-bugo__comment,
    .cjb-bugo__family,
    .cjb-bugo__map {
        padding-right: 0;
        padding-left: 0;
    }

    .cjb-bugo__messages,
    .cjb-bugo__flowers {
        padding: 48px 0;
    }

    .cjb-bugo__corp-end {
        padding: 28px 0;
    }

    .cjb-bugo__bottom-bar {
        padding-right: max(24px, calc((100% - 912px) / 2));
        padding-left: max(24px, calc((100% - 912px) / 2));
    }
}

/* ---------- 추모영상 칸(4050:12124) - 플레이어 안쪽은 cjb-player.css ---------- */

.cjb-bugo__video {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 16px;
}

/* 제목은 [다시 시도] 뒤 포커스를 받는 자리(tabindex=-1) - 프로그램 포커스에는 윤곽선을 두지 않는다 */
.cjb-bugo__video .cjb-bugo__title:focus:not(:focus-visible) {
    outline: none;
}

/* p_common.css 가 div · span · button 에 글꼴 · 글자색(#494949)을 바로 걸어, 플레이어 안쪽 글자(재생 시간 등)가 루트의 흰 글자를 물려받지 못한다.
   :where 로 특정도를 요소 하나(0,0,1)로 맞춰 p_common 과 같게 두고 뒤에 실려 이긴다 - 플레이어 클래스 규칙(0,1,0)은 그대로 이긴다. */
:where(.cjb-bugo .cjb-player) div,
:where(.cjb-bugo .cjb-player) span,
:where(.cjb-bugo .cjb-player) button {
    color: inherit;
    font-family: inherit;
}

/* KR/Body/Regular/5 */
.cjb-bugo__video-note {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.12px;
}
.cjb-bugo__video-note img {
    display: block;
    flex: none;
    width: 14px;
    height: 14px;
}
/* p_common 의 span 글꼴(font-r)을 끊고 문단 글꼴을 잇는다 */
.cjb-bugo__video-note-text {
    font-family: inherit;
}

@media (min-width: 744px) { /* @bp:744 */
    .cjb-bugo__video {
        padding: 48px 0;
    }
}

/* ---------- 추모영상 칸 스켈레톤(VDO-F2-I01, 4050:12339) - 부고별 API 응답 전 ---------- */
/* 블록 3개(제목 · 16:9 이미지 · 안내 글)는 실제 칸과 같은 높이를 차지해 응답 뒤에 칸이 밀리지 않는다.
   시머: 흰 띠(가운데 흰색, 양끝 투명)가 블록 위를 왼쪽 밖에서 오른쪽 밖으로 833ms 지나가고 667ms 쉰다(1.5초마다).
   흰 바탕 위에서는 흰 띠가 보이지 않아 블록 안에서만 보인다. 띠 폭은 모바일 화면 폭, 웹은 본문 폭 912. */

.cjb-bugo__video {
    --cjb-bugo-shimmer-band: 100vw;
}

.cjb-bugo__video-skeleton {
    display: none;
}

.cjb-bugo__video.is-loading > :not(.cjb-bugo__video-skeleton) {
    display: none;
}

.cjb-bugo__video.is-loading > .cjb-bugo__video-skeleton {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.cjb-bugo__video-skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--fstd-surface) 50%, rgba(255, 255, 255, 0) 100%);
    background-repeat: no-repeat;
    background-size: var(--cjb-bugo-shimmer-band) 100%;
    background-position: calc(var(--cjb-bugo-shimmer-band) * -1) 0;
    animation: cjb-bugo-shimmer 1.5s linear infinite;
}

/* 0 ~ 833ms(55.533%) 지나가기, 나머지 667ms 는 오른쪽 밖에서 쉰다 */
@keyframes cjb-bugo-shimmer {
    0% {
        background-position: calc(var(--cjb-bugo-shimmer-band) * -1) 0;
    }
    55.533%,
    100% {
        background-position: calc(100% + var(--cjb-bugo-shimmer-band)) 0;
    }
}

/* Layer/surface/normal/muted */
.cjb-bugo__bone {
    display: block;
    background-color: var(--fstd-surface-muted);
}
/* 제목 줄(24) 안의 18 블록 */
.cjb-bugo__bone--title {
    width: 62px;
    height: 18px;
    margin: 3px 0;
    border-radius: 4px;
}
.cjb-bugo__bone--media {
    height: 0;
    padding-top: 56.25%;
    border-radius: 8px;
}
/* 안내 글 줄(18) 안의 14 블록 */
.cjb-bugo__bone--text {
    width: 174px;
    max-width: 100%;
    height: 14px;
    margin: 2px 0;
    border-radius: 4px;
}

@media (min-width: 744px) { /* @bp:744 */
    .cjb-bugo__video {
        --cjb-bugo-shimmer-band: 912px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cjb-bugo__video-skeleton::after {
        display: none;
        animation: none;
    }
}

/* ---------- 새 시트 공통(조문 · 길 찾기 · 네비게이션 · 부의금) - 틀 · 여닫기는 cjb-ui.css 의 .cjb-sheet ---------- */
/* p_common.css 가 div · span · label · button · input · textarea 에 글꼴 · 14px · #494949 를 바로 걸어 cjb-ui 의 물려받기가 끊긴다
   - 글자를 담는 요소마다 글꼴 · 크기 · 색을 직접 둔다(W2a 와 같은 이유). 열림 상태(.is-open)에만 걸린 값은 두지 않는다. */

.cjb-bugo-sheet [hidden] {
    display: none !important;
}

/* 패널 글자색 · 글꼴 - 제목 줄(KR/Title/Semibold/1)이 패널 값을 물려받는다 */
.cjb-bugo-sheet .cjb-sheet__panel {
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
}

/* 머리 줄 - 시안 모바일 높이 36: 위 8 · 좌우 16, 제목과 X 를 위에 맞춘다. X 28(아이콘 20 · 안쪽 4 · 모서리 4), 누르는 영역 44
   (4050:13743 · 4309:9659 · 4309:8358 · 4309:10978 - 2026-11-05 사용자 결정). W1 공용 cjb-ui 값(X 32 · 오른쪽 10)은 고치지 않고 이 화면 시트에만 덮는다 */
.cjb-bugo-sheet .cjb-sheet__head {
    align-items: flex-start;
    padding: 8px 16px 0;
}
.cjb-bugo-sheet .cjb-sheet__close {
    width: 28px;
    height: 28px;
    padding: 4px;
}
.cjb-bugo-sheet .cjb-sheet__close::before {
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
}

/* cjb-ui 의 제목은 font: inherit 라 p_common 이 머리 줄(div)에 건 14px · #494949 를 받는다 - 시안 20/26 을 직접 준다 */
.cjb-bugo-sheet .cjb-sheet__title {
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -0.4px;
}

.cjb-bugo-sheet .fstd-button {
    font-family: var(--cjb-bugo-font-semibold);
}

/* 본문 - 모바일 16 16 24(4050:13746 · 4309:9662) */
.cjb-bugo-sheet__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 24px;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
}

/* 아래 버튼 둘 - 보조 [취소하기] 왼쪽 · 주 [작성완료] 오른쪽. 마크업도 이 순서라 Tab 순서 = 화면 순서 - cjb-ui 의 744 이상 뒤집기(row-reverse)를 되돌린다 */
.cjb-bugo-sheet__foot {
    flex-direction: row;
}
.cjb-bugo-sheet__foot > .fstd-button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

/* ---------- 조문 메시지 시트(4050:12508 · 4050:16358) ---------- */

/* 작성인 · 비밀번호 · 위로 메시지 - 모바일 한 줄씩, 744 이상 작성인 · 비밀번호 한 줄(4050:17602) */
.cjb-bugo-sheet__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px 8px;
}

.cjb-bugo-sheet__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cjb-bugo-sheet__label-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* KR/Label/Medium/1 + [필수] KR/Caption/Medium/1(fg/brand/muted) */
.cjb-bugo-sheet__label {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    color: var(--fstd-fg-muted);
    font-family: var(--cjb-bugo-font-medium);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.24px;
}

.cjb-bugo-sheet__required {
    color: #f68481;                    /* fg/brand/muted - 토큰 파일에 없다 */
    font-family: var(--cjb-bugo-font-medium);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: -0.06px;
}

.cjb-bugo-sheet__help {
    margin: 0;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: -0.12px;
}

/* TextField(48) · TextAreaField - p_common 의 input(높이 50 · text-indent 16 · 모서리 5) · textarea(높이 100 · 안쪽 16)를 덮는다 */
.cjb-bugo-sheet__input,
.cjb-bugo-sheet__textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: 1px solid var(--fstd-stroke-shy);
    border-radius: 4px;
    background-color: var(--fstd-surface);
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: -0.32px;
    text-indent: 0;
    -webkit-appearance: none;
    appearance: none;
}
.cjb-bugo-sheet__input {
    height: 48px;
    padding: 0 16px;
}
/* 쓰면서 늘어나고 최대에서 안쪽 스크롤(TextAreaField 개편안 - 모바일 3줄 99 ~ 6줄 168). field-sizing 을 모르는 브라우저는 최소 높이에서 안쪽 스크롤 */
.cjb-bugo-sheet__textarea {
    min-height: 99px;
    max-height: 168px;
    height: auto;
    padding: 14px 16px;
    resize: none;
    field-sizing: content;
}
.cjb-bugo-sheet__input::placeholder,
.cjb-bugo-sheet__textarea::placeholder {
    color: #95989b;                    /* input/value/placeholder */
    opacity: 1;
}
/* 입력칸 포커스 표시는 코랄 테두리 하나다. 글자 입력칸은 터치·클릭으로 포커스해도 :focus-visible 이 맞아
   공용 윤곽선(.cjb-sheet · .cjb-bugo :focus-visible)이 테두리 바깥에 겹쳐 그려진다 - 입력칸에서는 끈다 */
.cjb-bugo-sheet__input:focus,
.cjb-bugo-sheet__textarea:focus {
    border-color: var(--fstd-brand);
    outline: none;
}

.cjb-bugo-sheet__count {
    margin: 0;
    color: #95989b;                    /* input/counter/default */
    font-family: var(--cjb-bugo-font);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: -0.12px;
    text-align: right;
}

/* [조문 메시지 참고하기] + 펼친 참고 문구(4050:13781) */
.cjb-bugo-sheet__phrases {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cjb-bugo-sheet__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--cjb-fg-subtle);
    font-family: var(--cjb-bugo-font-medium);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.21px;
    cursor: pointer;
}
.cjb-bugo-sheet__toggle-label {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}
.cjb-bugo-sheet__toggle-icon {
    display: block;
    width: 14px;
    height: 14px;
}
.cjb-bugo-sheet__toggle[aria-expanded="true"] .cjb-bugo-sheet__toggle-icon {
    transform: rotate(180deg);
}

.cjb-bugo-sheet__phrases-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
    padding: 16px 0 24px;
}

.cjb-bugo-sheet__phrases-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cjb-bugo-sheet__phrases-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* KR/Title/Semibold/3 */
.cjb-bugo-sheet__phrases-title {
    margin: 0;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.32px;
}

.cjb-bugo-sheet__phrases-icon {
    display: block;
    flex: none;
    width: 40px;
    height: 45px;
}

.cjb-bugo-sheet__phrases-note {
    margin: 0;
    color: var(--cjb-fg-subtle);
    font-family: var(--cjb-bugo-font);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: -0.12px;
}

.cjb-bugo-sheet__phrase-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cjb-bugo-sheet__phrase {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--cjb-stroke-subtle);
    border-radius: 8px;
    background-color: var(--fstd-surface);
}

.cjb-bugo-sheet__phrase-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* KR/Body/Semibold/3 */
.cjb-bugo-sheet__phrase-no,
.cjb-bugo-sheet__phrase-title {
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font-semibold);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.225px;
}
.cjb-bugo-sheet__phrase-no {
    flex: none;
}
.cjb-bugo-sheet__phrase-title {
    flex: 1 1 auto;
    min-width: 0;
    word-break: keep-all;
}

/* Button/Basic neutral outline small(32, 둥근 끝) */
.cjb-bugo-sheet__copy {
    flex: none;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: -0.13px;
}
.cjb-bugo-sheet__copy img {
    display: block;
    width: 14px;
    height: 14px;
}

/* KR/Body/Regular/4. 복사가 안 되는 웹뷰에서 길게 눌러 고를 수 있게 전역 html{-webkit-user-select:none} 을 푼다(복사 실패 토스트가 이 길을 알린다) */
.cjb-bugo-sheet__phrase-text {
    margin: 0;
    color: var(--cjb-fg-subtle);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.21px;
    word-break: keep-all;
    overflow-wrap: anywhere;
    -webkit-user-select: text;
    user-select: text;
}

@media (min-width: 744px) { /* @bp:744 */
    /* cjb-ui 의 PC 패널 줄 높이(28, 확인 모달 기준)를 이 화면 모달 제목 값 26 으로(4050:17599 · 4357:8907) */
    .cjb-bugo-sheet .cjb-sheet__panel {
        line-height: 26px;
    }

    /* 모달 머리 줄은 시안 PC 값 = cjb-ui 의 PC 값(위 24 · 좌우 20 · 아래 12, X 36 - 4050:17596 · 4357:8904). 위 모바일 덮기를 되돌린다 */
    .cjb-bugo-sheet .cjb-sheet__head {
        padding: 24px 20px 12px;
    }
    .cjb-bugo-sheet .cjb-sheet__close {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    .cjb-bugo-sheet .cjb-sheet__close::before {
        top: -4px;
        right: -4px;
        bottom: -4px;
        left: -4px;
    }

    /* 모달 본문 8 20 24, 사이 24(4050:17601) - 머리 · 아래 버튼 줄은 cjb-ui 의 PC 값 그대로 */
    .cjb-bugo-sheet__body {
        gap: 24px;
        padding: 8px 20px 24px;
    }

    .cjb-bugo-sheet__form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .cjb-bugo-sheet__field--wide {
        grid-column: 1 / -1;
    }

    /* 웹 TextAreaField - KR/Body/Regular/3 15/22, 5줄 136 ~ 10줄 246 */
    .cjb-bugo-sheet__textarea {
        min-height: 136px;
        max-height: 246px;
        padding: 12px 16px;
        font-size: 15px;
        line-height: 22px;
        letter-spacing: -0.3px;
    }
}

/* ---------- 길 찾기 · 네비게이션 시트(4309:7148 · 4309:8449) - 앱 타일 한 줄 ---------- */

.cjb-bugo-sheet__apps {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 8px 0 16px;
    list-style: none;
}

.cjb-bugo-sheet__app-item {
    flex: 1 1 0;
    min-width: 0;
}

.cjb-bugo-sheet__app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: none;
    cursor: pointer;
}

.cjb-bugo-sheet__app-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
}
.cjb-bugo-sheet__app-icon img {
    display: block;
}
/* 카카오내비 - 노란 바탕(12 모서리) 위 로고(4373:9039) */
.cjb-bugo-sheet__app-icon--kakaonavi {
    border-radius: 12px;
    background-color: #fbda05;
}
.cjb-bugo-sheet__app-icon--kakaonavi img {
    width: 36.5px;
    height: 41px;
}
/* 카카오맵 - 14 모서리(4309:8442) */
.cjb-bugo-sheet__app-icon--kakaomap {
    border-radius: 14px;
}
.cjb-bugo-sheet__app-icon--kakaomap img {
    width: 56px;
    height: 56px;
}

/* KR/Body/Regular/3 */
.cjb-bugo-sheet__app-name {
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.3px;
    text-align: center;
    word-break: keep-all;
}

/* ---------- 부의금 계좌정보 시트(4309:9768 · 4357:7673) ---------- */

/* 본문 사이 16, 아래 20(4309:10981) */
.cjb-bugo-sheet__body--bank {
    gap: 16px;
    padding-bottom: 20px;
}

/* KR/Body/Regular/4 - fg/neutral/assistive */
.cjb-bugo-sheet__guide {
    margin: 0;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.21px;
    word-break: keep-all;
}

/* 상주 한 명 = 계좌 상자 + 그 계좌의 [계좌 문자받기] · [계좌 복사하기](여럿이면 상주마다 - 기존 동작) */
.cjb-bugo-sheet__account {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cjb-bugo-sheet__account-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
    border-radius: 8px;
    background-color: var(--cjb-surface-faint);
}

/* KR/Body/Medium/4 */
.cjb-bugo-sheet__account-family {
    margin: 0;
    color: var(--fstd-fg-heavy);
    font-family: var(--cjb-bugo-font-medium);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.21px;
    overflow-wrap: anywhere;
}

.cjb-bugo-sheet__account-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* KR/Body/Regular/4 */
.cjb-bugo-sheet__account-line,
.cjb-bugo-sheet__account-empty {
    margin: 0;
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.21px;
    overflow-wrap: anywhere;
}

/* 전역 html{-webkit-user-select:none} 이 막는 계좌 글자 고르기를 되살린다(옛 창의 user-select:text) */
.cjb-bugo-sheet__selectable {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    -webkit-user-select: text;
    user-select: text;
}

.cjb-bugo-sheet__account-actions {
    display: flex;
    gap: 8px;
}
.cjb-bugo-sheet__account-actions > .fstd-button {
    flex: 1 1 0;
    min-width: 0;
}

/* 계좌가 없을 때 - 계좌 상자 자리에 문구만 */
.cjb-bugo-sheet__empty {
    margin: 0;
    padding: 20px 16px;
    border-radius: 8px;
    background-color: var(--cjb-surface-faint);
    color: var(--cjb-fg-default);
    font-family: var(--cjb-bugo-font);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.21px;
    text-align: center;
}

/* 입금자명 안내(4314:139223) - KR/Caption/Medium/2 · Regular/2 */
.cjb-bugo-sheet__tip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--fstd-stroke-muted);
    border-radius: 4px;
}

.cjb-bugo-sheet__tip-title {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin: 0;
    color: var(--fstd-neutral-label);
    font-family: var(--cjb-bugo-font-medium);
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
}
.cjb-bugo-sheet__tip-title img {
    display: block;
    flex: none;
    width: 14px;
    height: 14px;
}

.cjb-bugo-sheet__tip-text {
    margin: 0;
    color: var(--cjb-fg-subtle);
    font-family: var(--cjb-bugo-font);
    font-size: 11px;
    font-weight: 400;
    line-height: 14px;
    word-break: keep-all;
}

@media (min-width: 744px) { /* @bp:744 */
    /* 모달 본문 사이 20, 아래 24(4357:8909) */
    .cjb-bugo-sheet__body--bank {
        gap: 20px;
        padding-bottom: 24px;
    }
}
