.volunteer-all-region-view.hidden,
.volunteer-gugun-view.hidden,
.volunteer-gugun-placeholder.hidden,
.volunteer-empty.hidden {
    display: none !important;
}

.volunteer-page {
    padding-bottom: 20px;
}

.volunteer-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: white;
}

.volunteer-header-logo img {
    height: 20px;
    width: auto;
}

.volunteer-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.volunteer-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.volunteer-banner {
    position: relative;
    overflow: hidden;
}

.volunteer-banner-swiper {
    overflow: visible;

    .swiper-wrapper {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .swiper-slide {
        list-style: none;
        width: calc(100% - 40px);
        transform: scale(0.95);
        transition: transform 0.35s ease;
    }

    .swiper-slide-active {
        transform: scale(1);
    }
}

.volunteer-banner-slide {
    display: block;
    border-radius: 15px;
    overflow: hidden;

    img {
        width: 100%;
        aspect-ratio: 358 / 229;
        object-fit: cover;
        display: block;
        border-radius: 15px;
    }
}

.volunteer-banner-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0 4px;
}

.volunteer-banner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;

    background-color: var(--gray-100);
    border: none;
    padding: 0;
    cursor: pointer;

    &.active {
        background: var(--primary-color);
    }
}

.volunteer-list {
    margin-top: 20px;
    padding: 0 16px;
}

.volunteer-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-050);
    cursor: pointer;

    &:first-child {
        padding-top: 0;
    }
}

.volunteer-card-main {
    display: flex;
    gap: 15px;
}

.volunteer-card-review {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--gray-000);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.volunteer-card-review-name {
    font-weight: 600;
    color: var(--primary-color);
}

.volunteer-card-review-divider {
    font-weight: 600;
    color: var(--gray-300);
}

.volunteer-card-review-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-card-thumb {
    flex-shrink: 0;
    width: 130px;
    height: 170px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;

    img {
        width: auto;
        min-width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.volunteer-card-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: #2d2d2d;
    color: var(--white-color);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1;
    white-space: nowrap;
    z-index: 1;
}

/* 1: 모집 예정 */
.volunteer-card-status-badge.status-1 { background: var(--primary-color); color: var(--white-color); }
/* 3: 모집 마감 */
.volunteer-card-status-badge.status-3 { background: #2d2d2d; color: var(--white-color); }
/* 4: 활동 종료 */
.volunteer-card-status-badge.status-4 { background: #2d2d2d; color: var(--white-color); }

.volunteer-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.volunteer-card-info-top,
.volunteer-card-info-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.volunteer-card-taxonomy-group {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.volunteer-card-location {
    display: flex;
    gap: 3px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-card-location-org {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 131px;
}

/* 돌고 오리지널 태그 — 상세(.dolgo-tag-original)와 동일한 그라데이션 보더, 크기만 축소 */
.volunteer-card-original {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    align-self: flex-start;
    color: transparent;
    background: var(--white-color) linear-gradient(99.2deg, var(--primary-color) 0%, #1acedf 99%);
    -webkit-background-clip: text;
    background-clip: text;
}

.volunteer-card-original::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(99.2deg, var(--primary-color) 0%, #1acedf 99%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.volunteer-card-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
}

.volunteer-card-schedule {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    span {
        white-space: nowrap;
    }
}

.volunteer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;

    &.volunteer-empty-center {
        justify-content: center;
        min-height: calc(100vh - 110px);
        padding: 0;
    }
}

.volunteer-empty-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
}

.volunteer-empty-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
    text-align: center;
    margin: 0 0 10px;
}

.volunteer-empty-text {
    font-size: 15px;
    font-weight: 500;
    color: #A4A4A4;
    line-height: 1.6;
    text-align: center;
    margin: 0 0 20px;
}

.volunteer-empty-btn {
    padding: 10px 20px;
    width: 150px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;

    &:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}
.volunteer-region-layout {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
}

.volunteer-region-right {
    position: relative;
    flex: 1 1 auto;
    padding: 20px 16px;
    background-color: white;

    &.gugun-mode {
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.volunteer-sido-list {
    width: 95px;
    flex-shrink: 0;
    background: var(--gray-000);
    border-right: 1px solid var(--gray-100);
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.volunteer-sido-item {
    padding: 15px 10px 15px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    border-left: 5px solid transparent;

    &.active {
        background-color: white;
        border-left-color: var(--primary-color);
        color: var(--primary-color);
        font-weight: 700;
    }
}

.volunteer-all-region-view {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.volunteer-all-region-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #A4A4A4;
    text-align: center;
    margin: 0 0 16px;
}

.volunteer-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 16px;
}

.volunteer-gugun-view {
    min-height: 100%;
}

.volunteer-gugun-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.volunteer-gugun-item {
    display: flex;
    align-items: center;
    padding: 15px 10px 15px 30px;
    background-color: white;
    border-bottom: 1px solid var(--gray-000);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 21px;
    cursor: pointer;
    gap: 3px;

    .volunteer-gugun-check {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        opacity: 0;
        transition: opacity 0.1s;
    }

    &.active .volunteer-gugun-check {
        opacity: 1;
    }
}

.volunteer-gugun-placeholder {
    color: #A4A4A4;
    font-size: 15px;
    text-align: center;
    margin-top: 120px;
}

.volunteer-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 390 / 229;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.volunteer-basic {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 16px 0;
    margin-bottom: 30px;
}

/* 카테고리 태그 스타일은 common.css 의 .dolgo-tags / .dolgo-tag / .dolgo-tag-original / .dolgo-tag-group 로 이전(전역 공용) */

.volunteer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    margin: 5px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.volunteer-location {
    display: flex;
    gap: 3px;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

.volunteer-location-org {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.volunteer-divider {
    width: 100%;
    height: 12px;
    background: var(--gray-000);
    margin-top: 24px;
}

.volunteer-section {
    padding: 24px 16px 0;

    &:last-of-type {
        padding-bottom: 44px;
    }
}

.volunteer-section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 20px;
}

/* 더보기 버튼 (하단 전체너비) — 함께 이어지는 기부 등 */
.volunteer-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    margin-top: 16px;
    padding: 14px 0;
    border: 1px solid var(--lightgray-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    background: var(--white-color);
}

.volunteer-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.volunteer-info-row {
    display: flex;
    gap: 40px;
    align-items: center;
    font-size: 16px;
}

.volunteer-info-label {
    flex-shrink: 0;
    width: 42px;
    font-weight: 600;
    color: var(--gray-700);
}

.volunteer-info-value {
    flex: 1;
    font-weight: 400;
    color: var(--gray-700);
    word-break: break-word;
    position: relative;
    display: flex;
    align-items: center;
}

.volunteer-tooltip {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    cursor: pointer;
    outline: none;

    .volunteer-tooltip-icon {
        width: 20px;
        height: 20px;
        display: block;
    }

    .volunteer-tooltip-bubble {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        padding: 15px 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        font-size: 13px;
        font-weight: 500;
        color: var(--gray-600);
        line-height: 1.6;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.15s ease-in-out;
        pointer-events: none;
        z-index: 10;
    }

    &:hover .volunteer-tooltip-bubble,
    &:focus .volunteer-tooltip-bubble,
    &:focus-within .volunteer-tooltip-bubble,
    &.on .volunteer-tooltip-bubble {
        opacity: 1;
        visibility: visible;
    }
}

/* 상세 정보 섹션 — 타이틀만 좌우 패딩, 본문(구조화 카드/HTML)은 풀폭 */
.volunteer-detail-section {
    padding: 24px 0 44px;

    > .volunteer-section-title {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.volunteer-content {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-700);
    line-height: 27px;

    img {
        display: block;
        margin: auto 0;
    }

    &.external-1365 {
        padding: 0 16px;
    }
}

/*
    구조화 상세(volunteer_detail, body_type_code=2) 렌더
    - uploader=dolgo 의 progrm_cn 인라인 카드 마크업(seq 283239)과 동일한 형태를 클래스로 재현
    - 카드: var(--white-color) / border 1px #E9EEF5 / radius 16px, 좌측 블루 액센트바(var(--primary-color))
*/
.vd-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--black-color);
}

/* 활동 난이도 서브박스 */
.vd-diff {
    margin: 16px 0 0;
    padding: 16px 14px;
    background: var(--gray-000);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    box-sizing: border-box;
}

/* 활동 타임라인 */
/* 활동 타임라인 (좌측 파란 세로선 + 시간|설명 좌우 배치) */
.vd-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 16px;
    border-left: 2px solid var(--primary-color);
}

.vd-timeline-item {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.vd-timeline-time {
    flex: 0 0 auto;
    min-width: 108px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--primary-color);
}

.vd-timeline-desc {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--gray-600);
}

.vd-photo {
    position: relative;
    width: 100%;
    padding-top: 66.6667%;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;

    img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* =========================================================
   봉사 신청 폼 (apply-form)
   ========================================================= */
.apply-page {
    background: var(--white-color);
    min-height: 100%;
    padding-bottom: 20px;
}

/* 섹션 = 흰 배경 연속 · 30px 간격 (Figma) */
.apply-section {
    padding: 0 16px;
}

.apply-section:first-of-type {
    padding-top: 14px;
}

.apply-section + .apply-section {
    margin-top: 30px;
}

/* 개인정보 안내 박스는 직전 섹션과 10px 간격 (Figma: 인풋그룹↔안내 gap 10px) */
.apply-section + .apply-section.apply-section--notice {
    margin-top: 10px;
}

.apply-section.hidden,
.apply-page .hidden {
    display: none;
}

.apply-section-head {
    display: flex;
    align-items: center;
    gap: 5px;
}

.apply-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* 봉사 정보(첫 섹션) 타이틀은 18px */
.apply-section:first-of-type .apply-section-title {
    font-size: 18px;
}

.apply-required {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 2px;
}

/* 섹션 타이틀 옆 정보 아이콘 버튼 (툴팁·바텀시트 트리거) */
.apply-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.apply-info-btn img {
    width: 20px;
    height: 20px;
}

/* 라벨 · 인풋 */
.apply-label {
    display: block;
    margin: 16px 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.apply-input {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 15px;
    border: 1px solid var(--gray-200);
    /* 전역 input 리셋(border-radius:0 !important) 을 이기기 위해 !important */
    border-radius: 12px !important;
    background: var(--white-color);
    font-size: 15px;
    color: var(--gray-900);
    -webkit-appearance: none;
    appearance: none;
}

.apply-input::placeholder {
    color: var(--gray-300);
}

.apply-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.apply-input.error {
    border-color: var(--red5-color);
}

/* 봉사시간 발급 정보 입력칸: autofill(직전 신청·주민번호 연동)된 값만 gray000 배경 (Figma "non" variant), 처음 입력은 화이트 */
#portal1365Section .apply-input.autofilled {
    background: var(--gray-000);
}

/* 정보성 힌트(파랑) — 이름 입력 규칙 안내 등 */
.apply-hint {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--primary-color);
}

.apply-hint img {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    flex: none;
}

.apply-hint-lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* 필드 안내/에러 통합 메시지 (이름 규칙: 파랑 힌트 ↔ 빨강 에러) */
.apply-field-msg {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--primary-color);
}

.apply-field-msg-ic {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    flex: none;
}

.apply-field-msg-error {
    display: none;
}

.apply-field-msg.error {
    color: var(--red5-color);
}

.apply-field-msg.error .apply-field-msg-info {
    display: none;
}

.apply-field-msg.error .apply-field-msg-error {
    display: inline;
}

/* 에러(빨강) */
.apply-error {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--red5-color);
}

.apply-error img {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    flex: none;
}

/* 신청 사유 textarea + 글자수 카운터 */
.apply-textarea-wrap {
    position: relative;
    margin-top: 4px;
}

.apply-textarea {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 14px 15px 26px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white-color);
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray-900);
    resize: none;
    -webkit-appearance: none;
    appearance: none;
}

