@charset "utf-8";
@import url("/main/tg_tokens.css?v=20261125");
/* 탐구스쿨 v2 미리보기 (올레포트 /search/search.css 의 .pv- 를 가져와 틸 색으로) : 스크립트 /search/preview.js pvInit() */
/*************************************************************************************************
 detail.asp 리뉴얼 (2026-11-24) : detail.asp 안에 있던 <style> 을 옮겨 옴
  - 클래스 이름은 detail.asp 전용(.pv- .bi- .Box.. .indx_ .sdx- #td_Detail_Right) 이라 search.asp 에는 영향 없음
  - detail.asp 쪽 마크업 자리에는 "CSS : /search/search.css" 주석만 남김
 *************************************************************************************************/

/* ===== 미리보기 (2026-11-24) : 미리보기 전(작은 줄) + 크게보기(가운데 + 오른쪽 겹침, 지난 장은 뒤로 쌓임)
   - 두 화면 바탕 모두 #0E2F36 (일체감)
   - 크게보기 겹침 정도는 /search/detail.js 의 PV_GAP 등 변수(pvInit 위)로 조정
   - detail_slide.js(touchSlider) 대신 이 페이지 전용 코드 (detail2.asp 는 기존 그대로) ===== */
.pv-small { position: relative; width: 100%; max-width: 1100px; margin: 10px auto 0; padding: 18px 12px 12px; box-sizing: border-box; background: #0E2F36; border-radius: 16px; color: #fff; text-align: left; -webkit-user-select: none; user-select: none; }
.pv-row { display: flex; align-items: center; gap: 10px; }
.pv-nav, .pv-zoom, .pv-x, .pv-big-nav, .pv-keys { -webkit-appearance: none; appearance: none; box-shadow: none; font: inherit; line-height: 1; }
.pv-nav { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.pv-nav:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.pv-nav:active { transform: scale(.92); }
.pv-nav svg { width: 18px; height: 18px; }
.pv-view { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 6px 0; touch-action: pan-y; cursor: grab; }
.pv-view.is-drag { cursor: grabbing; }
.pv-view.is-drag .pv-th { pointer-events: none; }
.pv-track { display: flex; align-items: stretch; gap: 14px; width: max-content; padding: 0 2px; will-change: transform; }
.pv-th { position: relative; flex: 0 0 auto; padding: 5px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); cursor: pointer; transition: transform .25s ease, border-color .25s ease, background-color .25s ease; }
.pv-th:hover { transform: translateY(-3px); border-color: var(--tg-main); background: rgba(var(--tg-main-rgb),.16); }
.pv-th img { display: block; width: 90px; height: 127px; object-fit: cover; border: 0; border-radius: 4px; background: #fff; -webkit-user-drag: none; pointer-events: none; }
.pv-small.is-ppt .pv-th img { width: 120px; height: 90px; }
.pv-no { position: absolute; left: 10px; bottom: 10px; padding: 0 7px; border-radius: 999px; background: #3B5998; font-size: 11px; line-height: 1.6; color: #fff; pointer-events: none; }
.pv-lock { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100px; box-sizing: border-box; padding: 6px; border: 1.5px dashed rgba(255,255,255,.3); border-radius: 10px; font-size: 12px; line-height: 1.6; text-align: center; color: rgba(255,255,255,.75); }
.pv-lock svg { width: 20px; height: 20px; color: #7FD9D4; }
.pv-lock b { color: #7FD9D4; font-weight: bold; }
.pv-bar { position: relative; height: 4px; margin: 12px 48px 0; border-radius: 2px; background: rgba(255,255,255,.12); cursor: pointer; touch-action: none; transition: transform .15s ease, background-color .15s ease; }
.pv-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; bottom: -9px; }	/* 잡기 쉽게 위아래로 넓힌 자리 */
.pv-bar span { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-radius: 2px; background: var(--tg-main); cursor: grab; }
.pv-bar:hover, .pv-bar.is-drag { transform: scaleY(2); background: rgba(255,255,255,.2); }	/* 끌 수 있다는 표시 (높이는 그대로라 아래가 밀리지 않음) */
.pv-bar.is-drag span { cursor: grabbing; background: #4db3ee; }
.pv-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 8px 48px 0; font-size: 12px; color: rgba(255,255,255,.6); }	/* PC : 왼쪽 안내 · 가운데 돋보기 */
.pv-foot svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.pv-zoom { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--tg-main); color: #fff; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.pv-zoom:hover { background: var(--tg-main-d); transform: scale(1.08); }
.pv-zoom svg { width: 19px; height: 19px; }
.pv-small.no-scroll .pv-bar, .pv-small.no-scroll .pv-nav { visibility: hidden; }

/* 크게보기 : 위에서 내려오는 창 */
.pv-big { position: absolute; left: 0; right: 0; top: -3000px; z-index: 10; background: #0E2F36; color: #fff; text-align: left; -webkit-user-select: none; user-select: none; }
.pv-big-in { max-width: 1600px; margin: 0 auto; padding: 12px 16px; box-sizing: border-box; }	/* 넓은 화면에서는 더 크게 */
.pv-big-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 10px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; line-height: 1.5; }
.pv-big-title { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pv-big-cnt { flex: 0 0 auto; padding: 2px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 14px; }
.pv-stage { position: relative; height: 480px; margin-top: 8px; overflow: hidden; touch-action: pan-y; cursor: grab; }
.pv-stage.is-drag { cursor: grabbing; }
.pv-pg { position: absolute; left: 0; top: 0; width: 300px; height: 424px; box-sizing: border-box; overflow: hidden; background: #fff; border: 1px solid #6f7d96; border-radius: 4px; transform-origin: 50% 50%; will-change: transform, opacity; cursor: inherit; }	/* 클릭으로는 이동 없음 (드래그만) */
.pv-pg img { display: block; width: 100%; height: 100%; object-fit: contain; border: 0; -webkit-user-drag: none; pointer-events: none; }
.pv-dim { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: #081E24; opacity: 0; pointer-events: none; }
.pv-pg .pv-no { left: 8px; bottom: 8px; font-size: 12px; }
.pv-pg.on { outline: 2px solid var(--tg-main); outline-offset: 3px; }
.pv-pg-lock { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 10px; background: #13404A; border: 1.5px dashed rgba(255,255,255,.35); color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; text-align: center; cursor: default; }
.pv-pg-lock svg { width: 30px; height: 30px; color: #7FD9D4; }
.pv-pg-lock b { color: #7FD9D4; }
/* 오른쪽 위 단축키 알림 : [ESC] [더블클릭] 닫기 (눌러도 닫힘, hover 는 X 와 같은 빨강) */
.pv-keys { position: absolute; right: 10px; top: 10px; z-index: 400; display: flex; align-items: center; gap: 6px; margin: 0; padding: 4px 12px 4px 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(14,47,54,.8); font-size: 12px; line-height: 1; color: rgba(255,255,255,.7); white-space: nowrap; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.pv-keys:hover { background: #e5483b; border-color: #e5483b; color: #fff; }
.pv-keys kbd { display: inline-block; min-width: 24px; padding: 4px 8px 3px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.4); border-bottom-width: 2px; border-radius: 6px; background: rgba(255,255,255,.1); font: inherit; font-weight: bold; color: #fff; text-align: center; transition: border-color .2s ease; }
.pv-keys:hover kbd { border-color: rgba(255,255,255,.75); }
.pv-big-nav { position: absolute; top: 50%; z-index: 400; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: -21px 0 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; transition: background-color .2s ease, opacity .2s ease; }
.pv-big-nav:hover { background: rgba(255,255,255,.3); }
.pv-big-nav[disabled] { opacity: .25; cursor: default; }
.pv-big-nav.prev { left: 6px; }
.pv-big-nav.next { right: 6px; }
.pv-big-nav svg { width: 20px; height: 20px; }
/* 아래 줄 : 가운데 닫기(X) · 오른쪽 끝 안내 문구 */
.pv-big-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.6); }
.pv-x { grid-column: 2; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .25s ease; }
.pv-x:hover { background: #e5483b; border-color: #e5483b; transform: rotate(90deg); }
.pv-x svg { width: 24px; height: 24px; }
.pv-hint { grid-column: 3; justify-self: end; text-align: right; word-break: keep-all; }	/* X 는 항상 정가운데 (좁은 화면에서는 문구가 줄바꿈) */
.pv-hint svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
@media screen and (max-width: 600px) {
.pv-small { padding: 14px 8px 10px; border-radius: 12px; }
.pv-row { gap: 6px; }
.pv-nav { width: 30px; height: 30px; }
.pv-nav svg { width: 15px; height: 15px; }
.pv-track { gap: 10px; }
.pv-th img { width: 70px; height: 99px; }
.pv-small.is-ppt .pv-th img { width: 96px; height: 72px; }
.pv-lock { width: 80px; font-size: 11px; }
.pv-bar, .pv-foot { margin-left: 36px; margin-right: 36px; }
.pv-foot { display: flex; justify-content: space-between; }	/* 모바일 : 돋보기 오른쪽 */
.pv-big-in { padding: 10px 8px; }
.pv-x { width: 42px; height: 42px; grid-column: 3; grid-row: 1; justify-self: end; }	/* 모바일 : X 는 오른쪽 아래, 안내 문구는 왼쪽 아래 */
.pv-hint { grid-column: 1 / 3; grid-row: 1; justify-self: start; text-align: left; }
.pv-big-foot { padding: 0 12px 8px 14px; }	/* 구석에 붙지 않게 */
.pv-big-nav { display: none; }	/* 모바일은 끌기·누르기로 넘김 */
.pv-keys { display: none; }	/* 모바일은 ESC 없음 */
}
@media (prefers-reduced-motion: reduce) { .pv-th, .pv-nav, .pv-zoom, .pv-x, .pv-keys { transition: none; } .pv-th:hover { transform: none; } }