@charset "utf-8";

/* =============================================================================
   v3_write.css — 새 테마 게시판 글쓰기 화면 공용 모양 (구역 카드 방식)
   261113 김동현 클로드활용 수정: 새로 만듦
   - 언론보도 글쓰기(skin/board/tl_basic/v3_news.css 의 .v3_newswrite 블록)와 같은 모양을 공용 파일로 정리한 것.
     연혁 글쓰기부터 이 파일을 쓰고, 앞으로 다른 게시판 글쓰기 화면도 이 파일을 불러오면 됨.
     (언론보도·제품 글쓰기는 각자 CSS 를 그대로 쓰고 있어 건드리지 않음. 나중에 합칠 수 있음)
   - 글쓰기 화면의 바깥 묶음은 <section id="bo_w" class="v3 v3_write"> 로 쓴다.
   - 옛 style.css 의 "#bo_w ..." 규칙(우선순위가 높음)을 이기려고 버튼 쪽은 #bo_w 를 붙여 씀
   - 색·여백 변수(--color-*)는 css/v3_common.css 의 :root 값을 씀
   - 관리자 "필드설정" 팝업 모양은 이 파일에 없음(필요한 게시판은 언론보도 CSS 의 .pw_fconfig 블록을 참고)
   ============================================================================= */

/* 페이지 배경을 메인·서브 상단과 같은 색(#FCFBFA)으로 */
body {
    background: var(--color-white);
}

.v3_write {
    max-width: 960px;
    margin: -24px auto 0;
    padding-bottom: clamp(72px, 7vw, 120px);
    color: var(--color-text);
}

/* ----- 구역(카드) ----- */
.v3_write fieldset.pw_card {
    min-width: 0;
    margin: 0 0 20px;
    padding: clamp(20px, 3vw, 32px);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #fff;
}

/* legend 는 기본적으로 테두리 위에 걸쳐 그려지므로, 카드 안쪽 제목처럼 보이게 한 줄 차지시킴.
   주의: 사이트 공통 css/default.css 가 legend 를 화면 밖으로 숨기는 규칙(position:absolute; text-indent:-9999em; line-height:0; overflow:hidden)을
   갖고 있어서, 아래에서 position·text-indent·line-height·overflow 를 되돌려 주지 않으면 제목 글자가 보이지 않음 */
.v3_write .pw_card_title {
    position: static;
    float: left;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    overflow: visible;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-indent: 0;
    color: var(--color-deep);
}

.v3_write .pw_card_title + * {
    clear: both;
}

.v3_write .pw_row {
    margin-bottom: 20px;
}

.v3_write .pw_row:last-child {
    margin-bottom: 0;
}

.v3_write .pw_grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    margin-bottom: 20px;
}

.v3_write .pw_grid2:last-child {
    margin-bottom: 0;
}

.v3_write .pw_grid2 .pw_row {
    margin-bottom: 0;
}

.v3_write .pw_grid2 .pw_wide {
    grid-column: 1 / -1;
}

.v3_write .pw_label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.v3_write .pw_req {
    margin-left: 4px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    color: #d6454a;
}

.v3_write .pw_hint {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

.v3_write .pw_card > .pw_hint {
    margin: 0 0 12px;
}

.v3_write .pw_note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f2f7f5;
    font-size: 13px;
    line-height: 1.6;
    color: #2f6b58;
}

/* "이제 쓰지 않는 항목" 같은 주의 안내: 초록 안내와 구분되도록 연한 노랑 */
.v3_write .pw_note.is_warn {
    background: #fbf6e8;
    color: #7a5b13;
}

/* ----- 입력칸 ----- */
.v3_write .pw_input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: var(--color-text);
    transition: border-color 0.2s;
}

.v3_write .pw_input:focus {
    border-color: var(--color-point);
    outline: 0;
}

/* 선택 목록: 브라우저 기본 화살표 대신 같은 모양의 화살표 */
.v3_write select.pw_input {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
    cursor: pointer;
}

/* 선택 목록 + 뒤에 붙는 단위 글자("년", "월") */
.v3_write .pw_unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v3_write .pw_unit .pw_input {
    flex: 1;
}

.v3_write .pw_unit_text {
    flex: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-sub);
}

/* ----- 첨부파일 칸 ----- */
.v3_write .pw_file {
    padding: 16px;
    border: 1px dashed #cfd8d4;
    border-radius: 10px;
    background: #fbfdfc;
}

.v3_write .pw_file_input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
}

.v3_write .pw_file .file_del {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-text-sub);
}

/* ----- 편집기 ----- */
.v3_write .wr_content {
    margin-top: 4px;
}

