/* Gyool Life Timeline */
/* [이 파일을 고칠 때 알아 둘 것] (전체 지도는 HANDOFF.md 6.8절, 정리 규칙은 4절 'CSS 정리 규칙')
   - 기능을 추가해 온 순서대로 쌓인 파일이라, 같은 요소의 규칙이 여러 절에 나뉘어 있고 뒤쪽 규칙이 앞쪽을 덮는 경우가 많다
     (예: 사진 팝업은 '이미지 팝업'·'사진 팝업(일반)'·'페이지를 확대한 상태' 절, 동영상 최대 높이는 '동영상 보기'·'페이지를 확대한 상태' 절).
     한 선택자를 고치기 전에 파일 전체에서 그 클래스 이름을 검색해 모든 규칙을 확인하고, 순서를 옮기면 화면이 바뀔 수 있음에 주의.
   - 클래스는 대부분 JS가 만드는 요소다(HTML 파일에는 없음). 이름을 바꾸면 JS의 el('태그', '클래스')·querySelector도 같이 바꾼다.
     머리글자: gtl-lb 사진 뷰어 / gtl-vw 동영상·음원·PDF / gtl-pz 확대 / gtl-rd 글 읽기 / gtl-ig 인스타 / gtl-ov 한눈에 보기 / gtl-ck 이벤트 점검.
   - 겹침 순서는 아래 :root의 --gtl-z-* 변수로만, 관리자 글꼴(--gtl-font)을 쓰는 선택자는 파일 맨 끝 한 규칙에 추가.
   - 크기는 정수 px. 폰은 타임라인 전체를 CSS zoom으로 줄이므로 타임라인 안의 px은 600px 폭 기준이다.
   - 이벤트 위치(left·top)는 CSS가 아니라 JS(timeline.core.js layoutBlock)가 정한다. */
/* 사이트 레이아웃(XEDITION 서브형)이 위 사진 띠에 찍는 게시판 제목 글자만 숨기기 (사진 띠는 그대로)
   제목 칸의 여백이 띠 높이를 만드는 형태(모바일 등)가 있어서, 칸은 두고 글자만 안 보이게 함 (display: none이면 띠가 쪼그라들어 메뉴가 버튼을 덮음)
   이 CSS는 타임라인 화면에서만 불러와서 다른 게시판엔 영향 없음 */
.visual.sub .sub_title h1 { visibility: hidden; }
/* 사이트 레이아웃(XEDITION) 푸터: 이 스킨을 쓰는 화면에서는 통째로 숨김 (폰에서 푸터의 [로그인][회원가입] 줄이 떠 있는 분류 버튼 줄에 가려졌음).
   로고·카피라이트는 스킨이 맨 아래(#gtl-foot, timeline.js buildFoot)에 직접 그림. 로그인은 맨 위 'and Now'의 'ow'(timeline.js .gtl-head-login),
   로그아웃·관리자는 오른쪽 위 버튼 줄(list.html). 다른 페이지의 푸터는 그대로.
   2026년 11월 되돌린 시도: 푸터를 살리고 그 아래 빈 공간(margin, body::after)을 두는 방식 — margin은 XEDITION의 html, body { height: 100% } 때문에 효과가 없었고,
   body::after는 푸터 아래가 흰 띠로 보여 어색했음(timeline.js reserveBottom 주석 참고) */
