/**
 * Sociq Profile Modern Redesign: /id{id}
 */

/* ========================================================================= */
/* 1. HERO CARD & COVER                                                      */
/* ========================================================================= */
.profile-hero-card {
	border-radius: 18px !important;
	overflow: visible !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	margin-bottom: 24px;
	position: relative;
}

html[data-bs-theme="dark"] .profile-hero-card {
	background: #161b26;
	border-color: #2a3141;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.profile-cover-wrapper {
	position: relative;
	width: 100%;
	height: 260px;
	background: #cbd5e1;
	overflow: hidden;
	border-top-left-radius: 18px;
	border-top-right-radius: 18px;
}

@media (max-width: 768px) {
	.profile-cover-wrapper {
		height: 160px;
	}
}

.profile-cover-image {
	width: 100%;
	height: 100%;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	transition: transform 0.3s ease;
}

.profile-cover-wrapper::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
	pointer-events: none;
}

.profile-cover-edit-btn {
	position: absolute;
	top: 16px;
	right: 16px;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(8px);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 30px;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 14px;
	z-index: 5;
	transition: all 0.2s ease;
}

.profile-cover-edit-btn:hover {
	background: rgba(15, 23, 42, 0.85);
	color: #38bdf8;
	transform: scale(1.02);
}

/* ========================================================================= */
/* 2. HERO BODY & DETAILS                                                    */
/* ========================================================================= */
.profile-hero-body {
	padding: 0 28px 20px;
	position: relative;
	overflow: visible !important;
}

@media (max-width: 768px) {
	.profile-hero-body {
		padding: 0 16px 16px;
	}
}

.profile-hero-main-row {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	margin-top: -60px;
	margin-bottom: 20px;
	position: relative;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.profile-hero-main-row {
		margin-top: -45px;
		gap: 16px;
	}
}

/* Avatar */
.profile-hero-avatar {
	position: relative;
	flex: 0 0 auto;
	width: 120px;
	height: 120px;
}

@media (max-width: 768px) {
	.profile-hero-avatar {
		width: 88px;
		height: 88px;
	}
}

.profile-hero-avatar .image {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 4px solid #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	background-size: cover;
	background-position: center;
	background-color: #f1f5f9;
	cursor: pointer;
}

html[data-bs-theme="dark"] .profile-hero-avatar .image {
	border-color: #161b26;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.profile-avatar-edit-btn {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #2563eb;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	font-size: 14px;
	padding: 0;
	transition: transform 0.2s ease, background 0.2s ease;
}

.profile-avatar-edit-btn:hover {
	background: #1d4ed8;
	transform: scale(1.08);
	color: #ffffff;
}

/* Info: Name, Status, Chips */
.profile-hero-info {
	flex: 1 1 320px;
	padding-top: 10px;
}

.profile-hero-name-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 6px;
}

.profile-hero-name {
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
}

html[data-bs-theme="dark"] .profile-hero-name {
	color: #f1f5f9;
}

.profile-hero-badges {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.profile-hero-status {
	font-size: 14px;
	color: #64748b;
	line-height: 1.4;
	margin-bottom: 10px;
	font-style: italic;
	display: flex;
	align-items: center;
	gap: 6px;
}

html[data-bs-theme="dark"] .profile-hero-status {
	color: #94a3b8;
}

.profile-hero-meta-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.profile-meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 20px;
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #e2e8f0;
	text-decoration: none;
	transition: background 0.2s ease;
}

.profile-meta-chip a {
	color: inherit;
	text-decoration: none;
}

html[data-bs-theme="dark"] .profile-meta-chip {
	background: #1c2230;
	border-color: #2a3141;
	color: #94a3b8;
}

.profile-meta-chip.is-action {
	cursor: pointer;
	border: 1px solid #cbd5e1;
	background: #ffffff;
}

.profile-meta-chip.is-action:hover {
	background: #eff6ff;
	color: #2563eb;
	border-color: #bfdbfe;
}

html[data-bs-theme="dark"] .profile-meta-chip.is-action {
	background: #161b26;
	border-color: #2a3141;
}

.profile-meta-chip.is-online {
	background: #ecfdf5;
	color: #059669;
	border-color: #a7f3d0;
}

.profile-status-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	display: inline-block;
}

/* Action Buttons */
.profile-hero-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-left: auto;
}

@media (max-width: 768px) {
	.profile-hero-actions {
		width: 100%;
		margin-left: 0;
		margin-top: 10px;
	}
}

.profile-action-btn {
	border-radius: 24px;
	font-weight: 600;
	font-size: 14px;
	padding: 7px 18px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

/* ========================================================================= */
/* 3. HORIZONTAL STATS RIBBON (COUNTERS)                                    */
/* ========================================================================= */
.profile-hero-stats-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	overflow-x: auto;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
	scrollbar-width: none;
}

.profile-hero-stats-bar::-webkit-scrollbar {
	display: none;
}

html[data-bs-theme="dark"] .profile-hero-stats-bar {
	border-top-color: #242c3d;
}

.profile-counter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
	font-size: 13px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.profile-counter:hover {
	background: #eff6ff;
	color: #2563eb;
	border-color: #bfdbfe;
	transform: translateY(-1px);
}