.apply-textarea::placeholder {
    color: var(--gray-300);
}

.apply-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.apply-textarea.error {
    border-color: var(--red5-color);
}

.apply-counter {
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-300);
}

.apply-counter.over {
    color: var(--red-color);
}

/* 봉사 정보 요약 */
.apply-vol-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 14px;
}

.apply-vol-thumb {
    flex: none;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    background: #F0F0F0;
}

.apply-vol-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.apply-vol-summary .dolgo-tags {
    margin: 0 0 2px;
}

.apply-vol-org {
    font-size: 14px;
    color: var(--gray-400);
}

.apply-vol-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gray-900);
}

.apply-vol-meta {
    margin-top: 18px;
}

.apply-vol-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.apply-vol-row + .apply-vol-row {
    margin-top: 12px;
}

.apply-vol-label {
    flex: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.apply-vol-value {
    flex: 1;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600, var(--gray-600));
    line-height: 1.5;
}

/* 성별 토글 (본인확인 — 남/여, 선택 시 파란 아웃라인 + 연파랑 배경) */
/* 돌고 오리지널만 보기 토글 (필터 바 하단, 목록·검색결과 공용) */
.volunteer-original-filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
    cursor: pointer;
}

.volunteer-original-filter input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.volunteer-original-box {
    flex: none;
    position: relative;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white-color);
}

.volunteer-original-filter input:checked + .volunteer-original-box {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.volunteer-original-filter input:checked + .volunteer-original-box::after {
    content: "";
    position: absolute;
    left: 6.5px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid var(--white-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.volunteer-original-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
}

.volunteer-original-label .is-accent {
    color: var(--primary-color);
}

/* 생년월일 입력 + 성별 토글 한 줄 배치 */
.apply-birth-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-birth-row .apply-input {
    flex: 1 1 0;
    min-width: 0;
}

.apply-birth-row .apply-gender {
    flex: 0 0 auto;
    width: 144px;
    margin-top: 0;
}

.apply-gender {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.apply-gender-btn {
    flex: 1;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white-color);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    cursor: pointer;
}

.apply-gender-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary0-color);
    color: var(--primary-color);
    font-weight: 600;
}

.apply-gender.error .apply-gender-btn {
    border-color: var(--red5-color);
}

/* 선택 옵션 (봉사시간 발급 — check-circle + 서브카피) */
.apply-radio {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 14px 15px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white-color);
    cursor: pointer;
}

.apply-radio:first-of-type {
    margin-top: 14px;
}

.apply-radio input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.apply-radio-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.apply-radio-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.4;
}

.apply-radio-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.apply-radio-circle {
    order: -1;
    flex: none;
    position: relative;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    background: var(--gray-200);
}

/* 체크는 선택 여부와 무관하게 항상 흰색으로 표시 (Figma: unselected=회색원+흰체크 / selected=파랑원+흰체크) */
.apply-radio-circle::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--white-color);
    border-width: 0 1.6px 1.6px 0;
    transform: rotate(45deg);
}

.apply-radio.selected .apply-radio-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.apply-radio.selected {
    border-color: var(--primary-color);
}

.apply-radio.selected .apply-radio-title {
    font-weight: 600;
}

/* 동의 체크박스 (사진·영상 촬영) */
.apply-check {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
    margin-top: 14px;
    padding: 14px 15px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white-color);
    cursor: pointer;
}

.apply-check input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.apply-check-box {
    flex: none;
    position: relative;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: var(--white-color);
}

.apply-check.checked {
    border-color: var(--primary-color);
}

.apply-check.checked .apply-check-title {
    font-weight: 600;
}

.apply-check.checked .apply-check-box {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.apply-check.checked .apply-check-box::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid var(--white-color);
    border-width: 0 1.8px 1.8px 0;
    transform: rotate(45deg);
}

.apply-check.error .apply-check-box {
    border-color: var(--red5-color);
}

.apply-check-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.apply-check-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.4;
}

.apply-check-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* 하단 안내 (개인정보 처리방침 · 회색 박스) */
.apply-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 13px 15px;
    border-radius: 12px;
    background: var(--gray-000);
}

