html,
body {
    overflow-y: hidden;
}

.resp-menu-wrap {
    display: none !important;
}

.alarm-wrap {
    display: none !important;
}

.main-container .main-left .board-best {
    display: none !important;
}

.main-container .main-left .resp.board-best {
    display: none !important;
}

.main-container .main-left .board-list-wrap .top-wrap {
    position: absolute;
    z-index: 1;
    margin-bottom: 0;
    margin-top: 5px;
}

.main-container .main-left .board-list-wrap .content-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.main-container .main-left .board-list-wrap .content-wrap .btn-wrap {
    justify-content: flex-end !important;
}

.main-container .main-left .board-list-wrap .content-wrap .btn-wrap select {
    display: none !important;
}

.shorts-feed-wrap {
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.shorts-feed-wrap.admin-shorts-dn {
    display: none !important;
}

/* 기본적인 숏츠 피드 스타일 */
#shorts-feed {
    width: 100%;
    max-width: 400px;
    height: calc(100dvh - 122px);
    max-height: 700px;
    /* overflow: hidden; */
    position: relative;
    transition: transform 0.3s ease-out;
}

/* 스크롤바 숨기기 (Chrome, Safari, Opera) */
#shorts-feed::-webkit-scrollbar {
    display: none;
}

/* 댓글 모달 열렸을 때 피드 스크롤 방지 */
#shorts-feed.feed-scroll-locked {
    overflow-y: hidden;
    /* 세로 스크롤 숨김 및 방지 */
    /* 참고: iOS에서는 overflow:hidden만으로 스크롤 방지가 완벽하지 않을 수 있으나,
       대부분의 경우 효과적입니다. 필요시 추가적인 JS 처리가 복잡하게 들어갈 수 있습니다. */
}

/* ▼▼▼ 각 숏츠 아이템을 담는 슬롯 스타일 수정/추가 ▼▼▼ */
.short-item-slot {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.short-item-slot .btn-mute {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 48px;
    height: 48px;
}

.short-item-slot.is-current .btn-mute {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 초기 위치 설정 (JS에서도 초기화하겠지만 CSS에서도 명시) */
#previous-short {
    transform: translateY(-100%);
}

/* 슬롯높이 + 간격 */
#current-short {
    transform: translateY(0%);
}

/* 중앙 */
#next-short {
    transform: translateY(100%);
}

/* 슬롯높이 + 간격 */

/* 실제 컨텐츠 아이템 */
.short-item {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 700px;
    margin: 0 auto;
    background-color: #000;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.short-video {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.short-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    padding-right: 60px;
    padding-top: 60px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    /* 하단 어둡게 */
    color: #fff;
    z-index: 10;
    border-radius: 10px;
}

.short-overlay .short-subject {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    /* 링크 영역 확장 */
    color: #fff;
    text-decoration: none;
}

.is-ad .short-overlay .short-subject {
    margin-bottom: 0;
}

.short-overlay .short-info {
    /* font-size: 0.9em; */
    display: flex;
    margin-bottom: 10px;
    padding-right: 30px;
    flex-direction: column;
}

.short-overlay .short-info a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    /* margin-bottom: 7px; */
}

