@charset "UTF-8";

/* 회원 낙찰후기 리스트·영상후기 상세 — CI3 consulting.css(#review_page·count·live_banner 등)
   + common_layout.css(typeA_detail) 이식. 브랜드 무관 색(soul 파랑·con 녹색)은 CI3 리터럴 유지.
   이미지 경로: /resource/common/images → /images/shared. 건·전 파일 동일(fork). */

/* 헤더 — CI3 common_layout.css:8-9 main.sub .con_header(margin-bottom 20) · .title(24px · 500 · 선 없음) 그대로(깜빡이 대조). */
.con-header { position: relative; margin-bottom: 20px; z-index: 1; }   /* common_layout.css:8 `main.sub .con_header` */
.con-header .title { font-size: 24px; font-weight: 500; }

/* --- 라이브 배너 (consulting.css :175~187, #review_page 블록) ---
   flip keyframe(≈50px 격자)은 "행 높이 51px·스택 510px"를 전제한다 — CI3 실측(
   Noto Sans KR 로드 후): 행마다 UA 기본 h3(1.17em=35.1px·bold)가 줄박스를 51px 로 세운다.
   덕분에 45px 창이 51px 행 안에 들어가 홀드마다 글자가 통째로 멈추고, 시작값 -515px 도
   0.1초 만에 스택 안으로 들어와 즉시 롤링된다. 재구축 베이스에 기대지 않게 51px 를 명시. */
