.dxe-social-ranking,
.dxe-social-ranking * {
	box-sizing: border-box;
}

.dxe-social-ranking {
	--dxe-teal: #087f83;
	--dxe-teal-dark: #075f63;
	--dxe-phone: #141516;
	--dxe-screen: #2e3030;
	--dxe-line: rgba(255,255,255,.12);
	--dxe-muted: rgba(255,255,255,.72);
	width: 100%;
	margin: 28px auto;
	font-family: inherit;
}

.dxe-phone-shell {
	position: relative;
	width: min(100%, 440px);
	margin: 0 auto;
	padding: 10px;
	border-radius: 48px;
	background: var(--dxe-phone);
	box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 6px 18px rgba(0,0,0,.14);
	overflow: hidden;
}

.dxe-phone-shell::before {
	content: "";
	position: absolute;
	inset: 6px;
	z-index: 0;
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 42px;
	pointer-events: none;
}

.dxe-phone-topbar {
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 8;
	width: 108px;
	height: 28px;
	transform: translateX(-50%);
	border-radius: 0 0 17px 17px;
	background: var(--dxe-phone);
}

.dxe-phone-speaker {
	position: absolute;
	top: 10px;
	left: 50%;
	width: 38px;
	height: 4px;
	transform: translateX(-50%);
	border-radius: 999px;
	background: #4d4f56;
}

.dxe-app-header,
.dxe-slider-viewport,
.dxe-phone-footer,
.dxe-progress {
	position: relative;
	z-index: 2;
}

.dxe-app-header {
	display: grid;
	grid-template-columns: auto minmax(0,1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 96px;
	padding: 26px 18px 12px;
	border-radius: 38px 38px 0 0;
	background: var(--dxe-screen);
	color: #fff;
}

.dxe-avatar {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 3px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ffb000, #f5007b 48%, #00b5c5);
	box-shadow: 0 0 0 1px rgba(255,255,255,.32);
	overflow: hidden;
}

.dxe-avatar::after {
	content: "";
	position: absolute;
	inset: 4px;
	border: 2px solid var(--dxe-screen);
	border-radius: inherit;
	pointer-events: none;
}

.dxe-avatar img,
.dxe-avatar > span {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.dxe-avatar img {
	object-fit: cover;
}

.dxe-avatar > span {
	display: grid;
	place-items: center;
	background: var(--dxe-teal);
	color: #fff;
	font-size: 20px;
	font-weight: 800;
}

.dxe-app-user {
	min-width: 0;
}

.dxe-app-user > a {
	display: block;
	width: fit-content;
	max-width: 100%;
	color: #fff;
	text-decoration: none;
}

.dxe-app-user strong {
	display: block;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dxe-app-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 3px 12px;
	margin-top: 6px;
	color: var(--dxe-muted);
	font-size: 11px;
	line-height: 1.35;
}

.dxe-app-meta span {
	position: relative;
}

.dxe-app-meta span + span::before {
	content: "•";
	position: absolute;
	left: -8px;
	color: rgba(255,255,255,.35);
}

.dxe-network-pill {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 50%;
	background: var(--dxe-teal);
	color: #fff;
	box-shadow: 0 5px 14px rgba(0,0,0,.15);
	text-decoration: none;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.dxe-network-pill[href]:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.dxe-network-pill[href]:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.dxe-network-pill svg {
	width: 25px;
	height: 25px;
}

.dxe-network-youtube .dxe-network-pill {
	background: #d90000;
}

.dxe-network-x .dxe-network-pill {
	background: #080808;
}

.dxe-network-facebook .dxe-network-pill {
	background: #1877f2;
}

.dxe-progress {
	display: flex;
	gap: 5px;
	padding: 0 16px 9px;
	background: var(--dxe-screen);
}

.dxe-progress-item {
	position: relative;
	flex: 1 1 0;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,.18);
	cursor: pointer;
	overflow: hidden;
}

.dxe-progress-item span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: #fff;
	transition: width .28s ease;
}

.dxe-progress-item.is-past span,
.dxe-progress-item.is-active span {
	width: 100%;
}

.dxe-progress-item:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.dxe-slider-viewport {
	height: clamp(500px, 63vh, 580px);
	background: var(--dxe-screen);
	overflow: hidden;
	touch-action: pan-y;
}

.dxe-slider-track {
	display: flex;
	height: 100%;
	transition: transform .42s cubic-bezier(.22,.61,.36,1);
	will-change: transform;
}

.dxe-ranking-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	min-width: 0;
	color: #fff;
}

.dxe-slide-scroll {
	height: 100%;
	padding: 10px 16px 18px;
	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: none;
	overscroll-behavior: contain;
}

.dxe-slide-scroll::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.dxe-rank-header {
	padding: 5px 8px 10px;
	text-align: center;
}

.dxe-rank-heading-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 0;
}

