@charset "utf-8";

/* ============================================================
   폰트
   ============================================================ */

@font-face {
    font-family: 'PuradakGentleGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_11-01@1.1/PuradakGentleGothicR.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NexonLv1Gothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'BookkMyungjo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Lt.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'BelovedMyoeunttobak';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Myoeunddobak-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Regular.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+39+Text&display=swap');


/* ============================================================
   list.skin — 레이아웃
   ============================================================ */

#bo_list {
    width: 1170px;
    height: 800px;
    position: absolute;
    top: calc(50% - 400px);
    left: calc(50% - 420px);
    padding: 10px;
}

.list-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-header {
    width: 100%;
    height: 170px;
    position: relative;
}

.list-content {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 10px;
    flex: 1;
    align-items: center;
}

.list-footer {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
}


/* ── 헤더: 버튼 그룹 ── */

.star-button-group {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 25px;
    z-index: 99;
}

.star-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.star-shape {
    width: 30px;
    height: 40px;
    background-color: var(--primary-color);
    clip-path: polygon(
        50% 0%,
        62% 35%, 100% 50%, 62% 65%,
        50% 100%,
        38% 65%, 0% 50%, 38% 35%
    );
    transition: background-color 0.3s ease;
}

.star-text {
    font-family: 'NexonLv1Gothic';
    font-size: 9px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 6px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.star-btn:hover .star-shape { background-color: var(--secondary-color); }
.star-btn:hover .star-text  { color: var(--secondary-color); }
.star-btn:active             { transform: translateY(1px); }
.star-btn.disabled           { cursor: not-allowed; pointer-events: none; }


/* ── 헤더: 타이틀 ── */

.title-main {
    font-family: 'PuradakGentleGothic';
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.title-sub {
    font-family: var(--content-font-family);
    font-size: 14px;
    color: var(--content-font-color);
    line-height: 1.4;
    margin-bottom: 20px;
    padding-top: 3px;
}


/* ── 헤더: 검색창 ── */

/*#bo_sch {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    border: 0;
    padding: 0;
    margin: 0 0 25px;
    width: 100%;
}

#bo_sch form {
    width: auto !important;
    margin-left: 0 !important;
    display: inline-flex !important;
    align-items: center;
}

#bo_sch input {
    width: 200px !important;
    flex: none !important;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}

#bo_sch button {
    width: 40px;
    height: 32px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bo_sch button i { font-size: 12px; }*/

/* ── 헤더: 검색창 ── */

#bo_sch {
    position: absolute;
    /* 기존 bottom: -10px; 에서 값을 대폭 올려 배치 높이를 위로 올립니다 */
    bottom: 30px; 
    right: 20px;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 10;
}

#bo_sch form {
    margin: 0 !important;
    display: block !important;
}

/* 1. 전체 테두리 박스 크기 및 내부 여백 조절 */
.search-box-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* 내부 요소를 양 끝으로 밀착 */
    width: 250px; /* 전체 검색창 박스의 직관적인 너비 설정 */
    height: 32px;
    border: 1.5px solid var(--primary-color); /* 캐릭터 리본색 라인 테두리 */
    border-radius: 8px; /* image_cec826 느낌의 부드러운 라운딩으로 조율 */
    background-color: #fff;
    padding: 0 10px; /* 좌우 여백을 줄여 버튼이 테두리와 가까워지게 설정 */
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.search-box-wrapper:hover,
.search-box-wrapper:focus-within {
    border-color: var(--primary-color);
}

/* 2. 글자 입력창 너비 최적화 */
.search-box-wrapper .sch_input {
    flex: 1 !important; /* 남은 공간을 꽉 채우되 */
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 8px 0 2px !important; /* 오른쪽에 마진을 살짝 주어 글자가 버튼과 겹치지 않게 방지 */
    margin: 0 !important;
    font-family: var(--content-font-family);
    font-size: 12px;
    color: var(--primary-color);
    outline: none !important;
}

.search-box-wrapper .sch_input::placeholder {
    color: var(--secondary-color);
    font-size: 13px;
}

/* 3. 돋보기 버튼을 우측 끝 테두리 안쪽으로 밀착 */
.search-box-wrapper .sch_btn {
    flex-shrink: 0; /* 크기가 압축되지 않도록 고정 */
    width: 24px; /* 아이콘 크기에 맞는 슬림한 너비 */
    height: 100%;
    border: none !important;
    background: transparent !important;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.2s ease;
}

.search-box-wrapper .sch_btn:hover {
    color: var(--primary-color);
}

.search-box-wrapper .sch_btn i {
    font-size: 13px;
}