.short-overlay .short-info .mb-profile-img {
    /* 프로필 이미지 스타일 */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.short-overlay .short-info .short-author {
    margin-right: 8px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.short-overlay .short-info .short-author span {
    color: #fff;
}

.short-overlay .short-info .short-date {
    opacity: 0.8;
    color: #eee;
}

.short-overlay .short-info .short-hit {
    opacity: 0.8;
    color: #eee;
    flex-shrink: 0;
}

.short-actions {
    display: none;
    position: absolute;
    bottom: 5px;
    right: 5px;
    flex-direction: column;
    /* 세로 배치 */
    align-items: center;
    z-index: 11;
    color: #fff;
}

.short-item-slot.is-current .short-actions {
    display: flex;
}

.short-actions button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    /* 상하 패딩 */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9em;
    width: 55px;
}

.short-actions button img {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.short-actions button.btn-comment img {}

.short-actions button.btn-share img {
    overflow: visible;
}

/* 좋아요 애니메이션 스타일 */
.short-actions button.btn-like img.animate {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

/* 로딩 인디케이터 */
#loading-indicator {
    color: #888;
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 게시물 없음 */
.no-shorts {
    text-align: center;
    padding: 50px 20px;
    color: #777;
}

/* 추가: 소리 버튼 스타일 */
.btn-mute {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 12;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-mute:hover {
    background: rgba(0, 0, 0, 0.7);
}

.btn-mute img {
    width: 30px;
    height: 30px;
    display: block;
    filter: grayscale(1);
    filter: invert(1);
}

/* 추가: 전체 화면 버튼 스타일 */
.btn-fullscreen {
    /* display: none; */
    position: absolute;
    top: 15px;
    /* 음소거 버튼과 같은 높이 */
    right: 15px;
    /* 오른쪽 정렬 */
    z-index: 12;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-fullscreen:hover {
    background: rgba(0, 0, 0, 0.7);
}

.btn-fullscreen img {
    width: 30px;
    height: 30px;
    display: block;
}

/* 영상 없는 아이템에서는 숨김 */
.short-item.no-video-item .btn-fullscreen {
    display: none;
}

/* 추가: 전체 화면 모드일 때 스타일 */
/* 표준 */
.short-item-slot:fullscreen {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #000;
    /* 배경 확실히 검은색 */
}

/* 전체 화면 슬롯 내부의 '.short-item' 요소 스타일 */
.short-item-slot:fullscreen .short-item {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
}

.short-item-slot:fullscreen .short-video {
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}

/* Webkit (Chrome, Safari) */
.short-item-slot:-webkit-full-screen {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #000;
}

.short-item-slot:-webkit-full-screen .short-item {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
}

.short-item-slot:-webkit-full-screen .short-video {
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}

/* Firefox */
.short-item-slot:-moz-full-screen {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #000;
}

.short-item-slot:-moz-full-screen .short-item {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
}

.short-item-slot:-moz-full-screen .short-video {
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}

/* IE/Edge */
.short-item-slot:-ms-fullscreen {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #000;
}

.short-item-slot:-ms-fullscreen .short-item {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
}

.short-item-slot:-ms-fullscreen .short-video {
    object-fit: contain;
    max-height: 100%;
    width: 100%;
}

.short-item-slot:fullscreen .short-actions {
    display: none;
}

.short-item-slot:-webkit-full-screen .short-actions {
    display: none;
}

.short-item-slot:-moz-full-screen .short-actions {
    display: none;
}

.short-item-slot:-ms-fullscreen .short-actions {
    display: none;
}

/* 추가: 일시정지 오버레이 스타일 */
.pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    /* 블러 효과 추가 */
    -webkit-backdrop-filter: blur(8px);
    /* Safari 지원 */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}

/* ▼▼▼ 추가: 일시정지 오버레이 나타나는 애니메이션 ▼▼▼ */
@keyframes pauseOverlayAppear {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        /* 중앙 유지하며 작게 시작 */
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%) scale(1);
        /* 중앙 유지하며 원래 크기로 */
        opacity: 1;
    }
}

/* is-paused 클래스가 부모에 있을 때 보이도록 */
.short-item.is-paused .pause-overlay {
    display: flex;
    animation: pauseOverlayAppear 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation-fill-mode: forwards;
}

.pause-overlay img {
    width: 35px;
    height: 35px;
}

.play-indicator-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    /* 블러 효과 추가 */
    -webkit-backdrop-filter: blur(8px);
    /* Safari 지원 */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}

.play-indicator-overlay img {
    width: 35px;
    height: 35px;
}

@keyframes playIndicatorAnimation {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.short-item.show-play-indicator .play-indicator-overlay {
    display: flex;
    animation: playIndicatorAnimation 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    /* forwards로 마지막 상태 유지 */
}

.short-item.no-video-item {
    /* 특별한 스타일이 필요하다면 여기에 추가 (예: 배경색 변경 등) */
    background-color: #222;
    /* 영상 없는 아이템 배경 다르게 */
}

.short-no-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #777;
    text-align: center;
    font-size: 0.9em;
    box-sizing: border-box;
    overflow: hidden;
}

.short-no-video.is-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 광고는 다 보여주기 */
}

.short-item.no-video-item .btn-mute {
    display: none;
}

.short-item.no-video-item .pause-overlay {
    display: none !important;
    /* 확실히 숨김 */
}

.short-item.is-ad-link .ad-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    cursor: pointer;
}

/* AD 링크 클릭 시 비디오 자체 이벤트 방지 (선택적) */
.short-item.is-ad-link video,
.short-item.is-ad-link .short-no-video {
    pointer-events: none;
}

/* 로딩 스피너 회전 애니메이션 */
@keyframes spinner-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-spinner circle {
    transform-origin: center;
    /* 회전 중심을 원의 중앙으로 설정 */
    animation-name: spinner-rotate;
    animation-duration: 1s;
    /* 1초에 한 바퀴 회전 (속도 조절 가능) */
    animation-timing-function: linear;
    /* 일정한 속도로 회전 */
    animation-iteration-count: infinite;
    /* 무한 반복 */
}

