:root {
	--dtv-creator-primary: #7c3aed;
	--dtv-creator-secondary: #ec4899;
	--dtv-creator-surface: #111118;
	--dtv-creator-muted: #92929c;
}

body.dtv-public-creator-page {
	background:
		radial-gradient(circle at 12% 10%, rgba(124, 58, 237, 0.12), transparent 30%),
		radial-gradient(circle at 88% 24%, rgba(236, 72, 153, 0.08), transparent 28%),
		#08080c;
}

body.dtv-public-creator-page .dtv-main {
	padding: calc(var(--dtv-header-height) + 24px) 0 calc(var(--dtv-bottom-nav-height) + 55px);
}

.dtv-creator-shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	display: grid;
	gap: 22px;
}

.dtv-creator-hero {
	position: relative;
	overflow: hidden;
	min-height: 380px;
	padding: clamp(28px, 6vw, 72px);
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(24px, 5vw, 54px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 34px;
	background:
		radial-gradient(circle at 82% 20%, rgba(236, 72, 153, 0.31), transparent 25%),
		radial-gradient(circle at 18% 82%, rgba(124, 58, 237, 0.38), transparent 35%),
		linear-gradient(145deg, #171321, #0d0d13 70%);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
	isolation: isolate;
}

.dtv-creator-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.05), transparent 55%);
}

.dtv-creator-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: -2;
	opacity: 0.12;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.dtv-creator-avatar-wrap {
	position: relative;
	width: clamp(135px, 16vw, 205px);
	aspect-ratio: 1;
	padding: 5px;
	border-radius: 50%;
	background: linear-gradient(135deg, #a78bfa, #ec4899, #f59e0b);
	box-shadow: 0 24px 65px rgba(124, 58, 237, 0.34);
}

.dtv-creator-avatar {
	width: 100%;
	height: 100%;
	border: 6px solid #111118;
	border-radius: 50%;
	object-fit: cover;
}

.dtv-creator-badge {
	position: absolute;
	right: 7%;
	bottom: 8%;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 4px solid #111118;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed, #ec4899);
	color: #fff;
	font-weight: 900;
}

.dtv-creator-identity {
	min-width: 0;
}

.dtv-creator-eyebrow {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 7px 11px;
	border: 1px solid rgba(196, 181, 253, 0.18);
	border-radius: 999px;
	background: rgba(124, 58, 237, 0.1);
	color: #d8b4fe;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.dtv-creator-identity h1 {
	margin: 0;
	font-size: clamp(2.7rem, 7vw, 6.2rem);
	line-height: 0.9;
	letter-spacing: -0.072em;
	overflow-wrap: anywhere;
}

.dtv-creator-handle {
	margin: 12px 0 0;
	color: #c4b5fd;
	font-size: clamp(0.9rem, 2vw, 1.08rem);
	font-weight: 800;
}

.dtv-creator-bio {
	max-width: 650px;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.88rem;
	line-height: 1.72;
}

.dtv-creator-bio--muted {
	color: #7f7f89;
}

.dtv-creator-member-since {
	margin-top: 19px;
	display: flex;
	align-items: center;
	gap: 9px;
	color: #85858f;
	font-size: 0.72rem;
}

.dtv-creator-member-since span {
	width: 27px;
	height: 27px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.05);
	color: #c4b5fd;
}

.dtv-creator-actions {
	width: min(100%, 220px);
	display: grid;
	gap: 11px;
}

.dtv-creator-follow-button,
.dtv-creator-share-button {
	min-height: 52px;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-radius: 15px;
	font-weight: 800;
	cursor: pointer;
}

.dtv-creator-follow-button {
	border: 0;
	background: linear-gradient(135deg, var(--dtv-creator-primary), var(--dtv-creator-secondary));
	color: #fff;
	box-shadow: 0 15px 38px rgba(124, 58, 237, 0.3);
}

.dtv-creator-follow-button.is-following {
	border: 1px solid rgba(167, 139, 250, 0.25);
	background: rgba(124, 58, 237, 0.11);
	color: #d8b4fe;
	box-shadow: none;
}

.dtv-creator-follow-button.is-self {
	justify-content: space-between;
}

.dtv-creator-follow-button:disabled {
	opacity: 0.62;
	cursor: wait;
}

.dtv-creator-follow-button b {
	width: 29px;
	height: 29px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
}

.dtv-creator-share-button {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.035);
	color: #c4c4cc;
}

.dtv-creator-share-button span {
	color: #c4b5fd;
}

.dtv-creator-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 23px;
	background: #111118;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.dtv-creator-stats > div {
	min-height: 115px;
	padding: 20px;
	display: grid;
	place-content: center;
	text-align: center;
}

