@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 200;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

:root {
    --thread-font: 'Pretendard';
    --ott-title-font: 'GMarketSans', 'Pretendard', sans-serif;
    --effect-text: #222222;
    --effect-point: #f5b301;
}

.board-notice {
    width: 264px;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 0;
    text-align: center;
    box-sizing: border-box;
    font-family: var(--thread-font);
}

.bo_fx {
    position: relative;
    padding: 20px 0;
}

.bo_fx .chk_all {
    position: absolute;
    left: 5px;
    top: 20px;
}

@media all and (max-width: 640px) {
    #bo_v_con * {
        max-width: 100%;
    }

    .bo_fx {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 10px !important;
    }
}

.board-write {
    position: relative;
    padding: 0 10px;
    border-radius: 20px;
}

.board-write h3 {
    font-size: 26px;
    text-align: center;
    padding: 30px 0 20px;
}

.board-write .write-notice {
    padding: 10px;
    font-size: 11px;
}

.board-write > dl {
    position: relative;
}

.board-write > dl > dt {
    width: 70px;
    position: absolute;
    line-height: 32px;
    text-align: center;
}

.board-write > dl > dd {
    width: 100%;
    margin-left: 0;
    padding-left: 80px;
    box-sizing: border-box;
    line-height: 32px;
}

.board-write input.frm_input.full {
    width: 100%;
    display: block;
    margin: 1px 0;
}

#bo_v_bot {
    padding: 20px 0;
    overflow: hidden;
    border: none !important;
}

.bo_v_nb {
    float: left;
}

.bo_v_com {
    float: right;
}

.board-skin-basic {
    max-width: 800px;
    margin: 0 auto;
}

.board-skin-basic:has(.type_list) {
    max-width: none;
}

.txt-point,
.thread_admin a {
    color: var(--lt-color-point) !important;
}

.theme-box .ui-btn.point {
    background: var(--lt-color-point);
    border-color: var(--lt-color-point);
}

.thread_admin a {
    margin-left: 5px;
}

.frm_info {
    line-height: 1.4;
}

.td_chk {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
}

hr.padding {
    margin: 8px 0 !important;
}

/* 타래 작성 영역 */
.thread_btn {
    margin-bottom: 20px;
    text-align: right;
}

.thread_write {
    display: none;
}

#preview {
    display: flex;
    gap: 10px;
}

.preview-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.preview-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-size: 14px;
}

#upload-btn {
    font-size: 20px;
}

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

/* 공지 */
.thread_notice {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
    border-radius: 5px;
    padding: 4px 9px;
    border: 1px solid var(--lt-color-point);
    color: var(--lt-color-point);
    margin-right: 5px;
}

/* 제목 옆 카테고리 배지 */
.thread_cate.inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-right: 0;
    padding: 5px 11px 4px;
    min-height: 23px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 0;
    color: #fff;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    position: relative;
    top: -1px;
}

/* 기존 위쪽 카테고리 출력 흔적 방지 */
.thread_cate:not(.inline) {
    display: none;
}

/* 타래 영역 */
.thread_admin {
    position: absolute;
    top: 10px;
    right: 30px;
}

.thread_wrap {
    margin-top: 20px;
}

.thread_wrap .list_title {
    box-sizing: border-box;
}

.thread_wrap .thread-box {
    margin-bottom: 10px;
    padding: 20px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-family: var(--thread-font);
}

.thread_wrap .thread-box:last-child {
    margin: 0;
}

.thread_wrap .thread-box > .thread_wr {
    position: relative;
}

.thread_wrap .thread-box .thread_info {
    margin-bottom: 10px;
}

.thread_wrap .thread-box .name {
    margin-right: 5px;
    font-weight: bold;
    font-size: 1.2em;
}

.thread_wrap .thread-box .date {
    opacity: 0.6;
}

.thread_wrap .thread-box .thread_title {
    margin-bottom: 10px;
    line-height: 1.2;
}

.thread_wrap .thread-box .thread_title strong {
    display: inline;
    vertical-align: middle;
}

/* 본문 제목 꾸밈 */
.thread_wrap .thread-box .thread_title .thread_title_text {
    display: inline-block;
    font-size: 32px;
    line-height: 1.1em;
    margin-top: 0.1em;
    font-weight: 700;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--effect-text);
    vertical-align: middle;
    word-break: keep-all;
}

/* 별점 기본 */
.list_rating {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #f5b301;
    letter-spacing: 1px;
    font-weight: 700;
}

/* 본문 제목 옆 별점 배지 */
.thread_title .list_rating.inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: -2px;
    padding: 5px 11px 4px;
    min-height: 23px;
    background: #f1f1f1;
    border-radius: 0;
    color: #f5b301 !important;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(245,179,1,0.25);
    position: relative;
    top: -1px;
}

/* 본문 제목 옆 감상 중 배지 */
.thread_title .list_rating.inline.is_watching {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: -2px;
    padding: 5px 11px 4px;
    min-height: 23px;
    background: #f1f1f1;
    border: none;
    border-radius: 0;
    color: #7d7d7d !important;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 500;
    text-shadow: none;
    box-shadow: none;
    position: relative;
    top: -1px;
}

/* 썸네일형 목록 */
.type_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-family: var(--thread-font);
}

.type_list > .list-box {
    position: relative;
    width: calc(25% - 60px/4);
}

.type_list > .list-box .list_thumb {
    width: 100%;
    height: 300px;
    transition: all 0.3s;
}

.type_list > .list-box .list_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type_list > .list-box .list_thumb.no_img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: rgba(255,255,255,0.5);
}