.profile-counter b {
	font-size: 14px;
	color: #0f172a;
}

html[data-bs-theme="dark"] .profile-counter {
	background: #1c2230;
	border-color: #2a3141;
	color: #94a3b8;
}

html[data-bs-theme="dark"] .profile-counter b {
	color: #f1f5f9;
}

html[data-bs-theme="dark"] .profile-counter:hover {
	background: #252e42;
	color: #38bdf8;
	border-color: #38bdf8;
}

/* ========================================================================= */
/* 4. MODERN TABS NAVIGATION                                                 */
/* ========================================================================= */
.profile-nav-tabs-wrapper {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	padding: 6px 10px;
	margin-bottom: 24px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	transition: all 0.25s ease;
}

.profile-nav-mode-dropdown-wrap {
	display: none !important;
}

@media (min-width: 992px) {
	.profile-nav-mode-dropdown-wrap {
		display: inline-flex !important;
		align-items: center;
		flex-shrink: 0;
	}
}

.profile-nav-mode-btn {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #64748b;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.profile-nav-mode-btn:hover {
	background: #eff6ff;
	color: #2563eb;
	border-color: #bfdbfe;
	transform: scale(1.04);
}

html[data-bs-theme="dark"] .profile-nav-mode-btn {
	background: #1c2230;
	border-color: #2a3141;
	color: #94a3b8;
}

html[data-bs-theme="dark"] .profile-nav-mode-btn:hover {
	background: #252e42;
	color: #38bdf8;
	border-color: #38bdf8;
}

