@charset "utf-8";
@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');
@import url('color.css');

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ChosunGu';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGu.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*****************/
/* 요소 */
/*****************/

.form-input,
input[type="text"],
input[type="pass"],
input[type="file"],
input[type="url"],
textarea {
    font-family: nanumgothic;
    box-sizing: border-box;
    padding: 5px;
    width: 100%;
    font-size: 10px;
}

.timethread_board .ui-search-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.timethread_board .ui-search-box select,
.timethread_board .ui-search-box input[type="text"] {
    border-radius: 15px;
    background: var(--color-2);
    color: var(--color-e);
}

.timethread_board textarea {
    min-height: 40px;
    height: 100px;
}

.timethread_board .load-list-option {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.timethread_board .upload-btn {
    font-family: 'ChosunGu';
    font-size: 15px;
    width: 100px;
    height: 30px;
    text-shadow: 0 0 BLACK;
    border: 2px inset var(--color-3);
    border-radius: 10px;
    line-height: 28px;
    margin: 5px 0px;

    background: var(--color-4);
    color: var(--color-e);
}

.dropzone.dragover {
    border-color: #00aaff;
    background-color: #f0faff;
}

.dropzone {
    display: flex;
    height: 130px;
    border-radius: 15px;
    border: 2px dashed var(--color-9);
    margin-bottom: 10px;
    flex-direction: column;
    align-items: center;
}

.blanc {
    height: 50px;
    width: 1px;
}

/* 해시태그 */
.link_hash_tag {
    display: inline-block;
    margin: 3px 0px;
    padding: 1px 6px;
    font-size: 0.9em;
    color: #fff;
    background: var(--color-p);
    border: 1px solid var(--color-pd);
    border-radius: 9px;
    text-decoration: none;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.link_hash_tag:hover {
    background: var(--color-pl);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}


/* 버튼 */
strong.pg_current.pg_page {
    background: var(--color-bg) !important;
}

strong.pg_current.pg_page:hover {
    background: var(--color-4);
    border-color: var(--color-2);
    color: var(--color-d);
}

.timethread-button.ui {
    font-family: 'ChosunGu';
    font-size: 13px;
    width: 20px;
    height: 20px;
    border: 1px inset var(--color-b);
    border-radius: 15px;
    background: var(--color-4);
    color: var(--color-e);
    padding: 2px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timethread-button.ui:hover {
    background: var(--color-b);
    color: var(--color-3);
}

.timethread-button.ui.sch {
    height: 25px;
    width: 40px;
    background: var(--color-2);
}

.timethread-button.ui.sch:hover {
    background: var(--color-b);
    color: var(--color-3);
}


/*****************/
/* 전체 레이아웃 */
/*****************/

.timethread_board_container {
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: flex;
    flex-direction: column;
}

.timethread_board {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.timethread_box {
    display: flex;
    gap: 10px;
    width: 100%;
}

.timethread_tag {
    /*display: none !important;*/
    /*position: fixed;*/
    top: 9%;
    right: 0;
    width: 50%;
    /*max-width: 300px;*/
    transform: translateX(50%) translateY(0%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    height: auto;
    /* 또는 fit-content; 사용 가능 */
    font-family: 'ChosunGu';
    display: flex;
    border: 1px solid var(--color-4);
    border-radius: 10px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 3px;
}

.timethread_tag.active {
    display: block !important;
    transform: translateX(0) translateY(0%);
}

.tagtoggle-btn {
    position: fixed;
    top: 9%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1001;
    padding: 5px 10px;
    background: var(--color-p);
    color: var(--color-e);
    border: none;
    cursor: pointer;
}

button#loadMoreTags {
    background-color: var(--color-f);
    border: 0;
    color: var(--color-e);
    font-size: 11px;
    font-family: 'ChosunGu';
    width: 100%;
    margin-bottom: 10px;
}

.pg_wrap {
    padding: 0 !important;
    margin-bottom: 20px;
    display: inline-flex !important;
    gap: 2px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.pg_wrap .pg_page {
    display: inline-flex !important;
    height: 30px !important;
    width: 30px;
    box-sizing: border-box !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    background: var(--color-3);
    color: var(--color-e) !important;
    border: 0 !important;
    font-family: 'ChosunGu';
    align-items: center;
    justify-content: center;
}

.searc-sub-box {
    padding: 0 !important;
    margin: 0 !important;
}


/*****************/
/* 본문 */
/*****************/

#log_list .item {
    background-color: var(--color-bg) !important;
    color: var(--color-e) !important;
    border-radius: 20px;
}

#log_list {
    position: relative;
    background-color: transparent !important;
    border-color: transparent !important;
    width: 100%;
}

.grid-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2열 구성 */
}

.single-image {
    display: block;
    /* 또는 원하는 스타일 적용 */
}

.profile-pic, .comment-profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-pic-img, .comment-profile-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    color: #ffffff00;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url(./img/holo.jpg) !important;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 500%;
    box-shadow: inset 0px 1px 2px rgba(36, 32, 32, 0.32);

}

.profile-img img {
    width: 250px;
    height: 100%;
    object-fit: cover;
}

/* 비밀글, 비밀 댓글 */
.secret-container {
    text-align: center;
    font-family: 'ChosunGu';
    width: 100%;
    color: var(--color-e);
    padding-bottom: 15px;
    display: flex;
}

.secret-container .secretPostForm {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.secret-container input,
.secret-comment-form input {
    padding: 8px;
    margin-right: 5px;
    border: 1px solid var(--color-c);
    cursor: text;
}

.secret-container .secretPostForm input {
    width: 60%;
}

.secret-comment-form {
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--color-4);
    padding: 30px;
    background-color: var(--color-3);
    font-family: 'ChosunGu';
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--color-e);
    margin: 15px 10px 18px;
}