.apply-notice img {
    width: 20px;
    height: 20px;
    flex: none;
}

.apply-notice p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-500);
}

/* 1365 안내 — 공용 바텀 모달(.modal--sec.bottom) 내부 콘텐츠 스타일 (컨테이너는 공용 모달) */
.apply-sheet-title {
    color: var(--primary5-color);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
}

.apply-sheet-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    text-align: center;
}

.apply-sheet-body b {
    font-weight: 600;
    color: var(--primary5-color, var(--primary5-color));
}

.apply-sheet-steps {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
}

.apply-sheet-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.apply-sheet-step-no {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(53, 138, 227, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.apply-sheet-step-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-800);
    padding-top: 1px;
    letter-spacing: -0.3px;
}

.apply-sheet-link {
    display: block;
    margin-top: 30px;
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
    text-align: center;
}

/* 실제 모바일 폭에서는 전체 폭 (secure-keypad 등 공용 바텀시트와 동일) */
@media screen and (max-width: 480px) {
    .apply-sheet {
        max-width: 100vw;
    }
}

/* 1365 회원번호 확인 링크 버튼 */
.apply-member-no-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary5-color, var(--primary5-color));
    cursor: pointer;
}

.apply-member-no-link img {
    width: 16px;
    height: 16px;
}

/* 하단 CTA */
.footer .btn-wrap .apply-submit-btn {
    font-weight: 700;
}

.footer .btn-wrap .apply-submit-btn:disabled {
    background-color: var(--gray-400);
    cursor: default;
}

/* =========================================================
   봉사 신청 내역 목록 (apply-list) - .va-* prefix
   ========================================================= */
.va-page {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-bottom: 90px;

    .volunteer-empty-center {
        flex: 1;
        min-height: 0;
    }

    .volunteer-empty-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 10px;
    }

    .volunteer-empty-text {
        margin-bottom: 10px;
    }

    .volunteer-empty-btn {
        width: 196px;
        font-size: 13px;
    }
}

/* 상태 필터탭 (가로 스크롤 pill) */
.va-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--white-color);
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.va-tabs::-webkit-scrollbar {
    display: none;
}

.va-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid var(--gray-100);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;

    &.is-active {
        background: var(--primary0-color);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
}

/* 카드 리스트 */
.va-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

/* 카드 = 상태 헤더바 + 본문 (Figma: border gray100 / radius14 / soft shadow) */
.va-card {
    overflow: hidden;
    background: var(--white-color);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

/* 상태 헤더바 (좌 라벨 + 우 D-N) */
.va-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* 검토중 대표 색상을 확정과 동일하게 통일 */
.va-status-bar--applied {
    background: var(--primary-color);
    color: var(--white-color);
}

.va-status-bar--approved {
    background: var(--primary-color);
    color: var(--white-color);
}

.va-status-bar--completed {
    background: var(--primary0-color);
    color: var(--primary6-color);
}

.va-status-bar--muted {
    background: var(--gray-050);
    color: var(--gray-500);
}

/* 본문: 사진 + 정보 + CTA */
.va-card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 10px;
}

.va-card-photoinfo {
    display: flex;
    gap: 10px;
}

.va-card-thumb {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.va-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary1-color) 0%, var(--primary1-color) 50%, var(--primary2-color) 100%);
}

.va-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 2px;
}

.va-card-org {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.va-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.va-card-date {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.5;
}

/* 흐림 처리 (취소/미선정/미출석): 사진 어둡게 + 제목 회색 */
.va-card.is-dimmed .va-card-title {
    color: var(--gray-400);
}

.va-card.is-dimmed .va-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* CTA 버튼 (아웃라인 / 파랑 필드, 2개 균등 분할) */
.va-card-actions {
    display: flex;
    gap: 10px;
}

/* 2버튼 카드: 좌측(보조/취소) 고정 폭 + 우측(주 액션) 나머지 채움 — 단일 버튼은 last-child 규칙으로 전체 폭 (Figma 1320-8639) */
.va-card-actions .va-btn:first-child {
    flex: 0 0 130px;
}

.va-card-actions .va-btn:last-child {
    flex: 1;
}

.va-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
}

.va-btn--outline {
    background: var(--white-color);
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
}

.va-btn--outline.va-btn--danger {
    color: var(--red5-color);
}

.va-btn--outline.va-btn--blue {
    color: var(--primary-color);
}

.va-btn--outline.va-btn--muted {
    color: var(--gray-400);
}

.va-btn--fill {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--white-color);
}

.va-btn-icon {
    flex-shrink: 0;
}

/* =========================================================
   봉사 신청 상세 (apply-detail) — .vad-* / Figma 1617-* 상태별 화면
   레이아웃: 흰 배경 + 섹션 사이 12px 회색 밴드(.vad-divider)
   ========================================================= */
.vad-page {
    background: var(--white-color);
    min-height: 100%;
}

/* 1. 상태 히어로 바 (1줄: 라벨 좌 / 메타 우) */
.vad-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
}

.vad-hero-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.vad-hero-meta {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.vad-hero--applied { background: var(--primary-color); color: var(--white-color); }
.vad-hero--approved { background: var(--primary-color); color: var(--white-color); }
.vad-hero--approved .vad-hero-meta { font-size: 13px; font-weight: 500; opacity: 0.92; }
.vad-hero--completed { background: var(--primary0-color); color: var(--primary6-color); }
.vad-hero--gray { background: var(--gray-050); color: var(--gray-500); }
.vad-hero--applied .vad-hero-meta { font-size: 13px; font-weight: 500; }

/* 2. 진행 스텝퍼 */
.vad-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    padding: 16px;
    list-style: none;
    background: var(--white-color);
}

/* Figma: 스텝 56px 고정 + space-between → 좌우 원이 화면 가장자리에 근접 */
.vad-step {
    position: relative;
    flex: 0 0 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

/* Figma: 커넥터는 원과 원 사이 gap 에만 놓이는 짧은 세그먼트(원에 닿지 않음=끊긴 형태).
   스텝 우측 끝(left:100%)에서 시작해 gap(≈44px)만 채운다 → 원 좌우로 여백이 남아 끊겨 보임 */
.vad-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 100%;
    width: 44px;
    height: 2px;
    background: var(--gray-100);
    z-index: 0;
}

.vad-step-dot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-050);
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
}

.vad-step-dot img {
    width: 24px;
    height: 24px;
    padding: 2px;
}

.vad-step.is-on .vad-step-dot { background: var(--primary-color); }

.vad-step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

.vad-step.is-on .vad-step-label {
    color: var(--primary8-color);
    font-weight: 700;
}

/* 본문 컨테이너 + 섹션 + 12px 회색 구분 밴드 */
.vad-body {
    display: flex;
    flex-direction: column;
    background: var(--white-color);
    padding-bottom: 90px;
}

/* 섹션 상단 12px 회색 밴드 = 구분선. 섹션이 숨겨지면(th:if false) 밴드도 함께 사라진다 */
.vad-sec {
    padding: 24px 16px;
    border-top: 12px solid var(--gray-000);
}

/* 상단 밴드 없음 (히어로/메시지박스에 밀착, 그룹 섹션) */
.vad-sec--top {
    border-top: none;
}

.vad-sec--top.info {
    padding: 20px 16px 6px;
}

.vad-sec-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

/* 상태 메시지 박스 (터미널) */
.vad-msgbox {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px 15px;
    border-radius: 15px;
    background: var(--gray-000);
}

.vad-msgbox-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
}

.vad-msgbox-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
    white-space: pre-line;
}

.vad-msgbox-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

/* 봉사 정보 */
.vad-prog {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: inherit;
    text-decoration: none;
}

.vad-prog-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.vad-prog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vad-prog-thumb-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary1-color), var(--primary2-color));
}