.type_list > .list-box > a {
    display: block;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.type_list > .list-box > a:hover .list_thumb {
    transform: scale(1.05);
}

.type_list > .list-box .list_title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 70px 15px 15px;
    width: 100%;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(0deg, #000, transparent);
    font-weight: bold;
    line-height: 1.3;
    box-sizing: border-box;
}

.type_list > .list-box .list_title span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.type_list > .list-box .list_title .list_rating {
    position: static;
    display: block;
    margin-top: 6px;
    color: #f5b301 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1px;
    font-weight: 700;
}

/* 감상 중 텍스트 */
.list_rating.is_watching {
    color: #9a9a9a !important;
    letter-spacing: 0;
    font-weight: 500;
}

.type_list > .list-box .list_title .list_rating.is_watching {
    color: #9a9a9a !important;
    text-shadow: none;
    letter-spacing: 0;
    font-weight: 500;
}

@media (max-width:768px) {
    .type_list > .list-box {
        width: calc(33.33% - 40px/3);
    }
}

@media (max-width:576px) {
    .type_list > .list-box {
        width: calc(50% - 20px/2);
    }
}

@media (max-width:420px) {
    .type_list > .list-box {
        width: 100%;
    }
}

/* 작성자 아이콘 */
.writer_icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
    object-fit: cover;
    border-radius: 50%;
}

/* 내용 */
.thread_content {
    line-height: 1.5;
}

.thread_content details {
    display: inline-block;
    width: 100%;
}

.thread_content details summary {
    font-weight: bold;
}

/* 이미지 영역 */
.thread_wrap .thread-box .img_box_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    height: 300px;
}

.thread_wrap .thread-box .img_box_wrap.img_box_2 {
    height: 150px;
}

.thread_wrap .thread-box .img_box_wrap.img_box_2 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_3 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_4 .img_box {
    width: calc(50% - 5px);
}

.thread_wrap .thread-box .img_box_wrap.img_box_5 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_6 .img_box {
    width: calc(33.33% - 20px/3);
}

.thread_wrap .thread-box .img_box_wrap.img_box_7 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_8 .img_box {
    width: calc(25% - 30px/4);
}

.thread_wrap .thread-box .img_box_wrap .img_box {
    border-radius: 10px;
    overflow: hidden;
    height: calc(50% - 5px);
}

.thread_wrap .thread-box .img_box_wrap.img_box_1 .img_box,
.thread_wrap .thread-box .img_box_wrap.img_box_2 .img_box {
    height: 100%;
}

.thread_wrap .thread-box .img_box_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 스포일러 처리 */
.thread_main {
    position: relative;
}

.thread_main.spoiler {
    filter: blur(15px) grayscale(1);
    opacity: 0.5;
    margin: 30px 0;
}

.spoiler_sec {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.spoiler_sec p {
    color: #fff;
    font-size: 17px;
    text-shadow: 0 0 3px black, 0 0 3px black;
}

.spoiler_sec button {
    margin-top: 5px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    padding: 5px 15px;
    color: #fff;
    pointer-events: all;
}

/* 비밀글 */
.pass-form form {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

/* 답글 */
.thread_bottom {
    margin-top: 10px;
}

.thread_bottom button {
    border: none;
    background: none;
    font-size: 14px;
}

.thread_co_wrap {
    padding-left: 20px;
    border-left: 2px solid var(--lt-color-point);
    margin-top: 15px;
}

.thread_co_wrap,
.thread_co {
    position: relative;
}

.thread_co {
    margin-top: 20px;
}

.thread_co .thread_admin {
    top: 0;
    right: 0;
}

.thread_co_wrap a {
    color: var(--lt-color-point);
}

/* 이미지 확대보기 */
.thread_img_full {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.thread_img_full .thread_img_wrap {
    max-height: 100%;
}

.thread_img_full .thread_img_wrap img {
    max-height: 100vh;
}

.thread_img_full .thread_img_close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    border: none;
    background: none;
    color: #fff;
}

/* 좋아요 */
.wr_good {
    margin-top: 10px;
    opacity: 0.5;
}

.wr_good a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding-top: 2px;
    width: 20px;
    height: 20px;
    border: 1px solid var(--lt-font-color);
    border-radius: 50px;
    font-size: 12px;
    color: inherit;
    box-sizing: border-box;
}

.wr_good.is_good {
    opacity: 1;
}

.wr_good.is_good a {
    color: #fff;
    background: crimson;
    border-color: crimson;
}

.wr_good.is_good span {
    color: crimson;
}

/* 답글 스타일 */
.thread_reply {
    position: absolute;
    bottom: 0;
    right: 0;
}

.thread_reply button {
    border: none;
    background: none;
    font-size: 14px;
}

.board-comment-write {
    display: none;
}

.board-comment-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    margin-top: 5px;
}

.board-comment-form textarea {
    border: 1px solid var(--lt-color-point);
    width: 100%;
}

.board-comment-list {
    margin-top: 10px;
}

.board-comment-list .item {
    border: 1px dashed var(--lt-color-point);
    padding: 10px;
    border-radius: 5px;
}

.board-comment-list .item + .item {
    margin-top: 5px;
}

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

.co_head_wrap .co-name {
    font-weight: bold;
}

.co_head_wrap .co-info {
    font-size: 0.9em;
}

.co_head_wrap .co-info span:first-child {
    opacity: 0.8;
}

