@charset "utf-8";

/* View */
.view-wrap {
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

.view-wrap .img-photo i { background: rgb(245, 245, 245); padding: 16px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(143, 143, 143); font-size: 40px; display: inline-block; }
.view-wrap .img-photo img { border-radius: 50%; width: 80px !important; height: 80px !important; display:inline-block; }
.view-wrap .img-resize img { max-width:100%; height:auto; }
.view-wrap .no-attach { border-bottom:0px; }
.view-wrap .view-cnt { letter-spacing:0; }

.view-wrap h1,
.view-wrap h1.board-view-title {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 12px;
    line-height: 1.48;
    display: block;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 6px 0;
    background: transparent !important;
    background-color: transparent !important;
    color: rgb(59, 62, 67);
    letter-spacing: -0.5px;
}
.view-wrap h1 span.talker-photo { margin-bottom:10px; margin-right:10px; }
.view-head {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.view-head .panel-heading {
    background-color: var(--op-surface-muted, #f8fafc);
    border: 0;
    padding: 10px 14px;
}

.view-head .panel-heading .text-muted {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #64748b;
    font-size: 12.5px;
}

.view-head .panel-heading .text-muted .pull-right {
    margin-left: auto;
    float: none !important;
}

.view-head .sp {
    display: none;
}

.view-head .list-group-item {
    padding: 5px 15px;
    border-style: dotted;
}
.view-tag { margin:10px 0px; padding:0px; color:#888; }
.view-tag a { color:#888; }
.view-tag a:hover { color:crimson; }
.view-cnt { margin-top:4px; }
.view-img img { display:block; max-width:100%; margin:0 auto 15px; border:0; height:auto; }
.view-content { padding-bottom:20px; line-height:180%; }
.view-content img { width:auto; height:auto; max-width:100%; }
.view-good-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 15px;
    text-align: center;
}
.view-good-box span {
    margin: 0;
    width: auto;
    height: auto;
    display: inline-flex;
}
.view-good-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    height: 44px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.view-good-box a i {
    font-size: 16px;
}
.view-good-box a b {
    font-size: 14px;
    font-weight: 700;
}
.view-good-box .view-good a:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}
.view-good-box .view-nogood a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.15);
}
.view-author .auth-photo { width:160px; padding-right:15px; }
.view-icon { margin-bottom:10px; }
.view-icon img { width:34px; border-radius:50%; margin-bottom:5px; }
.view-comment { margin: 0px; padding: 0px 0px 5px; text-transform: capitalize; overflow: hidden; border-bottom: 1px solid rgb(51, 51, 51); display: inline-block; position: relative; }

/* Padding */
.view-padding { padding-left:12px; padding-right:12px; }
.is-mobile .view-padding { padding-left:12px; padding-right:12px; }
.view-author-none { height:1px; border-top:1px solid #eee; margin:12px 0px 20px; }

/* Comment */
.comment-media { margin:10px 0px; }
.comment-media .photo i { background: rgb(245, 245, 245); padding: 15px; border-radius: 50%; width: 64px; height: 64px; text-align: center; color: rgb(143, 143, 143); font-size: 30px; display: inline-block; }
.comment-media .photo img { border-radius: 50%; width: 64px !important; height: 64px !important; display:inline-block; }
.view-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-mobile .comment-media .photo img { width: 54px !important; height: 54px !important; }

.comment-media .media { border-top:1px solid #eee; margin:7px 0px; padding:7px 0px 0px; }
.comment-media :first-child.media { border-top:0px; margin-top:0px; padding-top:0px; }
.comment-media h5 { margin:2px 0px; line-height: 22px; }
.comment-media .media .media-body { padding-left:0px; }
.comment-media .media .media-info { margin-left:10px; }
.comment-media .media .media-content { margin-top:8px; }
.comment-media .media .media-btn {	margin-left:4px; }
.comment-media .cmt-good-btn { text-align:right; padding-right:1px; }
.comment-media .cmt-good, .comment-media .cmt-nogood { display:inline-block; width:74px; height:20px; margin-top:10px; padding-right:10px; margin-right:-1px; font:bold 11px verdana; text-align:right; letter-spacing:-1px; line-height:19px; cursor:pointer; }
.comment-media .cmt-good { background: url('../../img/cmt_good.gif') no-repeat left center; color:#f4695b; }
.comment-media .cmt-nogood { background: url('../../img/cmt_nogood.gif') no-repeat left center; color:#888; }

.comment-form { padding-top:10px; }
.comment-box { border:1px solid #ddd; padding:12px 12px 0px; margin-bottom:15px; background:#fbfbfb; }
.comment-content { display:table; width:100%; table-layout:fixed; }
.comment-content .comment-cell { display:table-cell; padding:0px; text-align:center; vertical-align:middle; }
.comment-content .comment-cell.comment-submit { width:80px; height:100%; background:#fafafa; border:1px solid #ccc; border-left:0px; cursor:pointer; }
.comment-btn .cursor { margin-left:12px; color:#787878; }

#wr_content { resize:none; }
#bo_vc_opt ol {	margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_opt ol:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_opt ol li { float:left;margin:0; }
#bo_vc_send_sns ul { margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_send_sns ul:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_send_sns ul li {	float:left;margin:0 20px 0 0; }
#bo_vc_send_sns input {	margin:0 0 0 5px; }

@media all and (max-width: 768px) {
    .view-wrap,
    .view-wrap.view-mobile {
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .view-wrap h1,
    .view-wrap h1.board-view-title,
    .responsive .view-wrap h1 {
        text-overflow: clip !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.48 !important;
        font-size: 19px !important;
        margin: 10px 0 12px !important;
        padding: 4px 0 !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    .view-wrap h1 .photo,
    .responsive .view-wrap h1 .photo {
        display: none;
    }
}

@media all and (max-width:480px) {
	.responsive .view-author .auth-photo { float:none; width:100%; padding-right:0px; }
	.responsive .view-icon .pull-right { float:none !important; }
}

/* ==========================================================================
   추가: 네티즌 별점 평가 블록, 액션 버튼 및 본문 요소 (view.skin.php 인라인 이관)
   ========================================================================== */
.netizenGrade dl:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.netizenGrade dl.fst {
    border: medium none;
}
.netizenGrade dl {
    border-top: 1px solid #f4f4f4;
    clear: both;
}
.netizenGrade {
    margin: 10px 0;
    border-radius: 8px;
    background-color: var(--op-surface-muted, #e9e8e7);
}
.netizenGrade .c dt {
    float: left;
    padding: 6px 0 8px 10px;
    width: 100px;
    font-size: 15px;
    font-weight: 700;
}
.netizenGrade .c dd {
    float: left;
    width: 145px;
}
.star_big {
    display: block;
    height: 32px;
    overflow: hidden;
    width: 155px;
    font: italic 700 24px/29px Arial;
    letter-spacing: -1px;
    vertical-align: top;
}
.star_big.pink, .star_mid.pink, .star_small.pink, .pink {
    color: #f65d70;
}
.star_big .pink .pt2 {
    background: url(/images/common/img_star_r1.png) no-repeat scroll 0 0 transparent;
}
.star_big .pt1, .star_big .pt2 {
    display: block;
    float: left;
    height: 31px;
    overflow: hidden;
    text-indent: -1000em;
    width: 100px;
}
.star_big .pt1 {
    background: url(/images/common/img_gstar_b.png) no-repeat scroll 0 0 transparent;
    margin-top: 3px;
}
.hot_icon_1, .hot_icon_2, .hot_icon_3 {
    color: red;
}
.netizenGrade .star_big em {
    float: left;
    margin-left: 5px;
}
.star_big em {
    display: block;
    font-style: italic;
    padding-right: 2px;
    text-align: right;
}

.view-wrap table {
    width: 100% !important;
    table-layout: auto !important;
}

/* ==========================================================================
   본문 액션 버튼 및 레이아웃 요소 (모던 반응형 그리드 & 토큰 연동)
   ========================================================================== */
.view-action-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin: 10px 0;
}

.title_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 100px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--op-primary, #3dbf62);
    border: 1px solid var(--op-primary, #3dbf62);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    margin: 0;
}

.title_btn:hover {
    background-color: #2ea850;
    border-color: #2ea850;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(46, 168, 80, 0.3);
}

.title_btn.view_btn_call {
    min-width: 130px;
    gap: 6px;
    background-color: #ff5722;
    border-color: #ff5722;
}

.title_btn.view_btn_call:hover {
    background-color: #e64a19;
    border-color: #e64a19;
}

.title_btn.btn-call {
    line-height: 1.2em;
}

.title_btn.view_btn_dn,
.title_btn.view_btn_up {
    background-color: var(--op-surface-muted, #f1f5f9);
    border-color: #cbd5e1;
    color: #334155;
}

.title_btn.view_btn_dn:hover,
.title_btn.view_btn_up:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
    color: #0f172a;
}

.title_btn.disabled,
.title_btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.title_btn.view_btn_coupon {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}

.title_btn.view_btn_coupon:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.title_btn i {
    margin-right: 5px;
    font-size: 13px;
}

.title_btn.view_btn_call i {
    font-size: 15px;
    margin-right: 6px;
}

.view_btn_up,
.view_btn_dn,
.view_btn_gopost,
.view_btn_coupon,
.view_btn_call {
    font-size: 13px !important;
}

.view-content td {
    width: 100% !important;
}

@media all and (max-width: 768px) {
    .view-content {
        padding: 10px 0 20px !important;
    }

    .view-action-btns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 8px 0;
        margin: 8px 0;
    }

    .title_btn {
        width: 100% !important;
        min-width: 0 !important;
        height: 42px;
        font-size: 13.5px;
        padding: 0 8px;
        border-radius: 8px;
    }

    .title_btn.view_btn_call {
        grid-column: span 2;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.3px;
    }

    .title_btn.full-span {
        grid-column: span 2;
    }

    .view-btn {
        text-align: center !important;
        margin-top: 15px;
    }

    .view-btn .btn-group {
        display: inline-flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 4px !important;
    }

    .view-btn .btn-group > .btn {
        float: none !important;
        border-radius: 4px !important;
        margin: 0 !important;
    }
}

/* ==========================================================================
   다크모드 서피스 대응 (op-review view)
   ========================================================================== */
html.theme-dark .view-head,
body.theme-dark .view-head,
body[data-theme="dark"] .view-head {
    border-color: #2e2e3a !important;
    background-color: #1a1a22 !important;
}

html.theme-dark .view-head .panel-heading,
body.theme-dark .view-head .panel-heading,
body[data-theme="dark"] .view-head .panel-heading {
    background-color: #1e1e26 !important;
    border-color: #2e2e3a !important;
}

html.theme-dark .view-head .panel-heading .text-muted,
body.theme-dark .view-head .panel-heading .text-muted,
body[data-theme="dark"] .view-head .panel-heading .text-muted {
    color: #94a3b8 !important;
}

html.theme-dark .view-good-box a,
body.theme-dark .view-good-box a,
body[data-theme="dark"] .view-good-box a {
    background: #1e1e24 !important;
    border-color: #2e2e3a !important;
    color: #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

html.theme-dark .view-good-box .view-good a:hover,
body.theme-dark .view-good-box .view-good a:hover,
body[data-theme="dark"] .view-good-box .view-good a:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

html.theme-dark .view-good-box .view-nogood a:hover,
body.theme-dark .view-good-box .view-nogood a:hover,
body[data-theme="dark"] .view-good-box .view-nogood a:hover {
    background: rgba(148, 163, 184, 0.15) !important;
    border-color: #64748b !important;
    color: #94a3b8 !important;
}

html.theme-dark .title_btn,
body.theme-dark .title_btn,
body[data-theme="dark"] .title_btn {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #f3f4f6 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

html.theme-dark .title_btn:hover,
body.theme-dark .title_btn:hover,
body[data-theme="dark"] .title_btn:hover {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}

html.theme-dark .title_btn.view_btn_call,
body.theme-dark .title_btn.view_btn_call,
body[data-theme="dark"] .title_btn.view_btn_call {
    background-color: #c2410c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}

html.theme-dark .title_btn.view_btn_call:hover,
body.theme-dark .title_btn.view_btn_call:hover,
body[data-theme="dark"] .title_btn.view_btn_call:hover {
    background-color: #ea580c !important;
    border-color: #f97316 !important;
}

html.theme-dark .title_btn.view_btn_coupon,
body.theme-dark .title_btn.view_btn_coupon,
body[data-theme="dark"] .title_btn.view_btn_coupon {
    background-color: #0369a1 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

html.theme-dark .title_btn.view_btn_coupon:hover,
body.theme-dark .title_btn.view_btn_coupon:hover,
body[data-theme="dark"] .title_btn.view_btn_coupon:hover {
    background-color: #0284c7 !important;
    border-color: #38bdf8 !important;
}

html.theme-dark .title_btn.view_btn_dn,
html.theme-dark .title_btn.view_btn_up,
body.theme-dark .title_btn.view_btn_dn,
body.theme-dark .title_btn.view_btn_up,
body[data-theme="dark"] .title_btn.view_btn_dn,
body[data-theme="dark"] .title_btn.view_btn_up {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    color: #9ca3af !important;
}

html.theme-dark .title_btn.view_btn_dn:hover,
html.theme-dark .title_btn.view_btn_up:hover,
body.theme-dark .title_btn.view_btn_dn:hover,
body.theme-dark .title_btn.view_btn_up:hover,
body[data-theme="dark"] .title_btn.view_btn_dn:hover,
body[data-theme="dark"] .title_btn.view_btn_up:hover {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #f3f4f6 !important;
}

/* 별점/네티즌 평가 블록 다크모드 */
html.theme-dark .netizenGrade,
body.theme-dark .netizenGrade {
    background-color: #1e1e24 !important;
}
html.theme-dark .netizenGrade dl,
body.theme-dark .netizenGrade dl {
    border-top-color: #2e2e3a !important;
}
html.theme-dark .netizenGrade .c dt,
body.theme-dark .netizenGrade .c dt {
    color: #e2e8f0 !important;
}