/* 연혁 글쓰기: 내용은 제목처럼 한두 줄만 쓰므로 입력칸을 낮게 (261126 김동현 클로드활용 수정)
   편집기를 쓰지 않는 게시판은 그누보드가 textarea 에 style="height:300px" 를 직접 붙여 내보내서 !important 로 덮음 */
.v3_histwrite .wr_content textarea#wr_content {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    height: 76px !important; /* 두 줄 정도 */
    min-height: 52px;
    padding: 12px 14px;
    font-family: inherit;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    resize: vertical; /* 필요하면 오른쪽 아래 모서리를 끌어 늘릴 수 있음 */
    transition: border-color 0.2s;
}

.v3_histwrite .wr_content textarea#wr_content:focus {
    border-color: var(--color-point);
    outline: 0;
}

/* ----- 버튼 ----- */
.v3_write .pw_actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

#bo_w .pw_btn_cancel,
#bo_w .pw_btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 52px;
    padding: 0 28px;
    border: 1px solid var(--color-point);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#bo_w .pw_btn_cancel {
    border-color: #d5d5d5;
    background: #fff;
    color: var(--color-text-sub);
}

#bo_w .pw_btn_cancel:hover {
    border-color: var(--color-text-sub);
    color: var(--color-text);
}

#bo_w .pw_btn_submit {
    background: var(--color-point);
    color: #fff;
}

#bo_w .pw_btn_submit:hover {
    border-color: var(--color-point-hover);
    background: var(--color-point-hover);
}

/* ----- 모바일 ----- */
@media (max-width: 768px) {
    .v3_write .pw_grid2 {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 연도·월은 모바일에서도 나란히 (선택 목록이라 폭이 좁아도 충분) */
    .v3_write .pw_grid2.pw_date {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .v3_write .pw_actions {
        flex-direction: column-reverse;
    }

    #bo_w .pw_btn_cancel,
    #bo_w .pw_btn_submit {
        width: 100%;
    }
}

/* =============================================================================
   261116 김동현 클로드활용 수정: 공용 글쓰기 부품(html/v3_board_write.php)에 필요한 규칙 추가
   (제목 줄 + 임시저장 버튼·팝업, 옵션 체크박스(공지 등), 글쓰기 안내 박스). 언론보도 CSS(v3_news.css)의 같은 블록을 옛 style.css 없이도
   보이도록 정리한 것 — 옛 style.css 를 이 화면에서 불러오지 않아도 됨
   ============================================================================= */

/* 제목 + 임시 저장된 글 버튼 */
.v3_write .pw_title_wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    /* 261116 김동현 클로드활용 수정: 제목 입력칸과 "임시 저장된 글" 버튼 사이 간격 8px → 16px */
}

.v3_write .pw_title_wrap .pw_input {
    flex: 1;
}

.v3_write .pw_btn_sub {
    flex: none;
    height: 46px;
    padding: 0 16px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.v3_write .pw_btn_sub:hover {
    border-color: var(--color-point);
    color: var(--color-point);
}

/* 임시 저장 목록 팝업(js/autosave.js 가 채움): 제목 칸 바로 아래 오른쪽에 뜸 */
.v3_write #autosave_pop {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 30;
    width: min(360px, 100%);
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.v3_write #autosave_pop strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.v3_write #autosave_pop ul {
    max-height: 200px;
    margin: 0;
    padding: 8px;
    list-style: none;
    overflow-y: auto;
}

.v3_write #autosave_pop li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
}

.v3_write #autosave_pop li:hover {
    background: #F6F9F8;
}

.v3_write #autosave_pop li a {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text);
}

.v3_write #autosave_pop li span {
    flex: none;
    font-size: 12px;
    color: #999;
}

.v3_write #autosave_pop .autosave_del {
    width: 20px;
    height: 20px;
    margin-left: 6px;
    border: 0;
    background: url(../skin/board/tl_basic/img/close_btn.png) no-repeat 50% 50%;
    text-indent: -999px;
    overflow: hidden;
    cursor: pointer;
}

.v3_write #autosave_pop .autosave_close {
    width: 100%;
    height: 40px;
    border: 0;
    border-top: 1px solid #eee;
    background: #fff;
    font-size: 13px;
    color: #777;
    cursor: pointer;
}

.v3_write #autosave_pop .autosave_close:hover {
    background: #F6F9F8;
    color: var(--color-point);
}

.v3_write .autosave_content {
    display: none;
}

/* ----- 옵션(공지 등) 체크박스: 옛 style.css 의 숨김 규칙 없이 직접 그림 ----- */
.v3_write .pw_options {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    padding: 0 4px;
}

.v3_write .pw_options .pw_label {
    margin: 0;
}

.v3_write .pw_options ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.v3_write .pw_options .chk_box {
    position: relative;
}