.secret-container .secretPostForm button {
    cursor: pointer;
    background: var(--color-4);
    color: var(--color-e);
    border-radius: 4px;
    border: none;
    padding: 7px 9px;
}

.secret-comment-form button {
    cursor: pointer;
    margin-top: 10px;
    background: var(--color-4);
    color: var(--color-e);
    border-radius: 10px;
    border: none !important;
    padding: 6px 15px;
    margin-left: 3px;
}

.secret-container button:hover,
.secret-comment-form button:hover {
    background: var(--color-5);
}

.secret-container,
.main-container {
    transition: opacity 0.1s ease-in-out;
}

.secret-comment-form,
.comment-item {
    transition: opacity 0.1s ease-in-out;
}

.main-container {
    font-family: 'ChosunGu';
    flex-direction: column;
    justify-content: space-between;
    min-width: 450px;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--color-f);
    border-radius: 10px;
    padding: 30px;
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    box-sizing: border-box;
    flex-direction: row;

    position: relative;
}

.main-container.notice {
    border: 3px double var(--color-acc);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
}


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

/* 📌 댓글창 토글 버튼 */
.comment-toggle {
    display: block;
    cursor: pointer;
    color: var(--color-b);
    font-weight: bold;
}

.linkcopyload_btn {
    color: var(--color-b);
}

.comment-wrapper {
    display: flex;
    flex-direction: column;
}

.comment-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
}

.comment.btn {
    display: flex;
    gap: 10px;
    height: 30px;
    align-items: center;
}

.comment.btn a {
    color: var(--color-b);
}

/* 좋아요 영역 */
.like_area {
    display: flex;
    align-items: center;
    gap: 5px;
}

.like_number {
    color: var(--color-b);
}

.like_btn {
    display: flex;
    align-items: center;
    font-size: 13px;
    /* 하트 크기 조절 */
    color: var(--color-b);
    /* 기본 빨간색 */
    cursor: pointer;
    transition: transform 0.2s ease;
    /* 부드러운 애니메이션 효과 */
}

.like_btn:active,
.like_btn.active {
    transform: scale(1.1);
    color: var(--color-p);
}

@keyframes pop {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

.like_btn.active {
    animation: pop 0.3s;
}

.user-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;

}