.vad-prog-head {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.vad-prog-tag { align-self: flex-start; }

.vad-prog-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.vad-prog-org {
    font-size: 14px;
    color: var(--gray-400);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 키:값 리스트 (라벨 좌 / 값 우 정렬) */
.vad-kv {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vad-kv-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 1.5;
}

/* Figma: 라벨=gray-900 SemiBold / 값=gray-600 Medium */
.vad-kv-label {
    flex-shrink: 0;
    color: var(--gray-900);
    font-weight: 600;
}

.vad-kv-value {
    min-width: 0;
    max-width: 250px;
    color: var(--gray-600);
    font-weight: 400;
    text-align: right;
    word-break: break-word;
}

.vad-kv-value.addr {
    text-decoration: underline;
}

/* 주소 복사 버튼 — 주소 텍스트 + 복사 아이콘 전체가 탭 영역 */
.vad-addr-copy {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.vad-addr-copy .vad-kv-value {
    color: var(--gray-700);
}

.vad-addr-copy-ic {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

/* 참여자 채팅방 카드 */
.vad-chat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--primary0-color);
    cursor: pointer;
}

.vad-chat-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--white-color);
}

.vad-chat-ico img { width: 20px; height: 20px; }

.vad-chat-body { flex: 1; min-width: 0; }

.vad-chat-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.vad-chat-desc {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--gray-600);
}

.vad-chat-arrow { flex-shrink: 0; width: 16px; height: 16px; }

/* 장소 안내 지도 */
.vad-map-box {
    position: relative;
    margin-bottom: 10px;
}

.vad-map-zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    background: var(--white-color);
    overflow: hidden;
}

.vad-map-zoom button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.vad-map-zoom button + button {
    border-top: 1px solid var(--gray-100);
}

.vad-map {
    height: 200px;
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
}

.vad-map-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    background: var(--gray-050);
    color: var(--gray-500);
    font-size: 13px;
}

.vad-map-pin { width: 28px; height: 28px; }

/* 아웃라인 버튼 (지도보기/길찾기/연락처) */
.vad-obtns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.vad-obtn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 15px;
    border: 1px solid #C4C9D5;
    border-radius: 12px;
    background: var(--white-color);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.vad-obtn img { width: 16px; height: 16px; }

.vad-obtn--hug { flex: 0 0 auto; }

/* 연락처 비공개 (Figma): 회색 채움·테두리 없음·글자/아이콘 #C4C9D5 */
.vad-obtn--off {
    padding: 10px 15px;
    border: 0;
    background: var(--gray-000);
    color: #C4C9D5;
    cursor: default;
}


/* 상세 정보 잠금 */
.vad-locked {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 10px;
    border-radius: 15px;
    background: var(--gray-000);
    font-size: 14px;
    color: var(--gray-700);
}

.vad-locked img { flex-shrink: 0; width: 24px; height: 24px; }

/* 1365 자원봉사포털 */
.vad-1365 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vad-1365-main { min-width: 0; }

.vad-1365-title {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

/* ⓘ 클릭 버튼 (봉사 시간 발급 안내 바텀시트) */
.vad-1365-info {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    cursor: pointer;
}

.vad-1365-info img { display: block; width: 20px; height: 20px; }

.vad-1365-desc {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--gray-500);
}

.vad-1365-badge {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.vad-1365-badge.is-wait { background: var(--gray-050); color: var(--gray-600); }
.vad-1365-badge.is-done { background: var(--primary0-color); color: var(--primary-color); }
.vad-1365-badge.is-none { background: #C4C9D5; color: var(--white-color); }

/* 담당자 정보 */
.vad-manager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vad-manager-info { min-width: 0; }

.vad-manager-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.vad-manager-org {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--gray-500);
}

/* 개인 준비물 및 복장 */
.vad-prep {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vad-prep-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.vad-prep-label {
    font-size: 14px;
    color: var(--gray-700);
}

.vad-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vad-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--gray-000);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-900);
}

.vad-chip img { flex-shrink: 0; width: 16px; height: 16px; }

.vad-prep-notes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vad-prep-notes li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
}

.vad-prep-notes li::before {
    content: '\00B7';
    position: absolute;
    left: 2px;
}

/* 콜아웃(활동 주의사항·참여 약속) + 불릿 */
.vad-callout {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
}

.vad-callout--warn { background: #FDF0EF; }
.vad-callout--gray { background: var(--gray-000); }

.vad-callout-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--red5-color);
}

.vad-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vad-bullets--outer { margin-top: 12px; }

.vad-bullets li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
}

.vad-bullets li::before {
    content: '\00B7';
    position: absolute;
    left: 2px;
}

/* 인라인 신청 취소 버튼 (검토중·확정·당일) */
.vad-inline-cta { padding-top: 6px; }

.vad-cancel-inline {
    width: 100%;
    height: 50px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: var(--white-color);
    color: var(--red5-color);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.vad-cancel-inline.is-off {
    color: var(--gray-400);
    cursor: default;
}

/* 하단 고정 CTA 바 (Figma: 좌우 16 / 상하 10 패딩) */
.vad-fbar {
    display: flex;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
}

.vad-fbtn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 56px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.vad-fbtn--ghost { background: var(--primary0-color); color: var(--primary-color); }
.vad-fbtn--fill { background: var(--primary-color); color: var(--white-color); }
.vad-fbtn--fill.is-off { background: var(--gray-200); color: var(--gray-500); cursor: default; }

/* =========================================================================
   봉사 후기 작성/수정/완료 (.vr-*) — 키워드+한줄+사진 리디자인 (Figma 1840:13532)
   ========================================================================= */
.vr-page {
    background: var(--white-color);
    min-height: 100%;
    padding-bottom: 96px;
}

/* 참여 봉사 카드 */
.vr-summary {
    padding: 20px 18px;
    background: var(--white-color);
}

.vr-summary-heading {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.vr-prog {
    display: flex;
    gap: 12px;
}

.vr-prog-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gray-050);
}

.vr-prog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-prog-thumb-ph {
    width: 100%;
    height: 100%;
    background: var(--gray-050);
}

.vr-prog-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.vr-prog-tag {
    align-self: flex-start;
}

.vr-prog-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.vr-prog-org {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
}

.vr-kv {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.vr-kv-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.vr-kv-label {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.vr-kv-value {
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    line-height: 1.4;
}

/* 구분선 */
.vr-divider {
    height: 12px;
    background: var(--gray-000);
}

/* 섹션 공통 */
.vr-section {
    padding: 20px 18px;
    background: var(--white-color);
}

.vr-section-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vr-section-title--tight {
    margin-bottom: 6px;
}

.vr-section.without-band {
    padding-top: 0;
}

.vr-req {
    color: var(--primary-color);
}

.vr-optional {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
}

.vr-q-sub {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
}

/* 키워드 칩 */
.vr-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vr-keyword {
    padding: 9px 16px;
    border-radius: 1000px;
    border: 1px solid var(--gray-100);
    background: var(--white-color);
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.vr-keyword.is-on {
    border-color: var(--primary-color);
    background: var(--primary0-color);
    color: var(--primary-color);
}

.vr-keyword.is-error {
    border-color: var(--red5-color);
}

/* 에러 문구 */
.vr-error {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 400;
    color: var(--red5-color);
}

/* 한줄 후기 */
.vr-oneline {
    margin-top: 20px;
}

.vr-textarea-wrap {
    position: relative;
}

.vr-textarea {
    width: 100%;
    height: 130px;
    padding: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white-color);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--gray-900);
    resize: none;
    box-sizing: border-box;
}

.vr-textarea::placeholder {
    color: var(--gray-300);
    font-weight: 500;
}

.vr-textarea:focus,
.vr-textarea.is-filled {
    outline: none;
    border-color: var(--primary-color);
}

.vr-textarea.is-error {
    border-color: var(--red5-color);
}

.vr-textarea-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-size: 13px;
    color: var(--gray-300);
}

/* 사진 첨부 */
/*/ .swiper 로 Swiper 가 횡스크롤 레이아웃 제어 (slidesPerView:auto, spaceBetween:17). 슬라이드 너비만 CSS 지정 /*/
.vr-photos {
    width: 100%;
}