.dtv-creator-stats > div + div {
	border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.dtv-creator-stats strong {
	display: block;
	font-size: clamp(1.5rem, 4vw, 2.35rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.dtv-creator-stats span {
	margin-top: 8px;
	color: #7f7f89;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.09em;
}

.dtv-creator-videos {
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 27px;
	background: rgba(17, 17, 24, 0.88);
	box-shadow: 0 24px 65px rgba(0, 0, 0, 0.27);
}

.dtv-creator-section-heading {
	margin-bottom: 24px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 22px;
}

.dtv-creator-section-heading span {
	display: block;
	margin-bottom: 6px;
	color: #c4b5fd;
	font-size: 0.67rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.dtv-creator-section-heading h2 {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 3rem);
	letter-spacing: -0.05em;
}

.dtv-creator-section-heading > p {
	margin: 0;
	color: #777781;
	font-size: 0.75rem;
}

.dtv-creator-video-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 17px;
}

.dtv-creator-video-card {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 19px;
	background: #0d0d13;
	transition: transform 180ms ease, border-color 180ms ease;
}

.dtv-creator-video-card:hover {
	transform: translateY(-4px);
	border-color: rgba(167, 139, 250, 0.3);
}

.dtv-creator-video-media {
	position: relative;
	overflow: hidden;
	display: block;
	aspect-ratio: 9 / 13;
	background: #08080c;
}

.dtv-creator-video-thumb,
.dtv-creator-video-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 280ms ease;
}

.dtv-creator-video-placeholder {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 70% 20%, rgba(236, 72, 153, 0.38), transparent 28%),
		linear-gradient(145deg, #261342, #090a10);
	font-size: 1.7rem;
}

.dtv-creator-video-card:hover .dtv-creator-video-thumb {
	transform: scale(1.045);
}

.dtv-creator-video-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 45%);
}

.dtv-creator-video-play {
	position: absolute;
	z-index: 2;
	left: 13px;
	bottom: 13px;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	padding-left: 3px;
	border: 1px solid rgba(255, 255, 255, 0.17);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(12px);
}

.dtv-creator-video-media > small {
	position: absolute;
	z-index: 2;
	right: 12px;
	bottom: 15px;
	padding: 6px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.38);
	color: #fff;
	font-size: 0.62rem;
	backdrop-filter: blur(12px);
}

.dtv-creator-video-copy {
	padding: 14px;
}

.dtv-creator-video-copy h3 {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.4;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.dtv-creator-video-copy p {
	overflow: hidden;
	margin: 8px 0 0;
	color: #73737d;
	font-size: 0.63rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dtv-creator-empty {
	min-height: 380px;
	padding: 35px 20px;
	display: grid;
	place-items: center;
	align-content: center;
	text-align: center;
}

.dtv-creator-empty > div {
	width: 78px;
	height: 78px;
	display: grid;
	place-items: center;
	border-radius: 25px;
	background: linear-gradient(135deg, rgba(124, 58, 237, 0.17), rgba(236, 72, 153, 0.11));
	color: #d8b4fe;
	font-size: 1.6rem;
}

.dtv-creator-empty h2 {
	margin: 19px 0 7px;
}

.dtv-creator-empty p {
	margin: 0;
	color: #7d7d87;
	font-size: 0.78rem;
}

.dtv-creator-empty a {
	margin-top: 19px;
	color: #c4b5fd;
	font-size: 0.76rem;
	font-weight: 800;
}

.dtv-creator-pagination {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.dtv-creator-pagination .page-numbers {
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 11px;
	background: #0d0d13;
	color: #92929c;
	font-size: 0.72rem;
	font-weight: 800;
}

.dtv-creator-pagination .page-numbers.current,
.dtv-creator-pagination .page-numbers:hover {
	border-color: transparent;
	background: linear-gradient(135deg, #7c3aed, #ec4899);
	color: #fff;
}

.dtv-creator-toast {
	position: fixed;
	z-index: 120;
	left: 50%;
	bottom: calc(88px + env(safe-area-inset-bottom));
	max-width: calc(100% - 32px);
	padding: 11px 16px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: rgba(17, 17, 24, 0.95);
	color: #fff;
	font-size: 0.76rem;
	opacity: 0;
	transform: translate(-50%, 12px);
	pointer-events: none;
	transition: opacity 180ms ease, transform 180ms ease;
	backdrop-filter: blur(18px);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.32);
}

.dtv-creator-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

@media (max-width: 1040px) {
	.dtv-creator-hero {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.dtv-creator-actions {
		width: 100%;
		grid-column: 1 / -1;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dtv-creator-video-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	body.dtv-public-creator-page .dtv-main {
		padding-top: calc(var(--dtv-header-height) + 8px);
	}

	.dtv-creator-shell {
		width: min(100% - 20px, 1180px);
	}

	.dtv-creator-hero {
		min-height: 0;
		padding: 30px 20px;
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		border-radius: 26px;
	}

	.dtv-creator-avatar-wrap {
		width: 142px;
	}

	.dtv-creator-identity h1 {
		font-size: clamp(2.7rem, 15vw, 4.6rem);
	}

	.dtv-creator-member-since {
		justify-content: center;
	}

	.dtv-creator-actions {
		grid-column: auto;
		width: 100%;
	}

	.dtv-creator-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dtv-creator-stats > div {
		min-height: 95px;
	}

	.dtv-creator-stats > div:nth-child(3) {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.07);
	}

	.dtv-creator-stats > div:nth-child(4) {
		border-top: 1px solid rgba(255, 255, 255, 0.07);
	}

	.dtv-creator-section-heading {
		align-items: start;
		display: grid;
	}

	.dtv-creator-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 11px;
	}

	.dtv-creator-videos {
		padding: 18px;
	}

	.dtv-creator-video-card {
		border-radius: 16px;
	}
}

@media (max-width: 390px) {
	.dtv-creator-actions {
		grid-template-columns: 1fr;
	}

	.dtv-creator-video-grid {
		grid-template-columns: 1fr;
	}

	.dtv-creator-video-media {
		aspect-ratio: 9 / 12;
	}
}