.dxe-rank-badge {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 50%;
	background: var(--dxe-teal);
	color: #fff;
	font-size: 22px;
	font-weight: 850;
	line-height: 1;
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.dxe-rank-header h3 {
	min-width: 0;
	margin: 0;
	color: #fff;
	font-size: clamp(21px, 4.8vw, 27px);
	font-weight: 400;
	line-height: 1.16;
	letter-spacing: -.02em;
	text-align: left;
}

.dxe-rank-header h3 strong,
.dxe-rank-header h3 b {
	font-weight: 850;
}

.dxe-rank-header p {
	margin: 6px 0 0;
	color: var(--dxe-muted);
	font-size: 12px;
}

.dxe-embed-wrap {
	width: 100%;
	min-height: 180px;
	margin: 0 auto;
	border-radius: 4px;
	background: #fff;
	color: #111;
	overflow: hidden;
}

.dxe-embed-wrap > iframe,
.dxe-embed-wrap iframe {
	display: block;
	max-width: 100% !important;
	margin: 0 auto !important;
	border: 0 !important;
}

.dxe-embed-x .twitter-tweet {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.dxe-embed-instagram iframe,
.dxe-embed-x iframe {
	width: 100% !important;
	min-width: 0 !important;
}

.dxe-embed-instagram {
	--dxe-instagram-scale: .76;
	min-height: 0;
	background: #2e3030;
}

.dxe-instagram-frame {
	position: relative;
	width: 100%;
	height: 433px;
	min-height: 0;
	background: #2e3030;
	overflow: hidden;
}

.dxe-instagram-scale {
	width: 100%;
	height: 570px;
	transform: scale(var(--dxe-instagram-scale));
	transform-origin: top center;
}

.dxe-instagram-frame iframe {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 570px;
	background: #2e3030;
	overflow: hidden !important;
}

.dxe-embed-fallback {
	margin: 0;
	padding: 6px 10px 8px;
	border-top: 1px solid rgba(255,255,255,.1);
	background: #2e3030;
	color: #fff;
	font-size: 11px;
	line-height: 1.3;
	text-align: center;
}

.dxe-embed-fallback a {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.dxe-embed-fallback a:hover,
.dxe-embed-fallback a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dxe-youtube-ratio {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.dxe-youtube-ratio iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.dxe-youtube-ratio.dxe-youtube-short {
	aspect-ratio: 9 / 16;
}

.dxe-facebook-embed {
	width: 100% !important;
	height: 560px;
}

.dxe-editorial-metrics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
	padding: 12px 8px 2px;
	color: rgba(255,255,255,.78);
	font-size: 11px;
	line-height: 1.35;
}

.dxe-editorial-metrics b {
	color: #fff;
}

.dxe-embed-error {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 28px 20px;
	text-align: center;
}

.dxe-embed-error strong {
	font-size: 15px;
}

.dxe-embed-error span {
	color: #62666a;
	font-size: 12px;
	line-height: 1.45;
}

.dxe-embed-error a {
	display: inline-flex;
	justify-self: center;
	margin-top: 4px;
	color: var(--dxe-teal-dark);
	font-size: 12px;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dxe-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 7;
	display: grid;
	place-items: center;
	width: 36px;
	height: 58px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 8px;
	background: rgba(0,0,0,.24);
	color: rgba(255,255,255,.78);
	font: inherit;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.dxe-slider-arrow:hover,
.dxe-slider-arrow:focus-visible {
	background: rgba(0,0,0,.52);
	color: #fff;
}

.dxe-slider-arrow span {
	font-size: 36px;
	line-height: 1;
}

.dxe-slider-prev {
	left: 12px;
}

.dxe-slider-next {
	right: 12px;
}

.dxe-slider-arrow[disabled] {
	opacity: .2;
	cursor: default;
}

.dxe-phone-footer {
	border-radius: 0 0 38px 38px;
	overflow: hidden;
}

.dxe-source-line {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2px 8px;
	min-height: 25px;
	padding: 5px 12px;
	background: #262828;
	color: rgba(255,255,255,.68);
	font-size: 8px;
	line-height: 1.2;
	text-align: center;
}

.dxe-source-line a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dxe-brand-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 48px;
	padding: 8px 16px;
	background: var(--dxe-teal-dark);
	color: #fff;
}

.dxe-brand-strip span {
	font-size: 9px;
	opacity: .78;
}

.dxe-brand-strip strong {
	font-size: 9px;
	line-height: .95;
	text-align: right;
	letter-spacing: .09em;
}

.dxe-ranking-error {
	padding: 12px 16px;
	border-left: 4px solid #d63638;
	background: #fff;
}

@media (max-width: 520px) {
	.dxe-social-ranking {
		margin: 18px auto;
	}

	.dxe-phone-shell {
		width: min(100%, 390px);
		padding: 7px;
		border-radius: 38px;
	}

	.dxe-phone-shell::before {
		inset: 4px;
		border-radius: 34px;
	}

	.dxe-phone-topbar {
		top: 7px;
		width: 94px;
		height: 25px;
	}

	.dxe-app-header {
		min-height: 88px;
		padding: 24px 14px 10px;
		border-radius: 31px 31px 0 0;
	}

	.dxe-avatar {
		width: 52px;
		height: 52px;
	}

	.dxe-network-pill {
		width: 42px;
		height: 42px;
	}

	.dxe-network-pill svg {
		width: 22px;
		height: 22px;
	}

	.dxe-app-user strong {
		font-size: 15px;
	}

	.dxe-app-meta {
		font-size: 10px;
	}

	.dxe-progress {
		padding: 0 13px 8px;
	}

	.dxe-slider-viewport {
		height: min(545px, calc(100svh - 185px));
		min-height: 430px;
	}

	.dxe-slide-scroll {
		padding: 8px 12px 14px;
	}

	.dxe-rank-heading-row {
		gap: 9px;
	}

	.dxe-rank-badge {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}

	.dxe-rank-header h3 {
		font-size: 21px;
	}

	.dxe-slider-arrow {
		width: 30px;
		height: 50px;
	}

	.dxe-slider-prev {
		left: 7px;
	}

	.dxe-slider-next {
		right: 7px;
	}

	.dxe-phone-footer {
		border-radius: 0 0 31px 31px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dxe-slider-track,
	.dxe-progress-item span,
	.dxe-slider-arrow {
		transition: none;
	}
}