.vr-photos .vr-photo,
.vr-photos .vr-photo-add {
    position: relative;
    width: 114px;
    height: 114px;
    border-radius: 10px;
}

.vr-photo {
    overflow: hidden;
}

.vr-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-photo-del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1.5px solid var(--white-color);
    border-radius: 50%;
    background: var(--gray-800);
    cursor: pointer;
}

.vr-photo-del::before,
.vr-photo-del::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1.5px;
    background: var(--white-color);
    transform: translate(-50%, -50%) rotate(45deg);
}

.vr-photo-del::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.vr-photo-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed var(--gray-300);
    background: var(--white-color);
    cursor: pointer;
}

.vr-photo-add-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.vr-photo-add-icon::before,
.vr-photo-add-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--gray-300);
    transform: translate(-50%, -50%);
}

.vr-photo-add-icon::before {
    width: 20px;
    height: 2px;
}

.vr-photo-add-icon::after {
    width: 2px;
    height: 20px;
}

.vr-photo-add-count {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-500);
}

.vr-photo-hint {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.5;
}

/* 후기 작성 안내 박스 */
.vr-guide {
    margin: 8px 18px 0;
    padding: 15px;
    border-radius: 15px;
    background: var(--gray-000);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vr-guide-head {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vr-guide-head img {
    width: 20px;
    height: 20px;
}

.vr-guide-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.vr-guide-list {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.vr-guide-list li {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-900);
    line-height: 1.6;
}

/* 완료 화면 아웃라인 버튼 (후기 수정하기) */
.btnType.vr-btn-ghost {
    color: var(--gray-500);
    background: var(--white-color);
    border: 1px solid var(--gray-100);
}

/* 후기 삭제 버튼 (수정) */
.vr-delete-row {
    padding: 16px 18px 0;
}

.vr-delete-btn {
    width: 100%;
    height: 50px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: var(--white-color);
    color: var(--red5-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 완료 화면 */
.vr-complete {
    padding: 24px 18px 0;
    background: var(--white-color);
}

.vr-done {
    text-align: center;
    margin-bottom: 24px;
}

.vr-done-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--black-color);
    line-height: 1.35;
}

.vr-done-sub {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.6;
}

/* 완료 미리보기 카드 */
.vr-preview {
    padding: 20px;
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    background: var(--white-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vr-preview-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vr-preview-avatar {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gray-050);
}

.vr-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-preview-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vr-preview-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
}

.vr-preview-part {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-400);
}

.vr-preview-oneline {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-900);
    white-space: pre-line;
    word-break: break-word;
}

/*/ .swiper 로 Swiper 가 횡스크롤 제어 (slidesPerView:auto, spaceBetween:6). 슬라이드 너비만 CSS 지정 /*/
.vr-preview-photos {
    width: 100%;
}

.vr-preview-photos .vr-preview-photo {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    background-color: var(--gray-050);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.vr-preview-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vr-preview-chip {
    padding: 5px 10px;
    border-radius: 7px;
    background: var(--gray-000);
    color: var(--gray-800);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

/* -----------------------------------------------------------------
   봉사 상세페이지 봉사자 후기 섹션 (.vr-review-*) — 정기사연 단체 후기 톤 + .vd-* 일관
----------------------------------------------------------------- */
/* 좋았던 점 키워드 요약 칩 (집계) */
.vr-keyword-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-050);
}

.vr-keyword-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 9px;
    background: var(--gray-000);
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-800);
    line-height: 1;
}

.vr-keyword-count {
    font-weight: 600;
}

/* 후기 목록 — 카드 사이 구분선 없이 여백으로 분리 (정기사연 단체 후기 톤) */
.vr-review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

.vr-review-list > * + * {
    border-top: 1px solid var(--gray-050);
    padding-top: 20px;
}

/* 후기 아이템 (카드 간 여백·구분선은 .vr-review-list 가 담당) */
.vr-review-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 작성자: 아바타 + (닉네임 / 작성일) */
.vr-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vr-review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gray-050);
    overflow: hidden;
    flex: 0 0 auto;
}

.vr-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vr-review-nickname {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vr-review-date {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.4;
}

/* 한줄 후기 */
.vr-review-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray-700);
    white-space: pre-line;
    word-break: break-word;
}

/* 후기 사진 (정사각 160) */
.vr-review-photo {
    flex: 0 0 auto;
    width: 160px;
    height: 160px;
    border-radius: 10px;
    border: 1px solid var(--gray-050);
    background-color: var(--gray-050);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

/* 좋았던 점 키워드 태그 (하단, 회색 칩) */
.vr-review-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vr-review-chip {
    padding: 8px 12px;
    border-radius: 9px;
    background: var(--gray-000);
    color: var(--gray-800);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

/* 3번째부터는 기본 숨김, +N 클릭(.is-expanded)으로 전체 노출 */
.vr-review-keywords .vr-review-chip.is-extra {
    display: none;
}

.vr-review-keywords.is-expanded .vr-review-chip.is-extra {
    display: inline-flex;
}

.vr-review-keywords.is-expanded .vr-review-chip-more {
    display: none;
}

/* +N 더보기 버튼 (칩과 동일 룩, 회색 글자) */
.vr-review-chip-more {
    padding: 8px 12px;
    border: none;
    border-radius: 9px;
    background: var(--gray-000);
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

/* 봉사단 SNS 채널 (아웃라인 흰 버튼 가로 나열 — Figma 1790:6791) */
.vd-sns {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* Figma: 채널 버튼 균등 폭(3개=358 채움) + 아이콘·라벨 중앙 정렬 */
.vd-sns-btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white-color);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1;
}

.vd-sns-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
}

.vd-sns-icon--youtube {
    width: 22px;
    height: 22px;
}

.vd-sns-label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 후기 정렬 서브헤더 (총 N개 + 정렬 selectbox) */
.vr-review-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vr-review-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
}

/* 참여 회차 (닉네임 하단) */
.vr-review-part {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.4;
}

/* 한줄 후기 클램프 + 더보기/접기 토글 */
.vr-review-text.is-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vr-review-toggle {
    align-self: flex-start;
    margin-top: -4px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    cursor: pointer;
}

/* 후기 우하단 푸터 (작성일 + 응원 하트) */
.vr-review-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.vr-review-footer .vr-review-date {
    margin-right: auto;
}

.vr-review-pick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.vr-review-pick-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.vr-review-pick-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    line-height: 1;
}

/* 후기 empty view (상세·목록 공용) — 채팅버블 일러스트 + 안내 2줄 */
.vr-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 30px;
}

.vr-empty.hidden {
    display: none;
}

.vr-empty-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.vr-empty-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.5;
}

.vr-empty-desc {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================================
   봉사자 후기 전체 목록 페이지 (.vr-list-*) — 무한스크롤
   ============================================================ */
.vr-list-page {
    padding: 20px 16px 40px;
    background: var(--white-color);
    min-height: 100%;
    box-sizing: border-box;
}

/* 키워드 요약 칩 — 하단 구분선으로 정렬바와 분리 (Figma) */
.vr-list-keyword-summary {
    gap: 10px;
    margin-bottom: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-050);
}

/* 정렬 서브헤더 (총 N개 + 정렬 selectbox) */
.vr-list-toolbar {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ============================================================
   출석 체크 QR (DEV-1476) — .vq-* (담당자 QR 표시 / 참가자 스캔 결과)
   출석=Dolgo Blue / 대기·미출석=Dolgo Orange
   ============================================================ */

/* --- 담당자 QR 표시 페이지 --- */
.vq-page {
    min-height: 100%;
    padding: 24px 16px 40px;
}

.vq-head {
    text-align: center;
}

.vq-prog-name {
    margin: 0;
    padding: 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
}

.vq-prog-date {
    margin: 20px 0 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gray-600);
}

/* 카드 공통 (흰 카드 + border + radius18 + shadow) */
.vq-card {
    background: var(--white-color);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
}