/* 이모지/텍꾸 패널 */
.write_tool_panel {
    display: none;
    position: fixed;
    top: 300px;
    left: 50%;
    margin-left: 570px;
    width: 330px;
    height: 560px;
    background: rgba(20,20,20,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    overflow: hidden;
    box-sizing: border-box;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

.write_tool_panel.open {
    display: block;
}

.write_tool_panel_head {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 14px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
    line-height: 1;
}

.write_tool_panel_head strong {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.write_tool_close {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: rgba(255,255,255,0.08);
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

#write_tool_iframe {
    display: block;
    width: 100%;
    height: calc(100% - 46px);
    border: 0;
    background: #fff;
}

@media (max-width: 1100px) {
    .write_tool_panel {
        top: auto;
        left: auto;
        margin-left: 0;
        right: 14px;
        bottom: 70px;
        width: min(92vw, 330px);
        height: min(72vh, 560px);
    }
}

/* 상단 카테고리 메뉴 */
#navi_category {
    text-align: center;
    padding: 4px 0 6px;
    margin-top: 0;
}

#navi_category ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#navi_category li {
    display: block;
    padding: 0;
}

#navi_category a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 26px;
    padding: 0;
    border-radius: 999px;
    color: #555;
    text-decoration: none;
    transition: all .2s ease;
}

#navi_category a:hover,
#navi_category .on a {
    background: var(--lt-color-point);
    color: #fff;
}

#navi_category .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 20;
}

/* =========================================================
   OTT 스타일 게시글 상세 히어로 영역
========================================================= */
.thread_wrap .thread-box:has(.ott_hero) {
    padding: 0;
    overflow: hidden;
    background: #0b0b0c;
}

.ott_hero {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: linear-gradient(135deg, #1c1c1e, #0b0b0c);
    color: #fff;
}

.ott_hero.no_thumb {
    min-height: 260px;
}

.ott_hero_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.02);
}

.ott_hero_scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.55) 68%, rgba(0,0,0,0.94) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 45%);
}

.ott_hero_admin {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.ott_icon_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(20,20,20,0.55);
    color: #fff !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.2s;
}

.ott_icon_btn:hover {
    background: rgba(20,20,20,0.85);
}

.ott_hero_body {
    position: relative;
    z-index: 1;
    padding: 34px 30px 28px;
}

.ott_hero_badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ott_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
}

.ott_badge_notice {
    background: var(--lt-color-point);
    border-color: var(--lt-color-point);
    color: #000;
}

.ott_badge.ott_rating {
    color: #ffd75e;
    background: rgba(255, 215, 94, 0.12);
    border-color: rgba(255, 215, 94, 0.35);
    letter-spacing: 1px;
}

.ott_badge.ott_rating.is_watching {
    color: #d8d8d8;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    letter-spacing: 0;
}

.ott_hero_title {
    margin: 0 0 12px;
    font-family: var(--ott-title-font);
    font-weight: 700;
    font-size: clamp(26px, 4.4vw, 46px);
    line-height: 1.22;
    word-break: keep-all;
    text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}

.ott_hero_meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.85;
}

.ott_hero_meta .writer_icon {
    width: 18px;
    height: 18px;
}

.ott_hero_meta .dot {
    opacity: 0.6;
}

.ott_hero_scroll_cue {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    animation: ott_bounce 1.6s infinite;
}

@keyframes ott_bounce {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
    50% { transform: translate(-50%, 6px); opacity: 0.9; }
}

.thread_wrap .thread-box:has(.ott_hero) > .thread_wr {
    padding: 26px 30px 8px;
    background: var(--lt-color-default, #fff);
    color: inherit;
}

@media all and (max-width: 640px) {
    .ott_hero {
        min-height: 320px;
    }
    .ott_hero_body {
        padding: 24px 18px 22px;
    }
    .thread_wrap .thread-box:has(.ott_hero) > .thread_wr {
        padding: 20px 16px 8px;
    }
    .ott_hero_admin {
        top: 12px;
        right: 12px;
    }
}

/* =========================================================
   유튜브 자동재생 임베드 (게시글 상세 전용)
========================================================= */
.ott_yt_wrap {
    position: relative;
    padding-top: 56.25%;
    margin: 10px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.ott_yt_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ott_yt_mute_toggle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    backdrop-filter: blur(3px);
}

/* =========================================================
   글 작성 화면 재구성 (OTT 톤에 맞춘 카드형 UI)
========================================================= */
.ott_write {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ott_w_group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ott_w_label {
    font-size: 13px;
    font-weight: 700;
    color: var(--lt-color-point);
}

.ott_w_label_sub {
    font-weight: 400;
    color: inherit;
    opacity: 0.6;
}

.ott_w_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
}

.ott_w_toolbar_spacer {
    flex: 1;
}

.ott_w_select {
    height: 34px;
    border-radius: 8px;
    padding: 0 8px;
}

.ott_w_chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.ott_w_chip input {
    accent-color: var(--lt-color-point);
}

.ott_w_tool_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    background: transparent;
    font-size: 13px;
    color: inherit;
}

.ott_w_top_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ott_w_thumb_row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ott_w_thumb_preview {
    flex-shrink: 0;
    width: 72px;
    height: 96px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 20px;
    opacity: 0.7;
}

.ott_w_thumb_preview.no_img {
    background: rgba(0,0,0,0.05);
}

.ott_w_rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.ott_w_star {
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    padding: 2px;
    color: #d8d8d8;
    cursor: pointer;
}

.ott_w_star.on {
    color: #f5b301;
}

.ott_w_watching,
.ott_w_clear {
    border: 1px solid rgba(0,0,0,0.12);
    background: transparent;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    margin-left: 8px;
    cursor: pointer;
    color: inherit;
}

.ott_w_watching.on {
    background: var(--lt-color-point);
    border-color: var(--lt-color-point);
    color: #fff;
}

.ott_w_clear {
    padding: 6px 10px;
}

.ott_w_visually_hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.ott_w_title_input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid rgba(0,0,0,0.12);
    padding: 10px 2px;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--ott-title-font);
    background: transparent;
    color: inherit;
}

.ott_w_title_input:focus {
    outline: none;
    border-bottom-color: var(--lt-color-point);
}

.ott_w_content_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ott_w_upload_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--lt-color-point);
    cursor: pointer;
}

.ott_w_dropzone {
    border: 1px dashed rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 12px;
    transition: border-color 0.2s, background 0.2s;
}