/* ================================== */
/*       PC 전용 네비게이션 버튼        */
/* ================================== */
.shorts-nav-pc {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 15px;
    z-index: 50;
    transition: right 0.3s ease-out;
}

.shorts-nav-pc button {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0;
}

.shorts-nav-pc button:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.shorts-nav-pc button svg {
    width: 24px;
    height: 24px;
}


/* =================================================================== */
/* Admin Standard List Section Styles (관리자 전용, PC 화면 전용) */
/* =================================================================== */
#admin-standard-list {
    border-top: 1px solid #e0e0e0;
    /* 구분선 색상 조정 */
    padding-bottom: 50px;
    /* 하단 여백 추가 */
    max-width: 1200px;
    /* 최대 너비 설정 (필요 시 조정) */
    margin-left: auto;
    margin-right: auto;
}

#admin-standard-list h3 {
    /* 관리자 목록 제목 스타일 */
    font-size: 1.3em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* 목록 영역 기본 */
#admin-standard-list #bo_list {
    /* 특별한 스타일 불필요 */
}

#admin-standard-list .list-area {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}

/* 목록 아이템 행 (헤더, 공지, 일반 공통) */
#admin-standard-list .list-box,
#admin-standard-list .head-box,
#admin-standard-list .list-notice-box {
    display: flex;
    align-items: center;
    /* 세로 중앙 정렬 */
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    /* 연한 구분선 */
    gap: 10px;
    /* 컬럼 간 간격 */
}

/* 헤더 행 스타일 */
#admin-standard-list .head-box {
    background-color: #f9f9f9;
    /* 헤더 배경색 */
    font-weight: 500;
    /* 약간 굵게 */
    font-size: 0.9rem;
    color: #444;
    border-bottom-width: 1px;
    border-bottom-color: #e0e0e0;
}

/* 공지 행 스타일 */
#admin-standard-list .list-notice-box {
    background-color: #fffaf2;
    /* 공지 배경색 */
}

/* 게시물 없음 */
#admin-standard-list .no-list {
    padding: 60px 0;
    text-align: center;
    color: #888;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

/* --- 컬럼별 스타일 --- */

/* 체크박스 컬럼 */
#admin-standard-list .td_chk {
    flex: 0 0 45px;
    /* 너비 고정 */
    text-align: center;
    border: none;
}

#admin-standard-list .chk_box label {
    display: inline-block;
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    height: 18px;
    line-height: 18px;
}

#admin-standard-list .chk_box label span {
    position: absolute;
    left: 0;
    top: 1px;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 3px;
}

#admin-standard-list .chk_box input[type="checkbox"]:checked+label span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #F35F4C;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#admin-standard-list .chk_box label .sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 이미지 컬럼 */
#admin-standard-list .w-img,
/* 헤더 */
#admin-standard-list .thumb-img {
    /* 본문 */
    flex: 0 0 80px;
    height: 60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 4px;
}

#admin-standard-list .w-img {
    /* 헤더는 배경/높이 불필요 */
    background-color: transparent;
    height: auto;
    border-radius: 0;
}

#admin-standard-list .thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 이미지 비율 유지하며 채우기 */
}

#admin-standard-list .thumb-img span {
    /* No Image 텍스트 */
    color: #aaa;
    font-size: 0.8em;
}

/* 제목/내용 컬럼 */
#admin-standard-list .w-sunj,
/* 헤더 */
#admin-standard-list .content-box {
    /* 본문 */
    flex: 1 1 auto;
    /* 가장 많은 공간 차지 */
    min-width: 0;
    /* flex 자식 요소 넘침 방지 */
    padding-right: 10px;
    /* 오른쪽 여백 */
}

#admin-standard-list .w-sunj {
    text-align: center;
    padding-right: 0;
}

/* 제목 영역 */
#admin-standard-list .content-box .subj-area {
    display: block;
    margin-bottom: 7px;
}

#admin-standard-list .content-box .subj {
    display: flex;
    font-size: 1rem;
    font-weight: 400;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-all;
    align-items: center;
}

#admin-standard-list .content-box .subj:hover {
    color: #F35F4C;
}

/* 카테고리/태그 */
#admin-standard-list .content-box .subj .cate-tag-wrap {
    display: flex;
    margin-right: 3px;
    align-items: center;
}