/* QR 카드 */
.vq-qr-card {
    margin-top: 20px;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.vq-qr-box {
    width: 298px;
    height: 298px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vq-qr-box img,
.vq-qr-box canvas {
    width: 100%;
    height: 100%;
}

.vq-qr-guide {
    margin: 20px 0 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gray-600);
}

/* 출석 현황 */
.vq-status {
    display: block;
    margin-top: 41px;
}

.vq-status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vq-status-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
}

.vq-status-refresh {
    font-size: 12px;
    color: var(--gray-400);
}

/* 카운트 3박스 */
.vq-counts {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.vq-count {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-radius: 10px;
    text-align: center;
}

.vq-count-num {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.vq-count-label {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.vq-count--confirmed {
    background: var(--gray-000);
    color: var(--gray-800);
}

.vq-count--present {
    background: var(--primary0-color);
    color: var(--primary5-color);
}

.vq-count--absent {
    background: var(--orange-050);
    color: var(--orange6-color);
}

/* 참가자 리스트 */
.vq-attendee-list {
    margin: 33px 0 0;
    padding: 0;
    list-style: none;
}

.vq-attendee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 5px 15px;
    border-bottom: 1px solid var(--gray-100);
}

.vq-attendee + .vq-attendee {
    padding-top: 15px;
}

.vq-attendee-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.vq-attendee-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray-900);
}

.vq-attendee-affil {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--gray-400);
}

/* 출석 시각 + 상태 배지 */
.vq-attendee-state {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.vq-attendee-time {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-500);
    white-space: nowrap;
}

.vq-attendee-empty {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
}

/* 상태 배지 (출석=Dolgo Blue / 대기=Dolgo Orange) */
.vq-badge {
    flex-shrink: 0;
    padding: 4px 15px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.vq-badge--present {
    background: var(--primary0-color);
    color: var(--primary5-color);
}

.vq-badge--wait {
    background: var(--orange-050);
    color: var(--orange6-color);
}

/* --- 봉사 상세 담당자 진입 버튼 --- */
.vq-manager-bar {
    margin-top: -15px;
    padding: 0 16px;
}

.vq-manager-btn {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 30px 18px 14px;
    border-radius: 0 0 12px 12px;
    background: var(--primary-color);
    color: var(--white-color);
}

/* 라벨+설명(세로 스택), 남은 폭 차지해 chevron을 우측 끝으로 밀어냄 */
.vq-manager-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

/* 우측 중앙 > (테두리 2개로 그린 chevron, 텍스트 기준 세로 정중앙) */
.vq-manager-btn-chevron {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
    opacity: 0.85;
}

.vq-manager-btn-label {
    font-size: 15px;
    font-weight: 700;
}

.vq-manager-btn-desc {
    font-size: 12px;
    opacity: 0.9;
}

.vq-manager-btn--chat {
    z-index: 1;
    margin-top: -20px;
    padding-top: 34px;
    border-radius: 0 0 12px 12px;
    background: var(--primary8-color);
}

.vq-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 24px 40px;
    text-align: center;
}

.vq-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    position: relative;
}

.vq-result-icon--ok {
    background: #ECFDF5;
}

.vq-result-icon--ok::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 26px;
    width: 12px;
    height: 22px;
    border: solid #007A55;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.vq-result-icon--fail {
    background: #FFFBEB;
}

.vq-result-icon--fail::after {
    content: '!';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: #E17100;
}

.vq-result-title {
    margin: 24px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary9-color);
}

.vq-result-sub {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray-700);
}

.vq-result-meta {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--gray-400);
}

.vq-result-actions {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vq-result-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

.vq-result-btn--primary {
    background: var(--primary-color);
    color: var(--white-color);
}

.vq-result-btn--line {
    border: 1px solid var(--gray-200);
    background: var(--white-color);
    color: var(--gray-700);
}

/* 신청 취소 사유 — 공용 바텀 모달(.modal--sec.bottom) + 공용 라디오(.radio) 확장 */
.cancel-reason-modal .radio-wrap {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 22px;
}

.cancel-reason-modal .radio {
    justify-content: flex-start;
    gap: 10px;
}

.cancel-reason-modal .label-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.cancel-reason-custom {
    position: relative;
    margin: 14px 0 0;
}

.cancel-reason-custom.hidden { display: none; }

.cancel-reason-custom textarea {
    width: 100%;
    min-height: 92px;
    padding: 14px 16px 26px;
    box-sizing: border-box;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray-900);
    resize: none;
}

.cancel-reason-custom textarea::placeholder { color: var(--gray-400); }
.cancel-reason-custom textarea:focus { outline: none; border-color: var(--primary-color); }

.cancel-reason-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    font-size: 13px;
    color: var(--gray-400);
}

/* 제출 버튼(공용 .btn 확장): 비활성=회색 / 활성=빨강 아웃라인
   비활성 상태에도 투명 border 를 두어 활성 전환 시 높이가 바뀌지 않도록 고정 */
.cancel-reason-modal .modal-footer .btn:disabled {
    background: var(--gray-050);
    color: var(--gray-400);
    cursor: default;
    border: 1px solid transparent;
}

.cancel-reason-modal .modal-footer .btn:not(:disabled) {
    background: var(--white-color);
    border: 1px solid var(--red5-color);
    color: var(--red5-color);
}

/* 공용 바텀 모달 footer 풀폭 버튼 — 봉사 페이지는 donation.css(.modal .modal-footer{width:100%}) 미로드라
   footer 가 콘텐츠 폭으로 줄어 버튼(flex:1)이 작게 나오는 것 보완 */
.modal .modal-footer {
    width: 100%;
    box-sizing: border-box;
    padding: 30px 20px;
}

/* Figma CTA 높이 50px (공용 .btn 기본 padding 16px=56px → 13px 로 50px) */
.modal .modal-footer .btn { padding: 13px 20px; }

/* =========================================================
   봉사 상세 (detail) Figma 재구성 — S1~S7 (.vd-* 보강)
   섹션 구분 = .volunteer-divider(12px var(--gray-000) 밴드)
   섹션 내부 = .volunteer-section(패딩 24 16 0) + .vd-sec-title(SB18)
   ========================================================= */

/* 섹션 제목: 상세 본문 섹션은 SB18 (후기/댓글 등 기존 20px 은 그대로) */
.vd-sec-title {
    font-size: 18px;
}

/* ---- S1 봉사일시 요약 (날짜 · 반복 · 시간 · 변동 가능, 가운데점 자동 접힘) ---- */
/* ---- S1 제목 ↔ 봉사일시 구분선 (Figma 1px gray050) ---- */
.vd-title-divider {
    height: 1px;
    margin: 14px 0;
    border: 0;
    background: var(--gray-050);
}

/* ---- S1 봉사 일시 (라벨 + 큰 날짜 + 보조줄) ---- */
.vd-schedule {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vd-schedule-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1.5;
}

.vd-schedule-date {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.4;
}

.vd-schedule-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1.5;
}

.vd-dot-item {
    display: inline-flex;
    align-items: center;
}

.vd-dot-item + .vd-dot-item::before {
    content: '\00B7';
    margin: 0 5px;
    color: var(--gray-400);
}

/* ---- S1 요약카드 "이런 봉사예요" ---- */
.vd-summary-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    padding: 15px;
    border-radius: 15px;
    background: var(--gray-000);
    z-index: 3;
}

.vd-summary-head {
    display: flex;
    align-items: center;
    gap: 5px;
}

.vd-summary-check {
    width: 20px;
    height: 20px;
    flex: none;
}

.vd-summary-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.vd-summary-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vd-summary-item {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-900);
    line-height: 1.5;
}

.vd-summary-item::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 9px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-900);
}

/* ---- S2 봉사활동 안내 : 난이도 카드 (문구 + 설명) ---- */
.vd-guide-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid var(--gray-200);
    border-radius: 15px;
}

.vd-guide-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* 난이도 딱지 = 하나의 pill (배경은 래퍼에, 라벨 + ⓘ 안에). ⓘ 색은 currentColor 상속 */
/* 난이도 딱지 — 흰 배경 아웃라인 필, 레벨별 테두리·텍스트 색 (초급<중급<고급 진해짐, Figma 1790-6748) */
.vd-guide-diff {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--primary3-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    background: var(--white-color);
    color: var(--primary3-color);
}