.profile-nav-mode-menu {
	min-width: 230px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #ffffff;
	padding: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.profile-nav-mode-menu .dropdown-header {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #64748b;
	padding: 6px 10px;
}

.profile-nav-mode-menu .dropdown-item {
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 500;
	color: #334155 !important;
	display: flex;
	align-items: center;
	transition: all 0.15s ease;
	background: transparent;
	border: none;
	width: 100%;
	text-align: left;
}

.profile-nav-mode-menu .dropdown-item i {
	font-size: 15px;
	color: #64748b;
	transition: color 0.15s ease;
}

.profile-nav-mode-menu .dropdown-item:hover,
.profile-nav-mode-menu .dropdown-item:focus {
	background: #eff6ff !important;
	color: #1d4ed8 !important;
}

.profile-nav-mode-menu .dropdown-item:hover i,
.profile-nav-mode-menu .dropdown-item:focus i {
	color: #2563eb !important;
}

.profile-nav-mode-menu .dropdown-item.active,
.profile-nav-mode-menu .dropdown-item:active {
	background: #2563eb !important;
	color: #ffffff !important;
	font-weight: 600;
}

.profile-nav-mode-menu .dropdown-item.active i,
.profile-nav-mode-menu .dropdown-item:active i {
	color: #ffffff !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu {
	background: #1e2430 !important;
	border-color: #2e384d !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-header {
	color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item {
	color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item i {
	color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item:hover,
html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item:focus {
	background: #252e42 !important;
	color: #ffffff !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item:hover i,
html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item:focus i {
	color: #38bdf8 !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item.active,
html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item:active {
	background: #2563eb !important;
	color: #ffffff !important;
}

html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item.active i,
html[data-bs-theme="dark"] .profile-nav-mode-menu .dropdown-item:active i {
	color: #ffffff !important;
}

/* ========================================================================= */
/* ВЕРТИКАЛЬНЫЙ РЕЖИМ (СЛЕВА И СПРАВА) С ПЛАВАНИЕМ (STICKY)                  */
/* ========================================================================= */
@media (min-width: 992px) {
	/* Вертикальный режим: Слева */
	.profile-layout.nav-mode-vertical-left {
		display: flex !important;
		flex-direction: row !important;
		gap: 24px !important;
		align-items: flex-start !important;
	}

	/* Вертикальный режим: Справа */
	.profile-layout.nav-mode-vertical-right {
		display: flex !important;
		flex-direction: row-reverse !important;
		gap: 24px !important;
		align-items: flex-start !important;
	}

	/* Стили плавающей вертикальной панели */
	.profile-layout.nav-mode-vertical-left .profile-nav-tabs-wrapper,
	.profile-layout.nav-mode-vertical-right .profile-nav-tabs-wrapper {
		width: 250px !important;
		flex-shrink: 0 !important;
		position: sticky !important;
		top: 76px !important;
		z-index: 40 !important;
		flex-direction: column !important;
		align-items: stretch !important;
		padding: 14px 12px !important;
		margin-bottom: 0 !important;
		max-height: calc(100vh - 90px) !important;
		overflow-y: auto !important;
		scrollbar-width: none !important;
		box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
	}

	.profile-layout.nav-mode-vertical-left .profile-nav-tabs-wrapper::-webkit-scrollbar,
	.profile-layout.nav-mode-vertical-right .profile-nav-tabs-wrapper::-webkit-scrollbar {
		display: none !important;
	}

	.profile-layout.nav-mode-vertical-left .profile-nav-tabs,
	.profile-layout.nav-mode-vertical-right .profile-nav-tabs {
		flex-direction: column !important;
		width: 100% !important;
		gap: 6px !important;
		overflow-x: visible !important;
	}

	.profile-layout.nav-mode-vertical-left .profile-nav-tab,
	.profile-layout.nav-mode-vertical-right .profile-nav-tab {
		width: 100% !important;
		justify-content: flex-start !important;
		padding: 10px 14px !important;
		font-size: 13.5px !important;
		border-radius: 12px !important;
	}

	.profile-layout.nav-mode-vertical-left .profile-nav-badge,
	.profile-layout.nav-mode-vertical-right .profile-nav-badge {
		margin-left: auto !important;
	}

	.profile-layout.nav-mode-vertical-left .profile-nav-mode-dropdown-wrap,
	.profile-layout.nav-mode-vertical-right .profile-nav-mode-dropdown-wrap {
		width: 100% !important;
		border-top: 1px solid #e2e8f0;
		padding-top: 10px;
		margin-top: 8px;
		display: flex !important;
		justify-content: center !important;
	}

	html[data-bs-theme="dark"] .profile-layout.nav-mode-vertical-left .profile-nav-mode-dropdown-wrap,
	html[data-bs-theme="dark"] .profile-layout.nav-mode-vertical-right .profile-nav-mode-dropdown-wrap {
		border-top-color: #2a3141;
	}

	.profile-panes-wrapper {
		flex: 1 !important;
		min-width: 0 !important;
		width: 100% !important;
	}
}

/* Скрытие profile-hero-stats-bar */
.profile-hero-stats-bar {
	display: none !important;
}

html[data-bs-theme="dark"] .profile-nav-tabs-wrapper {
	background: #161b26;
	border-color: #2a3141;
}

.profile-nav-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
}

.profile-nav-tabs::-webkit-scrollbar {
	display: none;
}

.profile-nav-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 10px;
	border: none;
	background: transparent;
	color: #64748b;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.profile-nav-tab:hover {
	color: #0f172a;
	background: #f1f5f9;
}

html[data-bs-theme="dark"] .profile-nav-tab:hover {
	color: #f1f5f9;
	background: #1c2230;
}

.profile-nav-tab.is-active {
	background: #2563eb !important;
	color: #ffffff !important;
}

.profile-nav-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 12px;
	background: #e2e8f0;
	color: #475569;
}

.profile-nav-tab.is-active .profile-nav-badge {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

/* Tab panes */
.profile-tab-pane {
	animation: profileFadeIn 0.2s ease-in-out;
}

@keyframes profileFadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

.profile-pane-card {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	padding: 24px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

html[data-bs-theme="dark"] .profile-pane-card {
	background: #161b26;
	border-color: #2a3141;
}

.profile-pane-title {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}

html[data-bs-theme="dark"] .profile-pane-title {
	color: #f1f5f9;
}

/* ========================================================================= */
/* 5. MEDIA GRIDS: VIDEOS, GAMES & MUSIC                                     */
/* ========================================================================= */
.profile-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 18px;
}

@media (max-width: 576px) {
	.profile-media-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* Video Cards */
.profile-video-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.profile-video-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
}

html[data-bs-theme="dark"] .profile-video-card {
	background: #1c2230;
	border-color: #2a3141;
}

.profile-video-thumb {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 ratio */
	background: #0f172a;
	display: block;
	overflow: hidden;
}

.profile-video-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.profile-video-card:hover .profile-video-thumb img {
	transform: scale(1.05);
}

.profile-video-thumb-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #64748b;
}

.profile-video-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(37, 99, 235, 0.85);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	transition: transform 0.2s ease, background 0.2s ease;
}

.profile-video-card:hover .profile-video-play-btn {
	background: #2563eb;
	transform: translate(-50%, -50%) scale(1.1);
}

.profile-video-info {
	padding: 12px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.profile-video-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.profile-video-title a {
	color: #0f172a;
	text-decoration: none;
}

html[data-bs-theme="dark"] .profile-video-title a {
	color: #f1f5f9;
}

.profile-video-meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: #64748b;
}

/* Game Cards */
.profile-game-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.profile-game-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
}

html[data-bs-theme="dark"] .profile-game-card {
	background: #1c2230;
	border-color: #2a3141;
}

.profile-game-thumb {
	position: relative;
	width: 100%;
	padding-top: 65%;
	background: #1e293b;
	display: block;
	overflow: hidden;
}

.profile-game-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

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

.profile-game-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(4px);
	color: #38bdf8;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 6px;
}

.profile-game-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(239, 68, 68, 0.85);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	opacity: 0;
	transition: all 0.2s ease;
}

.profile-game-card:hover .profile-game-play-btn {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.05);
}

.profile-game-info {
	padding: 12px;
}

.profile-game-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-game-title a {
	color: #0f172a;
	text-decoration: none;
}

html[data-bs-theme="dark"] .profile-game-title a {
	color: #f1f5f9;
}

.profile-game-cat {
	font-size: 12px;
	color: #64748b;
}