.ott_w_dropzone.dragover {
    border-color: var(--lt-color-point);
    background: rgba(0,0,0,0.03);
}

.ott_w_dropzone textarea {
    border: none;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
}

.ott_w_dropzone textarea:focus {
    outline: none;
}

.ott_w_hint_group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
    font-size: 11.5px;
    opacity: 0.75;
}

.ott_w_collapsible {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 14px;
}

.ott_w_collapsible summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
}

.ott_w_collapsible summary::-webkit-details-marker {
    display: none;
}

.ott_w_collapsible_body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.ott_w_guest_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ott_w_actions {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding-top: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--lt-color-default, #fff) 30%);
}

.ott_w_submit {
    flex: 1;
    height: 46px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

.ott_w_cancel {
    height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 12px;
}

@media all and (max-width: 640px) {
    .ott_write {
        padding: 16px;
    }
    .ott_w_guest_grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   OTT 상세 읽기 화면: 흰 본문 + 관리자 지정 글자색
   - 목록/히어로의 어두운 OTT 디자인은 유지
   - 게시글 내용은 흰 배경 + 관리자 페이지의 기본 박스 글자색
   - 댓글은 연한 회색 카드로 본문과 구분
========================================================= */

/* 상세 페이지의 히어로 아래 영역은 모두 밝은 배경으로 통일 */
.ott-view-page .thread_wrap .thread-box:has(.ott_hero) {
    background: #ffffff;
    color: var(--lt-font-color, #222222);
}

/* OTT 히어로는 기존의 흰 글씨/어두운 배경을 그대로 유지 */
.ott-view-page .ott_hero,
.ott-view-page .ott_hero a,
.ott-view-page .ott_hero .ott_icon_btn {
    color: #ffffff;
}

/* 게시글 본문 */
.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_wr {
    background: #ffffff;
    color: var(--lt-font-color, #222222);
}

.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_wr .thread_main,
.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_wr .thread_content,
.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_wr .thread_reply_write {
    color: inherit;
}

.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_wr .thread_content {
    min-height: 40px;
    line-height: 1.7;
    word-break: break-word;
}

.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_wr .thread_content a {
    color: var(--lt-color-point) !important;
}

/* 일반 댓글 목록: 본문과 구분되는 연회색 카드 */
.ott-view-page .thread_reply_write {
    /* 댓글창이 닫혀 있을 때도 남던 구분선/빈 여백 제거 */
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    color: var(--lt-font-color, #222222);
}

/* 실제 댓글 작성창이 열렸을 때만 본문과 자연스럽게 간격을 둠 */
.ott-view-page .thread_reply_write .board-comment-write {
    margin-top: 12px;
}

.ott-view-page .board-comment-list {
    margin-top: 0;
}

.ott-view-page .board-comment-list .item {
    padding: 14px 16px;
    border: 1px solid #e0e2e5;
    border-radius: 10px;
    background: #f3f4f6;
    color: var(--lt-font-color, #222222);
    box-sizing: border-box;
}

.ott-view-page .board-comment-list .item.reply {
    background: #eceff2;
}

.ott-view-page .board-comment-list .item + .item {
    margin-top: 8px;
}

.ott-view-page .board-comment-list .co_head_wrap,
.ott-view-page .board-comment-list .co-info,
.ott-view-page .board-comment-list .co-content,
.ott-view-page .board-comment-list .co-inner,
.ott-view-page .board-comment-list label {
    color: inherit;
}

.ott-view-page .board-comment-list .co-content {
    margin-top: 8px;
    line-height: 1.65;
    word-break: break-word;
}

.ott-view-page .board-comment-list .co-info a {
    color: inherit !important;
    opacity: 0.75;
}

.ott-view-page .board-comment-list .co-inner a,
.ott-view-page .board-comment-list .s_cmt {
    color: var(--lt-color-point) !important;
}

/* 댓글 작성란도 밝은 배경/관리자 글자색으로 표시 */
.ott-view-page .board-comment-form {
    margin-top: 0;
    color: var(--lt-font-color, #222222);
}

/* 기본 p 여백 때문에 댓글창 하단이 불필요하게 벌어지는 현상 방지 */
.ott-view-page .board-comment-form > p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.ott-view-page .board-comment-form .btn_confirm {
    margin: 0 0 0 auto;
}

.ott-view-page .board-comment-form textarea,
.ott-view-page .board-comment-form input.frm_input {
    background: #ffffff;
    color: var(--lt-font-color, #222222);
    border: 1px solid #d8dadd;
    box-sizing: border-box;
}

.ott-view-page .board-comment-form textarea {
    min-height: 100px;
    padding: 12px;
    line-height: 1.6;
}

.ott-view-page .board-comment-form textarea::placeholder,
.ott-view-page .board-comment-form input.frm_input::placeholder {
    color: #8a8a8a;
}

/* 타래형 댓글도 동일하게 연회색 카드로 표시 */
.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_co_wrap {
    margin-top: 0;
    padding: 18px 30px 12px;
    border-left: 0;
    background: #ffffff;
    color: var(--lt-font-color, #222222);
    box-sizing: border-box;
}

.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_co_wrap > .thread_co {
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid #e0e2e5;
    border-radius: 10px;
    background: #f3f4f6;
    color: var(--lt-font-color, #222222);
    box-sizing: border-box;
}

.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_co_wrap > .thread_co:first-of-type {
    margin-top: 0;
}

.ott-view-page .thread_co .thread_info,
.ott-view-page .thread_co .thread_title,
.ott-view-page .thread_co .thread_wr,
.ott-view-page .thread_co .thread_main,
.ott-view-page .thread_co .thread_content {
    color: inherit;
}

.ott-view-page .thread_co .thread_content a {
    color: var(--lt-color-point) !important;
}

/* 상세 하단 댓글 버튼/AJAX 입력 영역의 검은 배경 노출 방지 */
.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_bottom {
    margin-top: 0;
    padding: 8px 30px 20px;
    background: #ffffff;
    color: var(--lt-font-color, #222222);
}

.ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_comment {
    padding: 0 30px 20px;
    background: #ffffff;
    color: var(--lt-font-color, #222222);
    box-sizing: border-box;
}

@media all and (max-width: 640px) {
    .ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_co_wrap {
        padding: 16px 16px 10px;
    }

    .ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_bottom {
        padding: 8px 16px 18px;
    }

    .ott-view-page .thread_wrap .thread-box:has(.ott_hero) > .thread_comment {
        padding: 0 16px 18px;
    }
}


/* =========================================================
   OTT 사용자 리뷰형 댓글 디자인 v2
   실제 사용 선택자 기준 / :has() 미사용
   기능 변경 없음: 작성, 수정, 삭제, 답글, 비밀글 그대로 유지
========================================================= */

/* 1. 게시글 아래의 최상위 댓글 영역 */
.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap {
    position: relative !important;
    margin: 0 !important;
    padding: 30px 30px 20px !important;
    border: 0 !important;
    border-top: 1px solid #e7e9ed !important;
    background: #f4f5f7 !important;
    color: var(--lt-font-color, #222222) !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap::before {
    content: '관람객 리뷰';
    display: block !important;
    margin: 0 0 16px !important;
    color: var(--lt-font-color, #222222) !important;
    font-family: var(--ott-title-font, var(--thread-font)) !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.4px !important;
}

/* 2. 최상위 댓글 한 개 = OTT 리뷰 카드 */
.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap > .thread_co {
    position: relative !important;
    margin: 12px 0 0 !important;
    padding: 20px 20px 14px 76px !important;
    border: 1px solid #e0e3e7 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: var(--lt-font-color, #222222) !important;
    box-shadow: 0 4px 14px rgba(20, 27, 38, 0.055) !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap > .thread_co:first-of-type {
    margin-top: 0 !important;
}

/* 기본 프로필 원형 */
.ott-view-page .thread_co_wrap > .thread_co::before {
    content: '★';
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #20242a !important;
    color: #f5b301 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

/* 작성자 정보 */
.ott-view-page .thread_co_wrap > .thread_co .thread_info {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 9px !important;
    min-height: 40px !important;
    margin: 0 0 10px !important;
    padding: 0 62px 0 0 !important;
    color: var(--lt-font-color, #222222) !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .name {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 !important;
    color: var(--lt-font-color, #222222) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .name::after {
    content: '★ 관람평';
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 22px !important;
    padding: 3px 9px 2px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff3c4 !important;
    color: #9b6900 !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.2px !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .date {
    margin-left: auto !important;
    color: #8a9099 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    opacity: 1 !important;
    white-space: nowrap !important;
}

/* 회원 프로필 이미지가 있으면 별 원형 위에 표시 */
.ott-view-page .thread_co_wrap > .thread_co .thread_info .writer_icon {
    position: absolute !important;
    top: 0 !important;
    left: -56px !important;
    z-index: 2 !important;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border: 1px solid #dfe2e6 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
}

/* 수정/삭제 */
.ott-view-page .thread_co_wrap > .thread_co > .thread_admin {
    position: absolute !important;
    top: 21px !important;
    right: 18px !important;
    z-index: 3 !important;
    display: flex !important;
    gap: 8px !important;
}

.ott-view-page .thread_co_wrap > .thread_co > .thread_admin a {
    margin: 0 !important;
    color: #a0a5ad !important;
    font-size: 12px !important;
}

.ott-view-page .thread_co_wrap > .thread_co > .thread_admin a:hover {
    color: var(--lt-color-point) !important;
}

/* 댓글 제목/본문 */
.ott-view-page .thread_co_wrap > .thread_co .thread_title {
    margin: 0 0 8px !important;
    color: var(--lt-font-color, #222222) !important;
    line-height: 1.45 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_title .thread_title_text {
    display: block !important;
    color: var(--lt-font-color, #222222) !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-text-stroke: 0 !important;
    font-family: var(--thread-font) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_wr,
.ott-view-page .thread_co_wrap > .thread_co .thread_main,
.ott-view-page .thread_co_wrap > .thread_co .thread_content {
    color: var(--lt-font-color, #222222) !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_main {
    min-height: 0 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_content {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_content a {
    color: var(--lt-color-point) !important;
}

/* 답글 열기 버튼 */
.ott-view-page .thread_co_wrap > .thread_co .thread_reply {
    position: static !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin: 8px 0 0 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_reply button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 58px !important;
    min-height: 28px !important;
    padding: 4px 10px !important;
    border: 1px solid #d9dde2 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #626973 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_reply button::after {
    content: '답글';
}

.ott-view-page .thread_co_wrap > .thread_co .thread_reply button:hover {
    border-color: var(--lt-color-point) !important;
    color: var(--lt-color-point) !important;
}

/* 3. 댓글 안의 대댓글 목록 */
.ott-view-page .thread_co_wrap > .thread_co .board-comment-list {
    position: relative !important;
    margin: 16px 0 0 !important;
    padding: 15px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #eceef1 !important;
    background: transparent !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list::before {
    content: '답글';
    display: block !important;
    margin: 0 0 10px !important;
    color: #7a818b !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item {
    position: relative !important;
    margin: 8px 0 0 !important;
    min-height: 58px !important;
    padding: 15px 16px 15px 60px !important;
    border: 1px solid #e3e6ea !important;
    border-left-width: 1px !important;
    border-radius: 13px !important;
    background: #f7f8fa !important;
    color: var(--lt-font-color, #222222) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item:first-of-type {
    margin-top: 0 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item.reply {
    margin-left: 18px !important;
    background: #f1f3f5 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item::before {
    content: '★';
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #343941 !important;
    color: #f5b301 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co_head_wrap {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
    margin: 0 0 8px !important;
    color: var(--lt-font-color, #222222) !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-name {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: var(--lt-font-color, #222222) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-name::after {
    content: '관람평';
    display: inline-flex !important;
    padding: 3px 7px 2px !important;
    border-radius: 999px !important;
    background: #fff3c4 !important;
    color: #9b6900 !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-left: auto !important;
    color: #8a9099 !important;
    font-size: 10.5px !important;
    opacity: 1 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info a {
    color: #8a9099 !important;
    opacity: 1 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info a:hover {
    color: var(--lt-color-point) !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-content,
.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-inner {
    color: var(--lt-font-color, #222222) !important;
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    word-break: break-word !important;
}

/* 4. 답글 작성 폼 */
.ott-view-page .thread_co_wrap > .thread_co .thread_reply_write {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_reply_write .board-comment-write {
    margin: 14px 0 0 !important;
    padding: 15px !important;
    border: 1px solid #dfe3e7 !important;
    border-radius: 13px !important;
    background: #f7f8fa !important;
    color: var(--lt-font-color, #222222) !important;
    box-sizing: border-box !important;
}

.ott-view-page .board-comment-form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    color: var(--lt-font-color, #222222) !important;
}

.ott-view-page .board-comment-form textarea {
    width: 100% !important;
    min-height: 96px !important;
    padding: 12px 14px !important;
    border: 1px solid #d7dbe0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--lt-font-color, #222222) !important;
    font-family: var(--thread-font) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    resize: vertical !important;
    box-sizing: border-box !important;
}

.ott-view-page .board-comment-form textarea:focus {
    outline: none !important;
    border-color: var(--lt-color-point) !important;
    box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.12) !important;
}

.ott-view-page .board-comment-form > p {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    color: var(--lt-font-color, #222222) !important;
}

.ott-view-page .board-comment-form .btn_confirm {
    margin: 0 0 0 auto !important;
}

.ott-view-page .board-comment-form .btn_confirm .ui-btn.point {
    min-width: 86px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #20242a !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

/* 5. 게시글 최하단 '댓글 작성' 버튼 및 AJAX 작성 영역 */
.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom {
    margin: 0 !important;
    padding: 16px 30px 20px !important;
    border: 0 !important;
    border-top: 1px solid #e7e9ed !important;
    background: #f4f5f7 !important;
    color: var(--lt-font-color, #222222) !important;
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    border: 1px solid #d9dde2 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #333941 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom button::after {
    content: '사용자 리뷰 작성';
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom button:hover {
    border-color: var(--lt-color-point) !important;
    color: var(--lt-color-point) !important;
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_comment {
    margin: 0 !important;
    padding: 0 30px 22px !important;
    border: 0 !important;
    background: #f4f5f7 !important;
    color: var(--lt-font-color, #222222) !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_comment .board-write.ott_write,
.ott-view-page .thread_comment .board-comment-write {
    padding: 18px !important;
    border: 1px solid #dfe3e7 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: var(--lt-font-color, #222222) !important;
    box-shadow: 0 3px 12px rgba(20, 27, 38, 0.05) !important;
    box-sizing: border-box !important;
}

@media all and (max-width: 640px) {
    .ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap {
        padding: 24px 14px 16px !important;
    }

    .ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap > .thread_co {
        padding: 17px 14px 12px 64px !important;
        border-radius: 14px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co::before {
        top: 17px !important;
        left: 14px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .thread_info {
        align-items: flex-start !important;
        flex-direction: column !important;
        min-height: 36px !important;
        padding-right: 44px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .thread_info .writer_icon {
        left: -50px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .thread_info .date {
        margin-left: 0 !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co > .thread_admin {
        top: 18px !important;
        right: 13px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item {
        padding: 13px 12px 13px 52px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item::before {
        top: 13px !important;
        left: 11px !important;
        width: 30px !important;
        height: 30px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .board-comment-list .item.reply {
        margin-left: 10px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom {
        padding: 14px 14px 18px !important;
    }

    .ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom button {
        width: 100% !important;
    }

    .ott-view-page .thread_wrap > .thread-box.theme-box > .thread_comment {
        padding: 0 14px 18px !important;
    }
}

/* 파일 적용 확인용 버전: OTT_COMMENT_REVIEW_V2_20260721 */


/* =========================================================
   관람객 리뷰 제목 / 답글 버튼 하단 여백 축소 v3
========================================================= */
.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap::before {
    content: '관람객 리뷰' !important;
}

.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap > .thread_co {
    padding-bottom: 14px !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_reply {
    min-height: 0 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_reply button {
    min-height: 28px !important;
    padding: 4px 10px !important;
}

@media all and (max-width: 640px) {
    .ott-view-page .thread_wrap > .thread-box.theme-box > .thread_co_wrap > .thread_co {
        padding-bottom: 12px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .thread_reply {
        margin-top: 7px !important;
    }
}

/* 파일 적용 확인용 버전: OTT_COMMENT_REVIEW_V3_20260721 */


/* =========================================================
   댓글 헤더 정렬 / 관람객 리뷰 작성 문구 v4
   - 날짜: 댓글 카드 오른쪽 끝
   - 수정·삭제: ★ 관람평 배지 바로 옆
========================================================= */

/* 최하단 작성 버튼 문구 */
.ott-view-page .thread_wrap > .thread-box.theme-box > .thread_bottom button::after {
    content: '관람객 리뷰 작성' !important;
}

/* 최상위 관람객 리뷰 헤더 */
.ott-view-page .thread_co_wrap > .thread_co .thread_info {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .name {
    flex: 0 1 auto !important;
    min-width: 0 !important;
}

/* list.skin.thread.php에서 작성자/배지 바로 뒤로 이동한 수정·삭제 */
.ott-view-page .thread_co_wrap > .thread_co .thread_info .thread_admin_inline {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .thread_admin_inline a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 2px 6px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #969ca5 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .thread_admin_inline a i {
    font-size: 9.5px !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .thread_admin_inline a:hover {
    background: #f2f3f5 !important;
    color: var(--lt-color-point) !important;
}

.ott-view-page .thread_co_wrap > .thread_co .thread_info .date {
    position: static !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    padding-left: 14px !important;
    color: #8a9099 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* 이전 절대배치 규칙 무효화: 새 inline 관리자만 사용 */
.ott-view-page .thread_co_wrap > .thread_co > .thread_admin:not(.thread_admin_inline) {
    position: static !important;
}

/* 대댓글: 수정·삭제는 관람평 배지 옆, 날짜는 오른쪽 끝 */
.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co_head_wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px 7px !important;
    min-height: 22px !important;
    margin: 0 0 8px !important;
    padding: 0 94px 0 0 !important;
    box-sizing: border-box !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 첫 번째 span은 날짜 */
.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info > span:first-child {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #8a9099 !important;
    font-size: 10.5px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: right !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
}

/* 날짜를 제외한 수정·삭제 버튼 */
.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info > span:not(:first-child) {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info > span:not(:first-child) a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 21px !important;
    padding: 2px 5px !important;
    border-radius: 5px !important;
    color: #969ca5 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info > span:not(:first-child) a:hover {
    background: #eceff2 !important;
    color: var(--lt-color-point) !important;
}

@media all and (max-width: 640px) {
    .ott-view-page .thread_co_wrap > .thread_co .thread_info {
        align-items: center !important;
        flex-direction: row !important;
        padding: 0 !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .thread_info .date {
        width: auto !important;
        margin-left: auto !important;
        padding-left: 8px !important;
        font-size: 10px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .thread_info .thread_admin_inline a {
        padding: 2px 4px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co_head_wrap {
        padding-right: 82px !important;
    }

    .ott-view-page .thread_co_wrap > .thread_co .board-comment-list .co-info > span:first-child {
        font-size: 9.5px !important;
    }
}

/* 파일 적용 확인용 버전: OTT_COMMENT_REVIEW_V4_20260721 */

/* =========================================================
   글작성 화면 - 이미지 추가 버튼 정돈 (v5)
   기존 #upload-btn의 큰 글자 크기를 덮어쓰고,
   '내용' 라벨 바로 옆의 작은 OTT형 보조 버튼으로 배치합니다.
========================================================= */
.ott_write .ott_w_content_head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 30px;
    margin-bottom: 2px;
}

.ott_write .ott_w_content_head > .ott_w_label {
    flex: 0 0 auto;
    margin: 0;
    line-height: 30px;
}

.ott_write #upload-btn.ott_w_upload_btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    height: 28px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.035);
    box-shadow: none;
    color: var(--lt-color-point);
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.ott_write #upload-btn.ott_w_upload_btn i {
    font-size: 13px;
    line-height: 1;
}

.ott_write #upload-btn.ott_w_upload_btn:hover {
    border-color: var(--lt-color-point);
    background: rgba(0, 0, 0, 0.065);
    transform: translateY(-1px);
}

.ott_write #upload-btn.ott_w_upload_btn:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .ott_write .ott_w_content_head {
        gap: 7px;
    }

    .ott_write #upload-btn.ott_w_upload_btn {
        height: 27px;
        padding: 0 9px;
        font-size: 11.5px !important;
    }
}


/* =========================================================
   글작성 화면 핵심 입력 구역 재배치 (v6)
========================================================= */
.ott_write .ott_w_title_group { gap: 9px; margin-top: 2px; }
.ott_write .ott_w_title_input { padding: 13px 3px 12px; }
.ott_write .ott_w_rating_group { gap: 10px; margin-top: 8px; margin-bottom: 8px; padding: 14px 16px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: rgba(0,0,0,.025); }
.ott_write .ott_w_rating_head { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px; }
.ott_write .ott_w_rating_help { font-size:11px; line-height:1.4; opacity:.58; }
.ott_write .ott_w_rating { min-height:34px; gap:5px; }
.ott_write .ott_w_content_group { gap:10px; margin-top:8px; }
.ott_write .ott_w_content_head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 14px; min-height:32px; margin-bottom:0; }
.ott_write .ott_w_content_head > .ott_w_label { line-height:32px; }
.ott_write .ott_w_content_tools { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:7px; margin-left:auto; }
.ott_write .ott_w_content_tool_btn, .ott_write #upload-btn.ott_w_upload_btn { height:29px; margin:0; padding:0 10px; border:1px solid rgba(0,0,0,.12); border-radius:999px; background:rgba(0,0,0,.035); color:var(--lt-color-point); font-size:12px !important; font-weight:600; line-height:1; white-space:nowrap; box-shadow:none; }
.ott_write .ott_w_content_tool_btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; }
.ott_write .ott_w_content_tool_btn:hover, .ott_write #upload-btn.ott_w_upload_btn:hover { border-color:var(--lt-color-point); background:rgba(0,0,0,.065); transform:translateY(-1px); }
.ott_write .ott_w_dropzone { margin-top:1px; padding:15px; }
@media (max-width:640px) {
 .ott_write .ott_w_rating_group { margin-top:5px; margin-bottom:5px; padding:13px; }
 .ott_write .ott_w_content_group { margin-top:5px; }
 .ott_write .ott_w_content_head { align-items:flex-start; gap:8px; }
 .ott_write .ott_w_content_head > .ott_w_label { width:100%; line-height:1.4; }
 .ott_write .ott_w_content_tools { width:100%; justify-content:flex-start; margin-left:0; gap:6px; }
 .ott_write .ott_w_content_tool_btn, .ott_write #upload-btn.ott_w_upload_btn { height:28px; padding:0 9px; font-size:11.5px !important; }
}
/* 파일 적용 확인용 버전: OTT_WRITE_LAYOUT_V6_20260721 */


/* =========================================================
   글작성 화면 상단 설정 정렬 + 썸네일/제목 간격 (v7)
========================================================= */
.ott_write .ott_w_toolbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
}

.ott_write .ott_w_toolbar_item {
    display: flex;
    align-items: center;
    min-width: 0;
}

.ott_write .ott_w_visibility_item {
    flex: 0 0 124px;
}

.ott_write .ott_w_category_item {
    flex: 1 1 190px;
    max-width: 280px;
}

.ott_write #write_category {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.ott_write .ott_w_select,
.ott_write .ott_w_category_select {
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 0 34px 0 11px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 0.78);
    color: inherit;
    font-size: 12.5px;
    line-height: 34px;
    box-sizing: border-box;
}

/* 공지 체크박스는 캡슐 버튼 안에서 상태만 담당 */
.ott_write .ott_w_toolbar > .ott_w_chip_input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ott_write .ott_w_toolbar .ott_w_chip {
    flex: 0 0 auto;
    justify-content: center;
    min-width: 72px;
    height: 36px;
    margin: 0;
    padding: 0 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

.ott_write .ott_w_toolbar .ott_w_spoiler_chip {
    min-width: 92px;
}

.ott_write .ott_w_toolbar .ott_w_chip:hover {
    border-color: var(--lt-color-point);
    background: rgba(0, 0, 0, 0.045);
}

.ott_write .ott_w_toolbar > #notice:checked + .ott_w_notice_chip,
.ott_write .ott_w_spoiler_chip:has(input:checked) {
    border-color: var(--lt-color-point);
    background: var(--lt-color-point);
    color: var(--lt-color-bg);
}

/* :has 미지원 환경에서도 체크 표시가 분명하게 보이도록 유지 */
.ott_write .ott_w_spoiler_chip input {
    flex: 0 0 auto;
    margin: 0;
}

/* 썸네일 카드와 제목 입력 구역 사이를 기존보다 여유 있게 분리 */
.ott_write .ott_w_top_grid {
    margin-bottom: 10px;
}

.ott_write .ott_w_thumb_group {
    padding-bottom: 2px;
}

@media (max-width: 720px) {
    .ott_write .ott_w_toolbar {
        flex-wrap: wrap;
    }

    .ott_write .ott_w_visibility_item {
        flex: 1 1 118px;
    }

    .ott_write .ott_w_category_item {
        flex: 2 1 170px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .ott_write .ott_w_toolbar {
        gap: 7px;
        padding: 9px;
    }

    .ott_write .ott_w_visibility_item,
    .ott_write .ott_w_category_item {
        flex-basis: calc(50% - 4px);
    }

    .ott_write .ott_w_toolbar .ott_w_chip {
        flex: 1 1 calc(50% - 4px);
    }

    .ott_write .ott_w_top_grid {
        margin-bottom: 7px;
    }
}

/* 파일 적용 확인용 버전: OTT_WRITE_TOOLBAR_V7_20260721 */


/* =========================================================
   글작성 화면 상단 간격 + 긴 글 자동 확장 (v8)
========================================================= */
/* 상단 설정 카드와 썸네일 입력 영역이 붙어 보이지 않도록 분리 */
.ott_write .ott_w_toolbar {
    margin-bottom: 10px;
}

/* 보호글 암호 입력칸이 열리는 경우에도 다음 영역과 간격 유지 */
.ott_write #set_protect {
    margin-bottom: 2px;
}

/* 썸네일 카드 자체에도 위쪽 여백을 조금 더 부여 */
.ott_write .ott_w_top_grid {
    margin-top: 2px;
}

/* 긴 감상문 작성을 위한 넓은 기본 입력 높이 */
.ott_write #wr_content {
    display: block;
    width: 100% !important;
    min-height: 320px !important;
    height: auto;
    overflow-y: hidden;
    resize: none;
    box-sizing: border-box;
    padding: 14px 15px;
    line-height: 1.75;
}

/* 입력칸이 커져도 드롭존 내부가 자연스럽게 확장되도록 처리 */
.ott_write .ott_w_dropzone,
.ott_write .ott_w_dropzone .wr_content {
    height: auto;
    min-height: 0;
}

@media (max-width: 640px) {
    .ott_write .ott_w_toolbar {
        margin-bottom: 8px;
    }

    .ott_write .ott_w_top_grid {
        margin-top: 1px;
    }

    .ott_write #wr_content {
        min-height: 260px !important;
        padding: 13px;
        line-height: 1.7;
    }
}

/* 파일 적용 확인용 버전: OTT_WRITE_AUTOGROW_V8_20260721 */


/* =========================================================
 * X(구 트위터) 게시물 자동 임베드
 * ========================================================= */
.ott_x_embed {
    display: block;
    width: 100%;
    max-width: 550px;
    margin: 18px auto;
    clear: both;
}

.ott_x_embed .twitter-tweet {
    width: 100% !important;
    margin: 0 auto !important;
}

.ott_x_embed iframe {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* widgets.js가 차단되거나 로드되지 않을 때 표시되는 링크 */
.ott_x_embed .twitter-tweet > a {
    display: block;
    padding: 14px 16px;
    border: 1px solid rgba(127, 127, 127, 0.25);
    border-radius: 14px;
    text-align: center;
    word-break: break-all;
}

@media (max-width: 600px) {
    .ott_x_embed {
        max-width: 100%;
        margin: 14px auto;
    }
}