/* 📌 작성자 정보 */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.user-details {
    display: flex;
    flex-direction: row;
    gap: 3px;
}

.nick {
    font-weight: bold;
    font-size: 12px;
    color: var(--color-e);
}

.id {
    font-size: 12px;
    color: var(--color-e);
}

/* 📌 본문 영역  */
.post-content {
    position: relative;
    max-height: var(--post-height, 600px);
    /* 기본 접힘 높이를 게시판 설정값과 연동 */
    transition: max-height 0.5s ease-in-out;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    /* 기본적으로 10줄까지만 보이도록 설정 */
    -webkit-box-orient: vertical;
    text-align: center;
}

/* 📌 본문이 접혔을 때 OPEN 버튼을 우측 하단에 고정 */
.post-toggle-btn {
    position: absolute;
    width: 100%;
    bottom: 0px;
    /*background: var(--color-2);*/
    color: white;
    padding: 3px 5px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    text-align: center;
    z-index: 10;

    background-image: url(./img/holo.jpg) !important;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 100%;
}

.post-edit,
.post-delete {
    color: var(--color-acc);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.post-edit:hover,
.post-delete:hover {
    text-decoration: underline;
}

/* 📌 본문이 펼쳐졌을 때 (OPEN 후) */
.post-content.on {
    max-height: none !important;
}

.post-number {
    position: relative;
    font-size: 15px;
    font-family: 'ChosunGu';
    font-weight: bold;
    font-style: italic;
    line-height: 14px;
    width: 25px;
    height: 15px;
    text-align: center;
    border-radius: 5px;
    padding: 6px 4px 2px 2px;
    background: rgba(210 210 210);
    top: 0px;
    margin-left: 10px;
    color: var(--color-bg);
}

.post-number::before {
    border-right-color: rgb(210 210 210) !important;
    content: '';
    position: absolute;
    left: 47px;
    bottom: 10px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left: 0;
    border-bottom: 0;
    margin-top: -7.5px;
    margin-left: -53px;
    transform: rotate(31deg);
}


.loadboard_content {
    line-height: 1.8;
    letter-spacing: -0.3px;
    color: var(--color-e);
    font-size: 12px;
    min-height: 50px;
	overflow: auto;
}

.item-comment-box {
    display: flex;
    flex-direction: column;
}

.item-comment-form-box {
    display: none;
    padding: 10px;
    background: var(--color-3);
    border-radius: 5px;
    margin: 10px 0px;
    color: var(--color-e);
}

/* 📌 댓글 입력창 스타일 */
.comment_input_area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.comment_textarea {
    width: 100%;
    max-width: 500px;
    min-height: 40px;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--color-d);
    background: var(--color-bg);
    color: var(--color-e);
    font-size: 14px;
    resize: none;
}

.comment_submit {
    min-width: 80px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background: var(--color-acc);
    color: white;
    cursor: pointer;
    font-weight: bold;
}


/* 📌 수정 textarea 스타일 */
.modify_textarea {
    width: 100%;
    max-width: 500px;
    min-height: 40px;
    resize: none;
    overflow-y: hidden;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--color-d);
    background: var(--color-bg);
    color: var(--color-e);
    font-size: 14px;
    line-height: 1.5;
}

/* 📌 textarea가 입력 내용에 따라 높이 자동 조정 */
.modify_textarea:focus {
    outline: none;
}

/* 📌 수정 버튼 */
.mod_comment {
    min-width: 80px;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background: var(--color-acc);
    color: white;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    flex-shrink: 0;
    /* 버튼 크기 고정 */
}

.mod_comment:hover {
    background: rgb(200, 170, 100);
}

.post-actions {
    display: flex;
    font-size: 10px;
    align-items: center;
    justify-content: space-between;
    border: dotted;
    border-color: var(--color-9);
    border-width: 0px 0px 2px 0px;
    padding: 0px 0px 10px 0px;
    flex-direction: row-reverse;
}