/* ── 게시물 그리드 ── */

.movie-item {
    width: calc(1120px / 4);
    flex-shrink: 0;
}

.movie-item,
.movie-item * {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.movie-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 2;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.movie-poster-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.7) sepia(30%) hue-rotate(180deg);
    transition: filter 0.4s ease, transform 0.4s ease;

    --c-size: 21px;
    --p-size: 8px;
    --p-gap: 32px;

    -webkit-mask-image:
        linear-gradient(black, black),
        radial-gradient(circle at 50% 0px,   black var(--p-size), transparent calc(var(--p-size) + 0.5px)),
        radial-gradient(circle at 50% 100%,  black var(--p-size), transparent calc(var(--p-size) + 0.5px)),
        radial-gradient(circle at 0    0,    black var(--c-size), transparent calc(var(--c-size) + 0.5px)),
        radial-gradient(circle at 100% 0,    black var(--c-size), transparent calc(var(--c-size) + 0.5px)),
        radial-gradient(circle at 0    100%, black var(--c-size), transparent calc(var(--c-size) + 0.5px)),
        radial-gradient(circle at 100% 100%, black var(--c-size), transparent calc(var(--c-size) + 0.5px));

    -webkit-mask-size:
        100% 100%,
        var(--p-gap) 100%,
        var(--p-gap) 100%,
        100% 100%, 100% 100%, 100% 100%, 100% 100%;

    -webkit-mask-repeat: no-repeat, repeat-x, repeat-x, no-repeat, no-repeat, no-repeat, no-repeat;

    -webkit-mask-position:
        0 0,
        center top,
        center bottom,
        0 0, 0 0, 0 0, 0 0;

    padding: 0 var(--c-size);
    -webkit-mask-clip: border-box, content-box, content-box, border-box, border-box, border-box, border-box;
    -webkit-mask-composite: source-over, destination-out, destination-out, destination-out, destination-out, destination-out, destination-out;
    mask-composite: exclude;
}

.movie-item:hover .movie-poster-img    { filter: grayscale(0%) brightness(1) sepia(0%) hue-rotate(0deg); transform: scale(1.05); }
.movie-item:hover .movie-thumb-container { transform: translateY(-5px); }


/* ── 푸터: 페이지네이션 ── */

.pg_wrap_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
}

.pg_group { display: flex; gap: 15px; }

.pg_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pg_btn:hover { opacity: 0.7; }

.triangle      { width: 0; height: 0; display: inline-block; }
.triangle.left  { border-right: 10px solid var(--primary-color); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.triangle.right { border-left:  10px solid var(--primary-color); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.bar { width: 2px; height: 14px; background-color: var(--primary-color); display: inline-block; }
.pg_btn.first .bar { margin-right: 2px; }
.pg_btn.last  .bar { margin-left:  2px; }


/* ============================================================
   write.skin — 레이아웃
   ============================================================ */

#bo_w {
    width: 1170px;
    height: 800px;
    position: absolute;
    top: calc(50% - 400px);
    left: calc(50% - 420px);
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#bo_w::-webkit-scrollbar { display: none; }

.write-title {
    font-family: 'PuradakGentleGothic';
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.write-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}

.write-left  { flex: 0 0 320px; }
.write-right { flex: 1; }


/* ── 이미지 업로드 ── */

.img-upload-area { width: 100%; }

.log-section { margin-bottom: 18px; }

.img-upload-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.img-upload-header label {
    font-family: 'BookkMyungjo';
    font-weight: bold;
    color: #315798;
    font-size: 14px;
    margin: 0;
    display: inline;
}

.img-upload-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}

.img-upload-btn:hover { background-color: var(--secondary-color); }

.img-dropzone {
    border: 2px dashed var(--secondary-color);
    border-radius: 4px;
    padding: 10px;
    min-height: 80px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.img-dropzone.dragover {
    border-color: var(--primary-color);
    background-color: #e8eff8;
}

.img-preview-single { display: flex; justify-content: center; align-items: flex-start; }

.img-preview-item { position: relative; display: inline-block; }

.log-section .img-preview-single .img-preview-item img {
    max-height: 200px;
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.img-delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(180, 40, 40, 0.78);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    padding: 0;
}

.img-delete-btn:hover { background: rgba(180, 40, 40, 1); }


/* ── 텍스트 필드 ── */

.info_row_group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.info_field { flex: 1; }
.info_field.half    { flex: 0 0 calc(50%    - 5px); }
.info_field.third   { flex: 0 0 calc(33.333% - 7px); }
.info_field.quarter { flex: 0 0 calc(25%    - 7.5px); }
.info_field.full    { flex: 0 0 100%; }

.info_field label {
    display: block;
    font-family: 'BookkMyungjo';
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color) !important;
    font-size: 14px;
}

.info_field input[type="text"],
.info_field input[type="date"],
.info_field select {
    width: 100%;
    margin-top: 2px;
    padding: 3px;
    border-bottom: 2px solid var(--primary-color);
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-radius: 0;
    font-family: 'BelovedMyoeunttobak';
    font-size: 16px;
    box-sizing: border-box;
    background-color: transparent;
}

.info_field textarea {
    width: 100%;
    min-height: 400px;
    margin-top: 2px;
    padding: 3px;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    border-left: transparent;
    border-right: transparent;
    border-radius: 0;
    font-family: 'BelovedMyoeunttobak';
    font-size: 16px;
    box-sizing: border-box;
    background-color: transparent;
    resize: vertical;
    line-height: 1.6;
}


/* ── 제출 버튼 ── */

.btn-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

#bo_w .btn_submit,
#bo_w .btn_cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 14px;
    height: 32px;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    line-height: 1;
}