#admin-standard-list .content-box .subj .cate {
    font-size: 0.75em;
    padding: 3px 7px;
    border-radius: 12px;
    /* 둥근 모서리 */
    background: #efefef;
    color: #555;
    font-weight: 500;
    margin-right: 3px;
    /* 태그간 간격 */
}

#admin-standard-list .list-notice-box .content-box .subj .cate {
    /* 공지 태그 강조 */
    background-color: #ffe4e4;
    color: #c82333;
}

/* 댓글 수 */
#admin-standard-list .content-box .subj .comment-cnt {
    font-size: 0.9em;
    color: #F35F4C;
    margin-left: 4px;
    font-weight: 500;
    vertical-align: middle;
}

/* 정보 영역 (작성자 등) */
#admin-standard-list .content-box .info-box {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    gap: 10px;
    /* 간격 */
    margin-top: 3px;
}

#admin-standard-list .content-box .info-box .nick {
    display: flex;
    align-items: center;
    gap: 4px;
}

#admin-standard-list .content-box .info-box .nick img {
    /* 프로필 이미지 */
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

#admin-standard-list .content-box .info-box .nick span {
    color: #555;
    /* 닉네임 색상 */
}

#admin-standard-list .content-box .info-box .info {
    /* 추가 정보 (필요 시 사용) */
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 고정 너비 컬럼 (작성자, 날짜, 조회수, 추천수) */
#admin-standard-list .w-name,
#admin-standard-list .w-date,
#admin-standard-list .w-hit,
#admin-standard-list .w-good {
    flex-shrink: 0;
    /* 너비 줄어들지 않도록 */
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

#admin-standard-list .w-name {
    flex-basis: 100px;
}

#admin-standard-list .w-date {
    flex-basis: 80px;
}

#admin-standard-list .w-hit {
    flex-basis: 60px;
}

#admin-standard-list .w-good {
    flex-basis: 60px;
}

/* 헤더 컬럼 텍스트 정렬 */
#admin-standard-list .head-box .w-sunj,
#admin-standard-list .head-box .w-name,
#admin-standard-list .head-box .w-date,
#admin-standard-list .head-box .w-hit,
#admin-standard-list .head-box .w-good {
    justify-content: center;
    color: #444;
    font-size: 0.9rem;
}

/* --- 목록 하단 버튼 및 페이지네이션 --- */
#admin-standard-list .bo_fx {
    margin-top: 20px;
    padding: 10px 0;
    /* 위아래 여백 */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    float: none;
}

#admin-standard-list .bo_fx ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    /* 버튼 간 간격 */
}

#admin-standard-list .bo_fx ul li {
    width: auto;
}

/* 공통 버튼 스타일 */
#admin-standard-list .bo_fx .btn {
    padding: 7px 14px;
    /* 버튼 크기 조정 */
    font-size: 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    /* 버튼 텍스트 줄바꿈 방지 */
    transition: background-color 0.2s, border-color 0.2s;
}

#admin-standard-list .bo_fx .btn:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

#admin-standard-list .bo_fx .btn i {
    /* Font Awesome 아이콘 */
    margin-right: 4px;
    font-size: 1em;
    /* 아이콘 크기 */
}

/* 관리자 버튼 */
#admin-standard-list .bo_fx .btn_admin_delete {
    border-color: #dc3545;
    color: #dc3545;
}

#admin-standard-list .bo_fx .btn_admin_delete:hover {
    background-color: #dc3545;
    color: #fff;
}

#admin-standard-list .bo_fx .btn_admin_copy {
    border-color: #17a2b8;
    color: #17a2b8;
}

#admin-standard-list .bo_fx .btn_admin_copy:hover {
    background-color: #17a2b8;
    color: #fff;
}

#admin-standard-list .bo_fx .btn_admin_move {
    border-color: #ffc107;
    color: #212529;
}

#admin-standard-list .bo_fx .btn_admin_move:hover {
    background-color: #ffc107;
    border-color: #ffc107;
}

/* 글쓰기 버튼 */
#admin-standard-list .bo_fx .btn_b01 {
    background-color: #F35F4C;
    border-color: #F35F4C;
    color: #fff;
}

#admin-standard-list .bo_fx .btn_b01:hover {
    background-color: #e04e3a;
    border-color: #e04e3a;
}

#admin-standard-list .search-form {
    margin-top: 20px;
}

/* 페이지네이션 */
#admin-standard-list .page-box_wrap {
    text-align: center;
    margin-top: 20px;
    clear: both;
}