.post-actions a {
    background: var(--color-4);
    color: var(--color-e);
    border-radius: 10px;
    border: 1px solid #8F8DBF;
    padding: 6px 10px;
    margin-left: 3px;
	height: 100%;
}

.post-actions a:hover {
    font-weight: bold;
}

.load-option-btn {}

.main-container a.ui-btn {
    line-height: 13px;
}

.main-container a.ui-btn,
.load-option-btn a {}

/* 📌 본문 내 이미지 스타일 */
.log-image {
    display: inline-block;
    margin: 5px;
}

.log-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
}

.log-images {
    text-align: center;
}

/* 댓글 타임라인 기본 스타일 */
#log_list .comment-item {
    position: relative;
    padding: 5px 5px 10px 5px;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.2s;

    background-color: var(--color-3-2);
}

#log_list .comment-item:hover {
    background-color: var(--color-3);
}

/* 다음 댓글이 있는 경우에만 하단 테두리와 마진 적용 */
#log_list .comment-item.has-next {
    margin-bottom: 1px;
    border-bottom: 1px solid var(--color-f);
}

/* 세로 연결선 - 다음 댓글이 있는 경우에만 적용 */
#log_list .comment-item.has-next::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 0;
    /* border: 1px dashed; */
    width: 2px;
    transform: translateY(15px);
    z-index: 1;
    opacity: 0.5;

    /*background-color: var(--color-2);*/
	background-image: url(./img/holo.jpg) !important;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 100%;
}

/* #log_list .comment-item.has-next::after {
    content: '▼';
    position: absolute;
    bottom: 0;
    left: 10px;
    font-size: 13px;
    color: #a7a7a7;
    z-index: 1;
    opacity: 0.3;
} */

/* 답글 연결 표시 스타일 */
.reply-connection {
    color: var(--color-9);
    font-size: 0.9em;
}

.reply-connection {
    position: relative;
    padding-left: 30px;
    margin-top: -4px;
}

.reply-arrow {
    margin-right: 5px;
    color: var(--color-9);
}

/* 댓글 헤더: 프로필과 작성자 정보, 작성일자 */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-profile {
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-profile .comment-profile-pic-img {
    z-index: 2;

    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    color: #ffffff00;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(./img/holo.jpg) !important;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 500%;
    box-shadow: inset 0px 1px 2px rgba(36, 32, 32, 0.32);
}

.comment-profile img.member-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fa-user.member-icon {
    font-size: 15px;
    color: #ffffff00;
}

.comment-user-info {
    display: flex;
    gap: 3px;
    margin-left: 5px;
}

.comment-username {
    font-weight: bold;
    font-size: 12px;
    color: var(--color-d);
}

.comment-userid {
    font-size: 10px;
    color: var(--color-9);
}

.comment-date {
    font-size: 10px;
    color: var(--color-9);
    float: right;
    margin-right: 15px;
    margin-left: 15px;
}


/* 댓글 수정폼 */
.comment-item .edit-form,
.comment-item .reply-form {
    padding: 0px 15px 0px 25px;
}

.comment-item .comment-memo {
    padding-left: 25px;
}

/* 이거라도 넣자 _ 2025.06.16 */
.comment-memo {
    font-family: 'ChosunGu';
    /*background: var(--color-2);*/
    color: white;
    padding: 2px 50px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
	margin-top: 8px;
	
	background-image: url(./img/holo.jpg) !important;
    animation-duration: 25s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 100%;
}

/* 댓글 본문 */
.comment-item .comment-body {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 8px;
    padding: 0px 10px;
    word-break: break-word;
    color: var(--color-e);
}

.comment-item .comment-con {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0px 20px;
	margin-top: 8px;
}

.comment-item .comment-con .single-image,
.comment-item .comment-con .grid-images {
    padding-top: 8px;
}

/* 댓글 푸터: 액션 버튼(수정, 삭제, 답변 등) */
.comment-item .comment-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 12px;
    padding: 0px 8px 0px;
    color: var(--color-acc);
    margin-bottom: 8px;
}

