body {
	font-family: 'Pretendard','Noto Sans KR', sans-serif;
	background-color: #090f1e; 
	color: #ffffff;
	/* 화면 전체 프레임 고정 (스크롤은 우측 본문에서만) */
	overflow: hidden; 
}

/* 우측 본문 전용 커스텀 스크롤바 */
.right-scroll {
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #2a354f #090f1e;
}
.right-scroll::-webkit-scrollbar {
	width: 8px;
}
.right-scroll::-webkit-scrollbar-track {
	background: #090f1e; 
}
.right-scroll::-webkit-scrollbar-thumb {
	background: #2a354f; 
	border-radius: 10px;
}
.right-scroll::-webkit-scrollbar-thumb:hover {
	background: #0082f0; 
}

/* 좌측 메뉴 스크롤바 */
.left-scroll::-webkit-scrollbar {
	width: 4px;
}
.left-scroll::-webkit-scrollbar-thumb {
	background: #1f2937;
	border-radius: 4px;
}

.game-card:hover .game-img {
	transform: scale(1.05);
}

.hide-scroll::-webkit-scrollbar {
	display: none;
}
.hide-scroll {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
@keyframes shimmer {
	100% { transform: translateX(100%); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
 }
 
 
 /* 미니 사이드바 모드 전환을 위한 커스텀 스타일 */
.mini-sidebar {
	width: 80px !important;
}

/* 미니 모드일 때 텍스트 및 뱃지 숨김 */
.mini-sidebar .nav-text,
.mini-sidebar .nav-badge,
.mini-sidebar .nav-section-title {
	opacity: 0;
	width: 0;
	display: none !important;
}

/* 미니 모드일 때 메뉴 아이콘 가운데 정렬 */
.mini-sidebar .menu-link {
	justify-content: center !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* 제공사(Providers) 아이콘 정렬 */
.mini-sidebar .provider-dot-container {
	justify-content: center !important;
	width: 100% !important;
}

/* 하단 앱 설치 버튼 아이콘 간격 조정 */
.mini-sidebar .app-install-btn {
	padding: 0.75rem 0 !important;
}

#partners img {
	max-width: 100px;
	max-height: 24px;
}


/* ── 섬네일 auto-fit (잘림 없음) ─────────────────────────────
   카드 비율은 섹션별 원본 비율(aspect-ratio 인라인)로 고정하고,
   이미지는 contain 으로 전체를 보여 줌. 비율이 다른 이미지만 남는 여백은
   같은 이미지(인라인 background-image)를 흐리게 깐 배경으로 채움(검은 레터박스 없음). */
.thumb-fit {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: #0b1220;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.thumb-fit::before {
	content: "";
	position: absolute;
	inset: -18px;
	background-image: inherit; /* 인라인 background-image(문서 기준 URL)를 흐림 배경으로 */
	background-size: cover;
	background-position: center;
	filter: blur(16px) brightness(0.55) saturate(1.15);
	z-index: -1;
}
.thumb-fit > img {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain !important;
	object-position: center;
}
/* 호버 확대는 잘림을 만들므로 thumb-fit 에서는 배경만 살짝 움직임 */
.game-card:hover .thumb-fit > .game-img,
.thumb-fit > img.group-hover\:scale-105 {
	transform: none !important;
}
.game-card:hover .thumb-fit::before {
	filter: blur(14px) brightness(0.7) saturate(1.2);
}

/* 게임사 카드 — 로고/텍스트 타일 (전용 아트가 없는 게임사) */
.provider-tile {
	background: radial-gradient(120% 90% at 50% 0%, #1e3a5f 0%, #111827 55%, #0b1220 100%);
}
html:not(.dark) .provider-tile {
	background: radial-gradient(120% 90% at 50% 0%, #334155 0%, #1e293b 60%, #0f172a 100%);
}
.provider-tile-name {
	color: #f8fafc;
	font-weight: 900;
	font-size: 0.95rem;
	line-height: 1.2;
	text-align: center;
	letter-spacing: -0.01em;
	word-break: keep-all;
}
.provider-tile-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: rgba(0, 130, 240, 0.18);
	border: 1px solid rgba(56, 189, 248, 0.35);
	color: #7dd3fc;
	font-weight: 900;
	font-size: 1.25rem;
}
.provider-card:hover .game-img {
	transform: scale(1.03);
}

/* ── 게임사/게임 검색 ───────────────────────────────────── */
.arena-search {
	position: relative;
	margin-bottom: 1rem;
}
.arena-search input {
	width: 100%;
	height: 44px;
	padding: 0 2.75rem 0 2.75rem;
	border-radius: 0.875rem;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: rgba(255, 255, 255, 0.92);
	color: #0f172a;
	font-size: 0.875rem;
	font-weight: 600;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.dark .arena-search input {
	background: rgba(17, 24, 39, 0.85);
	border-color: rgba(55, 65, 81, 0.9);
	color: #f1f5f9;
}
.arena-search input::placeholder { color: #94a3b8; font-weight: 500; }
.arena-search input:focus {
	border-color: #0082f0;
	box-shadow: 0 0 0 3px rgba(0, 130, 240, 0.18);
}
.arena-search-icon {
	position: absolute;
	left: 0.95rem;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 0.9rem;
	pointer-events: none;
}
.arena-search-clear {
	position: absolute;
	right: 0.55rem;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 9999px;
	border: 0;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}
.arena-search-clear.is-on { display: inline-flex; }
.arena-search-clear:hover { background: rgba(148,163,184,.15); color: #e2e8f0; }
.arena-search-meta {
	margin-top: 0.4rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
}
.dark .arena-search-meta { color: #94a3b8; }
.arena-search-empty {
	display: none;
	text-align: center;
	padding: 2.5rem 1rem;
	border-radius: 1rem;
	border: 1px dashed rgba(148,163,184,.35);
	color: #64748b;
	font-size: 0.875rem;
	font-weight: 600;
}
.dark .arena-search-empty { color: #94a3b8; border-color: rgba(75,85,99,.6); }
.arena-search-empty.is-on { display: block; }
[data-search-hide="1"] { display: none !important; }

@media (max-width: 767px) {
	.arena-search { margin-bottom: 0.75rem; }
	.arena-search input { height: 44px; font-size: 0.8125rem; }
	[data-lobby-view] .arena-search {
		position: sticky;
		top: 52px;
		z-index: 19;
		margin-left: -1rem;
		margin-right: -1rem;
		padding: 0.45rem 1rem 0.35rem;
		background: rgba(9, 15, 30, 0.92);
		backdrop-filter: blur(8px);
	}
	html:not(.dark) [data-lobby-view] .arena-search {
		background: rgba(241, 245, 249, 0.94);
	}
}

/* ── 게임사 카드 통일 (44/59 · contain · 블러 배경 · 잘림/흰플레이트 금지) ── */
.provider-grid .provider-card > .thumb-fit,
.provider-card > .thumb-fit {
	aspect-ratio: 44 / 59 !important;
}
.provider-grid .provider-card img.game-img,
.provider-card img.game-img {
	object-fit: contain !important;
	object-position: center !important;
	transform: none !important;
}
.provider-card:hover .thumb-fit > .game-img {
	transform: none !important;
}
.provider-wordmark { display: none !important; } /* 폐기 */


/* 스페이스/미니게임 — 44/59 프레임을 cover로 채움 (잘림 허용, 빈여백 없음, 왜곡 없음) */
.thumb-fill {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: #0b1220;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	aspect-ratio: 44 / 59;
}
.thumb-fill::before {
	content: "";
	position: absolute;
	inset: -20px;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	filter: blur(18px) brightness(0.5) saturate(1.2);
	z-index: -1;
}
.thumb-fill > img {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover !important;
	object-position: center !important;
	transform: none !important;
}
.game-card:hover .thumb-fill > .game-img {
	transform: none !important;
}