#bo_w .btn_submit:hover,
#bo_w .btn_cancel:hover { background-color: var(--secondary-color); }


/* ============================================================
   view.skin — 레이아웃
   ============================================================ */

#bo_v {
    width: 100vw;
    height: 100vh;
    z-index: 5;
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#bo_v::before {
    content: '';
    position: fixed;
    inset: 0;
    background: #111;
    z-index: -1;
}

.bg-blur-layer {
    position: fixed;
    top: -30px;
    left: -30px;
    width: calc(100vw + 60px);
    height: calc(100vh + 60px);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.8) brightness(0.35);
    z-index: -1;
}

.bg-blur-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.1)  0%,
        rgba(0,0,0,0.5)  60%,
        rgba(0,0,0,0.85) 100%
    );
    z-index: -1;
}

.view-layout-wrapper {
    border-radius: 4px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 8px 32px rgba(0,0,0,0.6),
        0 32px 80px rgba(0,0,0,0.4);
    overflow: hidden;
}

.view-layout {
    width: 1000px;
    height: 800px;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.view-layout::-webkit-scrollbar { display: none; }


/* ── 뷰어 헤더 ── */

.movie-header {
    width: 100%;
    min-height: 400px;
    background-color: #111;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.movie-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17,17,17,1) 10%, rgba(17,17,17,0.4) 50%, rgba(17,17,17,0) 100%);
    padding: 40px 20px;
    box-sizing: border-box;
}

.movie-header-admin {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.btn-admin {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0,0,0,0.4);
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    border-radius: 2px;
    font-size: 11px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-admin:hover {
    background: rgba(229,9,20,0.8);
    color: #fff !important;
    border-color: transparent;
}

.btn-admin i { margin-right: 4px; }


/* ── 뷰어 인포 ── */

.movie-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.movie-poster     { flex: 0 0 250px; }
.movie-poster img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.movie-content {
    flex: 1;
    color: #fff;
    padding-bottom: 10px;
}

.movie-title {
    font-family: 'PyeojinGothic';
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.movie-plot {
    font-family: 'PyeojinGothic';
    font-weight: 400;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: 520px;
}

.movie-etc    { display: flex; flex-direction: row; gap: 30px; }

.movie-player {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.movie-staff {
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'PyeojinGothic';
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.movie-staff span { display: block; }


/* ── BGM 플레이어 ── */

.play-btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.play-btn::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 12px;
    border-left: 12px solid #111;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transition: all 0.2s;
}

.play-btn.playing::after {
    left: 14px;
    top: 12px;
    width: 12px;
    height: 16px;
    border-left: 4px solid #111;
    border-right: 4px solid #111;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    max-width: 300px;
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 2px;
    position: relative;
}

.progress-fill {
    width: 40%;
    height: 100%;
    background-color: #e50914;
    border-radius: 2px;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-family: 'Cutive Mono', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}


/* ── 세션 본문 ── */

.session-frame {
    background-color: rgba(17,17,17,1);
    padding: 30px;
}


/* ── 영수증 스타일 콘텐츠 ── */

.receipt-content {
    font-family: 'Cutive Mono';
    font-size: 14px;
    font-weight: bold;
    padding: 50px 30px;
    background-color: whitesmoke;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #333;
}

.receipt-divider {
    width: 100%;
    border-top: 2px dashed #999;
    margin: 10px 0;
}

.receipt-top    { text-align: center; margin-bottom: 10px; text-transform: uppercase; }
.receipt-middle { width: 100%; word-break: break-all; }

.receipt-date-row,
.receipt-bottom { display: flex; justify-content: space-between; width: 100%; }

.receipt-barcode {
    font-family: 'Libre Barcode 39 Text';
    font-size: 40px;
    text-align: center;
    margin-top: 20px;
    width: 100%;
    font-weight: normal !important;
}


/* ============================================================
   댓글
   ============================================================ */

.cmt_btn {
    display: block;
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1em;
    font-weight: 600;
    color: var(--content-font-color);
    background: var(--container-bg-color);
    transition: var(--transition-fast);
    text-align: left;
    border: 0;
}

.cmt_btn:hover {
    background: linear-gradient(135deg,
        rgb(from var(--primary-color) r g b / 5%)  0%,
        rgb(from var(--primary-color) r g b / 10%) 100%
    );
    border-color: var(--primary-color);
}

.cmt_btn strong {
    color: var(--primary-color);
    margin-left: var(--spacing-xs);
}

/* 댓글 아이템 */
.comment_item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--white);
    transition: var(--transition-fast);
}

.comment_item:hover {
    box-shadow: 0 2px 8px rgb(from var(--primary-color) r g b / 10%);
}

/* 프로필 */
.comment_profile { flex-shrink: 0; }

.comment_profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

/* 본문 */
.comment_body { flex: 1; min-width: 0; }

.comment_header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xxs);
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}

