@charset "utf-8";

/* juso79 메인(#mainContent) — SNS 바로가기와 동일 계열: paper, ink, accent #ff3300 / #5e81e7 */

.popular-rank-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #e4e5f5 0%, #f4f4f0 100%);
	border: 1px solid #c8c8c0;
	/* border-radius: 1rem; */
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 2px 0 rgba(17, 17, 17, 0.06),
		0 10px 28px -14px rgba(17, 17, 17, 0.14);
	padding: 1rem 1.125rem 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.popular-rank-card:hover {
	border-color: #a8a89e;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 8px 28px -12px rgba(17, 17, 17, 0.18);
}

/* 상단 포인트 바 (기존 어두운 그라데이션 대신) */
.popular-rank-header_top {
	position: absolute;
	z-index: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	/* background: linear-gradient(90deg, #5e81e7 0%, #ff3300 100%); */
	border-radius: 1rem 1rem 0 0;
	pointer-events: none;
}

.popular-rank-header {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 0.75rem;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.popular-rank-icon {
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #a8a89e;
	border-radius: 0.5rem;
	flex-shrink: 0;
	color: #5e81e7;
	font-size: 0.9rem;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06);
}

.popular-rank-title {
	flex: 1;
	min-width: 0;
	font-size: 0.9375rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
}
.popular-rank-title a {
	color: #0f172a;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	transition: color 0.2s ease;
}
.popular-rank-title a:hover {
	color: #ff3300;
}

.popular-rank-more {
	color: #64748b;
	padding: 0.25rem 0.35rem;
	border-radius: 0.375rem;
	font-size: 0.85rem;
	transition: color 0.2s ease, background 0.2s ease;
}
.popular-rank-more:hover {
	color: #ff3300;
	background: rgba(255, 51, 0, 0.06);
}

.popular-rank-list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.popular-rank-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	min-height: 2.65rem;
	transition: background-color 0.15s ease;
	border-radius: 0.375rem;
	margin: 0 -0.25rem;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}
.popular-rank-item:last-child {
	border-bottom: none;
}
.popular-rank-item:hover {
	background-color: #dfe1f9;
}
/* 1~3위: 배경 GIF는 latest.skin.php에서 지정 — 글자·메달은 위에 표시 */
.popular-rank-item--top3 {
	position: relative;
	z-index: 0;
}
.popular-rank-item--top3 > * {
	position: relative;
	z-index: 1;
}

.popular-rank-badge {
	flex-shrink: 0;
	width: 30px;
	min-width: 30px; /*2.75rem;*/
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* 1~3위 메달 이모지 — 크게 표시 */
.popular-rank-medal {
	display: inline-block;
	font-size: 1.875rem;
	line-height: 1;
	font-style: normal;
	vertical-align: middle;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) {
	.popular-rank-medal {
		font-size: 2.125rem;
	}
}
.popular-rank-medal--1,
.popular-rank-medal--2,
.popular-rank-medal--3 {
	/* 이모지 자체 색상 사용 */
	filter: drop-shadow(0 1px 1px rgba(17, 17, 17, 0.12));
}

.popular-rank-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.2rem;
	font-size: 0.65rem;
	font-weight: 800;
	color: #334155;
	background: #e7e5e4;
	border: 1px solid #c8c8c0;
	border-radius: 0.35rem;
}

