.smi-profile-feed {
	--smi-text: #ffffff;
	--smi-muted: rgba(255, 255, 255, 0.68);
	--smi-line: #dbdbdb;
	--smi-blue: #0095f6;
	--smi-blue-dark: #1877f2;
	--smi-surface: #070707;
	--smi-soft: rgba(255, 255, 255, 0.08);
	width: 100%;
}

.smi-profile-feed * {
	box-sizing: border-box;
}

.smi-profile-header {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 22px;
	overflow: hidden;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 26px;
	background:
		radial-gradient(circle at 10% 0%, rgba(214, 41, 118, 0.26), transparent 30%),
		radial-gradient(circle at 88% 18%, rgba(79, 91, 213, 0.2), transparent 32%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%),
		var(--smi-surface);
	color: var(--smi-text);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
	isolation: isolate;
}

.smi-profile-header::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
	z-index: 0;
}

.smi-profile-header::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 38%);
	pointer-events: none;
	z-index: -1;
}

.smi-profile-header__avatar {
	width: clamp(70px, 8vw, 96px);
	height: clamp(70px, 8vw, 96px);
	padding: 4px;
	border-radius: 50%;
	background: conic-gradient(from 180deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
	z-index: 1;
}

.smi-profile-header__avatar img,
.smi-profile-header__avatar span {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border: 4px solid #0a0a0a;
	border-radius: 50%;
	background: #151515;
	color: #ffffff;
	font-size: 26px;
	font-weight: 800;
	object-fit: cover;
}

.smi-profile-header__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	z-index: 1;
}

.smi-profile-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
}

.smi-profile-header__identity {
	min-width: 0;
}

.smi-profile-header__eyebrow {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: 6px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	line-height: 1;
	text-transform: uppercase;
}

.smi-profile-header__identity h2 {
	margin: 0;
	color: #ffffff !important;
	font-size: clamp(27px, 4vw, 46px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.035em;
	overflow-wrap: anywhere;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.smi-profile-header__stats {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--smi-muted);
	font-size: 15px;
	line-height: 1.1;
}

.smi-profile-header__stats span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 15px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.smi-profile-header__stats strong {
	margin-right: 5px;
	color: #ffffff;
	font-weight: 800;
}

.smi-profile-header a.smi-profile-header__follow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	flex: 0 0 auto;
	min-height: 46px;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, var(--smi-blue), var(--smi-blue-dark)) !important;
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: 0 14px 30px rgba(0, 149, 246, 0.32);
	transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.smi-profile-header a.smi-profile-header__follow:hover,
.smi-profile-header a.smi-profile-header__follow:focus {
	color: #ffffff !important;
	transform: translateY(-1px);
	text-decoration: none !important;
	filter: saturate(1.08);
	box-shadow: 0 18px 34px rgba(0, 149, 246, 0.42);
}

.smi-profile-header__follow-icon {
	position: relative;
	width: 21px;
	height: 21px;
	border: 2px solid currentColor;
	border-radius: 6px;
	color: inherit;
}

.smi-profile-header__follow-icon::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border: 2px solid currentColor;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.smi-profile-header__follow-icon::after {
	content: "";
	position: absolute;
	top: 4px;
	right: 4px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
}

.smi-feed {
	display: grid;
	gap: 16px;
	margin-top: 26px;
}

.smi-columns-1 {
	grid-template-columns: 1fr;
}

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

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

.smi-columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.smi-card {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	background: #f4f4f4;
}

.smi-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, #f6f1ea 0%, #e7ddd0 100%);
}

.smi-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.32));
	opacity: 0;
	transition: opacity 180ms ease;
}

.smi-card__media:hover::after,
.smi-card__media:focus::after {
	opacity: 1;
}

.smi-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 220ms ease;
}

.smi-card__media:hover img,
.smi-card__media:focus img {
	transform: scale(1.03);
}

.smi-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #40372f;
}

.smi-card__badge {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 1;
	padding: 6px 9px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.72);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.smi-card__body {
	padding: 14px 0 0;
}

.smi-card__username,
.smi-card__date {
	margin: 0;
	color: var(--smi-muted);
	font-size: 13px;
}

.smi-card__caption {
	margin: 8px 0 0;
	color: var(--smi-text);
	font-size: 15px;
	line-height: 1.5;
}

.smi-card__date {
	margin-top: 8px;
}

@media (max-width: 1024px) {
	.smi-profile-header {
		gap: 18px;
		padding: 22px;
	}

	.smi-columns-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.smi-profile-header {
		grid-template-columns: auto 1fr;
		padding: 20px;
	}

	.smi-profile-header__top {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.smi-profile-header__stats {
		gap: 16px;
		font-size: 14px;
	}

	.smi-profile-header a.smi-profile-header__follow {
		min-height: 42px;
		padding-inline: 18px !important;
	}

	.smi-columns-2,
	.smi-columns-3,
	.smi-columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.smi-feed {
		gap: 10px;
	}

	.smi-profile-header__avatar {
		width: 68px;
		height: 68px;
	}

	.smi-profile-header {
		grid-template-columns: 1fr;
	}

	.smi-profile-header__avatar {
		width: 74px;
		height: 74px;
	}

	.smi-profile-header a.smi-profile-header__follow {
		width: 100%;
	}

	.smi-profile-header__stats {
		flex-wrap: wrap;
		line-height: 1.35;
	}
}