.vd-guide-diff--lv1 { border-color: var(--primary3-color); color: var(--primary3-color); }
.vd-guide-diff--lv2 { border-color: var(--primary-color); color: var(--primary-color); }
.vd-guide-diff--lv3 { border-color: var(--primary6-color); color: var(--primary6-color); }

.vd-info-icon {
    width: 16px;
    height: 16px;
    flex: none;
    display: block;
    background-color: currentColor;
    -webkit-mask: url('/assets/images/icon/ic-ds-info-circle-16-1a9779176da4d74768e84a77a98210d7.svg') no-repeat center / contain;
    mask: url('/assets/images/icon/ic-ds-info-circle-16-1a9779176da4d74768e84a77a98210d7.svg') no-repeat center / contain;
}

.vd-guide-phrase {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
}

.vd-guide-desc {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1.5;
}

.vd-guide-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

/* 난이도 딱지(바텀시트) — 흰 배경 아웃라인, 레벨별 테두리·텍스트 색 (초급 primary3 / 중급 primary / 고급 primary6) */
.vd-guide-pill {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--primary3-color);
    background: var(--white-color);
    color: var(--primary3-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.vd-guide-pill--lv1 { border-color: var(--primary3-color); color: var(--primary3-color); }
.vd-guide-pill--lv2 { border-color: var(--primary-color); color: var(--primary-color); }
.vd-guide-pill--lv3 { border-color: var(--primary6-color); color: var(--primary6-color); }

/* ---- S2 봉사활동 안내 : 라벨:값 rows (space-between) ---- */
.vd-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vd-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

/* 내용 행(1365): 라벨 위 / 본문 아래 풀폭 멀티라인 (Figma 봉사 활동 안내 '내용') */
.vd-row--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

/* 세로 스택 행(내용)은 3:7 미적용 — 라벨 위 / 본문 아래 풀폭 */
.vd-row--stack .vd-row-label,
.vd-row--stack .vd-row-val {
    flex: none;
}

.vd-row--stack .vd-row-val {
    align-items: flex-start;
    text-align: left;
}

/* 라벨:값 = 3:7 (flex-basis 0 + grow 비율 → gap 제외한 잔여폭을 3:7 로 분배) */
.vd-row-label {
    flex: 3 1 0;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
}

.vd-row-val {
    flex: 7 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    line-height: 1.5;
    word-break: break-word;
}

.vd-row-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
    line-height: 1.5;
}

/* 봉사 시간 인정 태그 (+ ⓘ → 봉사시간 바텀시트) */
.vd-time-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--gray-050);
    color: var(--gray-800);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ---- 이미지 하나씩 횡스크롤 스와이퍼 (S3 현장 미리보기 / S8 후기 사진) ---- */
.vd-swiper {
    width: 100%;
    overflow: hidden;
}

.vd-swiper .swiper-slide {
    width: auto;
    height: auto;
    /* 진입 애니메이션 (프로필 배지띠 동일): 초기 좌측+투명 → swiper-initialized 후 제자리 페이드인 */
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.vd-swiper.swiper-initialized .swiper-slide {
    opacity: 1;
    transform: translateX(0);
}

/* S3 현장 미리보기 슬라이드 (160 정사각, 기존 .vd-photo 라이트박스 재사용) */
.vd-preview-swiper .swiper-slide {
    width: 160px;
}

.vd-photo.vd-preview {
    padding-top: 100%;
    border-radius: 10px;
}

/* S8 후기 사진 슬라이드 (160 정사각) */
.vr-review-swiper .swiper-slide {
    width: 160px;
}

/* ---- S5 준비물 / 복장 : 칩(준비물=check, 비권장=X) + 안내문구 ---- */
.vd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vd-chips + .vd-chips {
    margin-top: 8px;
}

.vd-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--gray-000);
    color: var(--gray-900);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.vd-chip img {
    width: 16px;
    height: 16px;
    flex: none;
}

.vd-prep-group + .vd-prep-group {
    margin-top: 16px;
}

.vd-prep-label {
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-600);
}

.vd-prep-group + .vd-prep-note {
    margin-top: 16px;
}

.vd-prep-note {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vd-prep-note li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-600);
}

.vd-prep-note li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-400);
}

.vd-chips + .vd-prep-note {
    margin-top: 12px;
}

/* ---- S6 활동 주의사항 : 참여불가 강조박스 + 일반 리스트 ---- */
.vd-restrict-box {
    /* red-000 (전역 var 없음) */
    padding: 15px;
    border-radius: 12px;
    background: #FDF0EF;
}

.vd-restrict-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--red5-color);
}

.vd-restrict-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vd-restrict-list li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--red9-color);
    line-height: 1.6;
}

.vd-restrict-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--red9-color);
}

.vd-precaution-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vd-restrict-box + .vd-precaution-list {
    margin-top: 16px;
}

.vd-precaution-list li {
    position: relative;
    padding-left: 12px;
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-800);
    line-height: 1.7;
    letter-spacing: 0.15px;
}

.vd-precaution-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 11px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-800);
}

/* ---- S7 봉사단 소개 : 소개문 + "이 봉사에 참여하면" 체크리스트 카드 ---- */
.vd-org-intro {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-800);
}

.vd-effect-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
}

.vd-org-intro + .vd-effect-card {
    margin-top: 16px;
}

.vd-effect-head {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.vd-effect-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-900);
}

.vd-effect-item img {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 1px;
}

/* ---- 바텀시트 (난이도 / 봉사시간 인정) — apply-sheet 재사용 + 타이틀 색 보정 ---- */
/* 안내 바텀 모달(공용 .modal--sec.bottom) 내부 제목 — 가운데·파랑 (구 .apply-sheet-title 레이아웃 자립화) */
.vd-sheet-title {
    margin: 0 0 30px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--primary-color);
    text-align: center;
}

/* 레벨 리스트: 가장 긴 행 너비로 고정(fit-content) + 가로 가운데 정렬 (행이 꽉 차지 않게) */
.vd-diff-levels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: fit-content;
    max-width: 100%;
    margin: 6px auto 0;
}

/* 레벨 행: 딱지(레벨색, 고정폭·가운데) + 문구·설명 (딱지 세로 중앙 정렬) */
.vd-diff-level {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vd-diff-level .vd-guide-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.vd-diff-lv-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vd-diff-lv-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.vd-diff-lv-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--gray-500);
}

/* 바텀시트 하단 안내 위 구분선 */
.vd-sheet-divider {
    height: 1px;
    border: 0;
    background: var(--gray-100);
    margin: 30px 0 15px;
}

.vd-sheet-note {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-400);
    text-align: center;
}

/* 봉사시간 시트 하단 안내: • dot 불릿 + 고정폭(내용폭) 가운데 정렬 */
.vd-sheet-notes {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vd-sheet-notes li {
    position: relative;
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-400);
    text-align: left;
}

.vd-sheet-notes li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-400);
}

/* ============================================================
   봉사증서 (vcert) — Figma 2070-20968(앞) / 2111-26688(뒷)
   ============================================================ */

/* 페이지: 네이비 풀블리드 + 헤더도 동일 네이비 */
#wrap.vcert-wrap {
    background: #17243D;
}

.vcert-wrap #top,
.vcert-wrap #top .header {
    background: #17243D;
    box-shadow: none;
}

.vcert-wrap #top .header img {
    filter: brightness(0) invert(1);
}

.vcert-wrap #top .header .header--cnt--tit {
    color: var(--white-color);
}

/* 플립 3D 돌출이 잘리지 않도록 스크롤 컨테이너 overflow 해제 후 중앙 정렬 */
.vcert-wrap #cnt,
.vcert-page {
    overflow: visible;
    background: #17243D;
}

.vcert-wrap #innerCnt {
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 세로 중앙 정렬하되 상단 여백은 최대 100px 로 제한(상/하 스페이서, 상단만 상한) */
.vcert-wrap #innerCnt::before {
    content: "";
    flex: 1 1 0;
    min-height: 16px;
    max-height: 100px;
}

