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

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

.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;
}

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

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

.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: var(--color-e);
    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-guide-button {
    display: flex;
    align-items: center;
    gap: 3px;
}

.timethread-button.ui {
    font-family: 'NanumSquare';
    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;
    align-items: center;
    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: 300px;
    max-width: 300px;
    transform: translateX(100%) translateY(0%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    height: auto; /* 또는 fit-content; 사용 가능 */
    font-family: 'NanumSquare';
    display: flex;
    border: 1px solid var(--color-4);
    border-radius: 10px;
    padding: 20px;
    background-color: var(--color-2);
    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-2);
    border: 0;
    color: var(--color-e);
    font-size: 11px;
    font-family: 'NanumSquare';
}

.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: 'NanumSquare';
    align-items: center;
    justify-content: center;
}

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

.timethread-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
}


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

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

#log_list {
    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-img {
}

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

/* 비밀글, 비밀 댓글 */
.secret-container {
    text-align: center;
    border: 1px solid var(--color-d);
    border-radius: 10px;
    padding: 30px;
    background-color: var(--color-bg);
    font-family: 'NanumSquare';
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
	color: var(--color-e);
    box-sizing: border-box;	
}

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

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

.secret-container button, .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: 'NanumSquare';
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	min-width: 450px;
	max-width: 550px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--color-d);
    border-radius: 10px;
    padding: 20px 30px;
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    box-sizing: border-box;
}

.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;
}

.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: 10px;
    color: var(--color-9);
}



/* 접힌 댓글 */
.c-btn {
	display: flex;
}

.toggle-comment-plip {
    flex: 1;
    background: var(--color-2);
    color: var(--color-e);
    border-radius: 5px;
    border: none;
    padding: 3px 5px;
    margin-top: 10px;
}

/* 📌 본문 영역  */
.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: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 5px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    text-align: center;
    z-index: 10;
}

.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: 'NanumSquare';
    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.7;
    letter-spacing: -0.3px;
	color: var(--color-d);
    font-size: 11px;
	min-height: 50px;
}

.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;
}

.post-actions a {
    background: var(--color-4);
    color: var(--color-e);
    border-radius: 10px;
    border: none !important;
    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: cover;
}

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

#log_list .comment-item {
	position: relative;
	padding: 10px 10px 12px 7px;
	margin-bottom: 8px;
	align-self: flex-start;
	border-radius: 20px;
	min-width: 250px;
}


/* 작성자(오너) 댓글과 게스트 댓글의 배경을 구분 */
.comment-item.owner:not(.guest) {
	position: relative;
	background-color: var(--color-3) !important;
	color: var(--color-e) !important;
}

.comment-item.owner::before {
   	border-right-color: var(--color-3) !important;
	content: '';
	position: absolute;
	left: 0;
	bottom: 20px;
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-left: 0;
	border-bottom: 0;
	margin-top: -7.5px;
	margin-left: -12px;
}

.comment-item.guest {
	background: var(--color-e) !important;
	align-self: flex-end !important;
	color: var(--color-comment-bg) !important;
}

.comment-item.guest .comment-header .comment-profile .comment-user-info
.comment-username {
    color: var(--color-5);
}

.comment-item.guest::before {
	border-left-color: var(--color-e) !important;
	content: '';
	position: absolute;
	right: -10px;
	bottom: 20px;
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-right: 0;
	border-bottom: 0;
	margin-top: -7.5px;
	margin-left: -12px;
}



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

.profile-pic-img, .comment-profile-img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-d);
    color: var(--color-d);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-profile .profile-pic-img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-d);
    color: var(--color-d);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-profile img {
}

.fa-user {
    font-size: 15px;
}

.comment-username {
    font-weight: bold;
    font-size: 14px;
	color: var(--color-d);
}
.comment-userid {
	font-size: 10px;
	color: var(--color-9);
}

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

/* 댓글 본문 */
.comment-body {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 8px;
    padding: 0px 10px;
    word-break: break-word;
}

.comment-con {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* 댓글 푸터: 액션 버튼(수정, 삭제, 답변 등) */
.comment-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 12px;
    padding: 0px 8px 0px;
	color: var(--color-acc);
}
.comment-footer a {
    color: var(--color4);
    text-decoration: none;
    cursor: pointer;
}
.comment-footer a:hover {
    text-decoration: underline;
}


/* ✅ 19금 블라인드 (완전 검은색 배경 + 버튼 추가) */
.blind-wrapper {
    position: relative;
    width: 100%;
    background: black;
    color: transparent;
    overflow: hidden;
}
.blind-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 20px;
}
.blind-content .content-hidden {
    display: none;
}

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

/* ✅ 블라인드 해제 시 */
.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;
    background: rgba(0, 0, 0, 0.3);
}

/* 해제된 상태: 블러 제거 및 오버레이 숨김 */
.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 {
    background: black;
	color: var(--color-e);
    padding: 3px 8px;
    border-radius: 10px;
}

/* 파일 업로드 시 */
	button#upload-btn {
    font-family: 'NanumSquare';
    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;
}
.reply-form.active {
    display: block;
}


/* 댓글 쪽 css */
    .form-group {
        margin-bottom: 10px;
    }
    .form-group label {
        font-weight: bold;
    }
    .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: block;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    font-family: nanumsquare;
}

.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%;
    height: 80px;
    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: 'NanumSquare';
}

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

.view-toggle-btn {
    font-family: 'NanumSquare';
    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: 15px 15px;
}

#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;
}


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

@media screen and (max-width: 767px) {
	
	.main-container {
		min-width: 100px;
		max-width: 96%;
	}
	
	.timethread-guide {
		gap: 5px;
	}
	
	.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;
    }
}