/* Music list styling in profile */
.profile-music-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Side widgets on wall tab */
.profile-side-widget {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	padding: 18px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

html[data-bs-theme="dark"] .profile-side-widget {
	background: #161b26;
	border-color: #2a3141;
}

.profile-side-widget-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.profile-side-widget-header h5 {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

html[data-bs-theme="dark"] .profile-side-widget-header h5 {
	color: #f1f5f9;
}

.profile-mini-stats-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 0;
	font-size: 13px;
	border-bottom: 1px solid #f1f5f9;
}

.profile-mini-stats-list li:last-child {
	border-bottom: none;
}

html[data-bs-theme="dark"] .profile-mini-stats-list li {
	border-bottom-color: #242c3d;
}

/* Empty State */
.profile-empty-state {
	text-align: center;
	padding: 48px 20px;
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	border-radius: 14px;
}

html[data-bs-theme="dark"] .profile-empty-state {
	background: #1c2230;
	border-color: #2a3141;
}

.profile-empty-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin: 0 auto 16px;
}

html[data-bs-theme="dark"] .profile-empty-icon {
	background: #252e42;
	color: #38bdf8;
}

.profile-empty-state h3 {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}

html[data-bs-theme="dark"] .profile-empty-state h3 {
	color: #f1f5f9;
}


/* Refined, uncluttered profile metadata line */
.profile-hero-meta-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 13.5px;
	color: #64748b;
	line-height: 1.4;
	margin-top: 4px;
}

.profile-hero-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
}

.profile-hero-meta-item a {
	color: #475569;
	text-decoration: none;
	font-weight: 500;
}

.profile-hero-meta-item a:hover {
	color: #2563eb;
	text-decoration: underline;
}

.profile-hero-meta-item.is-online {
	color: #059669;
	font-weight: 600;
}

.profile-hero-meta-sep {
	color: #cbd5e1;
	font-weight: 700;
}

.profile-hero-details-link {
	background: transparent;
	border: none;
	color: #2563eb;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	transition: all 0.15s ease;
}

.profile-hero-details-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

html[data-bs-theme="dark"] .profile-hero-meta-line,
html[data-bs-theme="dark"] .profile-hero-meta-item {
	color: #94a3b8;
}

html[data-bs-theme="dark"] .profile-hero-meta-item a {
	color: #cbd5e1;
}

html[data-bs-theme="dark"] .profile-hero-meta-sep {
	color: #334155;
}

html[data-bs-theme="dark"] .profile-hero-details-link {
	color: #60a5fa;
}

/* ========================================================================= */
/* WALL POST COMPOSER STYLING (NEW_POST FLOW-COMPOSER)                       */
/* ========================================================================= */
.profile-composer-card {
	background: #ffffff;
	border: 1px solid #e2e8f0 !important;
	border-radius: 18px !important;
	box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05) !important;
	overflow: visible !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-composer-card:focus-within {
	border-color: #93c5fd !important;
	box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12) !important;
}

.profile-composer-card .flow-composer-heading {
	padding: 14px 18px 10px;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.profile-composer-card .flow-composer-icon {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: #eff6ff;
	color: #2563eb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.profile-composer-card .flow-composer-content {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px 12px;
}

.profile-composer-card .flow-composer-content .avatar img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.profile-composer-card .flow-composer-content textarea {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #f8fafc;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #1e293b;
	resize: vertical;
	min-height: 68px;
	transition: all 0.18s ease;
}

.profile-composer-card .flow-composer-content textarea:focus {
	background: #ffffff;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.profile-composer-card .flow-composer-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: #f8fafc;
	border-top: 1px solid #f1f5f9;
	border-radius: 0 0 17px 17px;
}

.composer-attach-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #475569;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.15s ease;
}

.composer-attach-trigger:hover {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #2563eb;
}

