@charset "utf-8";

body { background: rgb(0, 0, 0); color: #E2E8F0; -webkit-font-smoothing: antialiased; font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; position: relative; }
body::before { content: ""; position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100vh; background: linear-gradient(0deg, rgba(0, 0, 0, 1) 53%, rgba(8, 24, 67, 1) 100%); }
.scrolling-down .header { background: #000000 !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header { transition: background .18s ease;}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4B5563; }
.glass { /*background: rgba(17, 24, 39, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.05);*/ border-bottom: 1px solid #1f2937; }
.glass-card { background: rgba(31, 41, 55, 0.4); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.3s ease; }
.glass-card:hover { background: rgba(31, 41, 55, 0.6); border-color: rgba(59, 130, 246, 0.3); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.nav-item { position: relative; overflow: hidden; transition: all 0.2s ease; }
.nav-item::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: #3B82F6; transform: scaleY(0); transition: transform 0.2s ease; }
.nav-item:hover, .nav-item.active { background: rgba(59, 130, 246, 0.1); color: #60A5FA; }
.nav-item.active::before { transform: scaleY(1); }
.sound_only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.no-scrollbar::-webkit-scrollbar { display: none; }
/* 반응형: default.css 고정폭(1200px) 제거 */
#hd, #wrapper, #ft { min-width: 0 !important; max-width: 100% !important; }
#hd_pop, #hd_wrapper, #tnb .inner, #gnb .gnb_wrap, #container_wr, #ft_wr { width: 100% !important; max-width: 100% !important; }

/* sport 레이아웃 오버라이드 */
#container { float: none !important; width: 100% !important; min-height: auto !important; margin: 0 !important; overflow: visible !important; }
#ft { padding: 35px; min-width: auto !important; width: 100% !important; float: none !important; }
#ft .ft_cnt, #ft section { float: none !important; width: auto !important; display: block !important; }

/* 모바일 헤더 로고: PC/사이드바와 동일한 스타일 */
.header-logo-mobile h1 { margin: 0; font-size: inherit; line-height: 1.2; }
.header-logo-mobile p { margin: 0; line-height: 1.3; }

/* ===== 상단 헤더 검색 영역 (jusominjok 스타일 - 메뉴별 색상) ===== */
.header-nav { flex-wrap: wrap; }
/* PC/태블릿: 한 줄 중앙 그룹, 좌우로 넓게 퍼지지 않음 */
.header-nav-pc, .header-nav-tablet { gap: 0.95rem; flex-wrap: nowrap; }
.header-link { font-size: 0.9rem; white-space: nowrap; transition: color .2s; }
.header-link i { vertical-align: middle; }

/* 홈이동: blue */
.header-link-home { color: rgb(96 165 250); }
.header-link-home:hover { color: rgb(147 197 253); }

/* 즐겨찾기: sky */
.header-link-fav { color: rgb(56 189 248); }
.header-link-fav:hover { color: rgb(125 211 252); }

/* 카테고리: 기본색 없음, 호버만 rgb(96 165 250) / a태그 없음, 호버 시 드롭다운 */
.header-link-cat { color: inherit; cursor: pointer; display: inline-block; }
.header-link-cat:hover { color: rgb(96 165 250); }
/* 카테고리 chevron: 열림→180도 회전, 닫힘→원위치 */
.header-link-cat .fa-chevron-down { transform: rotate(0deg); transition: transform .2s ease; }
@media (min-width: 1024px) {
	.header-category-slot:not(.header-category-slot-mobile):hover .fa-chevron-down { transform: rotate(180deg); }
}
.header-category-slot-mobile.header-category-open .fa-chevron-down { transform: rotate(180deg); }

/* 카테고리 슬롯: 인기검색어와 동일한 호버 드롭다운 패턴 */
.header-category-slot {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.header-category-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 1px;
	min-width: 180px;
	max-width: 200px;
	background: rgba(17, 24, 39, 0.98);
	border: 1px solid rgba(75, 85, 99, 0.6);
	border-radius: 10px;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
	z-index: 100;
	overflow: visible;
}
/* PC: 호버로 드롭다운 | 모바일: 호버 적용 안 함(클릭만) */
@media (min-width: 1024px) {
	.header-category-slot:not(.header-category-slot-mobile):hover .header-category-dropdown { display: block; }
}
/* 모바일 메뉴 블록 내: 클릭으로 토글, 아래쪽에 배치 */
.header-category-slot-mobile {
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}
/* 모바일 메뉴 블록 내: 클릭으로 토글 (호버 아님) */
.header-category-slot-mobile .header-category-dropdown {
	display: none;
	position: relative;
	margin-top: 8px;
	margin-left: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
}
.header-category-slot-mobile.header-category-open .header-category-dropdown { display: block; }
.header-category-dropdown-title {
	padding: 10px 14px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #9CA3AF;
	border-bottom: 1px solid rgba(75, 85, 99, 0.5);
	display: flex;
	align-items: center;
	gap: 8px;
}
.header-category-dropdown-title i { color: #3B82F6; }
.header-category-list {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	height: auto;
}
.header-category-list li { margin: 0; }
.header-category-list a {
	display: block;
	padding: 8px 14px;
	color: #E2E8F0;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.header-category-list a:hover {
	background: rgba(59, 130, 246, 0.15);
	color: rgb(96 165 250);
}

/* 광고/제휴문의: 기본색 없음, 호버만 rgb(96 165 250) */
.header-link-ad { color: inherit; }
.header-link-ad:hover { color: rgb(96 165 250); }

/* 인기검색어: 즐겨찾기–검색창 간격 2rem, 검색창 옆 배치 */
/*
.header-popular-slot { margin-left: 2rem; width: 160px; min-width: 160px; height: 46px; background: rgba(55, 65, 81, 0.5); border-radius: 10px; border: 1px solid rgba(75, 85, 99, 0.5); display: flex; align-items: center; padding: 0 12px; }
.header-popular-slot .header-popular-inner { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; overflow: hidden; }
.header-popular-slot .header-popular-inner a { color: #9CA3AF; font-size: 0.85rem; white-space: nowrap; }
.header-popular-slot .header-popular-inner a:hover { color: rgb(96 165 250); }
*/
/* 인기검색어 슬롯: 외부 컨테이너 (헤더 레이아웃) */
.header-popular-slot {
	margin-left: 2rem;
	width: 160px;
	min-width: 160px;
	height: 43px;
	background: rgba(55, 65, 81, 0.5);
	border-radius: 10px;
	border: 1px solid rgba(75, 85, 99, 0.5);
	display: flex;
	align-items: center;
	padding: 0 12px;
}
.header-popular-slot .header-popular-inner { 
	width: 140px;
}

@media (min-width: 1024px) {
	.header-popular-slot:hover .header-popular-dropdown { display: block; }
	.header-popular-slot:hover .header-popular-scroll { animation-play-state: paused; }
}
/* 검색창: 크기 고정 (줄어들지 않음) */
.header-search-form { flex-shrink: 0; width: 280px; min-width: 280px; }
/* 검색창과 카테고리 간격 넓게 */
.header-search-form + .header-link { margin-left: 2rem; }
/* 검색창: 아이콘·버튼 absolute, input만 문서 흐름 (sport.html 참고) */
.header-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(31, 41, 55, 0.8);
	border: 1px solid #374151;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color .2s;
}
.header-search-wrap:focus-within { border-color: #3B82F6; }
.header-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	color: #9CA3AF;
	font-size: 0.9rem;
	pointer-events: none;
}
.header-search-input {
	flex: 1;
	width: 100%;
	min-width: 0;
	padding: 10px 44px 10px 40px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 0.9rem;
}
.header-search-input::placeholder { color: #6B7280; }
.header-search-input:focus { outline: none; }
.header-search-btn {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: #9CA3AF;
	cursor: pointer;
	transition: color .2s;
	z-index: 1;
}
.header-search-btn:hover { color: #fff; }

/* 햄버거 블록: 인기검색어 영역 */
.header-popular-block { width: 100%; min-width: 140px; min-height: 46px; margin: 0; padding: 12px; background: rgba(55, 65, 81, 0.5); border-radius: 10px; border: 1px solid rgba(75, 85, 99, 0.5); }
.header-popular-block .header-popular-inner { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.header-popular-block .header-popular-inner a { color: #9CA3AF; font-size: 0.9rem; }
.header-popular-block .header-popular-inner a:hover { color: rgb(96 165 250); }

#ft {
	background:#141414 !important;
}

/* 텔레그램 링크: 아이콘+텍스트 한 줄 정렬 (기본 스타일 override) */
#ft .ft-telegram-link {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 0.5rem !important;
}

/* ===== SNS 바로가기 (index 메인) ===== */
.sns-shortcut .glass-card {
	background: linear-gradient(135deg, rgba(31, 41, 55, 0.5) 0%, rgba(17, 24, 39, 0.6) 100%);
	border-color: rgba(59, 130, 246, 0.15);
}
/* SNS 타이틀: default.css h3 { margin:0 } 리셋을 덮어쓰기 */
.sns-shortcut h3 {
	margin: 5px 0 12px 10px !important;
}
.sns-shortcut-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 20px;
}
.sns-shortcut-item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	padding: 0.25rem 0.5rem;
    width: 80px;
    min-width: 80px;
	flex-shrink: 0;
	border-radius: 12px;
	background: rgba(55, 65, 81, 0.25);
	border: 1px solid rgba(75, 85, 99, 0.3);
	transition: all 0.25s ease;
	text-decoration: none;
	color: #94A3B8;
}
.sns-shortcut-item:hover {
	background: rgba(59, 130, 246, 0.12);
	border-color: rgba(59, 130, 246, 0.35);
	color: #E2E8F0;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.3);
}
.sns-shortcut-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.05);
	flex-shrink: 0;
	transition: transform 0.25s ease;
}
.sns-shortcut-item:hover .sns-shortcut-icon {
	transform: scale(1.08);
}
.sns-shortcut-icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}
.sns-shortcut-fa {
	font-size: 1.35rem;
	color: #94A3B8;
}
.sns-shortcut-item:hover .sns-shortcut-fa {
	color: #60A5FA;
}
.sns-shortcut-name {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
}

.fs14 {
	font-size:14px;
}
.fs16 {
	font-size:16px;
}

/* 모바일(<768px): 햄버거 블록 내 검색창은 가로 100% */
@media (max-width: 767px) {
    .mobile-menu-block .header-search-form { width: 100%; min-width: 0; }
}
@media (max-width: 767px) {
	.sns-shortcut-grid {    
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}
	.sns-shortcut-name {
		display:none;
	}
	.sns-shortcut-item {
		width:45px;
		min-width:45px;
		gap:0rem;
		padding:0;
	}
}

/* 인기순위 그리드: 모바일 2개, 태블릿 3개, PC 4개 */
.popular-rank-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
@media (min-width: 768px) {
    .popular-rank-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}
@media (min-width: 1024px) {
    .popular-rank-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

/* board_grid 상단 카테고리 탭 메뉴 (sport.html 리그 허브 스타일, sticky, 모바일 숨김) */

/* 헤더 안 서브네비 래퍼: Tailwind hidden/lg 미포함 시 안 보이는 문제 방지 — 모바일(~767) 제외 전 구간 */
.board-grid-subnav-header-wrap {
    display: none;
    width: 100%;
}
@media (min-width: 768px) {
    .board-grid-subnav-header-wrap {
        display: block;
    }
}

/* 본문 상단 탭: 모바일(767px 이하)만 — 태블릿·PC는 헤더 서브네비 사용 */
.board-grid-subnav--mobile-only {
    display: block;
}
@media (min-width: 768px) {
    .board-grid-subnav--mobile-only {
        display: none !important;
    }
}

.board-grid-subnav {
    display: block;
    position: sticky;
    top: 4rem;
}

@media (min-width: 768px) {
    /*.board-grid-subnav:not(.board-grid-subnav--mobile-only) { display: block; top: 5rem; }*/
	.mobile_main_banner {
		display: none !important;
	}
}
@media (max-width: 767px) {
	.board-grid-subnav-home { 
		display:none !important;
	}
    .board-grid-subnav-inner {
        gap: 0.5rem 1.5rem !important;
        /* 표준 브라우저 속성은 본체 클래스에 위치해야 함 */
        scrollbar-width: auto !important; 
        -ms-overflow-style: auto !important;
    }
    
    /* 크롬, 사파리용 설정 */
    .board-grid-subnav-inner::-webkit-scrollbar {        
        display: block !important;
        height: 3px;
    }

    /* 막대 색상을 지정해야 화면에서 보입니다 */
    .board-grid-subnav-inner::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3); 
        border-radius: 10px;
    }
}

/* 모바일(767px 이하)에서만 숨기기 */
@media (max-width: 767px) {
    .sns-shortcut {
        display: none !important;
    }
	.main_banner {
		display: none !important;
	}
}

.board-grid-subnav {
    z-index: 9;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);    
    margin-bottom: 1rem;
}
.board-grid-subnav-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 1.8rem;
    /*min-height: 3.5rem;*/
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.board-grid-subnav-inner::-webkit-scrollbar { display: none; }
.board-grid-subnav-home {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #acb6c5;
    background: rgba(55, 65, 81, 0.6);
    border-radius: 2px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.board-grid-subnav-home:hover {
    color: #fff;
    background: rgba(75, 85, 99, 0.8);
}
.board-grid-subnav-tab {
    flex-shrink: 0;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}
.board-grid-subnav-tab:hover { color: #cbd5e1; }
.board-grid-subnav-tab.active {
    color: #60a5fa;
}
.board-grid-subnav-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #3b82f6;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* 헤더 안 서브네비: 본문 sticky 오프셋 없음, 헤더와 함께 스크롤·고정 */
@media (min-width: 768px) {
    .board-grid-subnav--header {
        position: relative;
        top: auto;
        margin-bottom: 0;
        border-top: 1px solid rgba(55, 65, 81, 0.65);
    }
}
@media (max-width: 767px) {
    .board-grid-subnav {
        border-bottom: 1px solid rgba(55, 65, 81, 0.8);
    }
}

/* board_grid 상단 카테고리 탭 메뉴 끝 */


/* 인기순위 그리드: 카드 등폭 */
/*.popular-rank-grid .popular-rank-cell { display: flex; width: 100%; }*/
/*.popular-rank-cell .popular-rank-card { flex: 1; }*/
.popular-rank-grid .popular-rank-cell { display: flex; width: 100%; min-width: 0; }
.popular-rank-cell .popular-rank-card { flex: 1; min-width: 0; }


.uxc_banner {
    width: 100%;
}

.uxc_banner .banner_list {
    display: grid;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 1개 컬럼 */
.uxc_banner .banner_list.grid-col-1 {
    grid-template-columns: 1fr;
}

/* 2개 컬럼 */
.uxc_banner .banner_list.grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3개 컬럼 */
.uxc_banner .banner_list.grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 4개 컬럼 */
.uxc_banner .banner_list.grid-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 5개 컬럼 */
.uxc_banner .banner_list.grid-col-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* 6개 컬럼 */
.uxc_banner .banner_list.grid-col-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* 6개 이상 (flex 방식) - CSS 변수 사용 */
.uxc_banner .banner_list.grid-col-flex {
    display: flex;
    flex-wrap: wrap;
}

.uxc_banner .banner_list.grid-col-flex .banner_item {
    flex: 0 0 calc((100% - (var(--columns, 6) - 1) * 15px) / var(--columns, 6));
    margin-right: 15px;
    margin-bottom: 15px;
}

.uxc_banner .banner_list.grid-col-flex .banner_item:nth-child(6n),
.uxc_banner .banner_list.grid-col-flex .banner_item:nth-child(7n),
.uxc_banner .banner_list.grid-col-flex .banner_item:nth-child(8n),
.uxc_banner .banner_list.grid-col-flex .banner_item:nth-child(9n),
.uxc_banner .banner_list.grid-col-flex .banner_item:nth-child(10n) {
    margin-right: 0;
}

.uxc_banner .banner_item {
    position: relative;
    overflow: hidden;
    /*height: 100px;*/              /* 그리드 셀(카드) 고정 높이 */
}

.uxc_banner .banner_item .banner_img {
    width: 100%;
	height: 90px;
    max-height: 90px;
    object-fit: fill;          /* 셀을 꽉 채우고 넘치는 부분 잘라냄 */
    display: block;
}
.uxc_banner .banner_item .banner_img_1 {
    width: 100%;
	height: 80px;
    object-fit: fill;          /* 셀을 꽉 채우고 넘치는 부분 잘라냄 */
    display: block;
}
.uxc_banner .banner_item .banner_img_2 {
    width: 100%;
	height: 58px;
    max-height: 58px;
    object-fit: fill;          /* 셀을 꽉 채우고 넘치는 부분 잘라냄 */
    display: block;
}

.uxc_banner .banner_link {
    display: block;
    width: 100%;
}

/* 빈 칸 스타일 */
.uxc_banner .banner_item_empty {
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: var(--board-gray-100, #f5f5f5);*/
    border: 4px dashed var(--board-gray-300, #436283);
    border-radius: 4px;
}

.uxc_banner .banner_empty_text {
    color: var(--board-gray-500, #999);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* 반응형 처리 */
@media (max-width: 1200px) {
    .uxc_banner .banner_list.grid-col-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    .uxc_banner .banner_list.grid-col-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .uxc_banner .banner_list.grid-col-6,
    .uxc_banner .banner_list.grid-col-5,
    .uxc_banner .banner_list.grid-col-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .uxc_banner .banner_list.grid-col-6,
    .uxc_banner .banner_list.grid-col-5,
    .uxc_banner .banner_list.grid-col-4,
    .uxc_banner .banner_list.grid-col-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .uxc_banner .banner_list:not(.banner_list-mobile-2) {
        grid-template-columns: 1fr !important;
    }
    /* 두 번째 모바일 배너 묶음은 항상 2열 유지 */
    .uxc_banner .banner_list.banner_list-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .uxc_banner .banner_list.grid-col-flex .banner_item {
        flex: 0 0 100%;
        margin-right: 0;
    }
	#ft {
		padding: 1px 1px 35px 1px;
	}
}


/* 텔레그램 안내 - 심플 버튼 */
.coupon-button-wrapper {
	padding: 0 10px;    
    width: 100%;
}
.telegram-button-wrapper {
    display: block;
}
.coupon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    width: 100%;
    background: #1f2937;
    color: #e5e7eb;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    height: 60px;
    font-weight: 500;
    border: 1px solid #4b5563;
}
.coupon-button i {
    font-size: 16px;
}
.telegram-button {
    background: #1c76a3;
    color: #ffffff;
    border-color: #51b1e1;
}
/* 제휴업체 전체보기 버튼 (녹색 계열, 동일 크기) */
.partner-button {
    background: #0d9b41;
    color: #ecfdf5;
    border-color: #39c76d;
}