.vcert-wrap #innerCnt::after {
    content: "";
    flex: 1 1 0;
}

/* 플립 스테이지 */
.vcert-stage {
    flex-shrink: 0;
    width: min(356px, calc(100vw - 34px));
    aspect-ratio: 356 / 520;
    perspective: 2200px;
    margin: 0 auto;
    user-select: none;
}

.vcert-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform .6s cubic-bezier(.65, 0, .35, 1);
    will-change: transform;
    cursor: pointer;
}

.vcert-card.is-flipped {
    transform: rotateY(180deg);
}

/* 뒤집을 수 있다는 힌트 - 4초마다 앞 0.8초만 살짝 돌고 나머지는 멈춰 있다 (첫 클릭 시 JS 가 클래스를 뗀다) */
.vcert-card.is-flip-hint {
    animation: vcertFlipHint 4s ease-in-out .6s infinite;
}

@keyframes vcertFlipHint {
    0%, 20%, 100% {
        transform: rotateY(0);
    }

    7% {
        transform: rotateY(16deg);
    }

    14% {
        transform: rotateY(-5deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vcert-card.is-flip-hint {
        animation: none;
    }
}

/* 앞/뒷면 공통 카드면 */
.vcert-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 9px;
    background: var(--white-color);
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.vcert-back {
    transform: rotateY(180deg);
}

/* ---------- 앞면: 활동사진 카드 ---------- */
.vcert-photo {
    position: relative;
    flex: 1;
    min-height: 0;
    border-radius: 12px;
    background: #DCEBFA;
    overflow: hidden;
}

.vcert-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vcert-photo-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.vcert-photo-empty img {
    opacity: .45;
}

.vcert-photo-empty span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .01em;
    color: #181D27;
    opacity: .75;
}

/* VOL 배지 */
.vcert-vol-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 1000px;
    background: rgba(255, 255, 255, .92);
    color: var(--primary5-color);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

/* 돌고 인증 시일(앞면) */
.vcert-seal {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
}

.vcert-seal img {
    width: 34px;
    height: 34px;
    display: block;
}

/* 앞면 하단 정보 */
.vcert-front-info {
    padding: 0 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.vcert-front-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary9-color);
}

.vcert-front-hours {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary-color);
}

.vcert-front-sub {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--gray-500);
}

.vcert-front-sub span + span {
    margin-left: 4px;
}

/* ---------- 뒷면: 정식 증서 ---------- */
.vcert-doc {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #B9D3EF;
    border-radius: 15px;
}

.vcert-doc-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
    color: #17243D;
}

.vcert-doc-no {
    margin-top: 11px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--gray-500);
}

.vcert-doc-rows {
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vcert-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-top: 10px;
}

.vcert-doc-row + .vcert-doc-row {
    border-top: 1px solid var(--gray-100);
}

.vcert-doc-row dt {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #535862;
}

.vcert-doc-row dd {
    margin: 0;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #17243D;
}

.vcert-doc-multiline {
    white-space: pre-line;
    word-break: auto-phrase;
}

.vcert-doc-accent {
    color: var(--primary-color) !important;
}

/* 뒷면 하단: 워드마크 + 시일 */
.vcert-doc-foot {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.vcert-doc-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vcert-doc-wordmark {
    width: 75px;
    height: auto;
    display: block;
}

.vcert-doc-brand span {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--gray-600);
}

.vcert-doc-seal {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcert-doc-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 금속 광배(halo) - 인장 알파를 따라 은빛으로 번져 광택 나는 금속처럼 보인다 */
    filter: drop-shadow(0 0 3px rgba(190, 198, 212, 0.65));
}

/* 인장 위를 도는 금속 스침광(specular sheen) - 배지 상세 글린트의 회전 반사 기법을 은빛으로 축약
   흰 원뿔 웨지가 인장 실루엣∩선버스트 마스크 위를 돌며 빛이 금속을 스치는 광택을 만든다
   (배지 글린트와 달리 무지개는 제외 - 정식 증서엔 은빛 금속광이 맞다) */
@property --vcert-seal-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.vcert-doc-seal::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* 회전하는 흰 반사 웨지 2개(하나는 짙게·하나는 옅게) - 금속에 빛이 노니는 느낌 */
    background: conic-gradient(from var(--vcert-seal-angle, 0deg),
            transparent 42deg,
            rgba(255, 255, 255, 0.9) 70deg,
            transparent 98deg,
            transparent 210deg,
            rgba(255, 255, 255, 0.4) 235deg,
            transparent 260deg);
    /* 인장 실루엣(png 알파) ∩ 선버스트(중앙 감쇠·림 강조)로 클립 - 실루엣 밖으로 새지 않는다 */
    -webkit-mask:
            url('/assets/images/volunteer/cert-seal-ebde6128f67371d71d83e1ea2af1d7be.png') center / contain no-repeat,
            radial-gradient(closest-side,
                rgba(0, 0, 0, 0.25) 0%,
                rgba(0, 0, 0, 0.55) 55%,
                #000 86%,
                transparent 100%);
    -webkit-mask-composite: source-in;
    mask:
            url('/assets/images/volunteer/cert-seal-ebde6128f67371d71d83e1ea2af1d7be.png') center / contain no-repeat,
            radial-gradient(closest-side,
                rgba(0, 0, 0, 0.25) 0%,
                rgba(0, 0, 0, 0.55) 55%,
                #000 86%,
                transparent 100%);
    mask-composite: intersect;
    /* 은빛 금속 위에 하이라이트만 더하는 스크린 블렌드 */
    mix-blend-mode: screen;
    animation: vcert-seal-sheen 12s linear infinite;
}

/* 스침광 회전 - transform 아닌 conic 시작각(--vcert-seal-angle)을 돌린다(리샘플 블러 없음) */
@keyframes vcert-seal-sheen {
    0% {
        --vcert-seal-angle: 0deg;
    }
    100% {
        --vcert-seal-angle: 360deg;
    }
}

/* 이미지 저장용 스크린샷(오프스크린 평면 복제)에는 애니메이션 스침광 제외 - html2canvas 캡처 안정성 */
.vcert-screenshot .vcert-doc-seal::before {
    display: none;
}

/* ---------- 이미지 저장용 스크린샷(뒷면 평면) ---------- */
.vcert-screenshot {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 356px;
    height: 520px;
    z-index: -1;
}

.vcert-screenshot .vcert-face {
    position: static;
    box-sizing: border-box;
    width: 356px;
    height: 520px;
    transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}

.vcert-screenshot .vcert-photo-img {
    background-position: center;
    background-size: cover;
}

.vcert-screenshot .vcert-vol-badge {
    box-sizing: border-box;
    height: 32px;
    padding: 0 12px;
    line-height: 15px;
}

/* 완료 참여자 후기 작성 유도 배너 (상세 후기 섹션 위) */
.vr-write-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: var(--primary0-color);
    border-radius: 12px;
}

.vr-write-text {
    margin: 0;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.vr-write-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* =========================================================
   휴대폰 점유인증 — 연락처 한 줄 배치 + 인증 완료 표시 (Figma 2389-11772 / 2389-12041)
   ========================================================= */

/* 연락처 인풋 + 인증하기 버튼 한 줄 (인풋 flex, 버튼 고정폭 80px) */
.apply-phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-phone-row .apply-input {
    flex: 1;
    min-width: 0;
}

/* 인증하기 버튼 = 파랑 채움(인풋 높이 46px 매칭) */
.apply-phone-verify-btn {
    height: 46px;
    box-sizing: border-box;
    padding: 0 15px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

/* 인증 완료 후: 버튼 비활성 톤 */
.apply-phone-verify-btn.done {
    background: var(--gray-400);
    cursor: default;
}

/* 인증 완료 표시 (파랑 체크 + 문구) */
.apply-phone-verified {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--primary-color);
}

.apply-phone-verified img {
    width: 14px;
    height: 14px;
    flex: none;
}