.composer-submit-btn {
	border-radius: 9px;
	padding: 6px 16px;
	font-weight: 600;
	font-size: 13px;
	box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

html[data-bs-theme="dark"] .profile-composer-card {
	background: #0f172a;
	border-color: #1e293b !important;
}

html[data-bs-theme="dark"] .profile-composer-card .flow-composer-heading {
	border-bottom-color: #1e293b;
}

html[data-bs-theme="dark"] .profile-composer-card .flow-composer-content textarea {
	background: #1e293b;
	border-color: #334155;
	color: #f8fafc;
}

html[data-bs-theme="dark"] .profile-composer-card .flow-composer-footer {
	background: #161f33;
	border-top-color: #1e293b;
}

html[data-bs-theme="dark"] .composer-attach-trigger {
	background: #1e293b;
	border-color: #334155;
	color: #cbd5e1;
}

/* ========================================================================= */
/* POST SPACING: MARGIN-BOTTOM BETWEEN POSTS (BLOCK WRITE)                   */
/* ========================================================================= */
#wall .block.write,
.list .block.write,
.feed .block.write,
.profile-tab-pane .block.write,
.block.write {
	margin-bottom: 22px !important;
}

/* ========================================================================= */
/* MODERN DROPDOWN MENUS (DROPDOWN-MENU SHOW)                                */
/* ========================================================================= */
.dropdown-menu {
	border-radius: 14px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	background: #ffffff !important;
	box-shadow: 0 14px 40px -6px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
	padding: 8px 6px !important;
	min-width: 190px !important;
	z-index: 1050 !important;
	transition: opacity 0.18s ease, transform 0.18s ease !important;
}

.dropdown-menu.show {
	animation: modernDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modernDropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.dropdown-menu .dropdown-item,
.dropdown-menu li > a {
	border-radius: 9px !important;
	padding: 8px 12px !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	color: #334155 !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	transition: all 0.15s ease !important;
	text-decoration: none !important;
	background: transparent;
	border: none;
	width: 100%;
}

.dropdown-menu .dropdown-item i,
.dropdown-menu .dropdown-item .bi,
.dropdown-menu li > a i,
.dropdown-menu li > a .bi {
	font-size: 15px !important;
	color: #64748b !important;
	flex-shrink: 0;
	transition: transform 0.15s ease, color 0.15s ease !important;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu li > a:hover {
	background: #f1f5f9 !important;
	color: #0f172a !important;
	transform: translateX(2px);
}

.dropdown-menu .dropdown-item:hover i,
.dropdown-menu .dropdown-item:hover .bi,
.dropdown-menu li > a:hover i,
.dropdown-menu li > a:hover .bi {
	color: #2563eb !important;
	transform: scale(1.15);
}

.dropdown-menu .dropdown-divider {
	margin: 6px 4px !important;
	border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Dark mode for dropdown menus */
html[data-bs-theme="dark"] .dropdown-menu {
	background: #0f172a !important;
	border-color: #1e293b !important;
	box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

html[data-bs-theme="dark"] .dropdown-menu .dropdown-item,
html[data-bs-theme="dark"] .dropdown-menu li > a {
	color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .dropdown-menu .dropdown-item i,
html[data-bs-theme="dark"] .dropdown-menu .dropdown-item .bi,
html[data-bs-theme="dark"] .dropdown-menu li > a i,
html[data-bs-theme="dark"] .dropdown-menu li > a .bi {
	color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover,
html[data-bs-theme="dark"] .dropdown-menu .dropdown-item:focus,
html[data-bs-theme="dark"] .dropdown-menu li > a:hover {
	background: #1e293b !important;
	color: #f8fafc !important;
}

html[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover i,
html[data-bs-theme="dark"] .dropdown-menu .dropdown-item:hover .bi,
html[data-bs-theme="dark"] .dropdown-menu li > a:hover i,
html[data-bs-theme="dark"] .dropdown-menu li > a:hover .bi {
	color: #60a5fa !important;
}

html[data-bs-theme="dark"] .dropdown-menu .dropdown-divider {
	border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================================================= */
/* PROFILE MUSIC & AUDIO TRACKS STYLING                                      */
/* ========================================================================= */
.profile-music-wrapper {
	background: transparent;
}

.profile-music-header {
	background: #f8fafc;
	border-radius: 12px;
	padding: 12px 18px;
	border: 1px solid #e2e8f0;
}

.profile-music-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.profile-music-list .music-track-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	transition: all 0.2s ease;
	position: relative;
	cursor: pointer;
}

.profile-music-list .music-track-row:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	transform: translateX(3px);
	box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.06);
}

.profile-music-list .music-track-row.Active,
.profile-music-list .music-track-row.is-playing {
	background: #eff6ff !important;
	border-color: #93c5fd !important;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12) !important;
}

/* Track Cover Image */
.profile-music-list .music-track-row > .Image {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 11px;
	overflow: hidden;
	position: relative;
	background: #f1f5f9;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.profile-music-list .music-track-row > .Image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.profile-music-list .music-track-row:hover > .Image img {
	transform: scale(1.08);
}

/* Track Data: Name and Artist */
.profile-music-list .music-track-row > .Data {
	flex: 1;
	min-width: 0;
}

.profile-music-list .music-track-row > .Data > .Name {
	font-size: 14.5px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.3;
}

.profile-music-list .music-track-row > .Data > .Artist {
	font-size: 12.5px;
	color: #64748b;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.3;
}

/* Track Actions (Play & Remove/Add) */
.profile-music-list .music-track-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex-shrink: 0;
}

.profile-music-list .music-track-play {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #eff6ff;
	color: #2563eb;
	border: 1px solid #bfdbfe;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-music-list .music-track-play:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.profile-music-list .music-track-row.Active .music-track-play,
.profile-music-list .music-track-row.is-playing .music-track-play {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.profile-music-list .music-track-remove {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: transparent;
	color: #94a3b8;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.profile-music-list .music-track-remove:hover {
	color: #ef4444;
	background: #fef2f2;
	border-color: #fecaca;
}

/* Dark mode for profile music */
html[data-bs-theme="dark"] .profile-music-header {
	background: #1e293b;
	border-color: #334155;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-row {
	background: #0f172a;
	border-color: #1e293b;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-row:hover {
	background: #1e293b;
	border-color: #334155;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-row.Active,
html[data-bs-theme="dark"] .profile-music-list .music-track-row.is-playing {
	background: rgba(37, 99, 235, 0.15) !important;
	border-color: rgba(37, 99, 235, 0.4) !important;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-row > .Data > .Name {
	color: #f8fafc;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-row > .Data > .Artist {
	color: #94a3b8;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-play {
	background: rgba(37, 99, 235, 0.15);
	color: #60a5fa;
	border-color: rgba(37, 99, 235, 0.3);
}

html[data-bs-theme="dark"] .profile-music-list .music-track-play:hover {
	background: #2563eb;
	color: #ffffff;
}

html[data-bs-theme="dark"] .profile-music-list .music-track-remove:hover {
	color: #f87171;
	background: rgba(239, 68, 68, 0.15);
	border-color: rgba(239, 68, 68, 0.25);
}

/* ========================================================================= */
/* FIX: MODAL DETAILS CLOSE BUTTON ICON                                      */
/* ========================================================================= */
#GetDetails .profile-details-close,
.profile-details-close.btn-close {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.18) !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	line-height: 1 !important;
	opacity: 0.9 !important;
	cursor: pointer !important;
	transition: background-color 0.18s ease, transform 0.15s ease, opacity 0.18s ease !important;
	background-image: none !important;
}

#GetDetails .profile-details-close:hover,
.profile-details-close.btn-close:hover {
	background: rgba(255, 255, 255, 0.32) !important;
	color: #ffffff !important;
	opacity: 1 !important;
	transform: scale(1.06);
}

#GetDetails .profile-details-close i,
.profile-details-close.btn-close i {
	display: inline-block !important;
	font-size: 14px !important;
	line-height: 1 !important;
	color: #ffffff !important;
}

/* ========================================================================= */
/* MOBILE ADAPTATION: PROFILE HERO STATS BAR                                 */
/* ========================================================================= */
@media (max-width: 768px) {
	.profile-hero-stats-bar {
		margin-left: -16px;
		margin-right: -16px;
		padding-left: 16px;
		padding-right: 16px;
		padding-top: 12px;
		padding-bottom: 6px;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scroll-padding-left: 16px;
		scroll-padding-right: 16px;
	}

	.profile-hero-stats-bar .profile-counter {
		flex: 0 0 auto;
		scroll-snap-align: start;
		padding: 7px 11px;
		font-size: 12px;
		gap: 6px;
		border-radius: 9px;
	}

	.profile-hero-stats-bar .profile-counter b {
		font-size: 13px;
	}

	.profile-hero-stats-bar .profile-counter i {
		font-size: 14px;
	}
}

/* ========================================================================= */
/* DEFAULT COVER BANNER (WHEN NO CUSTOM COVER)                               */
/* ========================================================================= */
.profile-hero-card.no_cover .profile-cover-wrapper,
.profile-hero-card.has-default-cover .profile-cover-wrapper,
.profile-cover-wrapper.is-default-cover {
	display: block !important;
	height: 220px !important;
	background: linear-gradient(135deg, #1e293b 0%, #334155 45%, #1e3a8a 100%) !important;
	position: relative;
	overflow: hidden;
}

@media (max-width: 768px) {
	.profile-hero-card.no_cover .profile-cover-wrapper,
	.profile-hero-card.has-default-cover .profile-cover-wrapper,
	.profile-cover-wrapper.is-default-cover {
		height: 150px !important;
	}
}

.profile-cover-wrapper.is-default-cover .default-cover-pattern {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.28) 0%, transparent 50%),
	            radial-gradient(circle at 85% 75%, rgba(129, 140, 248, 0.32) 0%, transparent 55%),
	            linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.6) 100%) !important;
}

.profile-cover-wrapper.is-default-cover::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 20px 20px;
	pointer-events: none;
	opacity: 0.6;
}

html[data-bs-theme="dark"] .profile-hero-card.no_cover .profile-cover-wrapper,
html[data-bs-theme="dark"] .profile-hero-card.has-default-cover .profile-cover-wrapper,
html[data-bs-theme="dark"] .profile-cover-wrapper.is-default-cover {
	background: linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%) !important;
}

/* ========================================================================= */
/* SIDEBAR WIDGET: STATS (MODERN TILES)                                      */
/* ========================================================================= */
.profile-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 12px;
}

.profile-stat-box {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	text-decoration: none;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

.profile-stat-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.profile-stat-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.profile-stat-box:hover .profile-stat-icon {
	transform: scale(1.08);
}

.profile-stat-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.profile-stat-value {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: #0f172a;
}

.profile-stat-label {
	font-size: 11px;
	font-weight: 500;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Tone variants */
.profile-stat-box.tone-blue .profile-stat-icon {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}
.profile-stat-box.tone-blue:hover {
	border-color: #bfdbfe;
	background: #eff6ff;
}

.profile-stat-box.tone-purple .profile-stat-icon {
	background: rgba(147, 51, 234, 0.1);
	color: #9333ea;
}
.profile-stat-box.tone-purple:hover {
	border-color: #e9d5ff;
	background: #faf5ff;
}

.profile-stat-box.tone-red .profile-stat-icon {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}
.profile-stat-box.tone-red:hover {
	border-color: #fecaca;
	background: #fef2f2;
}

.profile-stat-box.tone-green .profile-stat-icon {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}
.profile-stat-box.tone-green:hover {
	border-color: #a7f3d0;
	background: #ecfdf5;
}

html[data-bs-theme="dark"] .profile-stat-box {
	background: #1a202c;
	border-color: #2d3748;
}

html[data-bs-theme="dark"] .profile-stat-value {
	color: #f8fafc;
}

html[data-bs-theme="dark"] .profile-stat-label {
	color: #94a3b8;
}

html[data-bs-theme="dark"] .profile-stat-box.tone-blue:hover {
	background: #1e293b;
	border-color: #3b82f6;
}

html[data-bs-theme="dark"] .profile-stat-box.tone-purple:hover {
	background: #1e1b4b;
	border-color: #a855f7;
}

html[data-bs-theme="dark"] .profile-stat-box.tone-red:hover {
	background: #2d151e;
	border-color: #f43f5e;
}

html[data-bs-theme="dark"] .profile-stat-box.tone-green:hover {
	background: #062b1f;
	border-color: #10b981;
}

/* ========================================================================= */
/* VIP THEME MODAL STYLING                                                   */
/* ========================================================================= */
.vip-theme-modal-content {
	border-radius: 20px !important;
	border: 1px solid rgba(234, 179, 8, 0.25) !important;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2) !important;
	overflow: hidden;
}

.vip-theme-modal-header {
	padding: 20px 24px 12px !important;
}

.vip-studio-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 30px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.vip-theme-modal-body {
	padding: 12px 24px 20px !important;
}

.vip-modal-lead {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

html[data-bs-theme="dark"] .vip-modal-lead {
	color: #94a3b8;
}

.vip-theme-modal-body .vip-profile-block {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 16px;
}

html[data-bs-theme="dark"] .vip-theme-modal-body .vip-profile-block {
	background: #1a202c;
	border-color: #2d3748;
}

.vip-theme-modal-body .vip-profile-block-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.vip-theme-modal-body .vip-profile-block-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(245, 158, 11, 0.12);
	color: #d97706;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.vip-theme-modal-body .vip-profile-block-titles strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
}

html[data-bs-theme="dark"] .vip-theme-modal-body .vip-profile-block-titles strong {
	color: #f1f5f9;
}

.vip-theme-modal-body .vip-profile-block-titles small {
	font-size: 12px;
	color: #64748b;
}

html[data-bs-theme="dark"] .vip-theme-modal-body .vip-profile-block-titles small {
	color: #94a3b8;
}

.vip-theme-modal-body .vip-theme-choices {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
}

.vip-theme-modal-body .vip-theme-choice {
	border-radius: 10px;
	padding: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
}

html[data-bs-theme="dark"] .vip-theme-modal-body .vip-theme-choice {
	background: #242c3d;
	border-color: #334155;
	color: #f1f5f9;
}

.vip-theme-modal-body .vip-theme-choice:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.vip-theme-modal-body .vip-theme-choice.is-selected {
	border-color: #eab308;
	background: rgba(234, 179, 8, 0.08);
	box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.25);
}

/* ========================================================================= */
/* ЗАМОЩЕНИЕ ЗАГЛУШЕК ПУСТЫХ СОСТОЯНИЙ ВО ВСЕХ РАЗДЕЛАХ ПРОФИЛЯ              */
/* ========================================================================= */
.profile-empty-state,
.profile-games-grid .profile-empty-state,
.profile-videos-grid .profile-empty-state,
.profile-music-grid .profile-empty-state,
.profile-tab-pane .profile-empty-state {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	min-width: 100% !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 54px 24px !important;
	background: #f8fafc !important;
	border: 2px dashed #cbd5e1 !important;
	border-radius: 20px !important;
	margin: 12px 0 24px !important;
}

html[data-bs-theme="dark"] .profile-empty-state,
html[data-bs-theme="dark"] .profile-games-grid .profile-empty-state,
html[data-bs-theme="dark"] .profile-videos-grid .profile-empty-state,
html[data-bs-theme="dark"] .profile-music-grid .profile-empty-state,
html[data-bs-theme="dark"] .profile-tab-pane .profile-empty-state {
	background: #161b26 !important;
	border-color: #2a3141 !important;
}

/* ========================================================================= */
/* VIP-ОФОРМЛЕНИЕ ПРОФИЛЯ                                                    */
/* ========================================================================= */
.account-profile.is-vip[data-vip-theme="ocean"] {
	--vip-theme-accent: #287da8;
}

.account-profile.is-vip[data-vip-theme="violet"] {
	--vip-theme-accent: #8b55cb;
}

.account-profile.is-vip[data-vip-theme="sunset"] {
	--vip-theme-accent: #d16b48;
}

.account-profile.is-vip[data-vip-theme="classic"] {
	--vip-theme-accent: #6658db;
}

.account-profile.is-vip {
	border-color: color-mix(in srgb, var(--vip-theme-accent, #6658db) 32%, #e2e8f0) !important;
	border-top: 5px solid var(--vip-theme-accent, #6658db) !important;
	background:
		radial-gradient(120% 100% at 6% 0%, color-mix(in srgb, var(--vip-theme-accent, #6658db) 12%, transparent), transparent 58%),
		#ffffff !important;
	box-shadow:
		0 18px 42px color-mix(in srgb, var(--vip-theme-accent, #6658db) 15%, transparent),
		0 2px 6px rgba(31, 41, 61, .045) !important;
}

html[data-bs-theme="dark"] .account-profile.is-vip {
	border-color: color-mix(in srgb, var(--vip-theme-accent, #6658db) 38%, #2a3141) !important;
	border-top: 5px solid var(--vip-theme-accent, #6658db) !important;
	background:
		radial-gradient(120% 100% at 6% 0%, color-mix(in srgb, var(--vip-theme-accent, #6658db) 18%, transparent), transparent 58%),
		#161b26 !important;
	box-shadow:
		0 18px 42px color-mix(in srgb, var(--vip-theme-accent, #6658db) 22%, transparent),
		0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

.account-profile.is-vip .profile-hero-name {
	color: var(--vip-theme-accent, #6658db) !important;
}

.account-profile.is-vip .profile-hero-avatar .image {
	border-color: color-mix(in srgb, var(--vip-theme-accent, #6658db) 55%, #ffffff) !important;
	box-shadow:
		0 0 0 2px color-mix(in srgb, var(--vip-theme-accent, #6658db) 30%, transparent),
		0 10px 26px color-mix(in srgb, var(--vip-theme-accent, #6658db) 35%, transparent) !important;
}

html[data-bs-theme="dark"] .account-profile.is-vip .profile-hero-avatar .image {
	border-color: color-mix(in srgb, var(--vip-theme-accent, #6658db) 55%, #161b26) !important;
}

.account-profile.is-vip .profile-vip-badge {
	background: var(--vip-theme-accent, #6658db) !important;
	border-color: color-mix(in srgb, var(--vip-theme-accent, #6658db) 55%, #ffffff) !important;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--vip-theme-accent, #6658db) 40%, transparent) !important;
}

.account-profile.is-vip .profile-hero-stats-bar .profile-counter:hover {
	border-color: color-mix(in srgb, var(--vip-theme-accent, #6658db) 40%, transparent) !important;
}

.account-profile.is-vip .profile-hero-stats-bar .profile-counter:hover b {
	color: var(--vip-theme-accent, #6658db) !important;
}
}
/* ========================================================================= */
/* ЕДИНЫЙ СТИЛЬ КНОПОК ДЕЙСТВИЙ В ШАПКЕ ПРОФИЛЯ                              */
/* ========================================================================= */
.profile-hero-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-left: auto;
}

.profile-hero-actions output[data-target="Panel"] {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

.profile-hero-actions .profile-action-btn,
.profile-hero-actions .gift-shelf-btn,
.profile-hero-actions output[data-target="Panel"] > .btn,
.profile-hero-actions > .btn {
	height: 38px;
	min-height: 38px;
	border-radius: 999px !important;
	font-weight: 600;
	font-size: 14px;
	padding: 0 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	line-height: 1;
	box-sizing: border-box;
	transition: all 0.2s ease;
	vertical-align: middle;
	white-space: nowrap;
	text-decoration: none;
}

.profile-hero-actions .profile-action-btn i,
.profile-hero-actions .gift-shelf-btn i,
.profile-hero-actions output[data-target="Panel"] > .btn i,
.profile-hero-actions > .btn i {
	font-size: 15px;
	line-height: 1;
}

.profile-hero-actions .btn-outline-danger,
.profile-hero-actions output[data-target="Panel"] > .btn-outline-danger {
	border: 1px solid rgba(220, 53, 69, 0.4) !important;
	background: rgba(220, 53, 69, 0.08) !important;
	color: #dc3545 !important;
}

.profile-hero-actions .btn-outline-danger:hover,
.profile-hero-actions output[data-target="Panel"] > .btn-outline-danger:hover {
	border-color: #dc3545 !important;
	background: #dc3545 !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(220, 53, 69, 0.25) !important;
}

html[data-bs-theme="dark"] .profile-hero-actions .btn-outline-danger,
html[data-bs-theme="dark"] .profile-hero-actions output[data-target="Panel"] > .btn-outline-danger {
	border-color: rgba(248, 113, 113, 0.4) !important;
	background: rgba(239, 68, 68, 0.12) !important;
	color: #f87171 !important;
}

html[data-bs-theme="dark"] .profile-hero-actions .btn-outline-danger:hover,
html[data-bs-theme="dark"] .profile-hero-actions output[data-target="Panel"] > .btn-outline-danger:hover {
	background: #dc2626 !important;
	color: #ffffff !important;
	border-color: #dc2626 !important;
}

/* ========================================================================= */
/* СОРАЗМЕРНОСТЬ ИКОНКИ БЕТА-ТЕСТЕРА                                         */
/* ========================================================================= */
.profile-hero-name i.bi-check,
.profile-hero-name .badge-verified-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	vertical-align: middle;
	margin-left: 2px;
}

.profile-hero-name i.bi-check::before,
.profile-hero-name .badge-verified-icon::before {
	font-size: 20px;
	vertical-align: middle;
}

.profile-hero-name i.bi-code-slash,
.profile-hero-name .badge-beta-icon,
.profile-hero-name i[data-bs-custom-class="beta"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	line-height: 1;
	vertical-align: middle;
	margin-left: 2px;
}

.profile-hero-name i.bi-code-slash::before,
.profile-hero-name .badge-beta-icon::before,
.profile-hero-name i[data-bs-custom-class="beta"]::before {
	font-size: 17px;
	font-weight: 600 !important;
	vertical-align: middle;
	color: #5d9be6;
}