.comment-footer a {
    color: var(--color4);
    text-decoration: none;
    cursor: pointer;
}

.comment-footer a:hover {
    text-decoration: underline;
}

.comment-container.view .ui-btn {
    padding: 0 10px;
    background-color: var(--color-3);
    border-radius: 8px;
    font-family: 'Nanum squere';
    font-size: 11px;
}

.comment-container.view .btn_confirm {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}


/* 접기 버튼 스타일 */
.c-btn {
    margin-top: 8px;
    display: flex;
}

.toggle-comment-plip {
    background: none;
    border: none;
    color: var(--color-acc);
    cursor: pointer;
    font-size: 10px;
    padding: 0;
    text-align: left;
    font-family: 'Galmuri11';
    padding-left: 25px;
    margin-top: 0;
}

/* 비밀 댓글 폼 */
.secret-comment-form {
    background-color: var(--color-3);
    padding: 15px;
    margin-bottom: 1px;
    border-radius: 5px;
    border: 1px solid var(--color-4);
}

.secretCommentForm {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.secretCommentForm input[type="password"] {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--color-4);
    background-color: var(--color-2);
    color: var(--color-e);
    border-radius: 4px;
}

.secretCommentForm button {
    padding: 8px 15px;
    background-color: var(--color-acc);
    color: var(--color-1);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ✅ 19금 블라인드 (완전 검은색 배경 + 버튼 추가) */
.blind-wrapper {
    position: relative;
    width: 100%;
    background: var(--color-2);
    color: transparent;
    overflow: hidden;
}

.blind-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
	margin-top: 10px;
    margin-bottom: 15px;
}

.blind-content .content-hidden {
    display: none;
}

/* ✅ 성인 컨텐츠 보기 버튼 */
.blind-toggle-btn {
    font-family: 'ChosunGu';
    background: var(--color-2);
    color: white;
    padding: 5px 50px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
	border: 0px;

    /*border-color: var(--color-f);*/
	background-image: url(./img/holo.jpg) !important;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 200%;
}

.blind-toggle-btn:hover {
    background: var(--color-2);
}

/* ✅ 블라인드 해제 시 */
.blind-wrapper.blind-clear {
    background: none;
    color: inherit;
}

.blind-wrapper.blind-clear .blind-toggle-btn {
    display: none;
}

.blind-wrapper.blind-clear .blind-content .content-hidden {
    display: block;
}

/* 기본 스포일러 상태: 블러 처리 및 오버레이 텍스트 표시 */
.spoiler-content {
    position: relative;
    filter: blur(5px);
    transition: filter 0.3s ease;
    cursor: pointer;
}

.spoiler-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* 해제된 상태: 블러 제거 및 오버레이 숨김 */
.spoiler-content.clear {
    filter: none;
}

.spoiler-content.clear::after {
    display: none;
}


/* 댓글창 */

.input-comment {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    font-weight: normal !important;
}

.media-options {
    cursor: pointer;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group-v {
    display: flex;
    gap: 5px;
    align-items: center;
}

.input-group-v label {
    padding: 3px 8px;
    border-radius: 10px;

    background: var(--color-f);
    color: var(--color-e);
}

/* 파일 업로드 시 */
button#upload-btn {
    font-family: 'ChosunGu';
    font-size: 10px;
    margin: 5px;
    padding: 3px 6px;
}

.file-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-input-row input {
    flex: 1;
}

.link-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-input-row input {
    flex: 1;
}


/* 답글 창 */
.reply-form {
    display: none;
    padding: 10px;
}

.reply-form.active {
    display: block;
}

/* 댓글 쪽 css */
.form-group {
    margin-bottom: 10px;
}