#admin-standard-list .page-box {
    list-style: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* 화면 작아지면 줄바꿈 */
    gap: 5px;
}

#admin-standard-list .page-box a,
#admin-standard-list .page-box .active {
    display: inline-flex;
    /* 아이콘/텍스트 정렬 */
    justify-content: center;
    align-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    /* 좌우 패딩 */
    border: 1px solid #e0e0e0;
    background: #fff;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    border-radius: 4px;
    box-sizing: border-box;
    transition: background-color 0.2s, border-color 0.2s;
}

#admin-standard-list .page-box .active {
    font-weight: bold;
    background-color: #333;
    color: #fff;
    border: none;
}

#admin-standard-list .page-box a:hover {
    background: #f7f7f7;
    border-color: #ccc;
}

#admin-standard-list .page-box_current {
    /* 현재 페이지 */
    background: #F35F4C;
    color: #fff;
    border-color: #F35F4C;
    font-weight: bold;
    cursor: default;
}

#admin-standard-list .page-box_page.page-box_start,
/* 처음/이전/다음/끝 */
#admin-standard-list .page-box_page.page-box_prev,
#admin-standard-list .page-box_page.page-box_next,
#admin-standard-list .page-box_page.page-box_end {
    padding: 0 10px;
    font-weight: 500;
}

/* ================================== */
/*        댓글 모달 스타일            */
/* ================================== */
#shorts-comment-modal {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 600px;
    height: 70%;
    max-height: 500px;
    background-color: #181818;
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transform: translateX(-50%) translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 100;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#shorts-comment-modal.is-open {
    /* ★★★ 열릴 때도 translateX 유지 ★★★ */
    transform: translateX(-50%) translateY(0);
    /* 가로 중앙 정렬 + 위로 표시 */
}

/* 모달 헤더 */
.comment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #383838;
    flex-shrink: 0;
    /* 높이 고정 */
}

.comment-modal-header #comment-modal-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.comment-modal-header .comment-count-area {
    font-weight: bold;
    font-size: 1.1em;
}

#comment-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8em;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
}

#comment-close-btn:hover {
    opacity: 1;
}

/* 댓글 목록 컨테이너 */
#comment-list-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
}

#comment-list-container::-webkit-scrollbar {
    display: none;
}

/* 스크롤바 숨김 */
#comment-list-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


#comment-list-area {
    list-style: none;
    padding: 15px 0;
    /* 위아래 여백 */
    margin: 0;
}

/* 개별 댓글 아이템 */
.comment-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 위쪽 정렬 */
    padding: 12px 0;
    border-bottom: 1px solid #303030;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item .comment-body-wrap {
    display: flex;
    width: 100%;
}

.comment-item .comment-profile-img {
    display: flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.comment-item .comment-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-item .comment-body {
    flex-grow: 1;
}

.comment-item .comment-author-info {
    font-size: 0.9em;
    margin-bottom: 4px;
}

.comment-item .comment-author-name {
    font-weight: 600;
    color: #eee;
    margin-right: 8px;
    margin-bottom: 2px;
    display: inline-block;
}

.comment-item .comment-date {
    font-size: 0.9em;
    color: #aaa;
}

.comment-item .comment-content {
    font-size: 0.95em;
    line-height: 1.5;
    color: #f1f1f1;
    white-space: pre-wrap;
    /* 줄바꿈 유지 */
    word-break: break-word;
    /* 긴 단어 줄바꿈 */
}

.comment-item .comment-actions {
    /* 좋아요 등 추가 시 사용 */
    margin-top: 5px;
    font-size: 0.9em;
    color: #aaa;
}

/* 댓글 입력 영역 */
#comment-input-area {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    border-top: 1px solid #383838;
    background-color: #181818;
    flex-shrink: 0;
}

#comment-input-area .comment-profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

#comment-input-area .comment-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#comment-input-area textarea {
    flex-grow: 1;
    background-color: #282828;
    border: 1px solid #404040;
    border-radius: 10px;
    padding: 8px 10px;
    color: #fff;
    font-size: 0.95em;
    resize: none;
    min-height: 38px;
    max-height: 100px;
    line-height: 1.4;
    box-sizing: border-box;
    margin-right: 10px;
    /* Firefox */
    scrollbar-width: none;
    /* IE and Edge (Old) */
    -ms-overflow-style: none;
}

/* --- ▼▼▼ 스크롤바 숨김 코드 추가 (Webkit browsers) ▼▼▼ --- */
/* Chrome, Safari, Opera, Edge (Chromium) */
#comment-input-area textarea::-webkit-scrollbar {
    display: none;
}