.popular-rank-subject {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: 1;
	min-width: 0;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #1e293b;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.2s ease;
}
.popular-rank-favicon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 0.25rem;
	object-fit: contain;
	background: rgba(15, 23, 42, 0.35);
}
.popular-rank-subject .subject-mobile,
.popular-rank-subject .subject-desktop {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.popular-rank-subject.rank_top {
	color: #c2410c;
	font-weight: 700;
}
.popular-rank-subject.rank_mid {
	color: #1d4ed8;
	font-weight: 600;
}
.popular-rank-subject:hover {
	color: #ff3300;
}

.popular-rank-link-icon {
	flex-shrink: 0;
	color: #5e81e7;
	font-size: 0.75rem;
	opacity: 0.85;
}
.popular-rank-good {
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 700;
	color: #dc2626;
}
.popular-rank-good i {
	margin-right: 3px;
	font-size: 0.68rem;
	opacity: 0.9;
}

.subject-mobile {
	display: inline;
}
.subject-desktop {
	display: none;
}
@media (min-width: 768px) {
	.subject-mobile {
		display: none;
	}
	.subject-desktop {
		display: inline;
	}
}

@media (max-width: 767px) {
	.popular-rank-card {
		padding: 0.875rem 0.875rem 0.875rem;
	}
	.popular-rank-link-icon {
		display: inline-flex;
	}
	.popular-rank-good {
		display: none;
	}
}
@media (min-width: 768px) {
	.popular-rank-link-icon {
		display: none;
	}
	.popular-rank-good {
		display: inline;
	}
}

.popular-rank-empty {
	padding: 1.75rem 0.5rem;
	text-align: center;
	color: #64748b;
	font-size: 0.875rem;
	font-weight: 500;
}

.popular-rank-footer {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.625rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(17, 17, 17, 0.1);
	font-size: 0.8125rem;
	font-weight: 700;
	color: #5e81e7;
	text-decoration: none;
	transition: color 0.2s ease;
}
.popular-rank-footer:hover {
	color: #ff3300;
}
.popular-rank-footer .fa-arrow-right {
	font-size: 0.65rem;
	opacity: 0.85;
}

.ellipsis {
	display: block;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-wrap: normal;
	overflow: hidden;
}

/* ------------------------------------------------------------------
   주소왕(jusoking) — sample.html 카드(글래스) 느낌의 카테고리 랭킹 TOP10
   ------------------------------------------------------------------ */
/* 카테고리별 마스크 아이콘 — PHP: popular-rank-icon-svg--{slug} (inc/popular_rank_icon_map.php) */
.popular-rank-card--jusoking .popular-rank-icon--glass .popular-rank-icon-svg {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	flex-shrink: 0;
	background-color: currentColor;
	/* 슬러그 클래스가 없거나 오타여도 막대 차트가 보이도록 기본 마스크 */
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

/* 공통: WebKit + 표준 mask (Firefox 등) */
.popular-rank-icon-svg--sitemap {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7'%3E%3C/rect%3E%3Crect x='3' y='14' width='7' height='7'%3E%3C/rect%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7'%3E%3C/rect%3E%3Crect x='3' y='14' width='7' height='7'%3E%3C/rect%3E%3C/svg%3E");
}
.popular-rank-icon-svg--convert {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'%3E%3C/circle%3E%3Cpolyline points='21 15 16 10 5 21'%3E%3C/polyline%3E%3C/svg%3E");
}
.popular-rank-icon-svg--tag {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E");
}
.popular-rank-icon-svg--palette {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='6.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Ccircle cx='17.5' cy='10.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Ccircle cx='8.5' cy='7.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Ccircle cx='6.5' cy='12.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z'%3E%3C/path%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13.5' cy='6.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Ccircle cx='17.5' cy='10.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Ccircle cx='8.5' cy='7.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Ccircle cx='6.5' cy='12.5' r='.5' fill='currentColor'%3E%3C/circle%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z'%3E%3C/path%3E%3C/svg%3E");
}
.popular-rank-icon-svg--text {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' y1='10' x2='3' y2='10'%3E%3C/line%3E%3Cline x1='21' y1='6' x2='3' y2='6'%3E%3C/line%3E%3Cline x1='21' y1='14' x2='3' y2='14'%3E%3C/line%3E%3Cline x1='21' y1='18' x2='3' y2='18'%3E%3C/line%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='21' y1='10' x2='3' y2='10'%3E%3C/line%3E%3Cline x1='21' y1='6' x2='3' y2='6'%3E%3C/line%3E%3Cline x1='21' y1='14' x2='3' y2='14'%3E%3C/line%3E%3Cline x1='21' y1='18' x2='3' y2='18'%3E%3C/line%3E%3C/svg%3E");
}
.popular-rank-icon-svg--compress {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 7 4 4 20 4 20 7'%3E%3C/polyline%3E%3Cline x1='9' y1='20' x2='15' y2='20'%3E%3C/line%3E%3Cline x1='12' y1='4' x2='12' y2='20'%3E%3C/line%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 7 4 4 20 4 20 7'%3E%3C/polyline%3E%3Cline x1='9' y1='20' x2='15' y2='20'%3E%3C/line%3E%3Cline x1='12' y1='4' x2='12' y2='20'%3E%3C/line%3E%3C/svg%3E");
}
.popular-rank-icon-svg--star {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
}
.popular-rank-icon-svg--qr {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7'%3E%3C/rect%3E%3Cpath d='M3 14h7v7H3z'%3E%3C/path%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7'%3E%3C/rect%3E%3Cpath d='M3 14h7v7H3z'%3E%3C/path%3E%3C/svg%3E");
}
.popular-rank-icon-svg--image-opt {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'%3E%3C/polyline%3E%3Cpolyline points='17 6 23 6 23 12'%3E%3C/polyline%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'%3E%3C/polyline%3E%3Cpolyline points='17 6 23 6 23 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.popular-rank-icon-svg--link {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'%3E%3C/path%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'%3E%3C/path%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'%3E%3C/path%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'%3E%3C/path%3E%3C/svg%3E");
}
.popular-rank-icon-svg--check {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 11.08 22 2 2 2 2 22 17.5 22'%3E%3C/polyline%3E%3Cpath d='M9 2v20'%3E%3C/path%3E%3Cpath d='M22 22l-6-5.5'%3E%3C/path%3E%3Cpath d='M22 17l-5.5 5.5'%3E%3C/path%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 11.08 22 2 2 2 2 22 17.5 22'%3E%3C/polyline%3E%3Cpath d='M9 2v20'%3E%3C/path%3E%3Cpath d='M22 22l-6-5.5'%3E%3C/path%3E%3Cpath d='M22 17l-5.5 5.5'%3E%3C/path%3E%3C/svg%3E");
}
.popular-rank-icon-svg--code {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'%3E%3C/line%3E%3Cline x1='4' y1='15' x2='20' y2='15'%3E%3C/line%3E%3Cline x1='10' y1='3' x2='8' y2='21'%3E%3C/line%3E%3Cline x1='16' y1='3' x2='14' y2='21'%3E%3C/line%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'%3E%3C/line%3E%3Cline x1='4' y1='15' x2='20' y2='15'%3E%3C/line%3E%3Cline x1='10' y1='3' x2='8' y2='21'%3E%3C/line%3E%3Cline x1='16' y1='3' x2='14' y2='21'%3E%3C/line%3E%3C/svg%3E");
}
.popular-rank-icon-svg--cpu {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Crect x='9' y='9' width='6' height='6'%3E%3C/rect%3E%3Cline x1='9' y1='1' x2='9' y2='4'%3E%3C/line%3E%3Cline x1='15' y1='1' x2='15' y2='4'%3E%3C/line%3E%3Cline x1='9' y1='20' x2='9' y2='23'%3E%3C/line%3E%3Cline x1='15' y1='20' x2='15' y2='23'%3E%3C/line%3E%3Cline x1='20' y1='9' x2='23' y2='9'%3E%3C/line%3E%3Cline x1='20' y1='14' x2='23' y2='14'%3E%3C/line%3E%3Cline x1='1' y1='9' x2='4' y2='9'%3E%3C/line%3E%3Cline x1='1' y1='14' x2='4' y2='14'%3E%3C/line%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Crect x='9' y='9' width='6' height='6'%3E%3C/rect%3E%3Cline x1='9' y1='1' x2='9' y2='4'%3E%3C/line%3E%3Cline x1='15' y1='1' x2='15' y2='4'%3E%3C/line%3E%3Cline x1='9' y1='20' x2='9' y2='23'%3E%3C/line%3E%3Cline x1='15' y1='20' x2='15' y2='23'%3E%3C/line%3E%3Cline x1='20' y1='9' x2='23' y2='9'%3E%3C/line%3E%3Cline x1='20' y1='14' x2='23' y2='14'%3E%3C/line%3E%3Cline x1='1' y1='9' x2='4' y2='9'%3E%3C/line%3E%3Cline x1='1' y1='14' x2='4' y2='14'%3E%3C/line%3E%3C/svg%3E");
}
/* 명시적 폴백(기본 마스크와 동일) */
.popular-rank-icon-svg--chart {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}

.popular-rank-card.popular-rank-card--jusoking {
	position: relative;
	overflow: hidden;
	background: linear-gradient(
		165deg,
		rgba(15, 23, 42, 0.92) 0%,
		rgba(30, 41, 59, 0.75) 45%,
		rgba(15, 23, 42, 0.88) 100%
	);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: var(--radius-btn);
	box-shadow:
		0 0 0 1px rgba(56, 189, 248, 0.06) inset,
		0 12px 40px -18px rgba(0, 0, 0, 0.55),
		0 0 48px -24px rgba(56, 189, 248, 0.25);
	padding: 1.125rem 1.125rem 1rem;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition:
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.popular-rank-card.popular-rank-card--jusoking::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		600px circle at 80% -10%,
		rgba(56, 189, 248, 0.12),
		transparent 45%
	);
	pointer-events: none;
	z-index: 0;
	opacity: 0.9;
	transition: opacity 0.4s ease;
}
.popular-rank-card.popular-rank-card--jusoking:hover {
	border-color: rgba(56, 189, 248, 0.35);
	box-shadow:
		0 0 0 1px rgba(56, 189, 248, 0.12) inset,
		0 20px 50px -20px rgba(0, 0, 0, 0.6),
		0 0 60px -20px rgba(56, 189, 248, 0.35);
	/*transform: translateY(-3px);*/
}
.popular-rank-card.popular-rank-card--jusoking:hover::before {
	opacity: 1;
}
.popular-rank-card.popular-rank-card--jusoking > * {
	position: relative;
	z-index: 1;
}

.popular-rank-card__accent {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(
		90deg,
		#38bdf8 0%,
		#a78bfa 45%,
		#f97316 100%
	);
	border-radius: 1rem 1rem 0 0;
	pointer-events: none;
	z-index: 2;
	box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.popular-rank-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	margin-bottom: 0.65rem;
	gap: 0.5rem;
}

.popular-rank-card--jusoking .popular-rank-icon--glass {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/*width: 2.75rem;*/
	/*height: 2.75rem;*/
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.12),
		rgba(255, 255, 255, 0.04)
	);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0.65rem;
	color: #e2e8f0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transition:
		background 0.35s ease,
		border-color 0.35s ease,
		color 0.35s ease,
		box-shadow 0.35s ease;
}
.popular-rank-card--jusoking:hover .popular-rank-icon--glass {
	background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 55%, #a855f7 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

.popular-rank-card-tag {
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.35rem 0.65rem;
	border-radius: 0.4rem;
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.12);
	border: 1px solid rgba(56, 189, 248, 0.28);
	flex-shrink: 0;
	text-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.popular-rank-card__headline {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
	min-width: 0;
}

.popular-rank-card--jusoking .popular-rank-title {
	flex: 1;
	min-width: 0;
	font-size: 1.0625rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.25;
	margin: 0;
}
.popular-rank-card--jusoking .popular-rank-title a {
	color: #f1f5f9;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.popular-rank-card--jusoking .popular-rank-title a:hover {
	color: #38bdf8;
}

.popular-rank-card--jusoking .popular-rank-more {
	color: #94a3b8;
	padding: 0.35rem 0.45rem;
	border-radius: 0.4rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.popular-rank-card--jusoking .popular-rank-more:hover {
	color: #fb923c;
	background: rgba(249, 115, 22, 0.12);
	border-color: rgba(249, 115, 22, 0.25);
}

.popular-rank-card__lede {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #94a3b8;
	letter-spacing: 0.02em;
}

.popular-rank-card--jusoking .popular-rank-list {
	margin-top: 0.125rem;
}

.popular-rank-card--jusoking .popular-rank-item {
	border-bottom-color: rgba(148, 163, 184, 0.12);
	/*padding: 0.5rem 0.35rem;*/
	border-radius: 0.5rem;
	margin: 0 -0.2rem;
}
.popular-rank-card--jusoking .popular-rank-item:hover {
	background: linear-gradient(
		90deg,
		rgba(56, 189, 248, 0.08) 0%,
		rgba(99, 102, 241, 0.05) 100%
	);
}
.popular-rank-card--jusoking .popular-rank-item:last-child {
	border-bottom: none;
}

.popular-rank-card--jusoking .popular-rank-num {
	color: #cbd5e1;
	background: rgba(30, 41, 59, 0.9);
	border-color: rgba(148, 163, 184, 0.35);
	font-size: 0.65rem;
}

.popular-rank-card--jusoking .popular-rank-subject {
	color: #e2e8f0;
	font-weight: 600;
}
.popular-rank-card--jusoking .popular-rank-subject.rank_top {
	color: #fdba74;
	font-weight: 700;
	font-size: 16px;
}
.popular-rank-card--jusoking .popular-rank-subject.rank_mid {
	color: #7dd3fc;
	font-weight: 600;
}
.popular-rank-card--jusoking .popular-rank-subject:hover {
	color: #38bdf8;
}

.popular-rank-card--jusoking .popular-rank-favicon {
	/*background: rgba(30, 41, 59, 0.65);*/
	/*border: 1px solid rgba(148, 163, 184, 0.2);*/
}

.popular-rank-card--jusoking .popular-rank-link-icon {
	color: #64748b;
}
.popular-rank-card--jusoking .popular-rank-item:hover .popular-rank-link-icon {
	color: #38bdf8;
}

.popular-rank-card--jusoking .popular-rank-good {
	color: #03c8d3;
}
.popular-rank-card--jusoking .popular-rank-good i {
	color: #f43f5e;
}

.popular-rank-card--jusoking .popular-rank-empty {
	color: #94a3b8;
	padding: 1.5rem 0.5rem;
}

.popular-rank-card--jusoking .popular-rank-footer {
	margin-top: 0.5rem;
	padding-top: 0.75rem;
	border-top-color: rgba(148, 163, 184, 0.15);
	color: #38bdf8;
	font-weight: 800;
	letter-spacing: 0.02em;
}
.popular-rank-card--jusoking .popular-rank-footer:hover {
	color: #fb923c;
}

@media (max-width: 767px) {
	.popular-rank-card.popular-rank-card--jusoking {
		padding: 1rem 0.9rem 0.9rem;
	}
	.popular-rank-card--jusoking .popular-rank-icon--glass {
		/*width: 2.5rem;*/
		/*height: 2.5rem;*/
		font-size: 0.9rem;
	}
}