.form-group label {
    font-weight: bold;

    color: var(--color-e);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-input-row input {
    flex: 1;
}

.link-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-input-row input {
    flex: 1;
}

/* 타입 선택 */
.type_select {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
}

.theme-box {
    display: flex;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    font-family: 'ChosunGu';
    width: 95%;
}

.theme-box .form-group {
    display: flex;
    margin-bottom: 10px;
    height: 20px;
    align-items: center;
}

.theme-box .form-group label.option-label {
    margin-right: 10px;
    font-size: 15px;
    font-weight: bold !important;
}

/* 개별 미리보기 박스 (고정 크기) */
.preview-container {
    flex: 1;
}

/* 미리보기 영역: 댓글 */
.preview-item {}

/* 미리보기 이미지 스타일 */
.preview-img {
    object-fit: cover;
    height: 80px;
    width: 100%;
}

/* 삭제 버튼: 미리보기 박스의 오른쪽 상단에 위치 */
.preview-item .file-remove-btn {
    color: var(--color-p);
    font-weight: 600;
    font-size: 12px;
    top: -100px !important;
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.9);
    width: 20px;
    height: 20px;
    border: 0;
}

/* 댓글 본문 이미지 4분할 */
.single-image img {
    width: 100%;
    display: block;
    /*height: 200px;*/
    /*object-fit: cover;*/
}

.grid-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.grid-images .grid-item img,
.grid-images img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}

/* 게시글 작성 폼 */
.write-form-container {
    display: flex;
    padding: 15px;
    flex-direction: column;
    gap: 10px;
}

.write-form-container .comments {
    height: 50vh;
}

#custom_textarea {
    height: 100% !important;
}

/* 모달 기본 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

/* 모달 기본 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

/* 모달 내 이미지 스타일 */
.modal-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

/* 닫기 버튼 */
.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* 좌우 탐색 버튼 */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/*****************/
/* 공지사항 추가 */
/*****************/

.load-option-btn {
    display: flex;
    align-items: center;
    gap: 2px;
}

.notice-option {
    padding: 0px 5px;
    background: var(--color-bg);
    border: 2px double var(--color-acc);
    border-radius: 9px;
    color: var(--color-acc);
    font-size: 9px;
    font-family: 'ChosunGu';
}

/* 뷰 전환 버튼 스타일 */
.view-toggle-buttons {
    /*display: flex;*/
    display: none;
    align-items: center;
    gap: 3px;
}

.view-toggle-btn {
    font-family: 'ChosunGu';
    font-size: 13px;
    width: 20px;
    height: 20px;
    border: 1px inset var(--color-9);
    border-radius: 15px;
    background: var(--color-b);
    color: var(--color-5);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn:hover {
    background: var(--color-f);
}

.view-toggle-btn.active {
    background: var(--color-e);
    color: var(--color-2);
}

#log_list.grid-view {
    display: flex;
    flex-wrap: wrap;
}

#log_list.grid-view .main-container {
    width: calc(33.3% - 10px);
    min-width: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 20px 15px;
}

#log_list.grid-view .main-container .comment-item {
    min-width: 100px;
}

#log_list.grid-view .secret-container .secretPostForm input {
    flex: 1;
}

#log_list.grid-view .main-container .comment-item {
    min-width: 100px;
}
    

/* 그리드 뷰에서 댓글 영역 처리 */
#log_list.grid-view .main-container {
    transition: height 0.3s ease;
    /* 높이 변화에 애니메이션 적용 */
}

#log_list.grid-view .main-container .comment-container.view {
    display: none;
}

#log_list.grid-view .main-container.comment-opened {
    max-height: none;
}

#log_list.grid-view .main-container .textggu--title6 {
    font-size: 3em;
}

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

/* 접힌 댓글의 자식 댓글 처리 */
.plip-comment.plip-collapsed>.comment-body .original_comment_area {
    display: none !important;
}

/* 접힌 댓글의 자식 댓글 숨김 처리 > 대체 왜? */
.plip-comment.plip-collapsed-parent+.comment-item[data-parent-id] {
    display: none;
}

/*****************/
/* 모바일 최적화 등 */
/*****************/