.comment_author { font-size: 0.95em; font-weight: 600; color: var(--content-font-color); }
.comment_id     { font-size: 0.9em;  font-weight: 500; color: var(--primary-color); }
.comment_date   { font-size: 0.85em; color: var(--text-muted); margin-left: auto; }
.comment_content { line-height: 1.6; color: var(--content-font-color); word-wrap: break-word; }

/* 비밀글 뱃지 */
.badge_secret {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, var(--warning-color), #ff9800);
    color: var(--white);
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    margin-right: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

/* 옵션 메뉴 */
.comment_options {
    position: relative;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.btn_cm_opt {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--card-border-radius);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn_cm_opt:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.comment_actions_menu {
    display: none;
    position: absolute;
    right: 0;
    margin-top: var(--spacing-xs);
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--card-border-radius);
    box-shadow: 0 4px 12px rgb(from var(--text-color) r g b / 15%);
    z-index: 100;
    min-width: 120px;
}

.comment_actions_menu li { list-style: none; }

.comment_actions_menu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--content-font-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.comment_actions_menu li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.comment_actions_menu li a i { margin-right: var(--spacing-xs); }


/* ── 댓글 입력 폼 ── */

#bo_vc_w { padding: var(--spacing-lg); }

.comment_form_container { display: flex; flex-direction: column; gap: var(--spacing-md); }

.guest_info_row { display: flex; gap: var(--spacing-sm); }

.guest_info_row .frm_input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-light);
    border-radius: var(--card-border-radius);
    font-size: 0.95em;
}

.comment_input_row  { display: flex; gap: var(--spacing-md); align-items: flex-start; }
.comment_input_column { display: flex; flex-direction: column; width: 100%; }

.comment_input_row textarea {
    flex: 1;
    min-height: 80px;
    padding: var(--spacing-md);
    border: 1px solid var(--form-border-color);
    border-radius: var(--form-border-radius);
    font-size: 0.95em;
    resize: vertical;
    transition: var(--transition-fast);
    background: var(--form-bg-color);
    color: var(--form-text-color);
}

.comment_input_row textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgb(from var(--primary-color) r g b / 10%);
}

.comment_actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-end;
}

.char_counter { font-size: 0.85em; color: var(--text-muted); white-space: nowrap; }

.comment_actions .secret_cm { display: flex; align-items: center; gap: var(--spacing-xs); }

.comment_actions .btn_submit {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--card-border-radius);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.comment_actions .btn_submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(from var(--primary-color) r g b / 30%);
}

.captcha_row {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

#bo_vc_empty {
    margin: 0;
    padding: 30px 0 20px !important;
    color: var(--text-muted);
    text-align: center;
}


/* ============================================================
   반응형
   ============================================================ */

@media (max-width: 768px) {
    #bo_list .td_chk      { width: 25px; padding: var(--spacing-xs); }
    #bo_list .td_num2     { display: none; }
    #bo_list .td_datetime { display: none; }
    #bo_list .td_name     { width: 60px; font-size: 0.85em; }
    .td_subject           { padding-left: var(--spacing-sm) !important; }

    #bo_list thead th:nth-child(2),
    #bo_list thead th:last-child { display: none; }
}