/* --- ▲▲▲ 스크롤바 숨김 코드 추가 끝 (Webkit browsers) ▲▲▲ --- */

/* --- ▼▼▼ 플레이스홀더 스타일 수정/추가 ▼▼▼ --- */
#comment-input-area textarea::placeholder {
    color: #888;
    /* 플레이스홀더 텍스트 색상 */
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
    /* 브라우저 기본 투명도 효과 제거 (선택적) */
}

/* 웹킷/블링크 브라우저 (크롬, 사파리, 엣지 등) */
#comment-input-area textarea::-webkit-input-placeholder {
    color: #888;
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
}

/* 모질라 파이어폭스 */
#comment-input-area textarea::-moz-placeholder {
    color: #888;
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
    /* Firefox 19+ */
}

/* 인터넷 익스플로러 10+ / 구 엣지 */
#comment-input-area textarea:-ms-input-placeholder {
    color: #888 !important;
    /* IE는 가끔 !important 필요할 수 있음 */
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
}

/* 모질라 파이어폭스 구버전 */
#comment-input-area textarea:-moz-placeholder {
    color: #888;
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
    /* Firefox 18- */
}

/* --- ▲▲▲ 플레이스홀더 스타일 수정/추가 끝 ▲▲▲ --- */


#comment-submit-btn {
    background-color: #F35F4C;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 8px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

#comment-submit-btn:disabled {
    background-color: #555;
    color: #999;
    cursor: not-allowed;
}

.comment-login-prompt {
    width: 100%;
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
    padding: 10px 0;
}

.comment-login-prompt a {
    color: #3ea6ff;
    text-decoration: none;
    font-weight: 500;
}

.comment-notice-prompt {
    width: 100%;
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
    padding: 10px 0;
}

/* 댓글 액션 버튼 스타일 */
.comment-actions {
    margin-top: 8px;
    font-size: 0.85em;
}

.comment-actions button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 3px 8px;
    margin-right: 5px;
    font-size: inherit;
    /* 부모 폰트 크기 상속 */
    border-radius: 3px;
}

.comment-actions .btn-delete-comment {
    /* 삭제 버튼 강조 */
}

/* 답글 폼 스타일 */
.reply-form-container {
    margin-top: 10px;
    width: 100%;
}

.reply-form {
    background-color: #282828;
    /* border: 1px solid #eee; */
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
    /* 부모 댓글과의 간격 */
}

.reply-form .reply-to-info {
    font-size: 0.8em;
    color: #fff;
    margin-bottom: 5px;
}

.reply-form textarea.reply-content {
    flex-grow: 1;
    background-color: #282828;
    border: 1px solid #404040;
    border-radius: 5px;
    padding: 8px 15px;
    color: #fff;
    font-size: 0.95em;
    resize: none;
    width: 100%;
    min-height: 38px;
    max-height: 100px;
    line-height: 1.4;
    box-sizing: border-box;
    margin-right: 10px;
    scrollbar-width: none;
    margin-bottom: 10px;
}


/* --- ▼▼▼ 스크롤바 숨김 코드 추가 (Webkit browsers) ▼▼▼ --- */
/* Chrome, Safari, Opera, Edge (Chromium) */
.reply-form textarea.reply-content::-webkit-scrollbar {
    display: none;
}

/* --- ▲▲▲ 스크롤바 숨김 코드 추가 끝 (Webkit browsers) ▲▲▲ --- */

/* --- ▼▼▼ 플레이스홀더 스타일 수정/추가 ▼▼▼ --- */
.reply-form textarea.reply-content::placeholder {
    color: #888;
    /* 플레이스홀더 텍스트 색상 */
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
    /* 브라우저 기본 투명도 효과 제거 (선택적) */
}

/* 웹킷/블링크 브라우저 (크롬, 사파리, 엣지 등) */
.reply-form textarea.reply-content::-webkit-input-placeholder {
    color: #888;
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
}

/* 모질라 파이어폭스 */
.reply-form textarea.reply-content::-moz-placeholder {
    color: #888;
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
    /* Firefox 19+ */
}

/* 인터넷 익스플로러 10+ / 구 엣지 */
.reply-form textarea.reply-content:-ms-input-placeholder {
    color: #888 !important;
    /* IE는 가끔 !important 필요할 수 있음 */
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
}

/* 모질라 파이어폭스 구버전 */
.reply-form textarea.reply-content:-moz-placeholder {
    color: #888;
    background-color: transparent;
    /* ★★★ 배경색 투명하게 설정 ★★★ */
    opacity: 1;
    /* Firefox 18- */
}