footer.footer { display: none !important; }
/* 맨 아래 로고·카피라이트(#gtl-foot): 위 간격(출생 연도 상자 아래 50px, margin-top)과 아래 빈 공간(padding-bottom)은 둘 다 timeline.js가 재서 정함(placeFoot, fitFoot) */
.gtl-foot-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding: 0 16px; }
.gtl-foot-logo { display: block; height: 32px; width: auto; }
b.gtl-foot-logo { height: auto; font-size: 16px; line-height: 20px; color: #888; }
.gtl-foot-cr { margin: 0; font-size: 13px; line-height: 18px; color: #888; text-align: center; letter-spacing: 0; }
@media (max-width: 600px) { .gtl-foot-logo { height: 28px; } .gtl-foot-cr { font-size: 11px; line-height: 16px; } }
/* 회원가입은 쓰지 않으므로(서버에서 404 처리, HANDOFF.md 1절) 이 화면의 레이아웃 머리 쪽 '회원가입' 링크도 숨김 */
a[href*="dispMemberSignUpForm"] { display: none !important; }
.gtl-outer { --gtl-font: 'GyoolNanum'; position: relative; margin: 0 auto; max-width: 100%; }
.gtl-src { display: none !important; }
/* 겹침 순서 (위로 갈수록 숫자가 큼): 말풍선 < 동영상 뷰어·한눈에 보기·빠른 안내 < 글 읽기 < 사진 뷰어 < 확대 뷰어 < 복사 안내
   확대 뷰어는 timeline.viewers.js에도 같은 숫자(100000)가 직접 적혀 있음 (CSS가 옛 버전으로 캐시돼도 덮도록) */
:root { --gtl-z-tip: 9000; --gtl-z-viewer: 9500; --gtl-z-reader: 9600; --gtl-z-photo: 99999; --gtl-z-zoom: 100000; --gtl-z-toast: 100001; }

.gtl-admin { text-align: right; margin: 0 0 10px; font-size: 12px; }
.gtl-topgap { height: 50px; } /* 글쓰기 버튼이 안 보이는 방문자 화면: 'and Now' 위 여백 */
.gtl-btn { display: inline-block; margin-left: 4px; padding: 4px 10px; border: 1px solid #ccc; border-radius: 3px; background: #f7f7f7; color: #555 !important; text-decoration: none !important; }
.gtl-btn:hover { background: #eee; }
.gtl-warn { color: #c0392b; margin-right: 8px; }

.gtl-stage { position: relative; width: 100%; overflow: hidden; }
.gtl-wrap {
	position: relative; margin: 0 auto; padding: 0 0 10px;
	font-family: var(--gtl-font), 'GyoolNanum', 'Malgun Gothic', '맑은 고딕', sans-serif;
	color: #333; line-height: 1.35; 
	-webkit-text-size-adjust: 100%; text-size-adjust: 100%;

}
.gtl-wrap *, .gtl-wrap *:before, .gtl-wrap *:after { box-sizing: border-box; }
/* 자간: 원본 PSD(다음체, 트래킹 -120)와 같게. 사이트 레이아웃의 자간 설정은 무시 */
.gtl-wrap, .gtl-wrap * { letter-spacing: normal !important; word-spacing: normal !important; font-stretch: normal !important; }
.gtl-wrap .gtl-title, .gtl-wrap .gtl-desc, .gtl-wrap .gtl-meta,
.gtl-wrap .gtl-title *, .gtl-wrap .gtl-desc *, .gtl-wrap .gtl-meta * { letter-spacing: -0.12em !important; }
.gtl-wrap .gtl-year-box b { letter-spacing: -0.12em !important; }
.gtl-wrap .gtl-year-box sup { letter-spacing: -0.1em !important; }
.gtl-wrap .gtl-birth-title, .gtl-wrap .gtl-birth-desc, .gtl-wrap .gtl-birth-meta { letter-spacing: -0.15em !important; }

/* 세로선 */
.gtl-head, .gtl-block, .gtl-spacer { position: relative; }
.gtl-block:before, .gtl-spacer:before, .gtl-head:after {
	content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 3px; margin: 0 auto; background: #9a9a9a; /* 가운데 정렬(자동 여백)이라 소수점 없음 */
}
.gtl-head { height: 119px; text-align: center; }
.gtl-head:after { top: 62px; }
.gtl-head-label { display: block; padding-top: 2px; color: #a5a5a5; font-size: 20px; font-weight: 800;  line-height: 1.2; }
/* 숨은 로그인 링크('and Now'의 'ow'): 다른 글자와 똑같이 보이게 (색·밑줄·손가락 모양·폰에서 누를 때 번쩍임 없음) */
.gtl-head-label .gtl-head-login { color: inherit !important; text-decoration: none !important; cursor: default; -webkit-tap-highlight-color: transparent; }
.gtl-arrow { position: absolute; left: 0; right: 0; top: 42px; width: 33px; height: 20px; margin: 0 auto; background: #9a9a9a; clip-path: polygon(50% 0, 100% 100%, 0 100%); } /* 위 화살표: 폭 33px 삼각형 */
.gtl-block { min-height: 24px; padding-top: 12px; }
.gtl-spacer { height: 20px; }

/* 연도 라벨 */
.gtl-year { position: relative; height: 56px; text-align: center; padding-top: 6px; }
.gtl-year:before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 3px; margin: 0 auto; background: #9a9a9a; }
.gtl-year-box {
	position: relative; display: inline-block; width: 105px; height: 44px; border-radius: 8px;
	border: 3px solid #fff; background: linear-gradient(to bottom, #616161 0%, #616161 18%, #a6a6a6 100%) padding-box;
	/* 입체감: 윗면 하이라이트 + 좌우 모서리 살짝 밝게 */
	box-shadow: inset 0 3px 1px -1px rgba(255,255,255,.7), inset 0 8px 6px -4px rgba(255,255,255,.3), inset 3px 0 3px -2px rgba(255,255,255,.28), inset -3px 0 3px -2px rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.1);
	color: #fff; line-height: 38px;
}
.gtl-year-box b { font-size: 20px; font-weight: 800;  text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.gtl-year-box sup { position: absolute; top: -9px; right: 8px; font-size: 10px; color: #c8c8c8; font-weight: 400; text-shadow: none; }

/* 출생 표시 (맨 아래 고정) */
.gtl-birth { position: relative; padding-top: 34px; text-align: center; }
.gtl-birth:before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 36px; width: 3px; margin: 0 auto; background: #9a9a9a; }
.gtl-birth-dot { position: relative; display: block; width: 17px; height: 17px; margin: 0 auto 10px; border-radius: 50%; background: linear-gradient(to bottom, #5a5a5a 0%, #7d7d7d 45%, #b8b8b8 100%); }
.gtl-birth-title { font-size: 20px; line-height: 27px; font-weight: 800; color: #4a4a4a;  }
.gtl-birth-desc { margin-top: 2px; font-size: 12px; line-height: 16px; color: #666; }
.gtl-birth-meta { margin-top: 3px; font-size: 12px; line-height: 16px; color: #999;  }
.gtl-year-birth { margin-top: 18px; padding-top: 0; height: 46px; }
.gtl-year-birth:before { display: none; }
.gtl-year-birth .gtl-year-box { background: linear-gradient(to bottom, #7b5a2f 0%, #7b5a2f 20%, #b6936c 100%) padding-box; box-shadow: inset 0 3px 1px -1px rgba(255,240,215,.8), inset 0 8px 6px -4px rgba(255,235,205,.32), inset 3px 0 3px -2px rgba(255,235,205,.28), inset -3px 0 3px -2px rgba(255,235,205,.2), inset 0 0 0 1px rgba(255,235,205,.1); }
.gtl-year-birth .gtl-year-box sup { color: #e2cfb3; }

/* 이벤트 */
.gtl-item { position: absolute; top: 0; display: flex; align-items: flex-start; }
.gtl-left { flex-direction: row-reverse; text-align: right; }
.gtl-right { flex-direction: row; text-align: left; }
.gtl-text { position: relative; flex: 0 1 auto; min-width: 0; }
.gtl-right .gtl-text { margin-left: 3px; }  /* 이벤트 글을 축에서 3px 더 바깥으로 (물방울 꼬리와 숨 쉴 틈). 점 위치는 그대로 */
.gtl-left .gtl-text { margin-right: 3px; }
.gtl-left:not(.gtl-post) .gtl-title, .gtl-left:not(.gtl-post) .gtl-desc, .gtl-left:not(.gtl-post) .gtl-meta { padding-right: 0.1em; }  /* 자간(-0.12em)이 줄 끝 글자 뒤에도 붙어 오른쪽 정렬 글이 축 쪽으로 더 나와 보이는 것 보정 */
.gtl-title { font-weight: 800; color: #2b2b2b; font-size: 14px; line-height: 17px;  word-break: keep-all; }
.gtl-big .gtl-title { font-size: 18px; line-height: 22px;  }
.gtl-desc { font-size: 9.5px; line-height: 15px; font-weight: 700; color: #9a9a9a;  word-break: keep-all; }
.gtl-big .gtl-desc { font-size: 11px; line-height: 16px; }
.gtl-line p, .gtl-line div { display: inline; margin: 0; padding: 0; }
.gtl-line br + br { display: none; }
.gtl-line img, .gtl-line iframe, .gtl-line video { display: none !important; }
.gtl-line a { color: #3c7bb5; }
.gtl-meta { font-size: 9px; line-height: 14px; font-weight: 700; color: #9a9a9a;  }
.gtl-big .gtl-meta { font-size: 10px; line-height: 16px; }
/* 링크 아이콘: globe.svg 한 파일을 모든 지구본이 공유 (벡터라 확대해도 선명, 한 번 받으면 캐시) */
.gtl-globe { display: inline-block; width: 10px; height: 10px; vertical-align: middle; margin: 0 3px; background: url('globe.svg?v=1121e') no-repeat center / auto 100%; }
/* 아이콘 5종 모두 그림 세로 10px로 통일, 가로는 모양대로 (지구본·음악·디스켓 10, 동영상 14 — 유튜브 버튼 비율, PDF 9) */
.gtl-globe.is-video { width: 14px; }
.gtl-globe.is-pdf { width: 9px; }
.gtl-globe.is-file { background-image: url('disk.svg?v=1121e'); } /* 첨부파일 */
.gtl-globe.is-pdf { background-image: url('pdf.svg?v=1121e'); } /* PDF */
.gtl-globe.is-video { background-image: url('video.svg?v=1121e'); } /* 동영상 */
.gtl-globe.is-audio { background-image: url('music.svg?v=1121e'); } /* 음악 */
/* 지구본: 글과 같은 줄 안에 인라인으로 (왼쪽 이벤트는 글 앞, 오른쪽 이벤트는 글 뒤 - 스크립트가 배치) */
.gtl-icons { display: inline-block; white-space: nowrap; vertical-align: middle; line-height: 0; margin: 0 3px; }
.gtl-icons .gtl-globe { margin: 0; cursor: pointer; }
.gtl-icons .gtl-globe + .gtl-globe { margin-left: 2px; }
.gtl-left .gtl-icons { margin: 0 3px 0 0; }
.gtl-right .gtl-icons { margin: 0 0 0 3px; }
/* 링크·파일 고르기 말풍선 */
.gtl-choose { position: fixed; z-index: var(--gtl-z-tip); min-width: 150px; max-width: 300px; padding: 4px; background: #fff; border: 1px solid #cfcfcf; border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0,0,0,.18); font: 12px/1.35 -apple-system, 'Malgun Gothic', sans-serif; letter-spacing: 0; }
.gtl-choose-list { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.gtl-choose-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 4px; color: #333 !important; text-decoration: none !important; }
.gtl-choose-item:hover, .gtl-choose-item:focus { background: #eef4fb; }
.gtl-choose-share { display: flex; align-items: center; gap: 6px; width: 100%; margin: 2px 0 0; padding: 6px 8px 4px; border: 0; border-top: 1px solid #ececec; border-radius: 0 0 4px 4px; background: none; color: #777; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.gtl-choose-share:hover, .gtl-choose-share:focus { background: #f5f5f5; color: #333; }
.gtl-choose.is-share-only .gtl-choose-share { margin: 0; padding: 6px 8px; border-top: 0; border-radius: 4px; }
.gtl-choose.is-share-only .gtl-choose-list { display: none; }
.gtl-choose-item .gtl-globe { flex: 0 0 auto; width: 20px; height: 14px; margin: 0; } /* 고르기 목록: 그림 세로 14px 통일, 칸 너비는 20px로 같게 해서 글자 줄 맞춤 */
.gtl-choose-txt { min-width: 0; display: flex; flex-direction: column; }
.gtl-choose-txt b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtl-choose-txt small { color: #888; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtl-choose-tail { position: absolute; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #fff; border: solid #cfcfcf; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.gtl-choose.is-below .gtl-choose-tail { bottom: auto; top: -6px; border-width: 1px 0 0 1px; }
.gtl-line { min-width: 0; }
.gtl-text.is-link { cursor: pointer; }
.gtl-text.is-link:hover .gtl-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* 작은 글씨 부드럽게 (스킨 설정에서 켜기): 가장자리를 아주 살짝 번지게 + 얇은 외곽선 */
.gtl-smooth .gtl-desc, .gtl-smooth .gtl-meta {
	text-shadow: 0 0 0.6px rgba(0,0,0,.18);
	text-shadow: 0 0 0.6px color-mix(in srgb, currentColor 45%, transparent);
	-webkit-text-stroke: 0.15px currentColor;
}

/* Note: 점 없이 연한 글씨 */
.gtl-note .gtl-dot { display: none; }
.gtl-note .gtl-title { font-weight: 800; color: #9c9c9c; font-size: 14px; }
.gtl-note .gtl-desc, .gtl-note .gtl-meta { font-weight: 700; color: #a8a8a8; }

/* 세로선 위 점 */
.gtl-dot {
	position: absolute; top: 4px; width: 9px; height: 9px; border-radius: 50%;
	background: linear-gradient(to bottom, #5a5a5a 0%, #7d7d7d 45%, #b8b8b8 100%);
}
/* 점 모양: 글 쪽으로 꼬리가 난 물방울 (원 위치·크기는 그대로, 꼬리만 글 쪽으로 붙음) */
.gtl-left .gtl-dot { right: -19px; }
.gtl-right .gtl-dot { left: -19px; }
.gtl-small .gtl-dot { width: 13px; border-radius: 0; }
.gtl-right .gtl-dot { background: radial-gradient(circle at 4.5px 4.5px, #6a6a6a 0, #797979 2.02px, #9a9a9a 4.5px, #d0d0d0 7.88px); }  /* 원 가운데는 진하게 → 원 테두리(축과 맞닿는 곳)는 축 색 → 뾰족한 꼬리 끝으로 연하게 */
.gtl-left .gtl-dot { background: radial-gradient(circle at 8.5px 4.5px, #6a6a6a 0, #797979 2.02px, #9a9a9a 4.5px, #d0d0d0 7.88px); }
.gtl-big.gtl-right .gtl-dot { background: radial-gradient(circle at 8.5px 8.5px, #6a6a6a 0, #797979 3.83px, #9a9a9a 8.5px, #d0d0d0 12.75px); }
.gtl-big.gtl-left .gtl-dot { background: radial-gradient(circle at 13.5px 8.5px, #6a6a6a 0, #797979 3.83px, #9a9a9a 8.5px, #d0d0d0 12.75px); }
.gtl-small.gtl-right .gtl-dot { clip-path: path('M 12.38 4.50 L 7.07 0.81 A 4.5 4.5 0 1 0 7.07 8.19 Z'); }
.gtl-small.gtl-left .gtl-dot  { clip-path: path('M 0.62 4.50 L 5.93 0.81 A 4.5 4.5 0 1 1 5.93 8.19 Z'); }
.gtl-big .gtl-dot { top: 2px; width: 22px; height: 17px; border-radius: 0; }
.gtl-big.gtl-left .gtl-dot { right: -23px; clip-path: path('M 0.75 8.50 C 3.16 6.74 5.99 3.58 8.27 1.80 A 8.5 8.5 0 1 1 8.27 15.20 C 5.99 13.42 3.16 10.26 0.75 8.50 Z'); }
.gtl-big.gtl-right .gtl-dot { left: -23px; clip-path: path('M 21.25 8.50 C 18.84 6.74 16.01 3.58 13.73 1.80 A 8.5 8.5 0 1 0 13.73 15.20 C 16.01 13.42 18.84 10.26 21.25 8.50 Z'); }

/* 썸네일: 말풍선 테두리 + 세로선 쪽 꼭지 */
.gtl-thumb {
	position: relative; flex: 0 0 auto; width: 109px; margin-top: -13px;
	padding: 3px; background: #fff; border-radius: 7px; border: 1.5px solid #cfcfcf;
}
.gtl-big .gtl-thumb { margin-top: -11px; }
.gtl-left .gtl-thumb { margin-right: 14px; }
.gtl-right .gtl-thumb { margin-left: 14px; }
/* 꼭지: 회색 삼각형(외곽선) 위에 흰 삼각형을 겹쳐, 테두리와 맞닿는 부분의 선을 가림 */
.gtl-tip { position: absolute; top: 12px; width: 15px; height: 16px; line-height: 0; pointer-events: none; }
.gtl-tip svg { display: block; overflow: visible; }
/* svg의 x=0 이 박스 안쪽 여백 끝에서 1.5px 안쪽, x=1.5~3 이 테두리 선 */
.gtl-left .gtl-tip { right: -13.5px; }
.gtl-right .gtl-tip { left: -13.5px; transform: scaleX(-1); }
.gtl-thumb img { position: relative; z-index: 1; }
.gtl-thumb img { display: block; width: 100px; height: 67px; object-fit: contain; border-radius: 4px; background: #fff; }
.gtl-thumb.is-click { cursor: pointer; }
.gtl-thumb.is-click:hover { border-color: #b5b5b5; }
.gtl-thumb.is-click:hover .gtl-tip polyline { stroke: #b5b5b5; }
/* 사진 팝업이 되는 썸네일의 돋보기 (오른쪽 위) */
.gtl-zoom { position: absolute; z-index: 2; top: 7px; right: 7px; width: 16px; height: 16px; border-radius: 50%; background: rgba(0,0,0,.45);
	display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: .85; transition: opacity .15s, background .15s; }
.gtl-zoom svg { display: block; }
.gtl-thumb.is-click:hover .gtl-zoom { opacity: 1; background: rgba(0,0,0,.65); }
.gtl-count { z-index: 2; }
.gtl-count { position: absolute; right: 8px; bottom: 8px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; line-height: 18px; text-align: center; }

/* 관리자 */
.gtl-edit { position: absolute; z-index: 20; top: 0; display: none; padding: 0 4px; font-size: 12px; color: #999 !important; text-decoration: none !important; background: #fff; border-radius: 3px; }
.gtl-left .gtl-edit { left: -22px; }
.gtl-right .gtl-edit { right: -22px; }
.gtl-item:hover .gtl-edit { display: block; }
.gtl-invalid { margin: 20px; padding: 12px 14px; border: 1px dashed #d99; background: #fff6f6; font-size: 12px; }
.gtl-invalid p { margin: 0 0 6px; color: #b33; }
.gtl-invalid a { display: block; color: #555; }

/* 이미지 팝업: 위치·크기는 스크립트가 지금 보이는 영역에 맞춤, --lb-s 는 확대 배율의 역수(버튼·글자 크기 유지) */
/* 뷰어 공통: 화면 전체를 덮는 반투명 검정 배경 (사진·인스타, 동영상·음원·PDF, 글 읽기. 확대 뷰어는 더 진한 .96이라 따로) */
.gtl-lb, .gtl-viewer, .gtl-reader { position: fixed; inset: 0; background: rgba(0,0,0,.88); }
.gtl-lb { z-index: var(--gtl-z-photo); display: none; flex-direction: column; -webkit-user-select: none; user-select: none; overflow: hidden; }
.gtl-lb.is-open { display: flex; }
.gtl-lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; padding: calc(44px * var(--lb-s, 1)) 0 calc(8px * var(--lb-s, 1)); }
.gtl-lb-stage img { max-width: 92%; max-height: 100%; box-shadow: 0 4px 30px rgba(0,0,0,.5); background: #222; will-change: transform; -webkit-user-drag: none; }
.gtl-lb.is-many .gtl-lb-stage { cursor: grab; }
.gtl-lb.is-many .gtl-lb-stage:active { cursor: grabbing; }
.gtl-lb button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; opacity: .8; font-family: Arial, sans-serif; padding: 0; z-index: 2; }
.gtl-lb button:hover { opacity: 1; }
.gtl-lb-close { top: calc(6px * var(--lb-s, 1)); right: calc(16px * var(--lb-s, 1)); font-size: calc(40px * var(--lb-s, 1)); line-height: 1; }
.gtl-lb-prev, .gtl-lb-next { top: 45%; height: calc(80px * var(--lb-s, 1)); width: calc(56px * var(--lb-s, 1)); margin-top: calc(-40px * var(--lb-s, 1)); font-size: calc(56px * var(--lb-s, 1)); line-height: calc(80px * var(--lb-s, 1)); display: none; }
.gtl-lb.is-many .gtl-lb-prev, .gtl-lb.is-many .gtl-lb-next { display: block; }
.gtl-lb-prev { left: calc(4px * var(--lb-s, 1)); }
.gtl-lb-next { right: calc(4px * var(--lb-s, 1)); }
.gtl-lb-count { display: none; flex: 0 0 auto; text-align: center; color: #ddd; font-size: calc(13px * var(--lb-s, 1)); font-family: Arial, sans-serif; padding: calc(2px * var(--lb-s, 1)) 0; }
.gtl-lb.is-many .gtl-lb-count { display: block; }
/* 아래 작은 사진 줄: 누르면 그 사진으로, 많으면 좌우로 스크롤 */
.gtl-lb-strip { display: none; flex: 0 0 auto; overflow-x: auto; overflow-y: hidden; padding: calc(6px * var(--lb-s, 1)) calc(10px * var(--lb-s, 1)) calc(12px * var(--lb-s, 1)); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.gtl-lb.is-many .gtl-lb-strip { display: block; }
.gtl-lb-strip-in { display: flex; gap: calc(6px * var(--lb-s, 1)); width: max-content; margin: 0 auto; }
.gtl-lb .gtl-lb-th { position: relative; flex: 0 0 auto; width: calc(64px * var(--lb-s, 1)); height: calc(46px * var(--lb-s, 1)); border-radius: 3px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: -2px; background: #222; transition: opacity .15s; }
.gtl-lb .gtl-lb-th:hover { opacity: .8; }
.gtl-lb .gtl-lb-th.is-on { opacity: 1; outline-color: #fff; }
.gtl-lb-th img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gtl-lb-stage video { max-width: 92%; max-height: 100%; box-shadow: 0 4px 30px rgba(0,0,0,.5); background: #000; will-change: transform; }
.gtl-lb .gtl-lb-th.is-video:after { content: ''; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -5px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent rgba(255,255,255,.92); filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.gtl-lb-ig { display: none; }
/* 인스타처럼 보기: 사진 높이 화면의 40% (정배율), 아래에 작은 사진 줄, 그 아래 본문. 길면 전체가 위아래로 스크롤 */
.gtl-reader.is-ig { visibility: hidden; }
.gtl-lb.is-ig { overflow: hidden; }  /* 사진·동영상은 위에 고정, 글만 스크롤 */
.gtl-lb.is-ig .gtl-lb-stage { flex: 0 0 auto; height: auto; box-sizing: content-box; }  /* 높이는 사진 크기에 맞춤 (timeline.js fitIgStage) */
.gtl-lb.is-ig .gtl-lb-stage img, .gtl-lb.is-ig .gtl-lb-stage video { max-height: 60vh; max-height: 60dvh; }
.gtl-lb.is-ig .gtl-lb-prev, .gtl-lb.is-ig .gtl-lb-next { position: absolute; }
/* 사진·동영상이 여러 개면: 사진 + 장수 + 작은 사진 줄(합쳐서 약 92px)을 화면 세로의 60% 안에 */
.gtl-lb.is-ig.is-many .gtl-lb-stage img, .gtl-lb.is-ig.is-many .gtl-lb-stage video { max-height: calc(60vh - 92px * var(--lb-s, 1)); max-height: calc(60dvh - 92px * var(--lb-s, 1)); }
.gtl-lb.is-ig .gtl-lb-ig { display: block; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; box-sizing: border-box; width: 100%; margin: 0; padding: calc(12px * var(--lb-s, 1)) 4% calc(30px * var(--lb-s, 1)); color: #e6e6e6; font-size: calc(14px * var(--lb-s, 1)); line-height: 1.75; text-align: left; -webkit-user-select: text; user-select: text; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }
.gtl-ig-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: .86em; color: #bbb; }
.gtl-ig-head i { width: 8px; height: 8px; border-radius: 2px; }
.gtl-ig-head b { color: #eee; font-weight: 800; }
.gtl-lb .gtl-ig-head .gtl-share-line { position: static; opacity: 1; color: #aaa; font-family: inherit; font-size: 12px; font-weight: 400; }
.gtl-ig-head > span { white-space: nowrap; }
@media (max-width: 600px) { .gtl-lb .gtl-ig-head .gtl-share-line { font-size: 11px; gap: 3px; } } /* 폰: 프로필·날짜와 한 줄에 들어가게 */
@media (max-width: 400px) { .gtl-lb .gtl-ig-head .gtl-sl-pre { display: none; } } /* 아주 좁은 폰(360·375px)은 '링크 공유'로 줄여야 한 줄에 들어감 */
.gtl-lb .gtl-ig-head .gtl-share-line:hover, .gtl-lb .gtl-ig-head .gtl-share-line:focus { color: #fff; }
.gtl-ig-head > span:before { content: '｜'; margin-right: 6px; color: #777; }
.gtl-ig-cap p { margin: 0 0 .9em; word-break: keep-all; overflow-wrap: anywhere; }
.gtl-ig-cap a { color: #9cc3ff; }
.gtl-lb a.gtl-ig-orig { display: inline-block; margin-top: 2px; font-size: .86em; color: #9cc3ff; text-decoration: none; }
.gtl-lb a.gtl-ig-orig:hover { text-decoration: underline; }
.gtl-ig-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.gtl-lb .gtl-ig-nav button { position: static; flex: 0 1 48%; text-align: left; font: inherit; font-size: .9em; line-height: 1.45; color: #ddd; opacity: .85; }
.gtl-lb .gtl-ig-nav button.gtl-ig-nx { text-align: right; }
.gtl-ig-nav small { display: block; font-size: .82em; color: #999; margin-bottom: 2px; }

/* 관리자 점검 화면 (?tl_check=1) */
.gtl-check { font: 13px/1.5 'Malgun Gothic', sans-serif; color: #333; }
.gtl-check h2 { font-size: 18px; margin: 10px 0; }
.gtl-check h2 small { font-size: 12px; color: #999; font-weight: normal; }
.gtl-check-sum b { font-size: 15px; }
.gtl-check .is-p { color: #c0392b; }
.gtl-check .is-w { color: #b7791f; }
.gtl-check .is-ok { color: #2f855a; }
.gtl-igm-frame { display: block; width: 100%; height: 900px; border: 0; margin-top: 6px; }
.gtl-check-help { margin: -4px 0 0; font-size: 12px; color: #888; }
/* 이벤트 점검 표: 글 하나 = 두 줄(윗줄 값들, 아랫줄 본문·첨부). 폭이 모자라면 옆으로 밀어 봄 */
.gtl-check-scroll { overflow-x: auto; margin-top: 8px; }
.gtl-check-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.gtl-check-table th, .gtl-check-table td { padding: 5px 6px; text-align: left; vertical-align: top; }
.gtl-check-table td { overflow-wrap: anywhere; }   /* 띄어쓰기 없는 긴 글자(주소 등)도 칸 안에서 줄바꿈 (안 하면 옆 칸을 덮음) */
.gtl-check-table th { position: relative; background: #f6f6f6; white-space: nowrap; border-bottom: 1px solid #ddd; cursor: pointer; user-select: none; }
.gtl-check-table th:hover { background: #eee; }
.gtl-check-table th i { font-style: normal; color: #888; font-size: 10px; }
.gtl-check-table code { background: #f3f3f3; padding: 1px 4px; border-radius: 3px; white-space: nowrap; }
.gtl-check-act { white-space: nowrap; }
.gtl-ck-doc { border-bottom: 1px solid #e2e2e2; }
.gtl-ck-doc:hover { background: #fcfcfc; }
.gtl-ck-r2 td { padding-top: 0; }
.gtl-check-table td.k-title { min-width: 130px; font-weight: 700; }
.gtl-check-table td.k-tl_place { min-width: 60px; max-width: 110px; }
.gtl-check-table td.k-tl_url { max-width: 100px; }
.gtl-check-table td.k-tl_url:not(.is-editing) .gtl-ck-v { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* 긴 주소는 한 줄로 줄임 (전체는 마우스를 올리면) */
/* 옆으로 밀어도 제목 칸은 왼쪽에 고정 */
.gtl-check-table th[data-k="title"], .gtl-check-table td.k-title { position: sticky; left: 0; z-index: 1; background: #fff; }
.gtl-check-table th[data-k="title"] { background: #f6f6f6; }
.gtl-check-table td.k-status { min-width: 110px; }
.gtl-check-table td.k-tl_date code { white-space: normal; }   /* 기간은 띄어쓰기('~' 앞뒤)에서만 줄바꿈 */
.gtl-check-table td.k-tl_date code span { white-space: nowrap; }
.gtl-check-table td.k-tl_date { max-width: 110px; }
.gtl-ck-sub { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 2px; }
.gtl-ck-body { flex: 1 1 auto; min-width: 0; color: #666; }
.gtl-ck-body .gtl-ck-v { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: pre-line; }
.gtl-ck-body.is-editing .gtl-ck-v, .gtl-ck-body:hover .gtl-ck-v { -webkit-line-clamp: unset; }
.gtl-ck-fsum { flex: 0 0 auto; align-self: center; color: #999; font-size: 11px; white-space: nowrap; }
.gtl-ck-files { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 2px; justify-content: flex-end; max-width: 50%; }
.gtl-ck-file { width: 26px; height: 26px; padding: 3px; border: 0; border-radius: 4px; background: none; line-height: 0; cursor: pointer; }
.gtl-ck-file:hover { background: #eef3f9; }
.gtl-ck-file.is-busy { opacity: .35; pointer-events: none; }
/* 고칠 수 있는 칸: 마우스를 올리면 옅은 테두리 */
.gtl-check.is-edit .gtl-ck-ed { cursor: text; }
.gtl-check.is-edit .gtl-ck-ed:not(.is-editing):hover { box-shadow: inset 0 0 0 1px #c9d7e8; background: #f7faff; border-radius: 3px; }
.gtl-ck-ed .gtl-ck-v:empty:before { content: '—'; color: #ccc; }
.gtl-ck-v.is-saving { opacity: .5; }
.gtl-ck-ed.is-saved { background: #ecf8f0 !important; transition: background .3s; }
.gtl-ck-edit { display: flex; align-items: flex-start; gap: 3px; }
/* 고치는 중인 칸: 좁은 칸(장소 등)에서 글상자·✓✕가 칸 밖으로 나가도 옆 칸에 가려지지 않게 위로 (칸 폭은 그대로 두어 표가 흔들리지 않게) */
.gtl-check-table td.is-editing { position: relative; z-index: 2; }
.gtl-ck-edit input, .gtl-ck-edit textarea { flex: 1 1 auto; min-width: 80px; box-sizing: border-box; padding: 3px 5px; border: 1px solid #6b9bd1; border-radius: 3px; font: inherit; font-weight: 400; color: #333; background: #fff; outline: none; box-shadow: 0 0 0 2px rgba(74,134,197,.15); }
.gtl-ck-edit textarea { min-height: 52px; resize: vertical; line-height: 1.5; }
.gtl-ck-suffix { align-self: center; color: #888; }
.gtl-ck-ok, .gtl-ck-no { flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border: 1px solid #ccc; border-radius: 3px; background: #fff; font: 13px/22px Arial, sans-serif; cursor: pointer; }
.gtl-ck-ok { color: #2e8b57; border-color: #9fd3b4; }
.gtl-ck-no { color: #c0392b; border-color: #e3b4ae; }
.gtl-ck-ok:hover { background: #2e8b57; color: #fff; }
.gtl-ck-no:hover { background: #c0392b; color: #fff; }
.gtl-ck-sel { max-width: 110px; padding: 1px 12px 1px 3px; border: 1px solid transparent; border-radius: 3px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0h8L4 5z' fill='%23aaa'/%3E%3C/svg%3E") no-repeat right 3px center; font: inherit; color: #333; cursor: pointer; -webkit-appearance: none; appearance: none; }
.gtl-ck-sel:hover:not(:disabled), .gtl-ck-sel:focus { border-color: #c9d7e8; background-color: #fff; }
.gtl-ck-sel:disabled { color: #333; opacity: 1; cursor: default; padding-right: 3px; background-image: none; }
/* 열 제목: 정렬 표시·걸러 보기 단추 */
.gtl-ck-fbtn { margin-left: 2px; padding: 0 3px; border: 0; border-radius: 3px; background: none; color: #999; font-size: 10px; cursor: pointer; }
.gtl-ck-fbtn:hover { background: #ddd; color: #333; }
.gtl-ck-fbtn.is-on { background: #4a86c5; color: #fff; }
.gtl-ck-fpanel, .gtl-ck-tip, .gtl-ck-fpop { position: fixed; z-index: var(--gtl-z-viewer); font: 12px/1.45 'Malgun Gothic', sans-serif; }
.gtl-ck-fpanel { min-width: 130px; max-height: 60vh; overflow-y: auto; padding: 6px 8px; background: #fff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.15); color: #333; }
.gtl-ck-fpanel label { display: flex; align-items: center; gap: 5px; padding: 2px 0; white-space: nowrap; cursor: pointer; }
.gtl-ck-fpanel small { margin-left: auto; padding-left: 8px; color: #aaa; }
.gtl-ck-fpanel-bar { margin-top: 4px; padding-top: 4px; border-top: 1px solid #eee; text-align: right; }
.gtl-ck-fpanel-bar button { padding: 1px 8px; border: 1px solid #ccc; border-radius: 3px; background: #fff; font: inherit; cursor: pointer; }
/* 첨부 말주머니: 파일명·용량(마우스 올리기), [수정][삭제](누르기) */
.gtl-ck-tip { max-width: 320px; padding: 4px 8px; border-radius: 4px; background: rgba(40,40,40,.92); color: #fff; word-break: break-all; pointer-events: none; }
.gtl-ck-tip-pic { display: none; margin: 2px 0 4px; text-align: center; line-height: 0; }
.gtl-ck-tip.has-pic { padding-top: 6px; }
.gtl-ck-tip.has-pic .gtl-ck-tip-pic { display: block; }
.gtl-ck-tip-pic img, .gtl-ck-tip-pic video { max-width: 220px; max-height: 160px; border-radius: 3px; background: #222; }
.gtl-ck-tip.has-pic .gtl-ck-tip-name { text-align: center; }
.gtl-check .gtl-ck-docdel { font: inherit; cursor: pointer; }
.gtl-check .gtl-ck-docdel.is-sure { background: #c0392b; border-color: #c0392b; color: #fff !important; font-weight: 700; }
.gtl-ck-tip small, .gtl-ck-fpop-name small { opacity: .7; margin-left: 4px; }
.gtl-ck-fpop { max-width: 340px; padding: 6px 8px; border: 1px solid #ccc; border-radius: 6px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); color: #333; }
.gtl-ck-fpop-name { word-break: break-all; }
.gtl-ck-fpop-ed .gtl-ck-edit { min-width: 260px; }
.gtl-ck-fpop-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.gtl-ck-fpop-foot small { color: #999; }
.gtl-ck-fdel { margin-left: auto; padding: 2px 10px; border: 1px solid #e3b4ae; border-radius: 3px; background: #fff; color: #c0392b; font: inherit; cursor: pointer; }
.gtl-ck-fdel:hover { background: #fdf0ee; }
.gtl-ck-fdel.is-sure { background: #c0392b; border-color: #c0392b; color: #fff; font-weight: 700; }
.gtl-check .gtl-btn-del { color: #c0392b !important; border-color: #e3b4ae; }

/* 동영상·PDF 보기 팝업 */
.gtl-viewer { z-index: var(--gtl-z-viewer); display: flex; flex-direction: column; font: 13px/1.4 -apple-system, 'Malgun Gothic', sans-serif; letter-spacing: 0; }
.gtl-vw-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: #eee; }
.gtl-vw-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.gtl-vw-btn { flex: 0 0 auto; padding: 4px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; color: #eee !important; text-decoration: none !important; font-size: 12px; }
.gtl-vw-btn:hover { background: rgba(255,255,255,.12); }
.gtl-vw-close { flex: 0 0 auto; width: 34px; height: 34px; border: 0; background: none; color: #fff; font-size: 22px; line-height: 34px; cursor: pointer; }
.gtl-vw-body { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px 12px; overflow: hidden; }
.gtl-vw-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; will-change: transform; }
.gtl-vw-media video { max-width: 100%; max-height: 100%; background: #000; outline: none; }
/* 동영상 여러 개: 좌우 버튼, 장수, 아래 미리보기 줄 */
.gtl-vw-nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 80px; margin-top: -40px; border: 0; background: rgba(0,0,0,.25); color: #fff; font: 48px/80px Arial, sans-serif; cursor: pointer; opacity: .75; border-radius: 4px; }
.gtl-vw-nav:hover { opacity: 1; background: rgba(0,0,0,.45); }
.gtl-vw-nav.is-prev { left: 6px; }
.gtl-vw-nav.is-next { right: 6px; }
.gtl-vw-count { flex: 0 0 auto; text-align: center; color: #ddd; font-size: 13px; padding: 2px 0; }
.gtl-vw-strip { flex: 0 0 auto; overflow-x: auto; overflow-y: hidden; padding: 6px 10px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.gtl-vw-strip-in { display: flex; gap: 6px; width: max-content; margin: 0 auto; }
.gtl-vw-th { position: relative; flex: 0 0 auto; width: 96px; height: 54px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: #222; cursor: pointer; opacity: .45; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .15s; }
.gtl-vw-th:hover { opacity: .8; }
.gtl-vw-th.is-on { opacity: 1; outline-color: #fff; }
.gtl-vw-th video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gtl-vw-play { position: absolute; left: 50%; top: 42%; width: 20px; height: 14px; margin: -7px 0 0 -10px; background: url('video.svg?v=1121e') no-repeat center / contain; pointer-events: none; }
.gtl-vw-thname { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; pointer-events: none; }
.gtl-vw-body iframe { width: min(1100px, 100%); height: 100%; border: 0; background: #fff; border-radius: 2px; }
.gtl-vw-msg { color: #ddd; text-align: center; line-height: 1.8; }

/* ---------- 다른 게시판 글 함께 보기 ---------- */
/* 게시판 켜고 끄기 버튼 줄 ('and Now' 위) */
.gtl-filter { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 auto 48px; padding: 0 8px; font-family: var(--gtl-font), 'GyoolNanum', 'Malgun Gothic', sans-serif; }
.gtl-fbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border: 1px solid #d4d4d4; border-radius: 17px; background: #fff; color: #9a9a9a; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.gtl-fbtn i { width: 8px; height: 8px; border-radius: 2px; opacity: .35; }
.gtl-fbtn.is-on { background: #4a4a4a; border-color: #4a4a4a; color: #fff; }
.gtl-fbtn.is-on i { opacity: 1; }
.gtl-fbtn:hover { border-color: #9a9a9a; }
.gtl-fbtn.gtl-fov { color: #555; }
.gtl-fsep { width: 1px; height: 22px; background: #dcdcdc; margin: 0 2px; }
.gtl-fslot { display: flow-root; }
/* 분류 버튼 안내: 원래 자리에서는 버튼 줄 아래 작은 회색 글씨 (버튼 줄 아래 간격 48px은 그대로 = 8 + 16 + 24) */
.gtl-fslot .gtl-filter:not(.is-float) { margin-bottom: 8px; }
/* 안내 상자: 분류 버튼 줄 폭(JS가 맞춤), 둥근 알약 모양, 자주→자홍→핑크→주황→노랑 그라데이션을 -15도 기울여서, 글자는 오른쪽 아래 1px 그림자 */
.gtl-fhint { box-sizing: border-box; max-width: 100%; margin: 0 auto 54px; padding: 7px 14px; border-radius: 16px; background: #e56fb0; background: linear-gradient(75deg, #a659c9, #e56fb0, #ff6f91, #ff9671, #ffc75f); text-align: center; color: #fff; text-shadow: 1px 1px 1px rgba(80,15,50,.55); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0; }
.gtl-fhint-pop { display: none; }
.gtl-filter.is-float .gtl-fhint-pop { display: block; position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 2px; padding: 4px 22px; border-radius: 12px; background: #e56fb0; background: linear-gradient(75deg, #a659c9, #e56fb0, #ff6f91, #ff9671, #ffc75f); color: #fff; text-shadow: 1px 1px 1px rgba(80,15,50,.55); font-size: 12px; line-height: 16px; white-space: nowrap; pointer-events: auto; cursor: default; } /* 마우스를 올리면 버튼 줄처럼 진해지게 */
@media (max-width: 600px) { .gtl-fhint { font-size: 11px; line-height: 15px; } .gtl-filter.is-float .gtl-fhint-pop { font-size: 11px; padding: 4px 20px; margin-bottom: 6px; } }
/* 스크롤로 버튼 줄이 안 보이면: 오른쪽 아래에 반투명하게 떠 있음 */
.gtl-filter.is-float { position: fixed; left: 50%; right: auto; transform: translateX(-50%); width: max-content; bottom: 14px; z-index: 900; margin: 0; padding: 8px; max-width: min(1024px, calc(100vw - 140px)); /* 실제 폭은 '맨 위로' 버튼을 재서 JS가 정함, 이건 못 잴 때 기본값 */ justify-content: center; gap: 6px; pointer-events: none; opacity: .82; transition: opacity .15s; animation: gtl-fin .2s ease-out; }
.gtl-filter.is-float:hover, .gtl-filter.is-float:focus-within { opacity: 1; }
.gtl-filter.is-float .gtl-fbtn { pointer-events: auto; min-height: 30px; padding: 0 11px; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.gtl-filter.is-float .gtl-fsep { display: none; }
.gtl-filter.is-float .gtl-fov span { display: none; }
@keyframes gtl-fin { from { opacity: 0; transform: translate(-50%, 8px); } }
@media (max-width: 600px) { .gtl-filter.is-float { bottom: 8px; max-width: calc(100vw - 16px); padding: 0; gap: 4px; } .gtl-filter.is-float .gtl-fbtn { min-height: 26px; padding: 0 8px; gap: 4px; font-size: 11px; } .gtl-filter.is-float .gtl-fsep { display: none; } }
@media (max-width: 600px) { .gtl-fbtn { min-height: 32px; padding: 0 11px; font-size: 12px; } .gtl-fov span { display: none; } }

/* 다른 게시판 글: 축 위에 게시판 색 가로줄 (점과 같은 폭), 게시판 이름 → 제목 → 날짜 */
.gtl-post .gtl-dot { top: 5px; width: 10px; height: 0; border-top: 2px solid #b8b8b8; border-radius: 0; background: none; } /* 두께를 테두리로: 화면을 줄여도 모든 줄이 같은 픽셀 수로 그려짐 */ /* 두께는 정수 px로 (소수면 위치에 따라 두껍게/얇게 번져 보임) */ /* 축 위 표시는 회색, 색은 게시판 이름 옆 줄로만 */
.gtl-post .gtl-dot { width: 8px; }
.gtl-post.gtl-left .gtl-dot { right: -16px; border-image: linear-gradient(to left, #9a9a9a 3px, #9a9a9a 3px, #c6c6c6 100%) 1; }  /* 축 위 3px는 축과 같은 색, 축 밖으로 나온 부분부터 바깥쪽으로 연해짐 */   /* 폭 8px: 축(3px) + 글 쪽으로 5px. 반대쪽으로는 튀어나오지 않음 (정수 px) */
.gtl-post.gtl-right .gtl-dot { left: -16px; border-image: linear-gradient(to right, #9a9a9a 3px, #9a9a9a 3px, #c6c6c6 100%) 1; }
.gtl-pboard { display: flex; align-items: center; gap: 4px; font-size: 10px; line-height: 14px; color: #2b2b2b; white-space: nowrap; }
.gtl-left .gtl-pboard { flex-direction: row-reverse; justify-content: flex-start; } /* 왼쪽 글: 날짜 · 게시판 이름 · 색 줄 (축 쪽으로) */

.gtl-pboard i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; background: var(--gtl-c); position: relative; top: -1px; } /* 게시판 색: 작은 정사각형, 글자 높이 가운데에 */
.gtl-pboard b { font-weight: 800; color: #9a9a9a; }
.gtl-post.gtl-right .gtl-text { margin-left: 20px; }  /* 글 전체(색 상자·게시판 이름·날짜·제목)를 축에서 20px 바깥쪽으로 */
.gtl-post.gtl-left .gtl-text { margin-right: 20px; }
.gtl-pboard span { font-weight: 400; color: #9a9a9a; }
.gtl-pboard em { font-style: normal; font-weight: 400; color: #c8c8c8; margin: 0 1px; } /* 게시판 이름 ｜ 날짜 */
.gtl-post .gtl-title { font-size: 10px; line-height: 16px; font-weight: 700; color: #9a9a9a; } /* 빅 이벤트 셋째 줄과 같은 글씨 */
.gtl-post.gtl-right .gtl-title { padding-left: 12px; }  /* 제목은 게시판 이름 시작점에 맞춰 들여쓰기 (색 상자 8 + 간격 4) */
.gtl-post.gtl-left .gtl-title { padding-right: 12px; }
@keyframes gtl-flash { 0%, 100% { background: transparent; } 20%, 60% { background: rgba(255, 214, 102, .55); } }
.gtl-flash { animation: gtl-flash 1.6s ease; border-radius: 4px; }
.gtl-flash-long { animation: gtl-flash 1.4s ease 3; border-radius: 4px; } /* 고유 주소로 들어왔을 때: 세 번 깜빡여 눈에 띄게 */

/* 글 읽기 팝업 */
.gtl-reader { z-index: var(--gtl-z-reader); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gtl-rd-win { width: 760px; max-width: 100%; height: 100%; max-height: 920px; display: flex; flex-direction: column; background: rgba(0,0,0,.5); color: #e6e6e6; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 40px rgba(0,0,0,.4); overflow: hidden; }
.gtl-rd-head { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.gtl-rd-board { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #ddd; }
.gtl-rd-board i, .gtl-rd-nav i, .gtl-ov-tb i, .gtl-ov-ch i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; vertical-align: middle; position: relative; top: -1px; }
.gtl-rd-sp { flex: 1; }
.gtl-rd-orig { font-size: 12px; font-weight: 700; color: #9cc3ff !important; }
.gtl-rd-close { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; color: #ccc; cursor: pointer; }
.gtl-rd-body { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 40px 40px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.gtl-rd-title { margin: 0 0 8px; font-size: 24px; line-height: 1.35; font-weight: 800; color: #f4f4f4; word-break: keep-all; }
.gtl-rd-info { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 12px; font-weight: 700; color: #999; }
.gtl-rd-info > span { flex: 1 1 auto; min-width: 0; }
/* 뷰어 머리줄 오른쪽 '이 글 링크 공유' */
.gtl-share-line { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: #999; white-space: nowrap; cursor: pointer; }
.gtl-share-line:hover, .gtl-share-line:focus { color: #333; }
/* 사진·동영상·음원·확대 뷰어의 공유 버튼 (어두운 화면 위 흰 글자) */
.gtl-share-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 2px; border: 0; background: none; color: #ccc; font: inherit; font-size: 12px; line-height: 16px; white-space: nowrap; cursor: pointer; text-shadow: 0 0 2px rgba(0,0,0,.8); }
.gtl-share-btn:hover, .gtl-share-btn:focus { color: #fff; }
.gtl-share-btn svg { flex: 0 0 auto; }
/* 동영상·음원 팝업: 영상(음원 카드) 바로 위 오른쪽 */
.gtl-vw-fig { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 100%; max-height: 100%; }
.gtl-vw-fig.is-aud { width: 520px; }
.gtl-vw-fig.is-aud .gtl-vw-aud { width: 100%; }
/* 사진 뷰어: 사진 바로 위 오른쪽 (위치는 스크립트가 사진에 맞춰 지정) */
.gtl-lb button.gtl-lb-share { left: 0; top: 0; opacity: 1; font-size: calc(12px * var(--lb-s, 1)); color: #ccc; }
.gtl-lb button.gtl-lb-share:hover { color: #fff; }
/* 확대 뷰어: 안내 문구 아랫줄 가운데 */
.gtl-pz-share { position: absolute; left: 0; right: 0; z-index: 1; text-align: center; opacity: 0; pointer-events: none; }
.gtl-pz.is-ready .gtl-pz-share { opacity: 1; }
.gtl-pz-share .gtl-share-btn { pointer-events: auto; text-shadow: 0 0 1px #000, 0 0 3px rgba(0,0,0,.95), 0 0 8px rgba(0,0,0,.7); }
.gtl-rd-content { font-size: 15px; line-height: 1.85; color: #e2e2e2; word-break: keep-all; overflow-wrap: anywhere; }
.gtl-rd-content img, .gtl-rd-content video, .gtl-rd-content iframe { max-width: 100% !important; height: auto; }
.gtl-rd-content iframe { aspect-ratio: 16 / 9; height: auto !important; }
.gtl-rd-content img.is-zoom { cursor: zoom-in; }
.gtl-rd-content table { max-width: 100%; display: block; overflow-x: auto; }
.gtl-rd-content p { margin: 0 0 1em; }
.gtl-rd-msg { padding: 60px 0; text-align: center; color: #aaa; line-height: 2; }
.gtl-rd-foot { flex: 0 0 auto; display: flex; gap: 10px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.gtl-rd-nav { flex: 1 1 0; min-width: 0; min-height: 52px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 4px 10px; border: 0; border-radius: 6px; background: none; font: inherit; text-align: left; cursor: pointer; }
.gtl-rd-nav:hover { background: rgba(255,255,255,.08); }
.gtl-rd-nav.is-next { text-align: right; align-items: flex-end; }
.gtl-rd-nav small { font-size: 10px; font-weight: 700; color: #888; }
.gtl-rd-nav b { max-width: 100%; font-size: 13px; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtl-rd-nav em { font-style: normal; font-size: 10px; color: #888; }
.gtl-rd-nav.is-empty { cursor: default; }
@media (max-width: 600px) { .gtl-reader { padding: 0; } .gtl-rd-win { border-radius: 0; max-height: none; } .gtl-rd-body { padding: 20px 18px 30px; } .gtl-rd-title { font-size: 20px; } }

/* 한눈에 보기 팝업 */
.gtl-ov { position: fixed; inset: 0; z-index: var(--gtl-z-viewer); display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,20,20,.55); }
.gtl-ov-win { position: relative; width: 760px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.35); overflow: hidden; }
.gtl-ov-head { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 22px; border-bottom: 1px solid #eee; }
.gtl-ov-head b { font-size: 17px; color: #444; }
.gtl-ov-head span { flex: 1; font-size: 12px; color: #999; }
.gtl-ov-close { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; color: #777; cursor: pointer; }
.gtl-ov-scroll { overflow: auto; padding: 6px 16px 18px; -webkit-overflow-scrolling: touch; }
.gtl-ov-tbl { border-collapse: collapse; width: 100%; table-layout: fixed; }
.gtl-ov-tbl th, .gtl-ov-tbl td { padding: 6px 8px; vertical-align: middle; }
.gtl-ov-tbl tbody tr { border-top: 1px solid #ececec; }
.gtl-ov-tbl td { border-left: 1px solid #f0f0f0; line-height: 0; text-align: left; }
.gtl-ov-tbl thead th { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid #ddd; }
.gtl-ov-ch { font-size: 12px; font-weight: 700; color: #555; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtl-ov-ch i { margin-right: 6px; }
.gtl-ov-yh { width: 64px; position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; }
thead .gtl-ov-yh { z-index: 3; }
.gtl-ov-year { border: 0; background: none; padding: 4px 6px; font: inherit; font-size: 13px; font-weight: 800; color: #777; cursor: pointer; border-radius: 3px; }
.gtl-ov-year:hover { background: #f0f0f0; color: #333; }
.gtl-ov-m { display: inline-block; width: 16px; height: 12px; margin: 0 1px; padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle; position: relative; }
.gtl-ov-m:before { content: ''; position: absolute; left: 1px; right: 1px; top: 4px; height: 4px; border-radius: 2px; background: var(--c); }
.gtl-ov-m.is-life:before { left: 3px; right: 3px; top: 2px; height: 8px; border-radius: 50%; background: linear-gradient(#5a5a5a, #b8b8b8); }
.gtl-ov-m:hover:before, .gtl-ov-m:focus:before { box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
.gtl-ov-tip { position: absolute; z-index: 3; width: 240px; box-sizing: border-box; padding: 10px 12px; background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.16); display: flex; flex-direction: column; gap: 4px; }
.gtl-ov-tip[hidden] { display: none; }
.gtl-ov-tb { font-size: 11px; font-weight: 700; color: #777; }
.gtl-ov-tb i { margin-right: 5px; }
.gtl-ov-tip b { font-size: 13px; line-height: 1.4; color: #333; word-break: keep-all; }
.gtl-ov-tip small { font-size: 11px; color: #aaa; }
.gtl-ov-go { align-self: flex-start; margin-top: 2px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: #3c7bb5; cursor: pointer; }
@media (max-width: 600px) { .gtl-ov { padding: 0; } .gtl-ov-win { border-radius: 0; height: 100%; } .gtl-ov-head span { display: none; } }

/* 인스타 게시판 표시: 색 상자 대신 아이콘. 파일은 스킨 폴더에 instagram.png (Meta 공식 글리프)
   칸 크기 = 12px로 통일, 그림은 칸에 꼭 맞게 (12px 그림은 1:1, 24px 그림은 정확히 절반으로 줄어 선명) */
.gtl-wrap i.gtl-ico-ig, .gtl-filter i.gtl-ico-ig, .gtl-lb i.gtl-ico-ig { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 0; top: 0; opacity: 1; background: url('instagram.png') no-repeat 0 0 / 12px 12px; }
/* 타임라인 글 줄: 글자 높이에 맞춰 8px (그림은 16px로 만들면 정확히 절반이라 가장 선명) */
.gtl-wrap .gtl-pboard i.gtl-ico-ig { width: 8px; height: 8px; background-size: 8px 8px; position: relative; top: -1px; }

/* 인스타 글: [아이콘] [대표 사진] [게시판·날짜 / 제목] — 사진은 12:10, 크기는 글 높이에 맞춰 배치할 때 정함 (timeline.js fitPic) */
.gtl-post .gtl-text.is-pic { display: flex; align-items: stretch; }
.gtl-post.gtl-left .gtl-text.is-pic { flex-direction: row-reverse; }
.gtl-wrap .gtl-text.is-pic > i.gtl-ico-ig { align-self: flex-start; width: 8px; height: 8px; background-size: 8px 8px; margin-top: 3px; top: 0; }  /* 첫 줄(14px) 글자 높이 가운데 */
.gtl-pth { flex: 0 0 auto; align-self: flex-start; width: 36px; height: 30px; margin: 0 6px 0 4px; border-radius: 3px; overflow: hidden; background: #eee; }
.gtl-post.gtl-left .gtl-pth { margin: 0 4px 0 6px; }
.gtl-pth img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtl-text.is-pic.no-pic .gtl-pth { display: none; }
.gtl-post .gtl-text.is-pic .gtl-title { padding: 0; }
/* 마우스를 올리면 뜨는 큰 사진 말풍선 */
.gtl-pictip { position: fixed; z-index: var(--gtl-z-tip); left: 0; top: 0; padding: 4px; background: #fff; border-radius: 6px; box-shadow: 0 6px 22px rgba(0,0,0,.25); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.gtl-pictip.is-on { opacity: 1; transform: none; }
/* 말풍선 안 상자: 240×200 (12:10, 정수 px). 아래 20%(40px)는 제목 띠 */
.gtl-pt-box { position: relative; width: 240px; height: 200px; border-radius: 3px; overflow: hidden; background: #eee; }
.gtl-pictip img { display: block; width: 240px; height: 200px; object-fit: cover; }  /* 그림은 480×400이라 고해상도 화면에서도 선명 */
.gtl-pictip.is-text img { display: none; }
.gtl-pictip.is-pic .gtl-pt-text { display: none; }
.gtl-pt-text { position: absolute; left: 0; right: 0; top: 0; height: 160px; box-sizing: border-box; padding: 30px 12px 0; background: #fff; color: #444; font-size: 12px; line-height: 18px; white-space: pre-line; word-break: break-all; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; }
.gtl-pt-tag { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 4px; max-width: 220px; height: 20px; padding: 0 7px; box-sizing: border-box; border-radius: 10px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtl-pt-tag i { flex: 0 0 auto; display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.gtl-pt-tag i.gtl-ico-ig { width: 12px; height: 12px; border-radius: 0; background: url('instagram.png') no-repeat 0 0 / 12px 12px; }
.gtl-pt-tag b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.gtl-pictip.is-text .gtl-pt-tag { background: #f1f1f1; color: #444; }
.gtl-pt-cnt { position: absolute; right: 6px; bottom: 46px; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; line-height: 20px; text-align: center; font-family: Arial, sans-serif; }
.gtl-pt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; box-sizing: border-box; padding: 4px 10px; display: flex; align-items: center; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; }
.gtl-pt-bar span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-all; }
.gtl-pictip:after { content: ''; position: absolute; left: var(--tail, 50%); bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-top-width: 7px; border-bottom: 0; border-top-color: #fff; }   /* 꼭지를 1px 더 길게 해서 말풍선 안쪽으로 겹침: 화면 배율(125%·150%)에서 생기는 이음매 선 가림 */
.gtl-pictip.is-below:after { bottom: auto; top: -6px; border: 6px solid transparent; border-bottom-width: 7px; border-top: 0; border-bottom-color: #fff; }

/* 인스타처럼 보기: 프로필 사진(동그라미) + 아이디 */
.gtl-lb a.gtl-ig-prof { display: inline-flex; align-items: center; gap: 8px; color: #f2f2f2; text-decoration: none; }
.gtl-lb a.gtl-ig-prof img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #333; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.gtl-lb a.gtl-ig-prof b { font-size: calc(14px * var(--lb-s, 1)); font-weight: 800; }
.gtl-lb a.gtl-ig-prof:hover b { text-decoration: underline; }
.gtl-ig-head.is-prof { gap: 10px; margin-bottom: 12px; font-size: 1em; }
.gtl-ig-head.is-prof span { font-size: .86em; }

/* ---------- 연도 빠른 이동 (화면 오른쪽 가장자리) ---------- */
.gtl-ynav { position: fixed; z-index: 800; right: 4px; top: 18vh; bottom: 18vh; width: 34px; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; transition: opacity .2s; }
.gtl-ynav.is-off { opacity: 0; pointer-events: none; }
.gtl-ynav-track { position: absolute; right: 8px; top: 0; bottom: 0; width: 2px; background: rgba(0,0,0,.08); border-radius: 1px; }
.gtl-ynav-track i { position: absolute; right: -2px; width: 6px; height: 1px; margin-top: 0; background: #c8c8c8; }
.gtl-ynav-track i.is-dec { width: 9px; right: -3px; background: #aaa; }
.gtl-ynav-track i.is-on { width: 12px; height: 2px; right: -4px; margin-top: -1px; background: #4a4a4a; }
.gtl-ynav-track em { position: absolute; right: 14px; top: -7px; font-style: normal; font-size: 10px; line-height: 14px; font-weight: 700; color: #b0b0b0; white-space: nowrap; }
.gtl-ynav-track i.is-on em { display: none; }   /* 지금 연도는 아래 'YY 상자로 표시 */
/* 지금 보고 있는 연도: 자홍→주황 그라데이션 가로줄 + 바로 왼쪽에 흐린 자주→자홍 둥근 상자('YY) */
.gtl-ynav-track i.is-on { background: #ea89be; background: linear-gradient(90deg, #ea89be, #ff9671); }   /* 시작색 = 흰 바탕 위에서 보이는 'YY 상자 오른쪽 끝 색(자홍 82%) → 이음매가 같은 색으로 이어짐 */
.gtl-ynav-track i.is-on::before { content: attr(data-yy); position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 0; box-sizing: border-box; height: 16px; padding: 2px 5px 0 4px; border-radius: 4px; background: rgba(200,100,190,.75); background: linear-gradient(90deg, rgba(166,89,201,.72), rgba(229,111,176,.82)); color: #fff; font-size: 10px; line-height: 14px; font-weight: 700; font-style: normal; white-space: nowrap; pointer-events: none; }   /* 상자 높이 16px 그대로, 글자만 1px 아래로 */
.gtl-ynav-bub { position: absolute; right: 22px; margin-top: -12px; height: 24px; padding: 0 9px; border-radius: 12px; background: #4a4a4a; color: #fff; font-size: 12px; line-height: 24px; font-weight: 800; white-space: nowrap; opacity: 0; transition: opacity .12s; pointer-events: none; }
.gtl-ynav-bub.is-on { opacity: 1; }
.gtl-ynav:hover .gtl-ynav-track, .gtl-ynav.is-drag .gtl-ynav-track { background: rgba(0,0,0,.16); }
@media (max-width: 600px) { .gtl-ynav { width: 24px; right: 4px; top: 40vh; bottom: 18px; transition: opacity .2s, bottom .2s; } .gtl-ynav-track { right: 6px; } .gtl-ynav-track em { display: none; } .gtl-ynav-bub { right: 54px; height: 30px; margin-top: -15px; line-height: 30px; padding: 0 12px; border-radius: 15px; font-size: 15px; } }  /* 폰: 연도 말풍선은 손가락에 가리지 않게 더 왼쪽, 조금 크게 */

/* ---------- 검색 ---------- */
.gtl-search { position: fixed; z-index: 950; display: none; background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.22); overflow: hidden; }
.gtl-search.is-open { display: flex; flex-direction: column; }
.gtl-search.is-up { flex-direction: column-reverse; }
.gtl-search-in { display: flex; align-items: center; gap: 4px; padding: 8px 8px 8px 12px; border-bottom: 1px solid #eee; }
.gtl-search.is-up .gtl-search-in { border-bottom: 0; border-top: 1px solid #eee; }
.gtl-search-in input { flex: 1; min-width: 0; height: 32px; border: 0; outline: 0; font: inherit; font-size: 14px; color: #333; background: none; }
.gtl-search-x { width: 30px; height: 30px; border: 0; background: none; color: #999; font-size: 15px; cursor: pointer; }
.gtl-search-out { max-height: min(420px, 50vh); overflow-y: auto; }
.gtl-search-out:empty { display: none; }
.gtl-search-r { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 8px 12px; border: 0; border-bottom: 1px solid #f3f3f3; background: none; text-align: left; font: inherit; cursor: pointer; }
.gtl-search-r:hover, .gtl-search-r.is-on { background: #f5f5f5; }
.gtl-search-r > i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; margin-top: 5px; }
.gtl-search-r > i.is-life { background: #a9a9a9; border-radius: 50%; }
.gtl-search-r > i.gtl-ico-ig { width: 12px; height: 12px; margin-top: 3px; border-radius: 0; background: url('instagram.png') no-repeat 0 0 / 12px 12px; }
.gtl-search-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gtl-search-t b { font-size: 13px; line-height: 18px; font-weight: 800; color: #333; word-break: keep-all; }
.gtl-search-t small { font-size: 11px; line-height: 16px; color: #999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gtl-search-r em { flex: 0 0 auto; font-style: normal; font-size: 11px; line-height: 18px; color: #aaa; text-align: right; }
.gtl-search-r.is-hidden { opacity: .55; }
.gtl-search mark { background: #ffe58a; color: inherit; border-radius: 2px; padding: 0 1px; }
.gtl-search-none { padding: 12px; font-size: 12px; color: #999; text-align: center; }
.gtl-fbtn.gtl-fsearch { color: #555; }

/* 타임라인 화면의 검색어 표시 (크기는 그대로, 배경색만) */
mark.gtl-hl { background: #ffe58a; color: inherit; border-radius: 2px; padding: 0; box-shadow: 0 0 0 1px #ffe58a; }

/* 폰: 오른쪽 아래 '맨 위로' 버튼 (떠 있는 버튼 줄 높이 26px의 1.5배 = 40px 정사각형). PC는 레이아웃의 버튼을 씀 */
.gtl-totop { display: none; }
@media (max-width: 600px) {
	.gtl-totop { position: fixed; z-index: 905; right: 8px; bottom: 8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 6px; background: rgba(74,74,74,.88); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
	.gtl-totop.is-on { opacity: 1; pointer-events: auto; }
	/* 떠 있는 버튼 줄은 '맨 위로' 버튼 자리를 비워 둠 */
	.gtl-filter.is-float { left: 8px; right: 56px; transform: none; width: auto; max-width: none; }
	@keyframes gtl-fin-m { from { opacity: 0; transform: translateY(8px); } }
	.gtl-filter.is-float { animation-name: gtl-fin-m; }
}
/* 폰·태블릿 가로 보기(600px 넘음): 레이아웃이 '맨 위로' 버튼을 안 보여 주므로 이 스킨의 버튼을 같은 모양으로 씀 */
html.gtl-touch .gtl-totop { position: fixed; z-index: 905; right: 8px; bottom: 8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 6px; background: rgba(74,74,74,.88); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
html.gtl-touch .gtl-totop.is-on { opacity: 1; pointer-events: auto; }

/* 인스타 글 본문 상자: 배경보다 조금 더 진하게 (이 상자 안을 눌러도 닫히지 않음, 바깥을 누르면 닫힘) */
.gtl-ig-card { box-sizing: border-box; max-width: 680px; margin: 0 auto; padding: calc(16px * var(--lb-s, 1)) calc(20px * var(--lb-s, 1)) calc(14px * var(--lb-s, 1)); background: rgba(0,0,0,.5); border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }

/* 다른 게시판 글 읽기 창 (어두운 배경 + 흰 글자): 글쓴이 지정 색·인스타 아이콘 등 */
.gtl-reader .gtl-share-line { color: #999; }
.gtl-reader .gtl-share-line:hover, .gtl-reader .gtl-share-line:focus { color: #fff; }
.gtl-rd-content a { color: #9cc3ff; }
/* 글쓴이가 지정한 진한 글자색·흰 바탕은 어두운 배경에서 안 보이므로 기본색으로 */
.gtl-rd-content [style*="color"], .gtl-rd-content font[color] { color: inherit !important; }
.gtl-rd-content [style*="background"] { background-color: transparent !important; }
.gtl-rd-content table, .gtl-rd-content td, .gtl-rd-content th { border-color: rgba(255,255,255,.2) !important; }
.gtl-rd-content hr { border-color: rgba(255,255,255,.2); }
.gtl-rd-content blockquote { border-left-color: rgba(255,255,255,.3) !important; color: #ccc; }
.gtl-rd-msg a { color: #9cc3ff; }
.gtl-reader i.gtl-ico-ig { display: inline-block; width: 10px; height: 10px; border-radius: 0; background: url('instagram.png') no-repeat 0 0 / 10px 10px; vertical-align: middle; position: relative; top: -1px; }
.gtl-ig-nav em { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-style: normal; font-size: .78em; color: #888; }
.gtl-ig-nav .gtl-ig-nx em { justify-content: flex-end; }
.gtl-ig-nav em i { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; }
.gtl-lb .gtl-ig-nav em i.gtl-ico-ig { width: 10px; height: 10px; border-radius: 0; background-size: 10px 10px; }
/* 이전·다음 글 버튼의 게시판 표시: 글자 높이 가운데 + 이름과 4px 띄우기 (인스타 뷰어·일반 읽기 창 공통) */
.gtl-ig-nav em i { position: relative; top: -1px; }
.gtl-rd-nav em { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.gtl-rd-nav.is-next em { justify-content: flex-end; }
.gtl-rd-nav em i { flex: 0 0 auto; position: relative; top: -1px; }

/* 사진 팝업(일반): 사진 칸 높이를 사진에 맞추고, 사진·장수·작은 사진 줄을 한 덩어리로 화면 세로 가운데에 → 작은 사진 줄이 사진 바로 아래에 붙음 */
.gtl-lb:not(.is-ig) .gtl-lb-stage { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; }
.gtl-lb:not(.is-ig).is-many .gtl-lb-stage { margin-bottom: 0; }
.gtl-lb:not(.is-ig).is-many .gtl-lb-strip { margin-bottom: auto; }
.gtl-lb:not(.is-ig) .gtl-lb-stage img, .gtl-lb:not(.is-ig) .gtl-lb-stage video { max-height: calc(100vh - 52px * var(--lb-s, 1)); max-height: calc(100dvh - 52px * var(--lb-s, 1)); }
.gtl-lb:not(.is-ig).is-many .gtl-lb-stage img, .gtl-lb:not(.is-ig).is-many .gtl-lb-stage video { max-height: calc(100vh - 140px * var(--lb-s, 1)); max-height: calc(100dvh - 140px * var(--lb-s, 1)); }

/* 동영상 보기: 같은 방식 (위 이름 줄은 그대로 맨 위, 나머지를 가운데에 붙여서) */
.gtl-viewer.is-video .gtl-vw-body { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; }
.gtl-viewer.is-video.is-many .gtl-vw-body { margin-bottom: 0; }
.gtl-viewer.is-video.is-many .gtl-vw-strip { margin-bottom: auto; }
.gtl-viewer.is-video .gtl-vw-media { height: auto; }
/* 동영상 최대 높이: 화면 높이 - (위 막대 50 + 아래 여백 12 + 여유). 여러 개면 장 수·미리보기 줄 자리까지 */
.gtl-viewer.is-video .gtl-vw-media video { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); }
.gtl-viewer.is-video.is-many .gtl-vw-media video { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
/* 공유 버튼 줄(.gtl-vw-fig)이 있을 때: 한 개면 그 줄 높이(26)만큼 더 뺌. 여러 개는 남는 자리에 들어가서 그대로 */
.gtl-viewer.is-video .gtl-vw-fig video { max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); }
.gtl-viewer.is-video.is-many .gtl-vw-fig video { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); }
.gtl-lb .gtl-ig-nav button { min-width: 0; overflow: hidden; }
.gtl-ig-nav b { display: block; max-width: 100%; font-weight: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }  /* 긴 제목은 한 줄로 줄여서 … (일반 읽기 창과 같게) */

/* 음악 뷰어 (mp3 등): 동영상 뷰어와 같은 배치, 가운데 음악 카드 + 아래 곡 목록 */
.gtl-viewer.is-audio .gtl-vw-body { flex: 0 0 auto; margin-top: auto; margin-bottom: auto; padding-left: 60px; padding-right: 60px; }
.gtl-viewer.is-audio.is-many .gtl-vw-body { margin-bottom: 0; }
.gtl-viewer.is-audio.is-many .gtl-vw-strip { margin-bottom: auto; }
.gtl-viewer.is-audio .gtl-vw-media { height: auto; }
.gtl-vw-aud { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 520px; max-width: 100%; padding: 24px 20px 20px; box-sizing: border-box; background: rgba(255,255,255,.06); border-radius: 12px; color: #fff; text-align: center; }
.gtl-vw-aud-ico { width: 64px; height: 64px; background: url('music.svg?v=1121e') no-repeat center / 64px 64px; }
.gtl-vw-aud-name { font-size: 17px; line-height: 24px; word-break: break-all; }
.gtl-vw-aud-sub { font-size: 12px; color: #bbb; }
.gtl-vw-aud audio { width: 100%; margin-top: 4px; }
.gtl-vw-aud .gtl-vw-msg { font-size: 13px; }
.gtl-vw-th.is-aud { width: 120px; height: 46px; background: #2a2a2a; text-align: left; }
.gtl-vw-th.is-aud .gtl-vw-th-no { position: absolute; left: 6px; top: 4px; width: 16px; height: 16px; padding-left: 18px; background: url('music.svg?v=1121e') no-repeat 0 0 / 16px 16px; color: #ccc; font-size: 11px; line-height: 16px; white-space: nowrap; }
.gtl-vw-th.is-aud .gtl-vw-thname { top: 20px; bottom: auto; padding: 2px 6px; background: none; font-size: 11px; line-height: 13px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; height: 26px; box-sizing: content-box; padding-top: 0; }
.gtl-vw-th.is-aud { height: 52px; }
@media (max-width: 640px) {
	.gtl-viewer.is-audio .gtl-vw-body { padding-left: 12px; padding-right: 12px; }
	.gtl-viewer.is-audio .gtl-vw-nav { display: none; }
}

/* 사진 크게 보기 (사진 팝업 위에 한 겹 더) */
.gtl-pz { position: fixed; z-index: var(--gtl-z-zoom); left: 0; top: 0; right: 0; bottom: 0; background: rgba(0,0,0,.96); overflow: hidden; touch-action: none; -webkit-user-select: none; user-select: none; cursor: grab; }
.gtl-pz:active { cursor: grabbing; }
.gtl-pz img { position: absolute; left: 0; top: 0; max-width: none; max-height: none; transform-origin: 0 0; opacity: 0; will-change: transform; -webkit-user-drag: none; }
.gtl-pz.is-ready img { opacity: 1; }
.gtl-pz-x { position: absolute; z-index: 1; top: 10px; right: 12px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 30px; line-height: 38px; text-align: center; cursor: pointer; opacity: .9; }   /* 밝은 사진 위에서도 보이게 둥근 어두운 바탕 */
.gtl-pz-x:hover { opacity: 1; }

/* 기본 사진 팝업: 사진 바로 아래 '누르면 확대' 안내 (+ 여러 장이면 1 / N) */
.gtl-lb.has-hint .gtl-lb-count { display: block; }
.gtl-lb-hint { color: #bdbdbd; font-size: calc(12px * var(--lb-s, 1)); }
.gtl-lb-hint + .gtl-lb-num { margin-left: calc(10px * var(--lb-s, 1)); }
/* 안내 문구(한글 글꼴 12px)와 1 / N(Arial 13px)의 글꼴이 달라 높이가 어긋나지 않게, 같은 줄 높이로 세로 가운데 맞춤 */
.gtl-lb-hint, .gtl-lb-num { display: inline-block; vertical-align: middle; line-height: calc(18px * var(--lb-s, 1)); }
.gtl-lb-num { font-size: calc(12px * var(--lb-s, 1)); }   /* 1 / N도 안내 문구와 같은 한글 글꼴 (사진 팝업·인스타 뷰어 공통) */
.gtl-lb.has-hint:not(.is-ig):not(.is-many) .gtl-lb-stage { margin-bottom: 0; }
.gtl-lb.has-hint:not(.is-ig):not(.is-many) .gtl-lb-count { margin-bottom: auto; }
.gtl-lb.has-hint:not(.is-ig):not(.is-many) .gtl-lb-stage img { max-height: calc(100vh - 74px * var(--lb-s, 1)); max-height: calc(100dvh - 74px * var(--lb-s, 1)); }
/* 확대 보기 안내 문구 */
.gtl-pz-cap { color: #fff; font-size: 12px; line-height: 20px; text-shadow: 0 0 1px #000, 0 0 2px #000, 0 0 3px rgba(0,0,0,.95), 0 0 6px rgba(0,0,0,.85), 0 0 10px rgba(0,0,0,.65), 0 0 16px rgba(0,0,0,.45);   /* 흰 사진 위에서도 읽히게 진한 그림자를 겹겹이 */ opacity: 0; }
.gtl-pz.is-ready .gtl-pz-cap { opacity: 1; }

/* 글 부분이 썸네일과 같은 동작(사진 크게 보기)일 때: 어느 쪽에 마우스를 올려도 같이 반응 */
.gtl-item.is-hot .gtl-thumb.is-click { border-color: #b5b5b5; }
.gtl-item.is-hot .gtl-thumb.is-click .gtl-tip polyline { stroke: #b5b5b5; }
.gtl-item.is-hot .gtl-thumb.is-click .gtl-zoom { opacity: 1; background: rgba(0,0,0,.65); }
.gtl-item.is-hot .gtl-text.is-link .gtl-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* 인스타 글 썸네일 오른쪽 아래: 사진·동영상 개수 (2개 이상일 때) */
.gtl-pth { position: relative; }
.gtl-pcnt { position: absolute; right: 1px; bottom: 1px; box-sizing: border-box; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; line-height: 14px; text-align: center; font-family: Arial, sans-serif; pointer-events: none; }

/* 동영상·음악 뷰어의 1 / N도 한글 글꼴 12px (사진 팝업과 같게) */
.gtl-vw-count { font-size: 12px; }

/* 페이지를 확대해 둔 상태(폰)에서 사진 팝업·인스타 뷰어의 테두리·프로필 사진 등도 평소 크기로 (--lb-s = 1 / 확대 배율) */
.gtl-lb .gtl-lb-th { border-radius: calc(3px * var(--lb-s, 1)); outline-width: calc(2px * var(--lb-s, 1)); outline-offset: calc(-2px * var(--lb-s, 1)); }
.gtl-lb .gtl-lb-th.is-video:after { margin: calc(-7px * var(--lb-s, 1)) 0 0 calc(-5px * var(--lb-s, 1)); border-width: calc(7px * var(--lb-s, 1)) 0 calc(7px * var(--lb-s, 1)) calc(11px * var(--lb-s, 1)); }
.gtl-lb-stage img, .gtl-lb-stage video { box-shadow: 0 calc(4px * var(--lb-s, 1)) calc(30px * var(--lb-s, 1)) rgba(0,0,0,.5); }
.gtl-ig-card { border-radius: calc(10px * var(--lb-s, 1)); }
.gtl-ig-head { gap: calc(6px * var(--lb-s, 1)); margin-bottom: calc(8px * var(--lb-s, 1)); }
.gtl-ig-head i { width: calc(8px * var(--lb-s, 1)); height: calc(8px * var(--lb-s, 1)); border-radius: calc(2px * var(--lb-s, 1)); }
.gtl-ig-head > span:before { margin-right: calc(6px * var(--lb-s, 1)); }
.gtl-ig-head.is-prof { gap: calc(10px * var(--lb-s, 1)); margin-bottom: calc(12px * var(--lb-s, 1)); }
.gtl-lb a.gtl-ig-prof { gap: calc(8px * var(--lb-s, 1)); }
.gtl-lb a.gtl-ig-prof img { width: calc(32px * var(--lb-s, 1)); height: calc(32px * var(--lb-s, 1)); box-shadow: 0 0 0 calc(1px * var(--lb-s, 1)) rgba(255,255,255,.18); }
.gtl-lb a.gtl-ig-orig { margin-top: calc(2px * var(--lb-s, 1)); }
.gtl-ig-nav { gap: calc(12px * var(--lb-s, 1)); margin-top: calc(22px * var(--lb-s, 1)); padding-top: calc(14px * var(--lb-s, 1)); border-top-width: calc(1px * var(--lb-s, 1)); }
.gtl-ig-nav small { margin-bottom: calc(2px * var(--lb-s, 1)); }
.gtl-ig-nav em { gap: calc(4px * var(--lb-s, 1)); margin-top: calc(3px * var(--lb-s, 1)); }
.gtl-ig-nav em i { width: calc(8px * var(--lb-s, 1)); height: calc(8px * var(--lb-s, 1)); border-radius: calc(2px * var(--lb-s, 1)); }
.gtl-lb .gtl-ig-nav em i.gtl-ico-ig { width: calc(10px * var(--lb-s, 1)); height: calc(10px * var(--lb-s, 1)); background-size: calc(10px * var(--lb-s, 1)) calc(10px * var(--lb-s, 1)); }
.gtl-lb i.gtl-ico-ig { width: calc(12px * var(--lb-s, 1)); height: calc(12px * var(--lb-s, 1)); background-size: calc(12px * var(--lb-s, 1)) calc(12px * var(--lb-s, 1)); }
.gtl-lb-hint + .gtl-lb-num { margin-left: calc(10px * var(--lb-s, 1)); }

/* 빠른 안내 말풍선 (PC: 링크·파일이 한 곳일 때, 썸네일 '눌러서 이미지 크게 보기' 등) */
.gtl-htip { position: fixed; z-index: var(--gtl-z-viewer); left: 0; top: 0; max-width: 320px; padding: 4px 8px; border-radius: 4px; background: rgba(40,40,40,.92); color: #fff; font-size: 12px; line-height: 17px; word-break: break-all; pointer-events: none; opacity: 0; visibility: hidden; }
.gtl-htip.is-on { opacity: 1; visibility: visible; }
/* 분류를 모두 끄려 할 때 누른 자리에 뜨는 안내 (잠깐 보였다가 스르륵 사라짐) */
.gtl-warnpop { position: fixed; z-index: var(--gtl-z-toast); left: 0; top: 0; padding: 6px 12px; border-radius: 14px; background: rgba(40,40,40,.92); color: #fff; font-size: 12px; line-height: 16px; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(4px); }
.gtl-warnpop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.gtl-warnpop.is-on.is-out { opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }

/* 페이지를 확대한 상태(폰)에서 뷰어를 열면 브라우저 스크롤바가 확대 배율만큼 두꺼워짐 → 그때만 숨김 (손가락으로 밀어서 넘기기는 그대로) */
.gtl-lb.is-pagezoom .gtl-lb-strip, .gtl-viewer.is-pagezoom .gtl-vw-strip, .gtl-lb.is-ig.is-pagezoom .gtl-lb-ig { scrollbar-width: none; }
.gtl-lb.is-pagezoom .gtl-lb-strip::-webkit-scrollbar, .gtl-viewer.is-pagezoom .gtl-vw-strip::-webkit-scrollbar, .gtl-lb.is-ig.is-pagezoom .gtl-lb-ig::-webkit-scrollbar { display: none; }

/* 일반 뷰어(사진·인스타·동영상·음악)는 두 손가락 확대에 반응하지 않음: 밀기(스크롤·넘기기)만 허용. 크게 보기는 확대 뷰어에서 */
.gtl-lb, .gtl-viewer { touch-action: pan-x pan-y; }

/* 사진 뷰어: 다음 사진을 받는 중(0.15초 넘게 걸릴 때) 가운데 작은 로딩 원 */
.gtl-lb-stage.is-loading:after { content: ''; position: absolute; left: 50%; top: 50%; width: calc(28px * var(--lb-s, 1)); height: calc(28px * var(--lb-s, 1)); margin: calc(-14px * var(--lb-s, 1)) 0 0 calc(-14px * var(--lb-s, 1)); border: calc(3px * var(--lb-s, 1)) solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; box-sizing: border-box; animation: gtl-spin .8s linear infinite; pointer-events: none; }
@keyframes gtl-spin { to { transform: rotate(360deg); } }

/* 페이지를 확대한 상태(폰): vh는 확대 전 페이지 높이 기준이라 사진·동영상이 확대된 채로 커짐 → 지금 보이는 높이(--lb-vh, --vw-vh = 1%)로 다시 계산 */
.gtl-lb.is-pagezoom.is-ig .gtl-lb-stage img, .gtl-lb.is-pagezoom.is-ig .gtl-lb-stage video { max-height: calc(var(--lb-vh, 1vh) * 60); }
.gtl-lb.is-pagezoom.is-ig.is-many .gtl-lb-stage img, .gtl-lb.is-pagezoom.is-ig.is-many .gtl-lb-stage video { max-height: calc(var(--lb-vh, 1vh) * 60 - 92px * var(--lb-s, 1)); }
.gtl-lb.is-pagezoom:not(.is-ig) .gtl-lb-stage img, .gtl-lb.is-pagezoom:not(.is-ig) .gtl-lb-stage video { max-height: calc(var(--lb-vh, 1vh) * 100 - 52px * var(--lb-s, 1)); }
.gtl-lb.is-pagezoom:not(.is-ig).is-many .gtl-lb-stage img, .gtl-lb.is-pagezoom:not(.is-ig).is-many .gtl-lb-stage video { max-height: calc(var(--lb-vh, 1vh) * 100 - 140px * var(--lb-s, 1)); }
.gtl-lb.is-pagezoom.has-hint:not(.is-ig):not(.is-many) .gtl-lb-stage img { max-height: calc(var(--lb-vh, 1vh) * 100 - 74px * var(--lb-s, 1)); }
.gtl-viewer.is-pagezoom.is-video .gtl-vw-media video { max-height: calc(var(--vw-vh, 1vh) * 100 - 70px); }
.gtl-viewer.is-pagezoom.is-video.is-many .gtl-vw-media video { max-height: calc(var(--vw-vh, 1vh) * 100 - 170px); }
/* 공유 버튼 줄이 있을 때 (페이지 확대 상태). 바로 위 줄보다 뒤에 있어야 적용됨 */
.gtl-viewer.is-pagezoom.is-video .gtl-vw-fig video { max-height: calc(var(--vw-vh, 1vh) * 100 - 88px); }
.gtl-viewer.is-pagezoom.is-video.is-many .gtl-vw-fig video { max-height: calc(var(--vw-vh, 1vh) * 100 - 170px); }

/* 확대 상태: 동영상 조작 버튼(재생·시간 막대·⋮)은 브라우저가 그려서 크기 조절이 안 됨 → 동영상 자체를 zoom으로 줄이고, 최대 높이는 그만큼 키워서 화면에 보이는 크기는 그대로 */
.gtl-lb.is-pagezoom .gtl-lb-stage video { zoom: var(--lb-s, 1); box-shadow: none; }
.gtl-lb.is-pagezoom.is-ig .gtl-lb-stage video { max-height: calc((var(--lb-vh, 1vh) * 60) / var(--lb-s, 1)); }
.gtl-lb.is-pagezoom.is-ig.is-many .gtl-lb-stage video { max-height: calc((var(--lb-vh, 1vh) * 60 - 92px * var(--lb-s, 1)) / var(--lb-s, 1)); }
.gtl-lb.is-pagezoom:not(.is-ig) .gtl-lb-stage video { max-height: calc((var(--lb-vh, 1vh) * 100 - 52px * var(--lb-s, 1)) / var(--lb-s, 1)); }
.gtl-lb.is-pagezoom:not(.is-ig).is-many .gtl-lb-stage video { max-height: calc((var(--lb-vh, 1vh) * 100 - 140px * var(--lb-s, 1)) / var(--lb-s, 1)); }

/* 관리자: 물방울 = 글 본문 바로가기. 물방울 둘레 6px까지 누를 수 있게 투명 영역을 겹치고, 올리면 물방울을 진하게 */
.gtl-dot-hit { position: absolute; z-index: 3; top: -2px; width: 25px; height: 21px; cursor: pointer; }
.gtl-left > .gtl-dot-hit { right: -25px; }
.gtl-right > .gtl-dot-hit { left: -25px; }
.gtl-big > .gtl-dot-hit { top: -4px; width: 34px; height: 29px; }
.gtl-big.gtl-left > .gtl-dot-hit { right: -29px; }
.gtl-big.gtl-right > .gtl-dot-hit { left: -29px; }
.gtl-note > .gtl-dot-hit { display: none; }
/* 올리면 검정 물방울: 원래 물방울과 같은 구조(가운데 진하고 → 원 테두리 → 꼬리 끝으로 연하게)를 검정 쪽으로 옮겨서 그라데이션이 보이게 */
.gtl-right > .gtl-dot-hit:hover + .gtl-dot, .gtl-right > .gtl-dot-hit:focus-visible + .gtl-dot { background: radial-gradient(circle at 4.5px 4.5px, #000 0, #262626 2.02px, #5a5a5a 4.5px, #9a9a9a 7.88px); }
.gtl-left > .gtl-dot-hit:hover + .gtl-dot, .gtl-left > .gtl-dot-hit:focus-visible + .gtl-dot { background: radial-gradient(circle at 8.5px 4.5px, #000 0, #262626 2.02px, #5a5a5a 4.5px, #9a9a9a 7.88px); }
.gtl-big.gtl-right > .gtl-dot-hit:hover + .gtl-dot, .gtl-big.gtl-right > .gtl-dot-hit:focus-visible + .gtl-dot { background: radial-gradient(circle at 8.5px 8.5px, #000 0, #262626 3.83px, #5a5a5a 8.5px, #9a9a9a 12.75px); }
.gtl-big.gtl-left > .gtl-dot-hit:hover + .gtl-dot, .gtl-big.gtl-left > .gtl-dot-hit:focus-visible + .gtl-dot { background: radial-gradient(circle at 13.5px 8.5px, #000 0, #262626 3.83px, #5a5a5a 8.5px, #9a9a9a 12.75px); }

/* 관리자: 다른 게시판 글의 축 교점 = 글 본문 바로가기. 누르는 영역 21px 안에 지름 13px 동그라미(평소 투명, PC에서 올리면 검정)
   축(3px)의 가운데와 가로줄(2px)의 가운데에 동그라미 중심을 맞춤 (홀수 지름이라 정수 px로 딱 맞음) */
.gtl-post-hit { position: absolute; z-index: 3; top: -4px; width: 21px; height: 21px; cursor: pointer; }
.gtl-post.gtl-left > .gtl-post-hit { right: -25px; }
.gtl-post.gtl-right > .gtl-post-hit { left: -25px; }
.gtl-post-hit:after { content: ''; position: absolute; left: 4px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: transparent; transition: background .1s; }
.gtl-post-hit:hover:after, .gtl-post-hit:focus-visible:after { background: radial-gradient(circle at 6.5px 6.5px, #000 0, #262626 2.92px, #5a5a5a 6.5px); }   /* 검정 물방울의 원 부분과 같은 그라데이션 (지름 13px에 맞춤) */

/* PRESS 분류 버튼: 게시판이 아니라 Life Timeline 이벤트 중 골라낸 것 → 모서리를 덜 둥글게, 꺼졌을 때 글자 더 진한 회색, 켜졌을 때 바탕 더 진한 회색, 앞의 색 상자 없음 */
.gtl-fbtn.gtl-fpress { --gtl-pg: linear-gradient(75deg, #10b981, #06b6d4, #3b82f6); box-sizing: border-box; border: 3px solid transparent; border-radius: 6px; background: linear-gradient(#fff, #fff) padding-box, var(--gtl-pg) border-box; letter-spacing: .5px; }   /* 민트-청록-파랑 그라데이션(-15도 = 75deg), 외곽선 3px */
.gtl-fbtn.gtl-fpress:hover { border-color: transparent; }
.gtl-fbtn.gtl-fpress span { display: inline-block; font-size: calc(1em + 2px); line-height: 1; margin: 0 -3px; text-box: trim-both cap alphabetic; }   /* 글자만 2px 크게 (커진 폭만큼 좌우 -3px로 박스 크기 유지). 확대(scale) 대신 실제 글자 크기라 화면 배율마다 위치가 흔들리지 않음. text-box: 대문자 높이만 남겨서 위아래 가운데를 글자 모양 그대로 맞춤 (글꼴마다 다른 위아래 여백 무시) */
/* 꺼졌을 때: 외곽선은 한 단계 밝은 그라데이션, 글자는 다른 분류 버튼이 꺼졌을 때와 같은 회색 */
.gtl-fbtn.gtl-fpress:not(.is-on) { --gtl-pg: linear-gradient(75deg, #34d399, #22d3ee, #60a5fa); }
.gtl-fbtn.gtl-fpress:not(.is-on) span { color: #b4b4b4; -webkit-text-stroke: .5px #b4b4b4; }   /* 글자가 굵어서 다른 분류(#9a9a9a)보다 한 단계 연하게 */
.gtl-fbtn.gtl-fpress.is-on { background: var(--gtl-pg) border-box; }   /* 켜졌을 땐 박스 면이 그라데이션, 글자는 흰색 */
.gtl-fbtn.gtl-fpress.is-on span { color: #fff; -webkit-text-stroke: .5px #fff; }   /* 글꼴에 더 굵은 굵기가 없어서 0.5px 테두리로 조금 더 굵게 */
/* PC에서 맨 위 분류 버튼 줄이 두 줄이 되려 하면 단계적으로 작게 (스크립트가 is-c1 → c2 → c3 순서로 붙임) */
.gtl-filter.is-c1:not(.is-float) { column-gap: 6px; }
.gtl-filter.is-c1:not(.is-float) .gtl-fbtn { padding: 0 12px; }
.gtl-filter.is-c2:not(.is-float) .gtl-fbtn { padding: 0 10px; gap: 5px; font-size: 12px; min-height: 32px; }
.gtl-filter.is-c2:not(.is-float) .gtl-fbtn.gtl-fpress { border-radius: 5px; }
.gtl-filter.is-c3:not(.is-float) { column-gap: 4px; }
.gtl-filter.is-c3:not(.is-float) .gtl-fbtn { padding: 0 8px; gap: 4px; }
.gtl-filter.is-c3:not(.is-float) .gtl-fov span { display: none; }

/* 타임라인 점검: PRESS 열 (체크하면 바로 저장, 옆에 '저장 중/저장됨/실패' 잠깐 표시) */
.gtl-check-table .gtl-check-press { text-align: center; white-space: nowrap; }
.gtl-check-press label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.gtl-check-press input { width: 16px; height: 16px; margin: 0; cursor: pointer; }
.gtl-check-press span { font-size: 11px; color: #999; }
.gtl-check-press span.is-ok { color: #2e8b57; }
.gtl-check-press span.is-err { color: #d33; }

/* 폰: 맨 위 분류 버튼 줄의 줄 사이 간격을 조금 좁게 (8px → 5px) */
@media (max-width: 600px) { .gtl-filter:not(.is-float) { row-gap: 5px; } }
/* 폰: 맨 위 분류 버튼이 세 줄 이상이 되려 하면 단계적으로 작게 (스크립트가 is-c1 → c2 → c3) — 두 줄까지 */
@media (max-width: 600px) {
	.gtl-filter.is-c1:not(.is-float) { column-gap: 6px; }
	.gtl-filter.is-c1:not(.is-float) .gtl-fbtn { padding: 0 9px; gap: 5px; }
	.gtl-filter.is-c2:not(.is-float) { column-gap: 5px; }
	.gtl-filter.is-c2:not(.is-float) .gtl-fbtn { padding: 0 8px; gap: 4px; font-size: 11px; min-height: 30px; }
	.gtl-filter.is-c3:not(.is-float) { column-gap: 4px; padding: 0 4px; }
	.gtl-filter.is-c3:not(.is-float) .gtl-fbtn { padding: 0 6px; min-height: 28px; }
}

/* 썸네일 오른쪽 위 표시가 둘(돋보기 + 디스크)이면 디스크를 돋보기 왼쪽에 (동그라미 16px + 사이 4px) */
.gtl-zoom.is-2nd { right: 27px; }
/* 고르기 말풍선의 '이미지 크게 보기' 그림: 돋보기 */
.gtl-globe.is-img { background-image: url('img.svg?v=1125b'); } /* 이미지 크게 보기 (사진 아이콘: 동영상·음악·PDF와 같은 질감) */

/* 분류 버튼이 꺼졌을 때 인스타 아이콘도 다른 분류의 색 상자처럼 연하게 */
.gtl-filter .gtl-fbtn:not(.is-on) i.gtl-ico-ig { opacity: .45; }

/* 타임라인 점검: 누워 보일 수 있는 동영상의 '문제없음' 체크 */
.gtl-vok { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; color: #555; font-weight: 700; white-space: nowrap; cursor: pointer; }
.gtl-vok input { margin: 0; cursor: pointer; }
.gtl-vok-done { margin-top: 2px; font-size: 11px; color: #8a8a8a; }
.gtl-check-vnote { color: #999; font-size: 12px; }
.gtl-vfix-btn { margin: 0 2px; padding: 2px 8px; border: 1px solid #2563eb; border-radius: 4px; background: #fff; color: #2563eb; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; }
.gtl-vfix-btn:hover { background: #2563eb; color: #fff; }
.gtl-vfix-btn:disabled { border-color: #bbb; background: #f3f3f3; color: #888; cursor: default; }
.gtl-vfix-mode { color: #888; white-space: nowrap; }
.gtl-vfix { font-weight: 700; white-space: nowrap; }
.gtl-vfix.is-run { color: #2563eb; }
.gtl-vfix.is-done { color: #16a34a; }
.gtl-vfix.is-err { color: #dc2626; white-space: normal; }

/* 사이트 글꼴(관리자 설정 --gtl-font)을 쓰는 곳: 한 곳에 모음. 원래 각 규칙보다 뒤에 있어야 같은 우선순위의 다른 글꼴 지정에 덮이지 않으므로 파일 맨 끝에 둠 */
.gtl-lb.is-ig .gtl-lb-ig,
.gtl-reader,
.gtl-lb button.gtl-lb-share,
.gtl-pz-share,
.gtl-ov,
.gtl-pt-text,
.gtl-pt-tag,
.gtl-pt-bar,
.gtl-ynav,
.gtl-search,
.gtl-lb-hint,
.gtl-lb-num,
.gtl-pz-cap,
.gtl-vw-count,
.gtl-htip,
.gtl-warnpop { font-family: var(--gtl-font, 'GyoolNanum'), 'GyoolNanum', 'Malgun Gothic', sans-serif; }