@media screen and (max-width: 767px) {

    .main-container {
        min-width: 100px;
        max-width: 97%;
    }

    .pic-header {
        min-width: 100px;
        max-width: 97%;
        margin: 0 1.5%;
    }

.load-guide-button {
    display: flex;
    align-items: center;
    gap: 3px;
}

.timethread-guide-button {
    display: flex;
    align-items: center;
    gap: 3px;
}

    .timethread_tag {
        /*width: 200px;*/
        /*max-width: 200px;*/
    }

    .timethread_tag.active {
        right: 0;
    }

    .timethread_board {
        margin-top: 20px;
    }

    .view-toggle-btn {
        display: none !important;
    }

    .timethread_board .ui-search-box input[type="text"] {
        max-width: 100px;
    }
}

@keyframes fluid {
0% {background-position: top;}
100% {background-position: bottom;}
}

.hologram {
    background-image: url(./img/holo.jpg) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 500%;
    position: relative;
    text-shadow: none;
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.3));
    max-height: 32px;
}

/*인스타 커스텀*/
.pic-header {
    position: relative;
    line-height: 47px;
    padding: 0 10px;
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    border-radius: 10px 10px 0px 0px;
    border: 1px solid var(--color-f);
    border-bottom:0px;
 }

 .pic-header .del {
    /*display: inline-block;*/
    width: 18px;
    height: 18px;
    overflow: hidden;
    text-indent: -999px;
    margin-left: 10px;
    background: #000;
    color: white;
    transform: rotate(45deg);
    float: right;
    margin: 16px 7px 0px 5px;
    font-weight: bold;
 }

 .holoback {
    background-image: url(./img/holo.jpg) !important;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 500%;
}

.pic-header .no {
    /*display: inline-block;*/
    font-family: 'GmarketSansMedium';
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
}

.pic-header .no .hologram {
    margin: 0px 0px 0px 51px;
    letter-spacing: -0.9px;
    /*display: inline-block;*/
}

#log_list .pic-header .no:before {
    /*display: block;*/
    position: absolute;
    content: '';
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 6px 3px;
    background-image: url(./img/holo.jpg) !important;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-name: fluid;
    background-size: 500%;
    box-shadow: inset 0px 1px 2px rgba(36, 32, 32, 0.32);
}

/* 반응형 (가로 800px 이하에서 1열) */
@media (max-width: 800px) {
	.load_log_board.mobile {
		max-width: 550px;
	}
	
    .main-container {
        flex-direction: column;
        position: relative;
    }

    .content-wrapper {
        width: 100%;
        padding-right: 0;
    }

    .comment-wrapper {
        width: 100%;
        margin-top: 20px;
    }
}

/* 해시태그 모아보기 */
.load_tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
  height: auto; /* 또는 fit-content; 사용 가능 */
  font-family: 'ChosunGu';
  display: flex;
  width: 95%;
  border-radius: 10px;
  margin-bottom: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 3px;
}

.main-container{position: relative; transform: translateY(-15px);}

.log-item {
  position: relative;
  max-width: 550px;
  margin: 0 auto;
}

/* custom-style.css 추가 */
.theme-box .form-source {
  height: fit-content;
  margin: 10px 0;
  display: contents;
}
.form-source .wr_source {
  width: 150px;
}
.post-number {
  width: fit-content;
  padding: 6px 8px 2px 6px;
}

.image-grid {
  display: grid;
  margin: 0 auto;
}

.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 40% auto; /* 첫 행은 전체 높이의 절반 */
}
.grid-3 .log-image:nth-child(1) {
  grid-column: 1 / -1;
}
.grid-3 .log-image:nth-child(2) {
  grid-auto-rows: 1fr;
}
.grid-3 .log-image:nth-child(3) {
  grid-column: auto;
  grid-auto-rows: 1fr;

  grid-column: 2;
  grid-row: 2;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
}


.log-image img {
  max-width: 100%;
  height: 100%;
  object-fit: contian;
  border-radius: 4px;
}

.swiper-button-next,
.swiper-button-prev {
  background: #66666660;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  transition: 0.3s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #66666688;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 12px;
}
.swiper-button-next:after {
  padding-left: 2px;
}
.swiper-button-prev:after {
  padding-right: 2px;
}