.v3_write .pw_options .chk_box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.v3_write .pw_options .chk_box input[type="checkbox"]+label {
    position: relative;
    display: inline-block;
    padding-left: 28px;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text);
    cursor: pointer;
}

.v3_write .pw_options .chk_box input[type="checkbox"]+label span {
    position: absolute;
    top: 1px;
    left: 0;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #c4c9cc;
    border-radius: 4px;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.v3_write .pw_options .chk_box input[type="checkbox"]:checked+label span {
    border-color: var(--color-point);
    background: var(--color-point);
}

.v3_write .pw_options .chk_box input[type="checkbox"]:checked+label span::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.v3_write .pw_options .chk_box input[type="checkbox"]:focus-visible+label span {
    outline: 2px solid var(--color-point);
    outline-offset: 2px;
}

/* ----- 개인정보 수집·이용 동의 구역 (consent 옵션) -----
   261116 김동현 클로드활용 수정: 문의하기용으로 추가. 체크박스는 옛 style.css 의 숨김 규칙(.selec_chk 등)과 겹치지 않게 별도 클래스(.pw_agree)로 직접 그림 */
.v3_write .pw_consent_list {
    margin: 0 0 12px;
    padding: 0;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FAFBFA;
}

.v3_write .pw_consent_row {
    display: flex;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #EDF1EF;
}

.v3_write .pw_consent_row:last-child {
    border-bottom: 0;
}

.v3_write .pw_consent_row dt {
    flex: 0 0 92px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-deep);
}

.v3_write .pw_consent_row dd {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    word-break: keep-all;
}

.v3_write .pw_consent_policy {
    margin: 0 0 16px;
    font-size: 14px;
}

.v3_write .pw_consent_policy a {
    color: var(--color-point);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v3_write .pw_agree {
    position: relative;
}

.v3_write .pw_agree input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.v3_write .pw_agree label {
    position: relative;
    display: inline-block;
    padding-left: 32px;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-text);
    cursor: pointer;
}

.v3_write .pw_agree label span {
    position: absolute;
    top: 1px;
    left: 0;
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #c4c9cc;
    border-radius: 4px;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.v3_write .pw_agree input[type="checkbox"]:checked+label span {
    border-color: var(--color-point);
    background: var(--color-point);
}

.v3_write .pw_agree input[type="checkbox"]:checked+label span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 4px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.v3_write .pw_agree input[type="checkbox"]:focus-visible+label span {
    outline: 2px solid var(--color-point);
    outline-offset: 2px;
}

/* 261117 김동현 클로드활용 수정: 동의를 카드에서 "전송 버튼 위 한 줄 체크박스 + 내용 보기"로 바꿈 */
.v3_write .pw_consent {
    margin: 0 0 20px;
}

.v3_write .pw_consent_line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.v3_write .pw_consent .pw_req {
    margin-right: 4px;
}

.v3_write .pw_consent_toggle {
    padding: 4px 0;
    border: 0;
    background: none;
    font-size: 14px;
    color: var(--color-text-sub);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.v3_write .pw_consent_toggle::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 0 3px 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.v3_write .pw_consent_toggle[aria-expanded="true"]::after {
    margin-bottom: 0;
    transform: rotate(-135deg);
}

.v3_write .pw_consent_body {
    margin-top: 12px;
}

.v3_write .pw_consent_body .pw_consent_policy {
    margin: 0;
}

/* ----- 내용 카드에 첨부파일 카드를 이어 붙이기 (file_inline 옵션) ----- */
.v3_write fieldset.pw_card.pw_join_top {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
    padding-bottom: 16px;
}

.v3_write fieldset.pw_card.pw_join_bottom {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 16px;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.v3_write .pw_join_bottom .pw_card_title {
    padding-top: 16px;
    margin-bottom: 10px;
    border-top: 1px dashed #DCE4E0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-sub);
}

.v3_write .pw_join_bottom .pw_file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 8px;
    padding: 8px 12px;
}

.v3_write .pw_join_bottom .pw_file .pw_label {
    flex: none;
    min-width: 76px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-sub);
}

.v3_write .pw_join_bottom .pw_file_input {
    flex: 1 1 200px;
    width: auto;
    min-width: 0;
    margin: 0;
    font-size: 13px;
}

.v3_write .pw_join_bottom .pw_hint {
    margin: 4px 0 0;
    font-size: 12.5px;
}

/* ----- 구글 리캡챠(체크박스): 구글이 그리는 창이라 안쪽 모양은 바꿀 수 없고, 위치·간격·작은 화면 크기만 조절 ----- */
.v3_write .pw_captcha {
    margin-bottom: 20px;
    overflow: hidden;
}

@media (max-width: 360px) {
    .v3_write .pw_captcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: 0 0;
    }
}