/* margin-top 24 = 원문 `mt-4 live_banner`(common.css:231) — 제목 margin 20 과 겹쳐 +4(깜빡이 대조). */
#review_page .live_banner { margin-top: 24px; position: relative; width: 960px; height: 550px; background: url(/images/shared/consulting/review/review_ads_new3.png) no-repeat center/100%; }
#review_page .live_banner .sub_title { position: absolute; width: 600px; height: 30px; top: 293px; right: 54px; }
/* 서체 = CI3 consulting.css:248-255 `font-family:'Gmarket Sans'`(300) — 로컬 Light 파일로 선언(문구 폭·위치를 맞춘다). */
/* 파일 = 원문 전역 font_gmarket_sans.css 가 받는 script.gmarket.com 판과 바이트 동일(/fonts/gmarket-cdn) — 지표 보정 불필요. */
@font-face { font-family: 'Gmarket Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/gmarket-cdn/GmarketSansLight.woff2) format('woff2'); }
#review_page .live_banner .sub_title p { color: #ffffff; font-size: 19px; font-weight: 300; font-family: 'Gmarket Sans'; position: relative; top: 4px; left: 3px; margin: 0; }
.live_banner .cntWrap { position: absolute; top: 416px; text-align: center; width: 428px; }
.live_banner .cntWrap .review_cnt { display: inline; font-size: 40px; font-weight: 700; }
.live_banner .cntWrap .txt { position: absolute; display: inline; font-size: 40px; font-weight: 700; margin-left: 4px; }   /* 원문 `txt ms-1`(common.css:249 4px !important) */
.live_banner .flip { position: absolute; top: 415px; text-align: center; width: 1300px; overflow: hidden; height: 45px; }
.live_banner .flip div { font-size: 30px; font-weight: 700; line-height: normal; }
.live_banner .flip div:first-child { animation: review-flip 25s linear infinite; }
/* h3 = UA 기본 등가(1.17em·bold) — 이 h3 의 normal 줄박스(Noto 35.1px ≈ 51px)가 행 높이의 원천.
   line-height 를 수치로 강제하면 30px 본문과의 베이스라인 union 이 51 을 넘어 격자가 다시 깨진다. */
.live_banner .flip div h3 { display: inline; font-size: 1.17em; font-weight: 700; margin: 0; }
@media (prefers-reduced-motion: reduce) { .live_banner .flip div:first-child { animation: none; } }

/* CI3 @keyframes show 그대로(이름만 충돌 방지 개명). */
@keyframes review-flip {
    0% { margin-top: -515px; } 5.5% { margin-top: -465px; } 10% { margin-top: -465px; }
    15.5% { margin-top: -415px; } 20% { margin-top: -415px; } 25.5% { margin-top: -360px; }
    30% { margin-top: -360px; } 35.5% { margin-top: -310px; } 40% { margin-top: -310px; }
    45.5% { margin-top: -260px; } 50% { margin-top: -260px; } 55.5% { margin-top: -210px; }
    60% { margin-top: -210px; } 65.5% { margin-top: -160px; } 70% { margin-top: -160px; }
    75.5% { margin-top: -110px; } 80% { margin-top: -110px; } 85.5% { margin-top: -55px; }
    90% { margin-top: -55px; } 95.5% { margin-top: -5px; } 99.99% { margin-top: -5px; }
    100% { margin-top: -515px; }
}

/* --- 리스트 테이블 (CI3 ij_table head_center body_center 근사 + 화면 고유 규칙) --- */
.review-table { position: relative; margin-top: 8px; background: #fff; }   /* 원문 `ij_table mt-2`(common.css:229) · `.ij_table` 상자 = relative · 흰 배경 */
/* th·td = CI3 ij_layout.css:558-571(.ij_table table th 위·아래 #8491a7 · 배경 없음 · th/td padding 9 10 10 · height 30)
   + :859·:863 head_center/body_center. height 30 은 원문 content-box 전제라 명시(행 높이 50 · 재구축 전역 border-box 면 39). */
.review-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.review-table th, .review-table td { padding: 9px 10px 10px 10px; height: 30px; box-sizing: content-box; text-align: center; }
.review-table th { border-top: 1px solid #8491a7; border-bottom: 1px solid #8491a7; font-weight: 500; }
.review-table td { border-bottom: 1px solid #aab6cb; }
.review-table .ta-l { text-align: left; }
.review-table tr.review_title { cursor: pointer; }
/* 제목 마우스 올림 파랑 — 원문 전역 reset_jungi.css:25 · reset.css:25 `a:hover{color:#3267e9}` 의 이 목록 몫(재구축 layout.css `a{color:inherit}` 엔 전역 a:hover 색이 없다 · 이 화면 CSS 만). */
.review-table tr.review_title a:hover { color: #3267e9; }
.review-table .reply-mark { margin-left: 4px; color: #0a84ff; }
.review-table .c-soul { color: #2d78fc; }
.review-table .c-con { color: #6aa015; }
.review-table .company { max-width: 160px; }
.dotdotdot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* thead 아이콘 원형 (consulting.css :153~163) */
.review-table th .soul span.icn, .review-table th .con span.icn,
.count div span.icn { display: inline-block; margin: 5px 10px 5px 4px; width: 30px; height: 30px; border-radius: 15px; box-sizing: border-box; }
.review-table th span.icn { margin: 0 auto; display: block; }
th .soul span.icn, .count .soul span.icn { background-color: #3890fd; }
th .con span.icn, .count .con span.icn { background-color: #7cac19; }
/* CI3 는 content-box 전제(width 18 + 패딩 15 = 총 33) — 재구축 전역 border-box 가 패딩을 안으로
   접어 아이콘이 3px 로 쪼그라든다(실측). content-box 명시가 계약. */
th span.icn svg, .count span.icn svg { box-sizing: content-box; }
th .soul span.icn svg, .count .soul span.icn svg { padding: 0 9px 0 6px; width: 18px; height: 29px; }
th .con span.icn svg, .count .con span.icn svg { width: 18px; height: 18px; padding: 5px 4px 2px 7px; }
.count span.icn svg path, th span.icn svg path { fill: #fff; }

/* --- 아코디언 본문 (consulting.css :144~174) --- */
.review-table tr.review_contents td { background: #fafafa; }
.contents_div { padding: 8px; }   /* tpl `contents_div p-2`(common.css:257) */
.contents_div .user_div, .contents_div .admin_div { display: flex; }
.contents_div .user_div { margin-bottom: 48px; }   /* tpl `user_div mb-5`(common.css:246) · admin_div 는 여백 없음 */
.contents_div .profile { flex: 1; }
.contents_div .body { flex: 9; }
.contents_div .who { margin-bottom: 4px; }   /* tpl `mb-1`(common.css:242) */
.contents_div .who .when { margin-left: 4px; font-size: 11px; color: #929292; }   /* tpl `ms-1`(common.css:249) */
.contents_div .admin_div .who .when { margin-right: 4px; margin-left: 0; }   /* tpl `me-1`(common.css:235) */
.user_contents_div { width: 488px; background: #fff; border: 1px solid #e0e0e0; position: relative; border-radius: 3px; padding: 16px; }   /* tpl `p-3`(common.css:258) */
.admin_contents_div { width: 488px; background: #fff8e1; border: 1px solid #ffecb3; position: relative; border-radius: 3px; padding: 16px; margin-left: auto; }
.user_contents_div p, .admin_contents_div p { line-height: 24px; word-wrap: break-word; margin: 0; text-align: left; }
.pick1 { position: absolute; top: 9px; left: -12px; }
.pick2 { position: absolute; top: 9px; right: -12px; }
.contents_div .admin_div { text-align: right; }

/* 카운터 버튼 2종 (consulting.css :148~174) */
.count { margin-top: 8px; }   /* tpl `count ta-r mt-2`(common.css:229) */
.count div { display: inline-block; width: 160px; line-height: 40px; border: 1px solid #d7dce5; border-radius: 20px; font-weight: 500; box-sizing: border-box; }
.count div:first-child { margin-right: 7px; }
.count .soul:hover { border: 1px solid #3890fd; background-color: #3890fd; }
.count .con:hover { border: 1px solid #7cac19; background-color: #7cac19; }
.count div a { display: block; height: 40px; cursor: pointer; }
.count div:hover span.icn { background-color: #fff; }
.count .soul:hover span.icn svg path { fill: #3890fd; }
.count .con:hover span.icn svg path { fill: #7cac19; }
.count div strong { display: inline-block; vertical-align: 9px; line-height: 40px; }   /* consulting.css:170 — 글자 크기 선언 없음(14px 상속) */
.count div span.num { margin-left: 10px; font-weight: 700; }
.count .soul span.num { color: #3890fd; }
.count .con span.num { color: #7cac19; }
.count div:hover a, .count div:hover strong, .count div:hover span.num { color: #fff; }
.fl_l { float: left; }
.ta-r { text-align: right; }
.ta-l { text-align: left; }
.ta-c { text-align: center; }
.f_right { float: right; }

/* --- 페이저 (CI3 블록형 페이저 — pagination-block 파샬 짝) ---
   paging_wrap 스타일은 전역이 아니라 화면 CSS 가 각자 소유(ebei/review.css 동형 블록). */
#review_page .paging { margin: 40px 0 0; text-align: center; }   /* CI3 ij_layout.css:1007 .paging(위 40 · 아래 0) */
.paging_wrap { display: inline-block; }
.paging a {
    display: block; float: left; margin: 0 2px; width: 30px; height: 30px; line-height: 30px;
    border: 1px solid #d7dce5; color: #5c667b; font-weight: bold; box-sizing: border-box;
}
.paging a.act { color: #3267e9; border: 1px solid #3267e9; }   /* 전기넷도 파랑 — `ij_layout_jungi.css:1004`(gongdong/agreement-after.css 동형) */
.paging .prev { margin-right: 8px; background: url(/images/shared/icon/arrow-prev.png) no-repeat center center; }
.paging .next { margin-left: 8px; background: url(/images/shared/icon/arrow-next.png) no-repeat center center; }

/* --- 영상후기 상세 (common_layout.css typeA_detail + consulting.css :185~187) --- */
.video-detail table.typeA_detail { width: 100%; border-collapse: collapse; border-top: 1px solid #5c667b; }
.video-detail table.typeA_detail th { box-sizing: border-box; background-color: #f1f5ff; }
.video-detail table.typeA_detail th.title { height: 50px; padding: 20px 0 0 20px; font-size: 18px; font-weight: 500; text-align: left; border: 0; }
.video-detail table.typeA_detail th.info { height: 45px; padding: 0 20px 16px 0; text-align: right; font-weight: 400; border-bottom: 1px solid #aab6cb; }
.video-detail table.typeA_detail th.info .bar { display: inline-block; width: 1px; height: 10px; margin: 0 12px; background-color: #ccd0d6; }   /* common.css:40 `span.bar` */
/* 본문 두 칸 = CI3 common_layout.css:93 detail_con(40 40 80) 위에 원문 유틸 pt-5 pb-1(영상 칸 48/4 · 선 없음 인라인) ·
   pb-1(카운터 칸 4) — common.css:278·286 !important 가 이긴다(깜빡이 대조). */
.video-detail table.typeA_detail td.detail_con { padding: 40px 40px 4px; line-height: 24px; }
.video-detail table.typeA_detail td.detail_con.media { padding-top: 48px; }
.video-detail table.typeA_detail td.detail_con.counters { border-bottom: 1px solid #8491a7; }
.video-detail .count { margin: 48px 0; }   /* tpl count mt-5 mb-5 = common.css:232·246 */
.video-detail .count div { width: 175px; }
.video-detail .count span.num { margin-right: 8px; }   /* 원문 `num me-2`(common.css:236) */

/* 목록 = 원문 mb-3(16) · ta-c mt-3(16) · mt-4 display:flex(줄바꿈 없음 — 원문 동형) · 항목 m-3(16) */
.video-list-wrap { margin-bottom: 20px; border-bottom: 1px solid #d6d8db; }   /* 원문 `mb-3` = common.css:244 20px(16 이 아니다) */
.video-list-wrap > .ta-c { margin-top: 16px; }
.video-list-wrap h3 { margin: 0; }
.video-list { display: flex; margin-top: 24px; }
.video-item { text-align: center; margin: 16px; }
.thumbnail_img { width: 288px; height: 205px; cursor: pointer; }
.thumbnail_img .border { height: 96%; }
.recent_review { border: 4px solid #3267e9; }
.video-item .meta { margin: 8px 0 48px; }   /* tpl mt-2 mb-5 */
.video-item .vtitle { display: block; }
.video-item .sub { margin-top: 24px; }     /* tpl mt-4 */
.video-item .when, .video-item .hits { color: #8491a7; }
.hit_img { padding: 0 1px 0 15px; background: url(/images/shared/icon/icn_hit.png) no-repeat 0 65%; }

/* a 승격된 썸네일 — 블록 박스 유지(기존 div 등가) + 포커스 시각화. */
.thumbnail_img { display: block; }
.thumbnail_img:focus-visible { outline: 2px solid #3267e9; outline-offset: 2px; }

/* 원문 `main{overflow:hidden}`(common_layout.css:4) — 영상 목록(flex · 줄바꿈 없음)이 본문 밖으로 흘러도 문서 폭은 늘지 않는다.
   사이트 레이어의 main 에는 이 선언이 없어 가로 스크롤(1920 → 2504)이 생겼다 → 이 화면에서만 같은 값(공통 틀은 건드리지 않는다). */
main:has(.video-detail) { overflow: hidden; }