/* --- ▲▲▲ 플레이스홀더 스타일 수정/추가 끝 ▲▲▲ --- */


.reply-form-actions {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

.reply-form-actions button {
    width: 100%;
    background-color: transparent;
    border: 1px solid #404040;
    color: #fff;
    padding: 7px 15px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.85em;
}

.reply-form-actions button.btn-submit-reply {
    background-color: #f1f1f1;
    /* 강조색 */
    color: #000;
    border-color: #f1f1f1;
}

.reply-form-actions button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ================================== */
/* 댓글 수정 폼 & 하이라이트 (추가) */
/* ================================== */

/* 댓글 하이라이트 효과 */
.comment-item.highlight {
    background-color: #F35F4C !important;
    /* !important 추가하여 우선순위 확보 */
    transition: background-color 0.2s ease-out !important;
}

/* 댓글 수정 폼 (답글 폼과 동일하게) */
.comment-edit-form {
    background-color: #282828;
    border-radius: 5px;
    padding: 10px;
    margin-top: 5px;
    /* 답글 폼의 .reply-form 과 동일하게 */
}

/* 댓글 수정 폼 - 텍스트 영역 (답글 폼과 동일하게) */
.comment-edit-form .edit-content {
    flex-grow: 1;
    background-color: #282828;
    border: 1px solid #404040;
    border-radius: 5px;
    padding: 8px 10px;
    color: #fff;
    font-size: 0.95em;
    resize: none;
    width: 100%;
    min-height: 38px;
    max-height: 100px;
    line-height: 1.4;
    box-sizing: border-box;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    margin-bottom: 10px;
}

.comment-edit-form .edit-content::-webkit-scrollbar {
    /* Webkit */
    display: none;
}

.comment-edit-form .edit-content::placeholder {
    color: #888;
    background-color: transparent;
    opacity: 1;
}

.comment-edit-form .edit-content::-webkit-input-placeholder {
    color: #888;
    background-color: transparent;
    opacity: 1;
}

.comment-edit-form .edit-content::-moz-placeholder {
    color: #888;
    background-color: transparent;
    opacity: 1;
}

.comment-edit-form .edit-content:-ms-input-placeholder {
    color: #888 !important;
    background-color: transparent;
    opacity: 1;
}

.comment-edit-form .edit-content:-moz-placeholder {
    color: #888;
    background-color: transparent;
    opacity: 1;
}

/* 댓글 수정 폼 - 액션 버튼 영역 (답글 폼과 동일하게) */
.comment-edit-form .edit-form-actions {
    display: flex;
    align-items: center;
    gap: 0 10px;
}

/* 댓글 수정 폼 - 버튼 공통 스타일 (답글 폼과 동일하게) */
.comment-edit-form .edit-form-actions button {
    width: 100%;
    background-color: transparent;
    border: 1px solid #404040;
    color: #fff;
    padding: 7px 15px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.85em;
}

.comment-edit-form .edit-form-actions button:hover {
    /* 약한 호버 효과 추가 */
    background-color: rgba(255, 255, 255, 0.1);
}

.comment-edit-form .edit-form-actions button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: transparent;
    /* 비활성화 시에도 기본 색상 유지 */
    color: #888;
    /* 텍스트 색상 변경 */
}

/* 댓글 수정 폼 - 취소 버튼 (.btn-cancel-edit) -> 공통 버튼 스타일 적용됨 */

/* 댓글 수정 폼 - 저장 버튼 (.btn-submit-edit) */
.comment-edit-form .btn-submit-edit {
    background-color: #f1f1f1;
    /* 강조색 */
    color: #000;
    border-color: #f1f1f1;
}

.comment-edit-form .btn-submit-edit:hover {
    background-color: #e1e1e1;
    /* 약간 어둡게 */
}

.comment-edit-form .btn-submit-edit:disabled {
    background-color: #f1f1f1;
    /* 비활성화 시에도 기본 색상 유지 */
    color: #888;
    /* 텍스트 색상 변경 */
    opacity: 0.7;
    cursor: not-allowed;
}

/* 수정 중인 댓글 표시 (선택적) */
.comment-item.editing {
    /* 필요 시 스타일 추가 */
}