@media (max-width: 600px) {
    .v3_write .pw_consent_row {
        flex-direction: column;
        gap: 2px;
    }

    .v3_write .pw_consent_row dt {
        flex: none;
    }
}

/* 첨부파일 칸 안의 "삭제" 체크박스 줄 */
.v3_write .pw_file .file_del {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--color-text-sub);
}

/* 라디오(둘 중 하나 고르기) 줄: 학회발표논문의 "뷰어 설정" 등 */
.v3_write .pw_radios {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 4px 0;
}

.v3_write .pw_radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--color-text);
    cursor: pointer;
}

.v3_write .pw_radios input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-point);
    cursor: pointer;
}

/* 임시 저장 버튼은 한 줄로 */
.v3_write .pw_btn_sub {
    white-space: nowrap;
}

/* 사이트 공통 css/default.css 가 .required 입력칸 오른쪽에 빨간 별(*) 그림을 깔아 두는데(!important),
   이 화면은 라벨 옆 "필수" 표시가 이미 있어 중복이므로 지움 */
.v3_write input.required,
.v3_write textarea.required {
    background-image: none !important;
}

@media (max-width: 768px) {
    .v3_write .pw_title_wrap {
        flex-wrap: wrap;
        gap: 12px;
        /* 모바일: 입력칸 아래로 내려간 버튼과의 위아래 간격 */
    }

    .v3_write .pw_title_wrap .pw_input {
        flex: 1 1 100%;
    }
}

/* ----- 사진 끌어다 놓기 상자 + 사진 카드 (.pw_drop / .pw_photos) -----
   261126 김동현 클로드활용 수정: 연혁 글쓰기에서 처음 씀. 동작 스크립트는 skin/board/history/write.skin.php 맨 아래 */
.v3_write .pw_drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 140px;
    margin: 4px 0 0;
    padding: 24px 16px;
    border: 2px dashed #C9D8D2;
    border-radius: 14px;
    background: #F7FAF9;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.v3_write .pw_drop:hover,
.v3_write .pw_drop:focus-visible {
    border-color: var(--color-point);
    outline: none;
}

.v3_write .pw_drop.is-over {
    border-color: var(--color-point);
    background: #E8F3EF;
}

.v3_write .pw_drop.is-full {
    border-style: solid;
    background: #F4F4F3;
}

.v3_write .pw_drop_title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-deep);
}

.v3_write .pw_drop_sub {
    font-size: 13px;
    color: var(--color-text-sub);
}

.v3_write .pw_drop_status {
    min-height: 1.5em;
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--color-deep);
}

.v3_write .pw_photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 8px 0 16px;
    padding: 0;
    list-style: none;
}

.v3_write .pw_photos:empty {
    display: none;
}

.v3_write .pw_photo {
    position: relative;
    overflow: hidden;
    border: 1px solid #E3E7E5;
    border-radius: 10px;
    background: #fff;
}

.v3_write .pw_photo_img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #F2F2F2;
    font-size: 12px;
    color: #999;
}

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

.v3_write .pw_photo_cap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 10px;
    font-size: 12px;
    line-height: 1.4;
}

.v3_write .pw_photo_name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text);
}

.v3_write .pw_photo_meta {
    color: var(--color-text-sub);
}

.v3_write .pw_photo.is-new {
    border-color: #9CC7B7;
}

.v3_write .pw_photo.is-new .pw_photo_meta {
    color: var(--color-point);
    font-weight: 600;
}

/* 삭제 예정: 흐리게 + 빨간 글씨 */
.v3_write .pw_photo.is-removing {
    border-style: dashed;
    border-color: #E5B8B8;
    background: #FBF6F6;
}

.v3_write .pw_photo.is-removing .pw_photo_img img {
    opacity: 0.35;
    filter: grayscale(1);
}

.v3_write .pw_photo.is-removing .pw_photo_name {
    text-decoration: line-through;
    color: #999;
}

.v3_write .pw_photo.is-removing .pw_photo_meta {
    color: #B23B3B;
    font-weight: 600;
}

/* ✕ / 되돌리기 버튼: 사진 오른쪽 위 */
.v3_write .pw_photo_btn {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    font-size: 13px;
    font-weight: 600;
    line-height: 28px;
    color: #fff;
    cursor: pointer;
}

.v3_write .pw_photo_btn:hover {
    background: #B23B3B;
}

.v3_write .pw_photo.is-removing .pw_photo_btn {
    background: var(--color-point);
}

.v3_write .pw_photo.is-removing .pw_photo_btn:hover {
    background: var(--color-deep);
}

.v3_write .pw_photo_btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.v3_write .pw_photo_btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}