@media (max-width: 1280px) {
    .content-wrap .btn-wrap {
        display: none !important;
    }

    #admin-standard-list{
        display: none;
    }

    #admin-standard-list .bo_fx {
        padding: 10px !important;
    }

    #admin-standard-list .list-area>li>span.w-date,
    #admin-standard-list .list-area>li>span.w-hit,
    #admin-standard-list .list-area>li>span.w-good {
        display: none !important;
    }

    .admin-controls {
        display: none !important;
    }

    main {
        min-height: auto;
    }

    .main-container .main-left .board-list-wrap .top-wrap {
        display: none !important;
    }

    footer {
        display: none !important;
    }

    .shorts-nav-pc {
        display: none;
        right: 15px;
    }

    .shorts-feed-wrap {
        padding: 0 !important;
        background-color: #000;
    }

    #shorts-feed {
        max-width: 100%;
        max-height: none;
        height: calc(100dvh - 122px);
    }

    .short-item {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .short-overlay {
        border-radius: 0;
        padding-bottom: 20px;
    }

    .short-actions {
        right: 10px;
        bottom: 23px;
    }

    .short-actions button {
        padding: 8px 10px;
    }

    .short-actions button span {
        text-shadow: 0 0 5px #000;
    }

    .short-actions button img {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 100px;
        width: 40px;
        height: 40px;
        padding: 7px !important;
        backdrop-filter: blur(2px);
        /* 블러 효과 추가 */
        -webkit-backdrop-filter: blur(2px);
        /* Safari 지원 */
    }

    .short-actions button.btn-share img {
        padding: 10px !important;
        overflow: visible;
    }

    .shorts-nav-pc button {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .shorts-nav-pc button:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

    #shorts-comment-modal {
        padding-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .shorts-nav-pc {
        display: none;
        right: auto;
        gap: calc(100dvh - 250px);
    }

    .shorts-nav-pc button {
        background-color: #fff;
        border: 1px solid #ccc;
    }

    .shorts-nav-pc button:hover {
        background-color: #fff;
    }
}

@media (min-width: 1280px) {
    .shorts-feed-wrap {
        margin: 15px 0;
    }

    #shorts-feed {
        height: 700px;
    }

    .short-overlay {
        padding-right: 20px;
    }

    .short-actions {
        right: -60px;
        gap: 15px;
    }

    .short-actions button {
        padding: 0;
        color: #000;
        font-size: 1em;
        width: 48px;
    }

    .short-actions button.btn-write {
        display: none;
    }

    .short-actions button img,
    .short-actions button.btn-comment img,
    .short-actions button.btn-share img {
        filter: none;
        background-color: #eee;
        border-radius: 100px;
        padding: 10px;
        width: 100%;
        height: 100%;
    }

    .short-actions button.btn-share img {
        padding: 13px;
    }

    .shorts-feed-wrap.pc-comment-mode .short-actions {
        right: -58px;
    }

    /* PC 기본 상태 (댓글 닫혔을 때) */
    #shorts-comment-modal {
        /* position: absolute; 는 기본 스타일에서 상속 */
        top: 0;
        bottom: auto;
        left: 100%;
        width: 350px;
        max-width: 350px;
        height: 100%;
        max-height: none;
        border-radius: 10px;
        border-left: 1px solid #383838;
        transform: none;
        transition: left 0.3s ease-out;
        padding-bottom: 0;
    }

    #shorts-comment-modal #comment-modal-thumbnail {
        display: none !important;
    }

    /* PC에서 댓글 열렸을 때 (is-pc-style 과 is-open 모두 있을 때) */
    /* JS가 is-pc-style을 먼저 추가하므로, 이 스타일이 적용됨 */
    #shorts-comment-modal.is-pc-style.is-open {
        left: calc(100% - 350px);
        transform: none;
    }

    /* --- 댓글 열렸을 때 레이아웃 변경 애니메이션 --- */

    /* 1. 피드(#shorts-feed)를 왼쪽으로 이동 */
    /* .shorts-feed-wrap 자체는 justify-content를 변경하지 않음 */
    /* 대신 내부의 #shorts-feed를 transform으로 이동 */
    .shorts-feed-wrap.pc-comment-mode #shorts-feed {
        transform: translateX(-209px);
    }

    /* 2. PC 네비게이션(.shorts-nav-pc) 위치 변경 */
    .shorts-feed-wrap.pc-comment-mode .shorts-nav-pc {
        right: 359px;
    }

    /* --- PC 모달 내부 스타일 조정 (기존 코드 유지) --- */
    #shorts-comment-modal.is-pc-style #comment-list-container {
        padding: 0 15px;
    }

    #shorts-comment-modal.is-pc-style .comment-modal-header,
    #shorts-comment-modal.is-pc-style #comment-input-area {
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 10px;
    }
}