@charset "UTF-8";

.blog-verified-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 4px;
	color: #4386e8;
	font-size: .85em;
	vertical-align: .04em;
}

.profile-vip-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 6px;
	padding: 3px 7px 3px 6px;
	border: 1px solid rgba(190, 137, 23, .42);
	border-radius: 999px;
	background: #f7d777;
	box-shadow: 0 2px 6px rgba(138, 99, 16, .18);
	color: #6d4b08;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .07em;
	line-height: 1;
	vertical-align: .12em;
	white-space: nowrap;
}

.profile-vip-badge > .bi {
	color: #8d6410;
	font-size: 10px;
	line-height: 1;
}

.flow-feed,
.account-profile,
.account.widgets,
.Blogs,
.Blog-Main-Page,
.Blog-Post-Page,
.messages-page {
	--social-accent: #6658db;
	--social-border: #e6e8f0;
	--social-muted: #737d90;
	--social-surface: #fff;
	--social-soft: #f6f7fb;
	--social-text: #252c3b;
}

.flow-header,
.messages-list-header,
.blog-directory-header,
.blog-posts-heading {
	position: static;
	top: auto;
	z-index: auto;
	width: auto;
	height: auto;
	border: 0;
	background: transparent;
}

.flow-header,
.flow-following-link,
.flow-composer-heading,
.flow-list-heading {
	display: flex;
	align-items: center;
}

.flow-header {
	justify-content: space-between;
	gap: 16px;
	margin: 4px 0 18px;
}

.flow-eyebrow,
.messages-list-header > div > span,
.blog-list-eyebrow {
	color: var(--social-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .15em;
}

.flow-header h1,
.messages-list-header h1 {
	margin: 3px 0 4px;
	color: var(--social-text);
	font-size: 24px;
	font-weight: 750;
	letter-spacing: -.035em;
}

.flow-header p {
	margin: 0;
	color: var(--social-muted);
	font-size: 14px;
}

.flow-following-link {
	gap: 7px;
	padding: 9px 11px;
	border: 1px solid var(--social-border);
	border-radius: 10px;
	background: var(--social-surface);
	color: var(--social-accent);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.flow-composer {
	--social-accent: #6658db;
	--social-border: #e6e8f0;
	--social-muted: #737d90;
	--social-surface: #fff;
	--social-soft: #f6f7fb;
	--social-text: #252c3b;
	overflow: visible;
	border: 1px solid var(--social-border) !important;
	border-radius: 15px 15px 0 0 !important;
	background: var(--social-surface) !important;
	box-shadow: 0 9px 25px rgba(31, 41, 61, .045);
}

.feed form[data-target="NewPost"] {
	--social-accent: #6658db;
	--social-border: #e6e8f0;
	--social-muted: #737d90;
	--social-surface: #fff;
	--social-soft: #f6f7fb;
	--social-text: #252c3b;
	margin-bottom: 0;
	border: 0;
	border-radius: 16px;
	background: transparent;
}

.feed form[data-target="NewPost"] .flow-composer {
	margin: 0;
}

.flow-composer-heading {
	gap: 10px;
	padding: 17px 18px 8px;
}

.flow-composer-icon,
.messages-header-icon {
	display: grid;
	width: 36px;
	height: 36px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid rgba(102, 88, 219, .15);
	border-radius: 11px;
	background: rgba(102, 88, 219, .08);
	color: var(--social-accent);
	font-size: 16px;
	text-decoration: none;
}

.flow-composer-heading > span:last-child {
	display: grid;
	gap: 2px;
}

.flow-composer-heading strong {
	color: var(--social-text);
	font-size: 14px;
}

.flow-composer-heading small {
	color: var(--social-muted);
	font-size: 12px;
}

.flow-composer .content {
	gap: 12px;
	padding: 12px 18px 14px !important;
}

.flow-composer .content .avatar img {
	width: 40px !important;
	height: 40px !important;
}

.flow-composer .content textarea {
	min-height: 72px;
	padding: 12px 14px;
	border: 1px solid var(--social-border);
	border-radius: 12px;
	background: var(--social-soft);
	color: var(--social-text);
	font-size: 14px;
	line-height: 1.5;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.flow-composer .content textarea:focus {
	border-color: rgba(102, 88, 219, .55);
	background: var(--social-surface);
	box-shadow: 0 0 0 3px rgba(102, 88, 219, .1);
}

.flow-composer .bottom_new_post,
.feed form[data-target="NewPost"] > .bottom_new_post {
	display: flex;
	align-items: center;
	height: auto !important;
	min-height: 58px;
	padding: 9px 16px !important;
	border-color: var(--social-border) !important;
	border-radius: 0 0 15px 15px !important;
	background: var(--social-soft) !important;
}

.flow-composer .bottom_new_post .right,
.feed form[data-target="NewPost"] > .bottom_new_post .right {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-left: auto;
}

.flow-composer .bottom_new_post .composer-action,
.feed form[data-target="NewPost"] > .bottom_new_post .composer-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 10px !important;
	border: 1px solid var(--social-border) !important;
	border-radius: 9px !important;
	background: var(--social-surface);
	color: var(--social-muted);
	font-size: 13px;
}

.flow-composer .bottom_new_post .composer-action:hover,
.flow-composer .bottom_new_post .composer-action:focus-visible,
.feed form[data-target="NewPost"] > .bottom_new_post .composer-action:hover,
.feed form[data-target="NewPost"] > .bottom_new_post .composer-action:focus-visible {
	border-color: rgba(102, 88, 219, .3) !important;
	background: rgba(102, 88, 219, .07);
	color: var(--social-accent);
}

.flow-composer .bottom_new_post .composer-action i,
.feed form[data-target="NewPost"] > .bottom_new_post .composer-action i {
	font-size: 16px;
}

.flow-composer #RowFiles,
.feed form[data-target="NewPost"] > .bottom_new_post #RowFiles {
	color: var(--social-muted);
	font-size: 12px;
}

.flow-composer .bottom_new_post input[type="submit"],
.feed form[data-target="NewPost"] > .bottom_new_post input[type="submit"] {
	padding: 9px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--social-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 4px 10px rgba(102, 88, 219, .2);
}

.flow-composer .bottom_new_post input[type="submit"]:hover,
.feed form[data-target="NewPost"] > .bottom_new_post input[type="submit"]:hover {
	background: #5547c5;
	box-shadow: 0 6px 15px rgba(102, 88, 219, .28);
}

.flow-list-heading {
	justify-content: space-between;
	margin: 23px 2px 10px;
	color: var(--social-text);
	font-size: 15px;
	font-weight: 700;
}

.flow-list-heading i {
	color: var(--social-accent);
}

.flow-feed #feeds .block:not(.write) {
	overflow: hidden;
	border: 1px solid var(--social-border);
	border-radius: 15px;
	background: var(--social-surface);
	box-shadow: 0 8px 24px rgba(31, 41, 61, .04);
}

.flow-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 44px 24px;
	margin: 12px 0 20px;
	border: 1px dashed var(--social-border);
	border-radius: 18px;
	background: var(--social-surface);
	text-align: center;
	box-shadow: 0 4px 20px rgba(31, 41, 61, .03);
}

.flow-empty-state .flow-empty-icon {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	margin-bottom: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(102, 88, 219, .12), rgba(52, 211, 153, .12));
	color: var(--social-accent);
	font-size: 24px;
	box-shadow: 0 6px 18px rgba(102, 88, 219, .12);
}

.flow-empty-state h3,
.flow-empty-state .flow-empty-title {
	margin: 0 0 6px;
	color: var(--social-text);
	font-size: 17px;
	font-weight: 700;
}

.flow-empty-state p,
.flow-empty-state .flow-empty-desc {
	max-width: 380px;
	margin: 0;
	color: var(--social-muted);
	font-size: 13.5px;
	line-height: 1.45;
}

.feed .block.write {
	--social-accent: #6658db;
	--social-border: #e8e9f1;
	--social-muted: #7e8798;
	--social-surface: #fff;
	--social-soft: #f4f5fa;
	--social-text: #252c3b;
	overflow: hidden;
	position: relative;
	margin-bottom: 24px;
	border: 1px solid var(--social-border);
	border-radius: 22px;
	background: var(--social-surface);
	box-shadow: 0 10px 28px rgba(37, 43, 66, .065), 0 2px 5px rgba(37, 43, 66, .025);
	outline: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feed .block.write:hover {
	transform: translateY(-2px);
	border-color: #d9d8ed;
	box-shadow: 0 16px 38px rgba(37, 43, 66, .105), 0 3px 8px rgba(37, 43, 66, .035);
}

.feed .list .block.write .top_panel {
	align-items: center;
	min-height: 86px;
	margin: 0;
	padding: 18px 21px 15px;
	background: linear-gradient(112deg, rgba(102, 88, 219, .055), rgba(102, 88, 219, 0) 64%);
}

.feed .list .block.write .top_panel .avatar {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	margin-right: 14px;
	box-shadow: 0 0 0 4px var(--social-surface), 0 0 0 5px rgba(102, 88, 219, .19);
}

.feed .list .block.write .top_panel .avatar img {
	width: 48px;
	height: 48px;
	border: 0;
}

.feed .list .block.write .top_panel .info {
	min-width: 0;
}

.feed .list .block.write .top_panel .info .name {
	align-items: center;
	font-size: 15px;
	line-height: 1.35;
}

.feed .list .block.write .top_panel .info .name span {
	overflow: hidden;
	color: var(--social-text);
	font-size: 16px;
	font-weight: 750;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.feed .list .block.write .top_panel .info .date {
	margin-top: 5px;
	color: var(--social-muted);
	font-size: 12px;
}

.feed .list .block.write .top_panel > .right {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	margin-left: 10px;
	border: 1px solid transparent;
	border-radius: 13px;
	color: var(--social-muted);
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.feed .list .block.write .top_panel > .right:hover,
.feed .list .block.write .top_panel > .right[aria-expanded="true"] {
	border-color: var(--social-border);
	background: var(--social-surface);
	color: var(--social-accent);
}

.feed .list .block.write .post-menu .dropdown-menu {
	min-width: 218px;
	margin-top: 7px;
	padding: 7px;
	border: 1px solid var(--social-border);
	border-radius: 15px;
	background: var(--social-surface);
	box-shadow: 0 16px 40px rgba(29, 35, 56, .16), 0 3px 10px rgba(29, 35, 56, .06);
}

/* Открытое меню публикации не должно обрезаться карточкой (у .block.write стоит overflow: hidden) */
.feed .block.write.is-menu-open {
	z-index: 40;
	overflow: visible;
}

.feed .block.write .post-menu.show {
	z-index: 45;
}

.feed .list .block.write .post-menu .dropdown-menu li + li {
	margin-top: 3px;
}

.feed .list .block.write .post-menu .dropdown-menu .dropdown-item {
	display: flex;
	min-height: 42px;
	align-items: center;
	gap: 11px;
	padding: 9px 11px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--social-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background .14s ease, color .14s ease;
}

.feed .list .block.write .post-menu .dropdown-menu .dropdown-item:hover,
.feed .list .block.write .post-menu .dropdown-menu .dropdown-item:focus-visible {
	background: var(--social-soft);
	color: var(--social-accent);
}

.feed .list .block.write .post-menu .dropdown-menu .dropdown-item i {
	display: grid;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	place-items: center;
	border-radius: 9px;
	background: rgba(102, 88, 219, .09);
	color: var(--social-accent);
	font-size: 14px;
}

.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove,
.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report {
	color: #c7465e;
}

.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove i,
.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report i {
	background: rgba(210, 67, 93, .09);
	color: #c7465e;
}

.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove:hover,
.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove:focus-visible,
.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report:hover,
.feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report:focus-visible {
	background: rgba(210, 67, 93, .08);
	color: #b52f49;
}

.feed .list .block.write > a.post-content-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.feed .list .block.write > a.post-content-link .content {
	padding: 3px 22px 20px;
	color: var(--social-text);
	font-size: 16px;
	line-height: 1.72;
	text-align: left;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.feed .list .block.write > a.post-content-link.is-collapsed .content {
	position: relative;
	max-height: 460px;
	overflow: hidden;
}

.feed .list .block.write > a.post-content-link.is-collapsed .content::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 76px;
	background: linear-gradient(transparent, var(--social-surface) 88%);
	content: "";
	pointer-events: none;
}

.feed .list .block.write .post-expand-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: -9px 22px 15px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--social-accent);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.feed .list .block.write .post-expand-toggle:hover {
	color: #5143c4;
}

.feed .list .block.write .post-expand-toggle:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--social-accent);
	outline-offset: 3px;
}

.feed .block.write .Attachment {
	overflow: hidden;
	margin: 0;
	border-top: 1px solid var(--social-border);
	border-bottom: 1px solid var(--social-border);
	background: var(--social-soft);
}

.feed .block.write .Attachment .carousel-item {
	height: clamp(240px, 43vw, 480px);
	background: radial-gradient(ellipse at center, #fff 0, var(--social-soft) 78%);
}

.feed .block.write .Attachment .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.feed .block.write .Attachment .carousel-indicators {
	gap: 5px;
	margin-bottom: 10px;
}

.feed .block.write .Attachment .carousel-indicators button {
	width: 7px;
	height: 7px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 1px 7px rgba(16, 20, 32, .75);
	opacity: .8;
}

.feed .block.write .Attachment .carousel-indicators button.active {
	width: 18px;
	border-radius: 8px;
	opacity: 1;
}

.feed .block.write .Attachment .carousel-control-prev,
.feed .block.write .Attachment .carousel-control-next {
	top: 50%;
	bottom: auto;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(25, 30, 43, .68);
	opacity: .82;
	transition: opacity .16s ease, background .16s ease, transform .16s ease;
}

.feed .block.write .Attachment:hover .carousel-control-prev,
.feed .block.write .Attachment:hover .carousel-control-next {
	background: rgba(25, 30, 43, .88);
	opacity: 1;
}

.feed .block.write .Attachment .carousel-control-prev {
	left: 14px;
}

.feed .block.write .Attachment .carousel-control-next {
	right: 14px;
}

.feed .block.write .Attachment .carousel-control-prev-icon,
.feed .block.write .Attachment .carousel-control-next-icon {
	width: 16px;
	height: 16px;
}

.page_write .Note .Attachment .carousel-indicators {
	gap: 5px;
	margin-bottom: 12px;
}

.page_write .Note .Attachment .carousel-indicators button {
	width: 7px;
	height: 7px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 1px 7px rgba(16, 20, 32, .75);
	opacity: .8;
}

.page_write .Note .Attachment .carousel-indicators button.active {
	width: 18px;
	border-radius: 8px;
	opacity: 1;
}

.page_write .Note .Attachment .carousel-control-prev,
.page_write .Note .Attachment .carousel-control-next {
	top: 50%;
	bottom: auto;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: rgba(25, 30, 43, .68);
	opacity: .82;
	transition: opacity .16s ease, background .16s ease;
}

.page_write .Note .Attachment .carousel-control-prev:hover,
.page_write .Note .Attachment .carousel-control-next:hover {
	background: rgba(25, 30, 43, .88);
	opacity: 1;
}

.page_write .Note .Attachment .carousel-control-prev {
	left: 14px;
}

.page_write .Note .Attachment .carousel-control-next {
	right: 14px;
}

.page_write .Note .Attachment .carousel-control-prev-icon,
.page_write .Note .Attachment .carousel-control-next-icon {
	width: 16px;
	height: 16px;
}

.feed .block.write .content_bottom {
	align-items: center;
	gap: 9px;
	min-height: 72px;
	margin-top: 0;
	padding: 13px 20px;
	border-top: 0;
	background: linear-gradient(180deg, var(--social-surface), rgba(102, 88, 219, .025));
}

.feed .block.write .content_bottom .btn.secondary.icon {
	display: inline-flex;
	min-width: 60px;
	height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--social-soft);
	color: #606b7d;
	font-size: 14px;
	font-weight: 650;
	transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}

.feed .block.write .content_bottom .btn.secondary.icon:hover {
	transform: translateY(-1px);
	border-color: rgba(102, 88, 219, .2);
	background: rgba(102, 88, 219, .09);
	color: var(--social-accent);
}

.feed .block.write .content_bottom .btn.secondary.icon.liked {
	border-color: rgba(222, 74, 113, .16) !important;
	background: rgba(222, 74, 113, .1) !important;
	color: #d34b70 !important;
}

.feed .block.write .content_bottom .btn.like i {
	transition: transform .18s ease;
}

.feed .block.write .content_bottom .btn.like:hover i,
.feed .block.write .content_bottom .btn.like.liked i {
	transform: scale(1.12);
}

.feed .block.write .content_bottom .btn.secondary.icon span {
	margin: 0;
	font-size: 13px;
}

.feed .block.write .content_bottom .views {
	gap: 5px;
	margin-left: auto;
	color: var(--social-muted);
	font-size: 13px;
}

html[data-bs-theme="dark"] .feed .block.write {
	--social-border: rgba(157, 169, 191, .17);
	--social-muted: #a1acc0;
	--social-surface: #1b202b;
	--social-soft: #252b38;
	--social-text: #e9edf5;
	border-color: var(--social-border);
	background: var(--social-surface);
}

html[data-bs-theme="dark"] .feed .block.write:hover {
	border-color: rgba(167, 158, 255, .4);
}

html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu {
	box-shadow: 0 18px 42px rgba(0, 0, 0, .42), 0 3px 10px rgba(0, 0, 0, .22);
}

html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove,
html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report {
	color: #ff8d9e;
}

html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove i,
html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report i {
	background: rgba(255, 115, 139, .12);
	color: #ff8d9e;
}

html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove:hover,
html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-remove:focus-visible,
html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report:hover,
html[data-bs-theme="dark"] .feed .list .block.write .post-menu .dropdown-menu .dropdown-item.post-action-report:focus-visible {
	background: rgba(255, 115, 139, .1);
	color: #ff9dad;
}

html[data-bs-theme="dark"] .feed .list .block.write .top_panel {
	background: linear-gradient(112deg, rgba(141, 129, 255, .09), rgba(141, 129, 255, 0) 64%);
}

html[data-bs-theme="dark"] .feed .block.write .content_bottom .btn.secondary.icon {
	border-color: var(--social-border);
	background: var(--social-surface);
	color: #b6c0d0;
}

html[data-bs-theme="dark"] .feed .block.write .Attachment .carousel-item,
html[data-bs-theme="dark"] .feed .block.write .Attachment {
	background: radial-gradient(ellipse at center, #202633 0, #151922 78%);
}

html[data-bs-theme="dark"] .feed .block.write .content_bottom {
	background: linear-gradient(180deg, var(--social-surface), rgba(141, 129, 255, .045));
}

.page_write .Note {
	--social-accent: #6658db;
	--social-border: #e8e9f1;
	--social-muted: #7e8798;
	--social-surface: #fff;
	--social-soft: #f4f5fa;
	--social-text: #252c3b;
	overflow: hidden;
	margin-bottom: 22px;
	border: 1px solid var(--social-border);
	border-radius: 22px;
	background: var(--social-surface);
	box-shadow: 0 10px 28px rgba(37, 43, 66, .065), 0 2px 5px rgba(37, 43, 66, .025);
}

.page_write .Note .post-detail-author {
	display: flex;
	min-height: 86px;
	align-items: center;
	padding: 16px 21px;
	background: linear-gradient(112deg, rgba(102, 88, 219, .055), rgba(102, 88, 219, 0) 64%);
}

.page_write .Note .post-detail-author .Avatar {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	margin-right: 14px;
	box-shadow: 0 0 0 4px var(--social-surface), 0 0 0 5px rgba(102, 88, 219, .19);
}

.page_write .Note .post-detail-author .Avatar img {
	width: 48px;
	height: 48px;
}

.page_write .Note .post-detail-author .Data .Name {
	color: var(--social-text);
	font-size: 16px;
	font-weight: 700;
}

.page_write .Note .post-detail-author .Data .Date {
	margin-top: 5px;
	color: var(--social-muted);
	font-size: 12px;
}

.page_write .Note .Content {
	padding: 4px 22px 20px;
	color: var(--social-text);
	font-size: 16px;
	line-height: 1.72;
	text-align: left;
	overflow-wrap: anywhere;
}

.page_write .Note .Attachment {
	overflow: hidden;
	margin: 0;
	border-top: 1px solid var(--social-border);
	border-bottom: 1px solid var(--social-border);
	background: var(--social-soft);
}

.page_write .Note .Attachment .carousel-item {
	height: clamp(260px, 44vw, 520px);
	background: radial-gradient(ellipse at center, #fff 0, var(--social-soft) 78%);
}

.page_write .Note .Attachment .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.page_write .Note .post-detail-actions {
	min-height: 72px;
	align-items: center;
	gap: 9px;
	padding: 13px 20px;
	background: linear-gradient(180deg, var(--social-surface), rgba(102, 88, 219, .025));
}

.page_write .Note .post-detail-actions .btn.secondary.icon {
	display: inline-flex;
	min-width: 60px;
	height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: var(--social-soft);
	color: #606b7d;
	font-size: 14px;
	font-weight: 650;
}

.page_write .Note .post-detail-actions .btn.secondary.icon.liked {
	border-color: rgba(222, 74, 113, .16) !important;
	background: rgba(222, 74, 113, .1) !important;
	color: #d34b70 !important;
}

.page_write .Profile > .Image,
.page_write .Profile > .Info {
	display: none;
}

html[data-bs-theme="dark"] .page_write .Note {
	--social-border: rgba(157, 169, 191, .17);
	--social-muted: #a1acc0;
	--social-surface: #1b202b;
	--social-soft: #252b38;
	--social-text: #e9edf5;
	border-color: var(--social-border);
	background: var(--social-surface);
}

html[data-bs-theme="dark"] .page_write .Note .post-detail-author {
	background: linear-gradient(112deg, rgba(141, 129, 255, .09), rgba(141, 129, 255, 0) 64%);
}

html[data-bs-theme="dark"] .page_write .Note .Attachment,
html[data-bs-theme="dark"] .page_write .Note .Attachment .carousel-item {
	background: radial-gradient(ellipse at center, #202633 0, #151922 78%);
}

html[data-bs-theme="dark"] .page_write .Note .post-detail-actions {
	background: linear-gradient(180deg, var(--social-surface), rgba(141, 129, 255, .045));
}

.account-profile {
	margin-bottom: 20px;
}

.sociq-nextpage-spinner {
	animation: sociq-page-loading-spin .7s linear infinite;
}

.flow-feed .consistent .btn {
	display: inline-flex;
	width: auto;
	min-width: 170px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 12px;
}

.account-profile.block.account {
	overflow: visible;
	border: 1px solid var(--social-border);
	border-radius: 18px;
	background: var(--social-surface);
	box-shadow: 0 12px 30px rgba(31, 41, 61, .055);
}

.account-profile .cover .image {
	height: clamp(190px, 27vw, 300px) !important;
	background-position: center 42% !important;
}

.account-profile .content {
	min-height: 154px;
	height: auto !important;
	align-items: flex-start;
	padding: 23px 28px 20px !important;
	border-radius: 0 0 17px 17px !important;
	background: var(--social-surface) !important;
}

.account-profile.block.account.no_cover > .content {
	border-radius: 17px 17px 0 0 !important;
}

.account-profile .content .avatar {
	top: -76px !important;
	left: 32px !important;
	padding: 5px;
	border: 4px solid var(--social-surface);
	border-radius: 50%;
	background: var(--social-surface);
	box-shadow: 0 8px 22px rgba(20, 25, 40, .15);
}

.account-profile .content .avatar .image {
	width: 118px !important;
	height: 118px !important;
	border-radius: 50%;
	background-position: center;
	background-size: cover;
}

.account-profile .content .info {
	margin-left: 190px !important;
	width: auto !important;
	height: auto !important;
	gap: 8px !important;
}

.account-profile .content .info .name {
	align-items: baseline;
	color: var(--social-text);
	font-size: 21px !important;
	letter-spacing: -.025em;
}

.account-profile .content .info .name .LastOnline {
	color: var(--social-muted);
	font-size: 13px;
}

.account-profile .content .info .status {
	color: #566176;
	font-size: 15px;
}

.account-profile .content .info .bar {
	gap: 15px !important;
	color: var(--social-muted);
	font-size: 13px !important;
}

.account-profile .content .info .bar a {
	color: #636e81;
}

.account-profile .content .Panel {
	margin-left: auto;
	gap: 8px;
}

.account-profile .content .Panel .btn {
	border-radius: 9px;
	font-size: 13px;
	font-weight: 650;
}

.profile-panel-mini {
	--social-accent: #6658db;
	--social-border: #e6e8f0;
	--social-muted: #737d90;
	--social-surface: #fff;
	--social-soft: #f6f7fb;
	--social-text: #252c3b;
	--ppm-subs: #4f75d7;
	--ppm-likes: #d35478;
	--ppm-writes: #b87931;
	width: 100%;
	height: auto !important;
	padding: 18px;
	border: 1px solid var(--social-border);
	border-radius: 16px;
	background:
		radial-gradient(circle at 100% 0, rgba(102, 88, 219, .07), transparent 36%),
		var(--social-surface);
	color: var(--social-text);
}

.profile-panel-mini-heading,
.profile-panel-mini-heading > div {
	display: flex;
}

.profile-panel-mini-heading {
	position: static;
	align-items: center;
	justify-content: space-between;
	width: auto;
	height: auto;
	margin: 0 0 14px;
	border: 0;
	background: transparent;
}

.profile-panel-mini-heading > div {
	flex-direction: column;
	gap: 2px;
}

.profile-panel-mini-heading > div > span {
	color: var(--social-accent);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .14em;
}

.profile-panel-mini-heading h2 {
	margin: 0;
	color: var(--social-text);
	font-size: 18px;
	font-weight: 700;
}

.profile-panel-mini-heading > i {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(102, 88, 219, .14);
	border-radius: 12px;
	background: rgba(102, 88, 219, .08);
	color: var(--social-accent);
	font-size: 18px;
}

.profile-panel-mini ul {
	display: grid;
	width: 100%;
	height: auto !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.profile-panel-mini ul li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	grid-template-rows: auto;
	align-items: center;
	width: auto !important;
	height: auto !important;
	min-width: 0;
	min-height: 56px;
	gap: 9px;
	padding: 9px 10px;
	border: 1px solid var(--social-border);
	border-radius: 12px;
	background: var(--social-surface);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.profile-panel-mini ul li:hover {
	transform: translateY(-2px);
	border-color: rgba(102, 88, 219, .25);
	background: var(--social-surface);
	box-shadow: 0 7px 18px rgba(31, 41, 61, .07);
}

.profile-panel-mini ul li > i {
	display: grid;
	grid-column: 1;
	grid-row: 1;
	width: 29px;
	height: 29px;
	place-items: center;
	border-radius: 9px;
	background: var(--ppm-icon-bg);
	color: var(--ppm-color);
	font-size: 15px;
}

.profile-panel-mini .ppm-subs {
	--ppm-color: var(--ppm-subs);
	--ppm-icon-bg: rgba(79, 117, 215, .1);
}

.profile-panel-mini .ppm-likes {
	--ppm-color: var(--ppm-likes);
	--ppm-icon-bg: rgba(211, 84, 120, .1);
}

.profile-panel-mini .ppm-writes {
	--ppm-color: var(--ppm-writes);
	--ppm-icon-bg: rgba(184, 121, 49, .11);
}

.profile-panel-mini .ppm-label {
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
	color: var(--social-muted);
	font-size: 12px;
	line-height: 1.3;
}

.profile-panel-mini ul li strong {
	grid-column: 3;
	grid-row: 1;
	color: var(--social-text);
	font-size: 18px;
	font-weight: 750;
	line-height: 1;
}

.profile-panel-mini-footer {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 13px 1px 0;
	color: var(--social-muted);
	font-size: 11px;
}

.profile-panel-mini-footer i {
	color: var(--social-accent);
}

.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[data-vip-theme]:not([data-vip-theme="classic"]) {
	border-color: color-mix(in srgb, var(--vip-theme-accent) 30%, var(--social-border));
}

.account-profile.is-vip[data-vip-theme] .content .info .name,
.account-profile.is-vip[data-vip-theme] .content .info .bar a {
	color: var(--vip-theme-accent);
}

/* Акцент VIP-профиля: градиентная линия, аура аватара, акцентные акценты интерфейса */
.account-profile.is-vip[data-vip-theme] {
	--vip-theme-accent-soft: color-mix(in srgb, var(--vip-theme-accent) 15%, transparent);
	--vip-theme-accent-line: color-mix(in srgb, var(--vip-theme-accent) 55%, transparent);
	border-color: color-mix(in srgb, var(--vip-theme-accent) 32%, var(--social-border));
	border-top: 5px solid var(--vip-theme-accent);
	background:
		radial-gradient(120% 100% at 6% 0%, var(--vip-theme-accent-soft), transparent 58%),
		var(--social-surface);
	box-shadow:
		0 18px 42px color-mix(in srgb, var(--vip-theme-accent) 15%, transparent),
		0 2px 6px rgba(31, 41, 61, .045);
}

.account-profile.is-vip[data-vip-theme] .cover .image {
	filter: saturate(1.06);
}

.account-profile.is-vip[data-vip-theme] .content .avatar {
	border-color: color-mix(in srgb, var(--vip-theme-accent) 42%, var(--social-surface));
	box-shadow:
		0 0 0 1px color-mix(in srgb, var(--vip-theme-accent) 22%, transparent),
		0 10px 26px color-mix(in srgb, var(--vip-theme-accent) 28%, transparent);
}

.account-profile.is-vip[data-vip-theme] .content .avatar .image {
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vip-theme-accent) 18%, transparent);
}

.account-profile.is-vip[data-vip-theme] .profile-vip-badge {
	border-color: color-mix(in srgb, var(--vip-theme-accent) 55%, #ffffff);
	background: var(--vip-theme-accent);
	box-shadow: 0 3px 10px color-mix(in srgb, var(--vip-theme-accent) 32%, transparent);
	color: #fff;
}

.account-profile.is-vip[data-vip-theme] .profile-vip-badge > .bi {
	color: #fff;
	opacity: .92;
}

.account-profile.is-vip[data-vip-theme] .content .Panel .btn {
	border-color: color-mix(in srgb, var(--vip-theme-accent) 26%, var(--social-border));
}

.account-profile.is-vip[data-vip-theme] .content .Panel .btn:hover {
	border-color: var(--vip-theme-accent);
	color: var(--vip-theme-accent);
}

.vip-profile-stats {
	--vip-theme-accent: #6658db;
}

.vip-profile-stats .vip-stats-bar {
	background: linear-gradient(180deg, color-mix(in srgb, var(--vip-theme-accent) 85%, #fff), var(--vip-theme-accent));
}

.vip-profile-stats .vip-profile-stats-totals strong {
	color: var(--vip-theme-accent);
}

.vip-profile-controls {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 18px 20px 20px;
	border-top: 1px solid var(--social-border);
	border-radius: 0 0 17px 17px;
	background: linear-gradient(180deg, var(--social-soft), color-mix(in srgb, var(--vip-theme-accent) 7%, var(--social-soft)));
}

.vip-profile-block {
	display: grid;
	gap: 12px;
	align-content: start;
	padding: 14px 15px;
	border: 1px solid color-mix(in srgb, var(--vip-theme-accent) 22%, var(--social-border));
	border-radius: 14px;
	background: var(--social-surface);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--vip-theme-accent) 8%, transparent);
}

.vip-profile-block-head {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
}

.vip-profile-block-icon {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 11px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--vip-theme-accent) 22%, transparent), color-mix(in srgb, var(--vip-theme-accent) 8%, transparent));
	color: var(--vip-theme-accent);
	font-size: 16px;
}

.vip-profile-block-titles {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vip-profile-controls strong {
	color: var(--social-text);
	font-size: 13px;
}

.vip-profile-controls small,
.vip-profile-feedback {
	color: var(--social-muted);
	font-size: 11px;
}

.vip-profile-controls-kicker {
	color: var(--vip-theme-accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
}

.vip-theme-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vip-theme-choice {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border: 1px solid var(--social-border);
	border-radius: 999px;
	background: var(--social-surface);
	color: var(--social-text);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.vip-theme-choice:hover {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--vip-theme-swatch) 45%, var(--social-border));
	box-shadow: 0 6px 14px color-mix(in srgb, var(--vip-theme-swatch) 16%, transparent);
}

.vip-theme-choice-swatch {
	width: 13px;
	height: 13px;
	flex: 0 0 13px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--vip-theme-swatch), var(--vip-theme-swatch-alt, var(--vip-theme-swatch)));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.vip-theme-choice[data-vip-highlight-choice] .vip-theme-choice-swatch {
	border-radius: 5px;
}

.vip-theme-choice-check {
	display: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--vip-theme-swatch);
	color: #fff;
	font-size: 10px;
	line-height: 14px;
	text-align: center;
}

.vip-theme-choice-check::before {
	content: "✓";
}

.vip-theme-choice.is-selected {
	border-color: var(--vip-theme-swatch);
	background: color-mix(in srgb, var(--vip-theme-swatch) 9%, var(--social-surface));
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--vip-theme-swatch) 20%, transparent);
}

.vip-theme-choice.is-selected .vip-theme-choice-check {
	display: block;
}

.vip-theme-choice:disabled {
	cursor: wait;
	opacity: .65;
}

.vip-profile-feedback {
	grid-column: 1 / -1;
	min-height: 14px;
}

.vip-profile-stats {
	margin-top: 13px;
	padding: 13px;
	border: 1px solid color-mix(in srgb, var(--vip-theme-accent) 22%, var(--social-border));
	border-radius: 12px;
	background: var(--social-soft);
}

.vip-profile-stats-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--social-text);
	font-size: 11px;
}

.vip-profile-stats-heading > span {
	color: var(--social-muted);
	font-size: 9px;
}

.vip-profile-stats-chart {
	display: grid;
	height: 74px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	align-items: end;
	gap: 7px;
}

.vip-stats-day {
	display: grid;
	height: 100%;
	grid-template-rows: 1fr auto;
	justify-items: center;
	gap: 4px;
}

.vip-stats-bar {
	align-self: end;
	width: min(100%, 18px);
	height: var(--vip-stats-height);
	border-radius: 5px 5px 2px 2px;
	background: linear-gradient(180deg, #9c8cff, #6658db);
}

.vip-stats-day small {
	color: var(--social-muted);
	font-size: 8px;
}

.vip-profile-stats-totals {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin-top: 11px;
}

.vip-profile-stats-totals > div {
	display: grid;
	gap: 3px;
	padding: 7px;
	border-radius: 8px;
	background: var(--social-surface);
}

.vip-profile-stats-totals span {
	color: var(--social-muted);
	font-size: 9px;
}

.vip-profile-stats-totals strong {
	color: var(--social-text);
	font-size: 15px;
}

.profile-vip-level {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 6px;
	padding: 2px 8px;
	border: 1px solid rgba(224, 168, 58, .45);
	border-radius: 999px;
	background: rgba(224, 168, 58, .12);
	color: #9a6f13;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .02em;
	vertical-align: middle;
}

html[data-bs-theme="dark"] .profile-vip-level {
	color: #f2cd77;
}

.vip-rating-card {
	--vip-rating-accent: #6658db;
	display: grid;
	gap: 10px;
	margin-top: 13px;
	padding: 14px;
	border: 1px solid color-mix(in srgb, var(--vip-rating-accent) 22%, var(--social-border));
	border-radius: 12px;
	background: linear-gradient(180deg, var(--social-soft), color-mix(in srgb, var(--vip-rating-accent) 6%, var(--social-soft)));
}

.vip-rating-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.vip-rating-head-main {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vip-rating-kicker {
	display: block;
	color: var(--vip-rating-accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
}

.vip-rating-level {
	display: block;
	margin-top: 3px;
	color: var(--social-text);
	font-size: 18px;
	font-weight: 780;
}

.vip-rating-score {
	display: grid;
	justify-items: end;
	text-align: right;
}

.vip-rating-score strong {
	color: var(--social-text);
	font-size: 20px;
	font-weight: 780;
	line-height: 1;
}

.vip-rating-score span,
.vip-rating-score em {
	color: var(--social-muted);
	font-size: 10px;
	font-style: normal;
}

.vip-rating-progress {
	position: relative;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: color-mix(in srgb, var(--social-border) 80%, transparent);
}

.vip-rating-progress > span {
	display: block;
	width: var(--vip-rating-progress, 0%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--vip-rating-accent), color-mix(in srgb, var(--vip-rating-accent) 45%, #d2a844));
	transition: width .35s ease;
}

.vip-rating-hint {
	margin: 0;
	color: var(--social-muted);
	font-size: 11px;
}

.vip-rating-trend {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--social-surface);
	color: var(--social-muted);
	font-size: 11px;
}

.vip-rating-trend.is-up {
	color: #1f8a5a;
}

.vip-rating-trend.is-down {
	color: #c1533f;
}

.vip-rating-components {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vip-rating-component {
	display: grid;
	grid-template-areas: "icon label points" "icon value points" "bar bar bar";
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: center;
	gap: 1px 10px;
	padding: 10px 11px 11px;
	border: 1px solid color-mix(in srgb, var(--vip-rating-accent) 16%, var(--social-border));
	border-radius: 12px;
	background: color-mix(in srgb, var(--vip-rating-accent) 5%, var(--social-surface));
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.vip-rating-component:hover {
	transform: translateY(-1px);
	border-color: color-mix(in srgb, var(--vip-rating-accent) 38%, var(--social-border));
	box-shadow: 0 8px 18px color-mix(in srgb, var(--vip-rating-accent) 12%, transparent);
}

.vip-rating-component i {
	grid-area: icon;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: color-mix(in srgb, var(--vip-rating-accent) 15%, transparent);
	color: var(--vip-rating-accent);
	font-size: 15px;
}

.vip-rating-component-label {
	grid-area: label;
	color: var(--social-muted);
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.25;
}

.vip-rating-component-count {
	grid-area: value;
	color: var(--social-text);
	font-size: 17px;
	font-weight: 780;
	line-height: 1.1;
}

.vip-rating-component strong {
	grid-area: points;
	align-self: center;
	padding: 3px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--vip-rating-accent) 13%, transparent);
	color: var(--vip-rating-accent);
	font-size: 10.5px;
	font-weight: 780;
	white-space: nowrap;
}

.vip-rating-component-bar {
	grid-area: bar;
	display: block;
	height: 4px;
	margin-top: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: color-mix(in srgb, var(--vip-rating-accent) 13%, transparent);
}

.vip-rating-component-bar > span {
	display: block;
	width: var(--vip-rating-share, 0%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--vip-rating-accent), color-mix(in srgb, var(--vip-rating-accent) 42%, #d2a844));
	transition: width .35s ease;
}

@media (max-width: 420px) {
	.vip-rating-components {
		grid-template-columns: minmax(0, 1fr);
	}
}

.vip-rating-note {
	margin: 0;
	padding-top: 8px;
	border-top: 1px dashed var(--social-border);
	color: var(--social-muted);
	font-size: 10px;
	line-height: 1.5;
}

.vip-rating-leaders {
	padding-top: 10px;
	border-top: 1px dashed var(--social-border);
}

.vip-rating-leaders-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 7px;
}

.vip-rating-leaders-heading strong {
	color: var(--social-text);
	font-size: 12px;
}

.vip-rating-leaders-heading span {
	color: var(--social-muted);
	font-size: 10px;
}

.vip-rating-leaders ol {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vip-rating-leader {
	display: grid;
	grid-template-columns: 18px 24px 1fr auto;
	align-items: center;
	gap: 8px;
	padding: 4px 6px;
	border-radius: 9px;
	font-size: 11px;
}

.vip-rating-leader.is-me {
	background: rgba(102, 88, 219, .09);
}

.vip-rating-leader img {
	width: 24px;
	height: 24px;
	border-radius: 8px;
	object-fit: cover;
}

.vip-rating-leader-rank {
	color: var(--social-muted);
	font-weight: 700;
}

.vip-rating-leader a {
	overflow: hidden;
	color: var(--social-text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vip-rating-leader strong {
	color: var(--vip-rating-accent);
}

.block.write.is-vip-pinned {
	position: relative;
	border-color: rgba(190, 137, 23, .55);
	box-shadow: inset 3px 0 #d2a844, 0 8px 22px rgba(138, 99, 16, .08);
}

.block.write.is-vip-pinned::before {
	position: absolute;
	top: 11px;
	right: 48px;
	content: "Закреплено";
	padding: 3px 7px;
	border-radius: 999px;
	background: #fff4cc;
	color: #76520a;
	font-size: 9px;
	font-weight: 750;
}

.block.write.is-vip-pinned .top_panel {
	padding-right: 92px;
}

.block.write.is-vip-pinned .post-menu {
	z-index: 2;
}

/* Подсветка публикаций VIP: цвет задаётся переменными --vip-hl-accent / --vip-hl-tint */
.block.write[class*="vip-hl-"],
.block.Note[class*="vip-hl-"] {
	position: relative;
	border-color: color-mix(in srgb, var(--vip-hl-accent) 38%, var(--social-border));
	background: linear-gradient(100deg, var(--vip-hl-tint), var(--social-surface) 46%);
	box-shadow: 0 10px 26px color-mix(in srgb, var(--vip-hl-accent) 12%, transparent);
}

/* Метка VIP: внешний вид задаётся в start.css, здесь только выравнивание рядом с именем */
.feed .list .block.write .info .name,
.block.write .info .name,
.block.Note .Data .Name,
.block.Profile .Info .Name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px 0;
}

.block.Profile .Info .Name .vip-chip {
	margin-left: 6px;
}

html[data-bs-theme="dark"] .block.write[class*="vip-hl-"],
html[data-bs-theme="dark"] .block.Note[class*="vip-hl-"] {
	background: linear-gradient(100deg, color-mix(in srgb, var(--vip-hl-accent) 18%, transparent), var(--social-surface) 46%);
}

html[data-bs-theme="dark"] .vip-profile-controls {
	background: linear-gradient(180deg, var(--social-soft), color-mix(in srgb, var(--vip-theme-accent) 12%, var(--social-soft)));
}

html[data-bs-theme="dark"] .vip-profile-block {
	background: color-mix(in srgb, var(--vip-theme-accent) 6%, var(--social-surface));
}

html[data-bs-theme="dark"] .vip-profile-stats {
	background: var(--social-soft);
}

html[data-bs-theme="dark"] .vip-rating-card {
	background: linear-gradient(180deg, var(--social-soft), color-mix(in srgb, var(--vip-rating-accent) 12%, var(--social-soft)));
}

@media (max-width: 767px) {
	.vip-profile-controls {
		grid-template-columns: minmax(0, 1fr);
		padding: 14px 14px 16px;
	}

	.vip-profile-block {
		padding: 12px 12px 14px;
	}
}

html[data-bs-theme="dark"] .block.write.is-vip-pinned::before {
	background: #493a15;
	color: #f5d880;
}

.page_write .profile-panel-mini {
	width: 100%;
	margin-top: 18px;
	text-align: left;
}

.Blogs .blog-directory {
	overflow: hidden;
	border: 1px solid var(--social-border);
	border-radius: 17px;
	background: var(--social-surface);
	box-shadow: 0 10px 28px rgba(31, 41, 61, .045);
}

.blog-directory-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 20px 22px 15px;
}

.blog-directory-header h1 {
	margin: 3px 0 0;
	color: var(--social-text);
	font-size: 21px;
	font-weight: 750;
}

.blog-directory-header .btn {
	border-radius: 9px;
	font-size: 13px;
	font-weight: 650;
}

.blog-directory-search {
	margin: 0 20px;
	padding: 10px 12px;
	border: 1px solid var(--social-border);
	border-radius: 10px;
	background: var(--social-soft);
}

.blog-directory-search .form-control,
.blog-directory-search .btn {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--social-text);
	font-size: 14px;
}

.blog-directory-search .btn {
	color: var(--social-accent);
}

.Blogs .block .List {
	display: grid;
	gap: 0;
	margin: 10px 20px 18px !important;
}

.Blogs .blog-list-section {
	padding-top: 15px;
}

.blog-list-section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 0 22px;
}

.blog-list-section-heading strong {
	color: var(--social-text);
	font-size: 15px;
}

.blog-list-section-heading span {
	color: var(--social-muted);
	font-size: 12px;
}

.blog-list-section .List {
	display: grid;
	gap: 0;
	margin: 5px 20px 8px !important;
	color: var(--social-muted);
}

.Blogs .blog-list-section .List {
	display: grid;
	gap: 0;
	margin: 5px 20px 8px !important;
	color: var(--social-muted);
}

.Blogs .block .List .Item {
	align-items: center;
	margin: 0 !important;
	padding: 12px 2px;
	border-bottom: 1px solid var(--social-border);
}

.Blogs .block .List .Item:last-child {
	border: 0;
}

.Blogs .block .List .Item img {
	width: 56px !important;
	height: 56px !important;
	border-radius: 15px !important;
}

.Blogs .block .List .Item .Data {
	min-width: 0;
	margin-left: 13px !important;
	gap: 5px !important;
}

.Blogs .block .List .Item .Data .Name a {
	color: var(--social-text);
	font-size: 15px;
	font-weight: 700;
}

.Blogs .block .List .Item .Data .Subs {
	display: grid;
	gap: 5px;
	color: var(--social-muted);
	font-size: 12px;
}

.Blogs .blog-list-section .List .Item {
	display: flex;
}

.Blogs .blog-list-section .List .Item .Subs span {
	max-width: 430px;
	overflow: hidden;
	color: var(--social-muted);
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.Blogs .blog-list-section .List .Item .Subs small {
	color: var(--social-muted);
	font-size: 11px;
}

.blog-list-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 24px;
	color: var(--social-muted);
	font-size: 13px;
	text-align: center;
}

.blog-list-empty > i {
	color: var(--social-accent);
	font-size: 23px;
}

.blog-list-empty > strong {
	color: var(--social-text);
	font-size: 14px;
}

.blog-directory-header {
	padding: 23px 24px 17px;
}

.blog-directory-header > div {
	min-width: 0;
}

.blog-directory-header h1 {
	font-size: 25px;
	letter-spacing: -.035em;
}

.blog-directory-header p {
	max-width: 370px;
	margin: 7px 0 0;
	color: var(--social-muted);
	font-size: 12px;
	line-height: 1.55;
}

.blog-directory-header .btn {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 8px 13px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(120deg, #7563e8, #5c4bc5);
	box-shadow: 0 5px 13px rgba(85, 72, 190, .2);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.blog-directory-header .btn:hover {
	background: linear-gradient(120deg, #6754dc, #4f3daf);
	color: #fff;
	transform: translateY(-1px);
}

.blog-directory-search {
	display: flex;
	min-height: 49px;
	align-items: center;
	gap: 10px;
	margin: 0 22px;
	padding: 5px 7px 5px 14px;
	border: 1px solid var(--social-border);
	border-radius: 13px;
	background: var(--social-soft);
	transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.blog-directory-search:focus-within {
	border-color: rgba(102, 88, 219, .45);
	background: var(--social-surface);
	box-shadow: 0 0 0 3px rgba(102, 88, 219, .09);
}

.blog-directory-search > .bi-search {
	flex: 0 0 auto;
	color: var(--social-accent);
	font-size: 15px;
}

.blog-directory-search .form-control {
	width: 0;
	min-width: 0;
	height: 36px;
	flex: 1;
	padding: 6px 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--social-text);
	font-size: 13px;
}

.blog-directory-search .form-control:focus {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--social-text);
}

.blog-directory-search .form-control::placeholder {
	color: var(--social-muted);
	opacity: .85;
}

.blog-directory-search button {
	display: inline-grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--social-muted);
	cursor: pointer;
}

.blog-directory-search button[hidden] {
	display: none !important;
}

.blog-directory-search .blog-directory-search-submit {
	background: var(--social-accent);
	color: #fff;
}

.blog-directory-search .blog-directory-search-submit:hover {
	background: #5545c4;
	color: #fff;
}

.blog-directory-search-status {
	min-height: 17px;
	margin: 7px 24px 0;
	color: var(--social-muted);
	font-size: 11px;
}

.blog-list-section {
	padding-top: 13px;
}

.blog-list-section-heading {
	align-items: center;
	padding: 0 23px;
}

.blog-list-section-heading > div {
	display: grid;
	gap: 3px;
}

.blog-list-section-heading > div > span {
	color: var(--social-accent);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .13em;
}

.blog-list-section-heading > div > strong {
	color: var(--social-text);
	font-size: 15px;
	font-weight: 740;
}

.blog-list-section-heading > span {
	color: var(--social-muted);
	font-size: 11px;
	text-align: right;
}

.Blogs .blog-directory-grid,
.Blogs .blog-list-section .blog-directory-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 11px 20px 17px !important;
	color: var(--social-text);
}

.Blogs .blog-list-section .blog-directory-grid .blog-directory-card {
	display: grid;
	grid-template-columns: 53px minmax(0, 1fr);
	align-items: center;
	gap: 11px;
	min-width: 0;
	min-height: 103px;
	margin: 0 !important;
	padding: 12px;
	border: 1px solid var(--social-border);
	border-radius: 14px;
	background: var(--social-surface);
	color: var(--social-text);
	text-decoration: none;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}

.Blogs .blog-list-section .blog-directory-grid .blog-directory-card:hover {
	transform: translateY(-2px);
	border-color: rgba(102, 88, 219, .36);
	background: var(--social-surface);
	box-shadow: 0 9px 22px rgba(40, 44, 74, .08);
	color: var(--social-text);
}

.blog-directory-card-image {
	position: relative;
	display: grid;
	width: 53px;
	height: 53px;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(102, 88, 219, .12);
	border-radius: 15px;
	background: linear-gradient(145deg, rgba(112, 92, 224, .15), rgba(59, 197, 172, .12));
	color: var(--social-accent);
}

.blog-directory-card-image img {
	width: 100% !important;
	height: 100% !important;
	border-radius: inherit !important;
	object-fit: cover;
}

.blog-directory-card-image > .bi-arrow-up-right {
	position: absolute;
	right: 3px;
	bottom: 3px;
	display: grid;
	width: 19px;
	height: 19px;
	place-items: center;
	border: 1px solid var(--social-border);
	border-radius: 50%;
	background: var(--social-surface);
	color: var(--social-accent);
	font-size: 10px;
	opacity: 0;
	transform: translate(-2px, 2px);
	transition: opacity .16s ease, transform .16s ease;
}

.blog-directory-card:hover .blog-directory-card-image > .bi-arrow-up-right {
	opacity: 1;
	transform: translate(0, 0);
}

.Blogs .blog-directory-card > .Data {
	display: grid;
	gap: 4px;
	min-width: 0;
	margin: 0 !important;
}

.blog-directory-card .Name {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
}

.blog-directory-card .Name strong {
	display: inline-block;
	flex: 0 1 auto;
	overflow: hidden;
	color: var(--social-text);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.blog-directory-card .Name .blog-verified-badge {
	flex: 0 0 auto;
	margin: 0;
}

.blog-directory-card-theme {
	overflow: hidden;
	color: var(--social-accent);
	font-size: 10px;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.blog-directory-card .Subs {
	display: grid;
	gap: 5px;
	min-width: 0;
	color: var(--social-muted);
}

.blog-directory-card .Subs > span {
	display: -webkit-box;
	overflow: hidden;
	color: var(--social-muted);
	font-size: 10px;
	line-height: 1.4;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.blog-directory-card .Subs small {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--social-muted);
	font-size: 10px;
}

.blog-directory-card .Subs small i {
	color: var(--social-accent);
}

.blog-directory-grid .blog-list-empty {
	grid-column: 1 / -1;
	min-height: 130px;
	justify-content: center;
	border: 1px dashed var(--social-border);
	border-radius: 14px;
	background: var(--social-soft);
}

.blog-directory-loading {
	display: flex;
	min-height: 120px;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px dashed var(--social-border);
	border-radius: 14px;
	background: var(--social-soft);
	color: var(--social-muted);
	font-size: 12px;
}

.blog-directory-grid.is-loading {
	opacity: .7;
}

html[data-bs-theme="dark"] .Blogs .blog-list-section .blog-directory-grid .blog-directory-card {
	border-color: var(--social-border);
	background: var(--social-surface);
}

html[data-bs-theme="dark"] .Blogs .blog-list-section .blog-directory-grid .blog-directory-card:hover {
	border-color: rgba(174, 154, 255, .4);
	box-shadow: 0 9px 24px rgba(0, 0, 0, .22);
}

html[data-bs-theme="dark"] .blog-directory-card-image {
	border-color: rgba(174, 154, 255, .18);
	background: linear-gradient(145deg, rgba(112, 92, 224, .22), rgba(59, 197, 172, .12));
}

.blog-page {
	gap: 20px 0;
}

.blog-page .blog-posts-column,
.blog-page .blog-sidebar-column {
	min-width: 0;
}

.blog-page .blog-sidebar-column > .block {
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--social-border);
	border-radius: 16px;
	background: var(--social-surface);
	box-shadow: 0 8px 25px rgba(31, 41, 61, .045);
}

.blog-page .blog-sidebar-column .BlogDivImage {
	display: block !important;
	width: auto;
	height: auto;
	margin: 0;
}

.blog-page .blog-sidebar-column .BlogImage.Admin img {
	width: 62px !important;
	height: 62px !important;
	border: 4px solid var(--social-surface);
	border-radius: 17px !important;
}

.blog-page .blog-sidebar-column .BlogImage.Admin button {
	border-radius: 17px;
	font-size: 17px;
}

.blog-profile-cover {
	height: 94px;
	background: linear-gradient(125deg, rgba(102, 88, 219, .95), rgba(67, 163, 158, .75));
	background-position: center;
	background-size: cover;
}

.blog-profile-identity {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 17px;
	margin-top: -28px;
}

.blog-profile-identity img {
	width: 62px !important;
	height: 62px !important;
	border: 4px solid var(--social-surface);
	border-radius: 17px !important;
	object-fit: cover;
}

.blog-profile-identity strong {
	margin-top: 23px;
	color: var(--social-text);
	font-size: 16px;
	font-weight: 750;
}

.blog-sidebar-description {
	padding: 13px 18px 16px;
	color: var(--social-muted);
	font-size: 14px;
	line-height: 1.65;
}

.blog-sidebar-description .Title {
	margin-bottom: 5px;
	color: var(--social-text);
	font-size: 13px;
	font-weight: 750;
}

.blog-sidebar-actions {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 12px;
}

.blog-sidebar-actions .btn {
	border-radius: 9px;
	font-size: 12px;
}

.blog-subscribers {
	margin-top: 14px;
	padding: 16px !important;
}

.blog-subscribers-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 13px;
}

.blog-subscribers .head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--social-text);
	font-size: 14px;
	font-weight: 700;
}

.blog-subscribers .head i {
	color: #7464dc;
	font-size: 16px;
}

.blog-reader-count {
	display: inline-flex;
	min-width: 25px;
	height: 25px;
	align-items: center;
	justify-content: center;
	padding: 0 7px;
	border: 1px solid rgba(116, 100, 220, .17);
	border-radius: 999px;
	background: rgba(116, 100, 220, .09);
	color: #6554ce;
	font-size: 12px;
	font-weight: 750;
}

.blog-subscribers .content {
	display: block !important;
	padding: 0 !important;
}

.blog-reader-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.blog-reader {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	padding: 7px;
	border: 1px solid var(--social-border);
	border-radius: 11px;
	background: var(--social-soft);
	color: var(--social-text);
	text-decoration: none;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.blog-reader:hover {
	transform: translateY(-1px);
	border-color: rgba(116, 100, 220, .35);
	background: rgba(116, 100, 220, .06);
	color: var(--social-text);
}

.blog-subscribers .content .blog-reader img {
	display: block;
	flex: 0 0 34px;
	width: 34px !important;
	min-width: 34px;
	max-width: 34px;
	height: 34px !important;
	margin: 0;
	border: 2px solid var(--social-surface);
	border-radius: 50%;
	object-fit: cover;
}

.blog-reader span {
	overflow: hidden;
	font-size: 12px;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.blog-readers-more {
	display: block;
	margin-top: 10px;
	color: var(--social-muted);
	font-size: 12px;
	text-align: center;
}

.blog-readers-empty {
	padding: 14px 10px;
	border: 1px dashed var(--social-border);
	border-radius: 11px;
	color: var(--social-muted);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.blog-posts-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 2px 0 13px;
}

.blog-posts-heading h1 {
	margin: 0;
	color: var(--social-text);
	font-size: 20px;
	font-weight: 750;
}

.blog-posts-heading .NewPost {
	padding: 8px 12px !important;
	border: 0;
	border-radius: 9px !important;
	background: var(--social-accent) !important;
	color: #fff;
	font-size: 13px;
	font-weight: 650;
}

.blog-posts-empty {
	display: flex;
	min-height: 230px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 1px dashed var(--social-border);
	border-radius: 15px;
	background: var(--social-surface);
	color: var(--social-muted);
	font-size: 13px;
	text-align: center;
}

.blog-posts-empty i {
	color: var(--social-accent);
	font-size: 25px;
}

.blog-posts-empty strong {
	color: var(--social-text);
	font-size: 15px;
}

.blog-description-text {
	white-space: pre-line;
}

.Blog-Main-Page .Posts .Post {
	margin-bottom: 16px;
	padding: 11px 11px 12px;
	border: 1px solid var(--social-border);
	border-radius: 15px;
	background: var(--social-surface);
	box-shadow: 0 8px 24px rgba(31, 41, 61, .04);
}

.Blog-Main-Page .Posts .Post > a {
	color: inherit;
	text-decoration: none;
}

.Blog-Main-Page .Posts .Post img {
	height: 190px !important;
	border-radius: 10px !important;
}

.Blog-Main-Page .Posts .Post .Content .Title {
	color: var(--social-text);
	font-size: 17px !important;
	text-align: left !important;
}

.Blog-Main-Page .Posts .Post .Content .Text {
	color: #667185 !important;
	font-size: 14px !important;
	line-height: 1.6;
	text-align: left !important;
}

.Blog-Main-Page .Posts .Post .Bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--social-muted);
	font-size: 13px !important;
}

.blog-post-actions {
	display: flex;
	gap: 6px;
}

.blog-post-actions button {
	padding: 5px 8px;
	border: 1px solid var(--social-border);
	border-radius: 7px;
	background: var(--social-surface);
	color: var(--social-muted);
	font-size: 12px;
}

.blog-post-actions button:hover {
	border-color: rgba(102, 88, 219, .3);
	color: var(--social-accent);
}

.blog-post-page-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.blog-post-page-actions a,
.blog-post-page-actions button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid var(--social-border);
	border-radius: 9px;
	background: transparent;
	color: var(--social-muted);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.blog-post-page-actions a:hover {
	border-color: rgba(102, 88, 219, .3);
	color: var(--social-accent);
}

.blog-post-page-actions .blog-delete-post:hover {
	border-color: rgba(212, 74, 100, .35);
	color: #d34b70;
}

.blog-card-likes {
	margin-left: 8px;
	color: #ce607c;
}

#ChangeBlogImage,
#EditBlog,
#NewPost,
#EditPost {
	--social-accent: #6658db;
	--social-border: #e6e8f0;
	--social-muted: #737d90;
	--social-surface: #fff;
	--social-soft: #f6f7fb;
	--social-text: #252c3b;
}

#ChangeBlogImage .modal-content,
#EditBlog .modal-content,
#NewPost .modal-content,
#EditPost .modal-content {
	overflow: hidden;
	max-height: calc(100vh - 2rem);
	border: 1px solid var(--social-border);
	border-radius: 18px;
	background: var(--social-surface);
	color: var(--social-text);
	box-shadow: 0 24px 70px rgba(23, 30, 48, .2);
}

#ChangeBlogImage .modal-header,
#ChangeBlogImage .modal-footer,
#CreateBlog .modal-header,
#CreateBlog .modal-footer,
#EditBlog .modal-header,
#EditBlog .modal-footer,
#NewPost .modal-header,
#NewPost .modal-footer,
#EditPost .modal-header,
#EditPost .modal-footer {
	border-color: var(--social-border);
}

#ChangeBlogImage .modal-header,
#CreateBlog .modal-header,
#EditBlog .modal-header,
#NewPost .modal-header,
#EditPost .modal-header {
	padding: 20px 22px;
	background: linear-gradient(135deg, rgba(102, 88, 219, .075), transparent 72%);
}

.blog-modal-title-wrap {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.blog-modal-icon {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	place-items: center;
	border: 1px solid rgba(102, 88, 219, .15);
	border-radius: 13px;
	background: rgba(102, 88, 219, .1);
	color: var(--social-accent);
	font-size: 19px;
}

.blog-modal-title-wrap .modal-title {
	margin: 0;
}

.blog-modal-title-wrap p {
	margin: 4px 0 0;
	color: var(--social-muted);
	font-size: 12px;
	line-height: 1.4;
}

#ChangeBlogImage .modal-title,
#CreateBlog .modal-title,
#EditBlog .modal-title,
#NewPost .modal-title,
#EditPost .modal-title {
	color: var(--social-text);
	font-weight: 700;
}

.blog-modal-body {
	display: grid;
	gap: 17px;
	min-height: 0;
	padding: 22px;
	overflow-y: auto;
}

.blog-form-field {
	min-width: 0;
}

#ChangeBlogImage .modal-body .form-label,
#CreateBlog .modal-body .form-label,
#EditBlog .modal-body .form-label,
#NewPost .modal-body .form-label,
#EditPost .modal-body .form-label {
	color: var(--social-text);
	font-size: 14px;
	font-weight: 650;
}

.blog-modal-body .form-label {
	display: block;
	margin-bottom: 7px;
}

#ChangeBlogImage .modal-body .form-control,
#CreateBlog .modal-body .form-control,
#CreateBlog .modal-body .form-select,
#EditBlog .modal-body .form-control,
#EditBlog .modal-body .form-select,
#NewPost .modal-body .form-control,
#EditPost .modal-body .form-control {
	border-color: var(--social-border);
	border-radius: 9px;
	background-color: var(--social-soft);
	color: var(--social-text);
	font-size: 14px;
}

#ChangeBlogImage .modal-body .form-control:focus,
#CreateBlog .modal-body .form-control:focus,
#CreateBlog .modal-body .form-select:focus,
#EditBlog .modal-body .form-control:focus,
#EditBlog .modal-body .form-select:focus,
#NewPost .modal-body .form-control:focus,
#EditPost .modal-body .form-control:focus {
	border-color: rgba(102, 88, 219, .55);
	background-color: var(--social-surface);
	box-shadow: 0 0 0 3px rgba(102, 88, 219, .12);
}

.blog-modal-body .form-text {
	margin-top: 6px;
	color: var(--social-muted);
	font-size: 12px;
}

.blog-modal-body .blog-image-input {
	padding: 8px;
	border-style: dashed;
}

#NewPost .modal-dialog,
#EditPost .modal-dialog {
	max-width: 760px;
}

#CreateBlog .modal-dialog,
#EditBlog .modal-dialog {
	max-width: 540px;
}

#ChangeBlogImage .modal-footer,
#CreateBlog .modal-footer,
#EditBlog .modal-footer,
#NewPost .modal-footer,
#EditPost .modal-footer {
	gap: 8px;
	padding: 14px 22px 18px;
}

.blog-modal-footer .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 39px;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 650;
}

.blog-modal-footer .btn-light {
	border: 1px solid var(--social-border);
	background: var(--social-soft);
	color: var(--social-text);
}

.blog-modal-footer .btn-primary {
	border-color: var(--social-accent);
	background: var(--social-accent);
}

#NewPost .tox-tinymce,
#EditPost .tox-tinymce {
	overflow: hidden;
	border: 1px solid var(--social-border) !important;
	border-radius: 11px !important;
}

#NewPost .tox .tox-toolbar,
#EditPost .tox .tox-toolbar {
	background: var(--social-soft);
}

html[data-bs-theme="dark"] #ChangeBlogImage,
html[data-bs-theme="dark"] #EditBlog,
html[data-bs-theme="dark"] #NewPost,
html[data-bs-theme="dark"] #EditPost {
	--social-border: rgba(157, 169, 191, .16);
	--social-muted: #9aa5b8;
	--social-surface: #191d26;
	--social-soft: #202530;
	--social-text: #e5e9f1;
}

html[data-bs-theme="dark"] #ChangeBlogImage .modal-header,
html[data-bs-theme="dark"] #EditBlog .modal-header,
html[data-bs-theme="dark"] #NewPost .modal-header,
html[data-bs-theme="dark"] #EditPost .modal-header {
	background: linear-gradient(135deg, rgba(132, 116, 239, .14), transparent 72%);
}

html[data-bs-theme="dark"] #ChangeBlogImage .btn-close,
html[data-bs-theme="dark"] #EditBlog .btn-close,
html[data-bs-theme="dark"] #NewPost .btn-close,
html[data-bs-theme="dark"] #EditPost .btn-close {
	filter: invert(1) grayscale(1);
}

.account.widgets .block {
	overflow: hidden;
	border: 1px solid var(--social-border);
	border-radius: 14px;
	background: var(--social-surface);
}

.blog-post-page .Author .Data .Name {
	color: var(--social-text);
}

.blog-post-page .Author .Data .Date {
	color: var(--social-muted);
}

.blog-post-page {
	max-width: 850px;
	padding: clamp(18px, 4vw, 42px);
	border: 1px solid var(--social-border);
	border-radius: 18px;
	background: var(--social-surface);
	box-shadow: 0 12px 35px rgba(31, 41, 61, .05);
}

.Blog-Post-Page.blog-post-page .Title {
	margin: 15px 0 22px;
	color: var(--social-text);
	font-size: clamp(30px, 5vw, 48px);
	font-weight: 750;
	letter-spacing: -.04em;
	line-height: 1.12;
	text-align: left;
}

.Blog-Post-Page.blog-post-page .Author {
	align-items: center;
	margin-bottom: 20px;
}

.Blog-Post-Page.blog-post-page .Author img {
	width: 48px;
	height: 48px;
	margin-right: 12px;
	border-radius: 14px;
}

.Blog-Post-Page.blog-post-page .Author .Data .Name a {
	color: var(--social-text);
}

.Blog-Post-Page.blog-post-page .Panel {
	height: auto;
	padding: 12px 0;
	border-color: var(--social-border);
	color: var(--social-muted);
}

.blog-like-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 9px;
	border: 1px solid var(--social-border);
	border-radius: 9px;
	background: transparent;
	color: var(--social-muted);
	font-size: 13px;
}

.blog-like-button.liked {
	border-color: rgba(222, 74, 113, .2);
	background: rgba(222, 74, 113, .07);
	color: #d34b70;
}

.Blog-Post-Page.blog-post-page .Content {
	color: var(--social-text);
	font-size: 15px;
	line-height: 1.85;
	text-align: left;
}

.Blog-Post-Page.blog-post-page .Content img {
	margin: 10px 0 24px;
	border-radius: 13px;
}

.messages-page {
	--messages-height: calc(100vh - 220px);
	min-height: var(--messages-height);
}

.messages-list-card {
	display: flex;
	height: var(--messages-height);
	min-height: 460px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--social-border);
	border-radius: 16px;
	background: var(--social-surface);
	box-shadow: 0 10px 28px rgba(31, 41, 61, .05);
}

.messages-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 17px 12px;
}

.messages-list-header h1 {
	font-size: 20px;
}

.messages-list-header .messages-header-icon {
	width: 34px;
	height: 34px;
}

.messages-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 14px 12px;
	padding: 9px 10px;
	border: 1px solid var(--social-border);
	border-radius: 9px;
	background: var(--social-soft);
	color: var(--social-muted);
}

.messages-search input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--social-text);
	font-size: 14px;
}

.messages-dialogs {
	height: auto !important;
	min-height: 0;
	flex: 1;
	overflow: auto !important;
	padding: 0 7px 7px !important;
}

.messages-dialogs .Dialog {
	height: 68px !important;
	padding: 7px 9px;
	border-radius: 10px;
	text-align: left;
	transition: background .15s ease;
}

.messages-page #Dialogs button.Dialog:hover,
.messages-page #Dialogs button.Dialog.active {
	background: rgba(102, 88, 219, .08) !important;
}

.messages-dialogs .Dialog .Info .Top span:first-child {
	color: var(--social-text);
	font-weight: 650;
}

.messages-dialogs .Dialog .Info .Top span:last-child,
.messages-dialogs .Dialog .Info .Bottom span:first-child {
	color: var(--social-muted);
	font-size: 13px;
}

.messages-empty-card {
	display: flex;
	height: var(--messages-height);
	min-height: 460px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	border: 1px dashed var(--social-border);
	border-radius: 16px;
	background: var(--social-soft);
	text-align: center;
}

.messages-empty-card > span {
	display: grid;
	width: 60px;
	height: 60px;
	place-items: center;
	border-radius: 18px;
	background: rgba(102, 88, 219, .09);
	color: var(--social-accent);
	font-size: 26px;
}

.messages-empty-card h2 {
	margin: 15px 0 5px;
	color: var(--social-text);
	font-size: 20px;
	font-weight: 700;
}

.messages-empty-card p {
	max-width: 280px;
	margin: 0;
	color: var(--social-muted);
	font-size: 14px;
	line-height: 1.6;
}

.messages-chat.block {
	display: flex;
	height: var(--messages-height);
	min-height: 460px;
	flex-direction: column;
	overflow: hidden;
	padding: 0 17px 74px;
	border: 1px solid var(--social-border);
	border-radius: 16px;
	background: var(--social-surface);
	box-shadow: 0 10px 28px rgba(31, 41, 61, .05);
}

.messages-chat .Page-Messages.Profile {
	height: 66px;
	flex: 0 0 auto;
	align-items: center;
	border-bottom-color: var(--social-border);
}

.messages-chat .Page-Messages.Profile .Info {
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	gap: 3px;
}

.messages-chat .Page-Messages.Profile .Info .Name {
	color: var(--social-text);
	font-size: 15px;
	font-weight: 700;
}

.messages-chat .Page-Messages.Profile .Info .Online {
	color: var(--social-muted);
	font-size: 13px;
}

.messages-chat .Page-Messages.Profile .Menu img.Avatar {
	width: 36px;
	height: 36px;
	border-radius: 12px;
}

.messages-chat-back {
	display: none;
	margin-right: 9px;
	color: var(--social-accent);
}

.messages-chat #Chat {
	height: auto;
	flex: 1;
	min-height: 0;
	margin-top: 10px;
	padding: 12px 4px;
}

.messages-chat #Chat > div[msgid] {
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 15px;
}

.messages-chat #Chat > div[msgid] img.Avatar {
	width: 34px;
	height: 34px;
	margin-right: 0;
	border-radius: 11px;
}

.messages-chat #Chat > div[msgid] .Info .Name {
	margin-bottom: 3px;
	color: var(--social-text);
	font-size: 13px;
	font-weight: 650;
}

.messages-chat #Chat > div[msgid] .Info .Message {
	color: #566176;
	font-size: 14px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.messages-chat form[data-action="Send"] {
	right: 17px;
	bottom: 15px;
	left: 17px;
}

.messages-chat form[data-action="Send"] .input-group {
	gap: 8px;
}

.messages-chat form[data-action="Send"] .form-control {
	min-height: 42px;
	border-color: var(--social-border);
	border-radius: 10px !important;
	background: var(--social-soft);
	color: var(--social-text);
	font-size: 14px;
}

.messages-chat form[data-action="Send"] .btn {
	border: 0;
	border-radius: 10px !important;
	background: var(--social-accent);
	font-size: 13px;
	font-weight: 650;
}

html[data-bs-theme="dark"] .flow-feed,
html[data-bs-theme="dark"] .account-profile,
html[data-bs-theme="dark"] .account.widgets,
html[data-bs-theme="dark"] .Blogs,
html[data-bs-theme="dark"] .Blog-Main-Page,
html[data-bs-theme="dark"] .Blog-Post-Page,
html[data-bs-theme="dark"] .messages-page {
	--social-border: rgba(157, 169, 191, .16);
	--social-muted: #9aa5b8;
	--social-surface: #191d26;
	--social-soft: #202530;
	--social-text: #e5e9f1;
}

html[data-bs-theme="dark"] .flow-header h1,
html[data-bs-theme="dark"] .messages-list-header h1,
html[data-bs-theme="dark"] .blog-directory-header h1,
html[data-bs-theme="dark"] .blog-posts-heading h1,
html[data-bs-theme="dark"] .blog-profile-identity strong,
html[data-bs-theme="dark"] .blog-sidebar-description .Title,
html[data-bs-theme="dark"] .Blog-Main-Page .Posts .Post .Content .Title,
html[data-bs-theme="dark"] .Blog-Post-Page.blog-post-page .Title,
html[data-bs-theme="dark"] .Blog-Post-Page.blog-post-page .Content,
html[data-bs-theme="dark"] .messages-chat .Page-Messages.Profile .Info .Name {
	color: var(--social-text);
}

html[data-bs-theme="dark"] .flow-following-link,
html[data-bs-theme="dark"] .flow-composer,
html[data-bs-theme="dark"] .flow-feed #feeds .block,
html[data-bs-theme="dark"] .account-profile.block.account,
html[data-bs-theme="dark"] .account-profile .content,
html[data-bs-theme="dark"] .account.widgets .block,
html[data-bs-theme="dark"] .Blogs .blog-directory,
html[data-bs-theme="dark"] .blog-page .blog-sidebar-column > .block,
html[data-bs-theme="dark"] .Blog-Main-Page .Posts .Post,
html[data-bs-theme="dark"] .blog-post-page,
html[data-bs-theme="dark"] .messages-list-card,
html[data-bs-theme="dark"] .messages-chat.block {
	background: var(--social-surface) !important;
}

html[data-bs-theme="dark"] .Blog-Main-Page .Posts .Post .Content .Text,
html[data-bs-theme="dark"] .messages-chat #Chat > div[msgid] .Info .Message {
	color: #b6c0d0 !important;
}

html[data-bs-theme="dark"] .flow-composer .bottom_new_post,
html[data-bs-theme="dark"] .feed form[data-target="NewPost"] > .bottom_new_post,
html[data-bs-theme="dark"] .blog-directory-search,
html[data-bs-theme="dark"] .messages-search,
html[data-bs-theme="dark"] .messages-empty-card,
html[data-bs-theme="dark"] .flow-composer .content textarea {
	background: var(--social-soft) !important;
}

html[data-bs-theme="dark"] .flow-composer .content textarea:focus {
	background: var(--social-surface) !important;
}

html[data-bs-theme="dark"] .flow-composer {
	--social-border: rgba(157, 169, 191, .16);
	--social-muted: #9aa5b8;
	--social-surface: #191d26;
	--social-soft: #202530;
	--social-text: #e5e9f1;
}

html[data-bs-theme="dark"] .feed form[data-target="NewPost"] {
	--social-border: rgba(157, 169, 191, .16);
	--social-muted: #9aa5b8;
	--social-surface: #191d26;
	--social-soft: #202530;
	--social-text: #e5e9f1;
}

html[data-bs-theme="dark"] .messages-chat .Page-Messages.Profile .Info .Online {
	color: var(--social-muted);
}

html[data-bs-theme="dark"] .account-profile .content .info .status,
html[data-bs-theme="dark"] .account-profile .content .info .bar a {
	color: #c0cad9;
}

@media (min-width: 991px) {
	.account-profile .content .avatar {
		margin: 0 !important;
	}

	.block.account.account-profile .content .avatar .btn[data-bs-target="#ChangeAvatar"] {
		top: auto;
		right: 2px;
		bottom: 2px;
		left: auto;
		width: 38px;
		height: 38px;
		display: grid;
		place-items: center;
		padding: 0;
		border: 2px solid var(--social-surface);
		border-radius: 50%;
		background: var(--social-accent);
		font-size: 16px;
		line-height: 1;
		z-index: 2;
		box-shadow: 0 3px 10px rgba(31, 41, 61, .2);
	}

	.block.account.account-profile .content .avatar:hover > .btn[data-bs-target="#ChangeAvatar"],
	.block.account.account-profile .content .avatar .btn[data-bs-target="#ChangeAvatar"]:focus-visible {
		opacity: 1;
	}
}

@media (max-width: 990px) {
	.account-profile .content {
		min-height: 0;
		align-items: center;
		padding: 18px !important;
	}

	.account-profile .content .avatar {
		top: -69px !important;
		width: 130px !important;
		height: 130px !important;
		left: calc(50% - 65px) !important;
		margin: 0 !important;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: visible !important;
		transform: none !important;
	}

	.account-profile .content .avatar .image {
		width: 112px !important;
		height: 112px !important;
		flex: 0 0 112px !important;
	}

	.block.account.account-profile .content .avatar .btn[data-bs-target="#ChangeAvatar"] {
		top: auto;
		right: 2px;
		bottom: 2px;
		left: auto;
		width: 38px;
		height: 38px;
		display: grid;
		place-items: center;
		padding: 0;
		border: 2px solid var(--social-surface);
		border-radius: 50%;
		background: var(--social-accent);
		font-size: 16px;
		line-height: 1;
		opacity: 1;
		z-index: 2;
		box-shadow: 0 3px 10px rgba(31, 41, 61, .2);
	}

	.block.account.account-profile .content .avatar:hover > .btn[data-bs-target="#ChangeAvatar"] {
		opacity: 1;
	}

	.account-profile .content .avatar:hover > .image {
		filter: none;
	}

	.account-profile .content .info {
		width: 100% !important;
		margin: 0 !important;
		padding-top: 64px !important;
		align-items: center;
		text-align: center;
	}

	.account-profile .content .Panel {
		margin: 10px auto 0;
		justify-content: center;
	}

	.messages-page {
		--messages-height: calc(100vh - 220px);
	}

	.messages-list-card {
		height: min(34vh, 300px);
		min-height: 220px;
		margin-bottom: 12px;
	}

	.messages-empty-card {
		display: none;
	}

	.messages-dialog-open .messages-list-column {
		display: none;
	}

	.messages-dialog-open .messages-chat-column {
		width: 100%;
	}

	.messages-dialog-open .messages-chat-back {
		display: inline-flex;
	}

	.messages-chat.block {
		min-height: 0;
	}

	.Blog-Post-Page.blog-post-page .Title {
		margin-top: 4px;
	}
}

@media (max-width: 575px) {
	#ChangeBlogImage .modal-dialog,
	#EditBlog .modal-dialog,
	#NewPost .modal-dialog,
	#EditPost .modal-dialog {
		margin: 10px;
	}

	#ChangeBlogImage .modal-content,
	#EditBlog .modal-content,
	#NewPost .modal-content,
	#EditPost .modal-content {
		max-height: calc(100vh - 20px);
		border-radius: 15px;
	}

	#ChangeBlogImage .modal-header,
	#EditBlog .modal-header,
	#NewPost .modal-header,
	#EditPost .modal-header {
		padding: 16px;
	}

	.blog-modal-body {
		gap: 14px;
		padding: 16px;
	}

	#ChangeBlogImage .modal-footer,
	#EditBlog .modal-footer,
	#NewPost .modal-footer,
	#EditPost .modal-footer {
		padding: 12px 16px 16px;
	}

	#NewPost .tox-tinymce,
	#EditPost .tox-tinymce {
		height: 260px !important;
	}

	.blog-modal-footer .btn {
		flex: 1 1 auto;
	}

	.Blogs .blog-list-section .blog-directory-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.Blogs .blog-list-section .blog-directory-grid .blog-directory-card {
		min-height: 92px;
	}

	.blog-list-section-heading {
		align-items: flex-start;
	}

	.blog-list-section-heading > span {
		max-width: 45%;
		font-size: 10px;
	}

	.blog-directory-search-status {
		margin-right: 16px;
		margin-left: 16px;
	}

	.feed .list .block.write .top_panel {
		min-height: 68px;
		padding: 11px 12px;
	}

	.page_write .Note {
		border-radius: 17px;
	}

	.page_write .Note .post-detail-author {
		min-height: 72px;
		padding: 12px 15px;
	}

	.page_write .Note .Content {
		padding: 3px 15px 15px;
		font-size: 15px;
	}

	.page_write .Note .Attachment .carousel-item {
		height: clamp(220px, 78vw, 380px);
	}

	.feed .block.write .Attachment .carousel-control-prev,
	.feed .block.write .Attachment .carousel-control-next,
	.page_write .Note .Attachment .carousel-control-prev,
	.page_write .Note .Attachment .carousel-control-next {
		width: 38px;
		height: 38px;
	}

	.feed .block.write .Attachment .carousel-control-prev,
	.page_write .Note .Attachment .carousel-control-prev {
		left: 9px;
	}

	.feed .block.write .Attachment .carousel-control-next,
	.page_write .Note .Attachment .carousel-control-next {
		right: 9px;
	}

	.page_write .Note .post-detail-actions {
		min-height: 64px;
		padding: 10px 14px;
	}

	.feed .block.write .Attachment .carousel-item {
		height: clamp(210px, 68vw, 360px);
	}

	.feed .block.write .content_bottom {
		padding-right: 12px;
		padding-left: 12px;
	}

	.profile-panel-mini {
		padding: 15px;
	}

	.profile-panel-mini ul {
		gap: 6px;
	}

	.profile-panel-mini ul li {
		min-height: 52px;
		padding: 8px 9px;
	}

	.profile-panel-mini .ppm-label {
		font-size: 11px;
	}

	.flow-header {
		align-items: flex-start;
	}

	.flow-header h1 {
		font-size: 21px;
	}

	.flow-header p {
		max-width: 235px;
		font-size: 13px;
	}

	.flow-following-link {
		padding: 8px;
		font-size: 0;
	}

	.flow-following-link i {
		font-size: 14px;
	}

	.account-profile .cover .image {
		height: 175px !important;
	}

	.account-profile .content {
		padding: 20px 16px 18px !important;
	}

	.account-profile .content .avatar {
		top: -61px !important;
		width: 116px !important;
		height: 116px !important;
		left: calc(50% - 58px) !important;
		margin: 0 !important;
		overflow: visible !important;
	}

	.account-profile .content .avatar .image {
		width: 98px !important;
		height: 98px !important;
		flex: 0 0 98px !important;
	}

	.block.account.account-profile .content .avatar .btn[data-bs-target="#ChangeAvatar"] {
		right: 0;
		bottom: 0;
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.account-profile .content .info {
		padding-top: 52px !important;
		gap: 7px !important;
	}

	.account-profile .content .info .name {
		flex-direction: column;
		align-items: center;
		font-size: 18px !important;
	}

	.account-profile .content .info .status {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.account-profile .content .info .name .LastOnline {
		margin-left: 0;
	}

	.account-profile .content .info .bar {
		flex-wrap: wrap;
		justify-content: center;
		gap: 7px 14px !important;
	}

	.account-profile .content .Panel {
		width: 100%;
		margin-top: 12px;
	}

	.account-profile .content .Panel .btn {
		min-height: 42px;
	}

	.block.account.account-profile .content .avatar .btn[data-bs-target="#ChangeAvatar"]:focus-visible {
		outline: 3px solid rgba(102, 88, 219, .28);
		outline-offset: 2px;
	}

	.blog-directory-header {
		align-items: flex-start;
		flex-direction: column;
		padding: 17px 15px 12px;
	}

	.blog-directory-header .btn {
		align-self: flex-start;
	}

	.blog-directory-header h1 {
		font-size: 21px;
	}

	.blog-directory-search {
		margin: 0 14px;
	}

	.Blogs .blog-list-section .blog-directory-grid {
		margin-right: 14px !important;
		margin-left: 14px !important;
	}

	.blog-page .blog-posts-column,
	.blog-page .blog-sidebar-column {
		width: 100%;
	}

	.Blog-Main-Page .Posts .Post img {
		height: 165px !important;
	}

	.Blog-Post-Page.blog-post-page {
		padding: 18px;
	}

	.Blog-Post-Page.blog-post-page .Title {
		font-size: 30px;
	}

	.messages-page {
		--messages-height: calc(100dvh - 190px);
	}

	.messages-chat.block {
		min-height: 0;
		height: var(--messages-height);
		padding-right: 12px;
		padding-left: 12px;
	}

	.messages-chat form[data-action="Send"] {
		right: 12px;
		left: 12px;
	}

	.messages-chat form[data-action="Send"] .btn {
		padding-right: 11px;
		padding-left: 11px;
	}
}

.account-profile.no_cover .content {
	align-items: center;
}

.account-profile.no_cover .content .avatar {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: flex;
	width: 128px !important;
	height: 128px !important;
	flex: 0 0 128px;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	overflow: visible !important;
	transform: none !important;
}

.account-profile.no_cover .content .info {
	margin-left: 24px !important;
	padding-top: 0 !important;
}

@media (max-width: 990px) {
	.account-profile.no_cover .content {
		flex-direction: column;
	}

	.account-profile.no_cover .content .avatar {
		width: 130px !important;
		height: 130px !important;
		flex-basis: 130px;
	}

	.account-profile.no_cover .content .info {
		margin: 0 !important;
		padding-top: 12px !important;
	}
}

@media (max-width: 575px) {
	.account-profile.no_cover .content .avatar {
		width: 116px !important;
		height: 116px !important;
		flex-basis: 116px;
	}
}

.messages-page {
	--messages-height: min(760px, calc(100dvh - 180px));
	--messages-accent: #6658db;
	--messages-line: #e7e9f1;
	--messages-paper: #fff;
	--messages-wash: #f6f7fb;
	--messages-ink: #252c3b;
	--messages-secondary: #778196;
	align-items: stretch;
	gap: 0;
	margin-right: 0;
	margin-left: 0;
}

.messages-list-column,
.messages-chat-column {
	padding-right: 8px;
	padding-left: 8px;
}

.messages-list-card,
.messages-chat.block,
.messages-empty-card {
	border: 1px solid var(--messages-line);
	border-radius: 22px;
	background: var(--messages-paper);
	box-shadow: 0 16px 46px rgba(37, 44, 59, .07);
}

.messages-list-card {
	height: var(--messages-height);
	min-height: 520px;
	border-radius: 22px;
}

.messages-list-header {
	min-height: 92px;
	padding: 22px 22px 15px;
}

.messages-list-header > div > span,
.messages-action-modal .modal-header > div > span {
	color: var(--messages-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
}

.messages-list-header h1 {
	margin: 4px 0 0;
	color: var(--messages-ink);
	font-size: 25px;
	font-weight: 750;
	letter-spacing: -.035em;
}

.messages-list-header .messages-header-icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(102, 88, 219, .14);
	border-radius: 14px;
	background: rgba(102, 88, 219, .08);
	color: var(--messages-accent);
}

.messages-search {
	margin: 0 16px 15px;
	padding: 11px 13px;
	border-color: var(--messages-line);
	border-radius: 13px;
	background: var(--messages-wash);
}

.messages-dialogs {
	padding: 0 9px 10px !important;
}

.messages-dialogs .Dialog {
	height: 76px !important;
	margin: 2px 0;
	padding: 10px 11px;
	border: 1px solid transparent;
	border-radius: 15px;
	background: transparent !important;
}

.messages-dialogs .Dialog:hover,
.messages-dialogs .Dialog.active {
	border-color: rgba(102, 88, 219, .14);
	background: rgba(102, 88, 219, .065) !important;
}

.messages-dialogs .Dialog > img {
	width: 46px !important;
	height: 46px !important;
	flex: 0 0 46px;
	border: 2px solid var(--messages-paper);
	border-radius: 15px !important;
	object-fit: cover;
	box-shadow: 0 3px 10px rgba(37, 44, 59, .12);
}

.messages-dialogs .Dialog .Info {
	min-width: 0;
}

.messages-dialogs .Dialog .Info .Top {
	margin-bottom: 5px;
}

.messages-dialogs .Dialog .Info .Top span:first-child {
	font-size: 14px;
	font-weight: 720;
}

.messages-dialogs .Dialog .Info .Top span:last-child {
	font-size: 11px;
}

.messages-dialogs .Dialog .Info .Bottom span:first-child {
	display: block;
	max-width: 220px;
	overflow: hidden;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.messages-chat.block {
	position: relative;
	height: var(--messages-height);
	min-height: 520px;
	padding: 0 22px 88px;
	border-radius: 22px;
}

.messages-chat .Page-Messages.Profile {
	min-height: 76px;
	height: auto;
	margin: 0;
	border-bottom: 1px solid var(--messages-line);
}

.messages-chat .Page-Messages.Profile .Info .Name {
	font-size: 16px;
}

.messages-chat .Page-Messages.Profile .Info .Online {
	font-size: 12px;
}

.messages-chat .Page-Messages.Profile .Menu {
	display: flex;
	align-items: center;
	gap: 8px;
}

.messages-tool-button {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	gap: 7px;
	padding: 0 11px;
	border: 1px solid rgba(102, 88, 219, .18);
	border-radius: 11px;
	background: rgba(102, 88, 219, .07);
	color: var(--messages-accent);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.messages-tool-button:hover {
	background: rgba(102, 88, 219, .13);
}

.messages-tool-button.messages-tool-paid {
	border-color: var(--messages-line);
	background: var(--messages-paper);
	color: var(--messages-ink);
}

.messages-chat .Page-Messages.Profile .Menu img.Avatar {
	width: 40px;
	height: 40px;
	border-radius: 14px;
}

.messages-chat #Chat {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding: 20px 4px;
}

.messages-chat #Chat > div[msgid] {
	display: flex;
	max-width: 84%;
	align-items: flex-end;
	gap: 9px;
	margin: 0;
}

.messages-chat #Chat > div.message-sent {
	align-self: flex-end;
	flex-direction: row-reverse;
}

.messages-chat #Chat > div[msgid] img.Avatar {
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 11px;
}

.messages-chat #Chat > div[msgid] .Info {
	min-width: 0;
	padding: 10px 13px;
	border: 1px solid var(--messages-line);
	border-radius: 15px 15px 15px 5px;
	background: var(--messages-wash);
}

.messages-chat #Chat > div.message-sent .Info {
	border-color: rgba(102, 88, 219, .12);
	border-radius: 15px 15px 5px 15px;
	background: rgba(102, 88, 219, .075);
}

.messages-chat #Chat > div[msgid] .Info .Name {
	margin-bottom: 4px;
	font-size: 11px;
}

.messages-chat #Chat > div[msgid] .Info .Message {
	color: var(--messages-ink) !important;
	font-size: 14px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.chat-message-remove {
	display: inline-flex;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	align-self: center;
	border: 1px solid transparent;
	border-radius: 9px;
	background: transparent;
	color: var(--social-muted);
	opacity: 0;
	transition: opacity .15s ease, color .15s ease, border-color .15s ease;
}

.messages-chat #Chat > div[msgid]:hover .chat-message-remove,
.chat-message-remove:focus-visible {
	opacity: 1;
}

.chat-message-remove:hover {
	border-color: rgba(212, 74, 100, .35);
	color: #d34b70;
}

.messages-chat #Chat > div.is-removed .Info {
	border-style: dashed;
	background: transparent;
	opacity: .78;
}

.messages-chat #Chat > div.is-removed .Info .Name {
	opacity: .6;
}

.chat-message-removed {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--social-muted);
	font-size: 13px;
	font-style: italic;
}

@media (hover: none) {
	.chat-message-remove {
		opacity: .75;
	}
}

.paid-media-card {
	display: flex;
	min-width: min(350px, 60vw);
	align-items: center;
	gap: 11px;
	padding: 12px;
	border: 1px solid rgba(102, 88, 219, .16);
	border-radius: 14px;
	background: var(--messages-paper);
}

.paid-media-icon {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	place-items: center;
	border-radius: 13px;
	background: rgba(102, 88, 219, .1);
	color: var(--messages-accent);
	font-size: 17px;
}

.paid-media-card > div {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 3px;
}

.paid-media-card strong {
	color: var(--messages-ink);
	font-size: 13px;
}

.paid-media-card span:not(.paid-media-icon) {
	color: var(--messages-secondary);
	font-size: 11px;
}

.paid-media-buy {
	padding: 8px 10px;
	border: 0;
	border-radius: 10px;
	background: var(--messages-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.paid-media-content {
	max-width: min(460px, 60vw);
	overflow: hidden;
	border-radius: 13px;
}

.paid-media-content img,
.paid-media-content video {
	display: block;
	width: 100%;
	max-height: 360px;
	object-fit: contain;
}

.messages-chat form[data-action="Send"] {
	right: 22px;
	bottom: 16px;
	left: 22px;
}

.messages-chat form[data-action="Send"] .form-control {
	min-height: 48px;
	padding-left: 16px;
	border-radius: 14px !important;
	background: var(--messages-wash);
}

.messages-chat form[data-action="Send"] .btn {
	min-width: 104px;
	border-radius: 13px !important;
}

.messages-action-modal {
	overflow: hidden;
	border: 1px solid var(--messages-line);
	border-radius: 20px;
	background: var(--messages-paper);
	color: var(--messages-ink);
}

.messages-action-modal .modal-header {
	padding: 20px 22px 14px;
	border-bottom-color: var(--messages-line);
}

.messages-action-modal .modal-title {
	margin-top: 4px;
	font-size: 20px;
	font-weight: 750;
}

.messages-action-modal .modal-body {
	display: grid;
	gap: 13px;
	padding: 20px 22px;
}

.messages-action-modal .modal-body label {
	display: grid;
	gap: 7px;
	color: var(--messages-ink);
	font-size: 13px;
	font-weight: 650;
}

.messages-action-modal .modal-body .form-control {
	min-height: 43px;
	border-color: var(--messages-line);
	border-radius: 11px;
	background: var(--messages-wash);
	color: var(--messages-ink);
}

.messages-action-modal .modal-body p,
.messages-action-modal .modal-body small {
	margin: 0;
	color: var(--messages-secondary);
	font-size: 12px;
	line-height: 1.5;
}

.messages-action-modal .modal-footer {
	border-top-color: var(--messages-line);
}

html[data-bs-theme="dark"] .messages-page {
	--messages-line: rgba(157, 169, 191, .16);
	--messages-paper: #191d26;
	--messages-wash: #202530;
	--messages-ink: #e5e9f1;
	--messages-secondary: #9aa5b8;
}

html[data-bs-theme="dark"] .messages-list-card,
html[data-bs-theme="dark"] .messages-chat.block,
html[data-bs-theme="dark"] .messages-empty-card,
html[data-bs-theme="dark"] .messages-action-modal,
html[data-bs-theme="dark"] .messages-tool-button.messages-tool-paid {
	background: var(--messages-paper) !important;
	color: var(--messages-ink);
}

html[data-bs-theme="dark"] .messages-dialogs .Dialog > img {
	border-color: var(--messages-paper);
}

html[data-bs-theme="dark"] .messages-chat #Chat > div[msgid] .Info,
html[data-bs-theme="dark"] .messages-chat #Chat > div.message-sent .Info,
html[data-bs-theme="dark"] .paid-media-card {
	background: var(--messages-wash);
}

html[data-bs-theme="dark"] .messages-chat #Chat > div[msgid] .Info .Message,
html[data-bs-theme="dark"] .paid-media-card strong,
html[data-bs-theme="dark"] .messages-action-modal .modal-body label {
	color: var(--messages-ink) !important;
}

html[data-bs-theme="dark"] .messages-action-modal .modal-body .form-control {
	border-color: var(--messages-line);
	background: var(--messages-wash);
	color: var(--messages-ink);
}

@media (max-width: 991.98px) {
	.messages-page {
		--messages-height: calc(100dvh - 190px);
		gap: 14px;
	}

	.messages-list-card {
		height: min(360px, 42dvh);
		min-height: 230px;
	}

	.messages-dialog-open .messages-list-column {
		display: none;
	}

	.messages-dialog-open .messages-chat-column {
		width: 100%;
	}
}

@media (max-width: 575.98px) {
	.messages-list-column,
	.messages-chat-column {
		padding-right: 0;
		padding-left: 0;
	}

	.messages-chat.block {
		padding-right: 12px;
		padding-left: 12px;
		border-radius: 16px;
	}

	.messages-chat .Page-Messages.Profile {
		min-height: 68px;
	}

	.messages-tool-button {
		width: 36px;
		min-width: 36px;
		justify-content: center;
		padding: 0;
	}

	.messages-tool-button span {
		display: none;
	}

	.messages-chat #Chat > div[msgid] {
		max-width: 96%;
	}

	.paid-media-card {
		min-width: min(260px, 68vw);
		flex-wrap: wrap;
	}

	.paid-media-buy {
		width: 100%;
	}

	.paid-media-content {
		max-width: 70vw;
	}

	.messages-chat form[data-action="Send"] {
		right: 12px;
		left: 12px;
	}
}

body.messages-center-page .messages-dialogs {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 0 12px 14px !important;
	scrollbar-width: thin;
	scrollbar-color: rgba(102, 88, 219, .24) transparent;
}

body.messages-center-page .messages-dialogs .Dialog {
	position: relative;
	display: flex;
	width: 100%;
	min-width: 0;
	height: auto !important;
	min-height: 78px;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 13px;
	overflow: hidden;
	border: 1px solid transparent !important;
	border-radius: 17px;
	background: transparent !important;
	color: #252c3b;
	text-align: left;
	transition: background .17s ease, border-color .17s ease, box-shadow .17s ease, transform .17s ease;
}

body.messages-center-page .messages-dialogs .Dialog:hover {
	border-color: #eceaf8 !important;
	background: #faf9ff !important;
	transform: translateY(-1px);
}

body.messages-center-page .messages-dialogs .Dialog.active {
	border-color: rgba(102, 88, 219, .13) !important;
	background: linear-gradient(110deg, #f2f0ff 0%, #f8f7ff 100%) !important;
	box-shadow: 0 5px 16px rgba(80, 68, 165, .07);
}

body.messages-center-page .messages-dialogs .Dialog.active::before {
	position: absolute;
	top: 19px;
	bottom: 19px;
	left: 0;
	width: 3px;
	border-radius: 0 4px 4px 0;
	background: #6658db;
	content: "";
}

body.messages-center-page .messages-dialogs .Dialog > img {
	width: 48px !important;
	height: 48px !important;
	flex: 0 0 48px;
	border: 0;
	border-radius: 16px !important;
	background: #efeff5;
	box-shadow: none;
	object-fit: cover;
}

body.messages-center-page .messages-dialogs .Dialog .Info {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}

body.messages-center-page .messages-dialogs .Dialog .Info .Top,
body.messages-center-page .messages-dialogs .Dialog .Info .Bottom {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	margin: 0;
}

body.messages-center-page .messages-dialogs .Dialog .Info .Top span:first-child {
	display: block;
	min-width: 0;
	flex: 1;
	overflow: hidden;
	color: #262d3d;
	font-size: 13px;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.messages-center-page .messages-dialogs .Dialog .Info .Top span:last-child {
	flex: 0 0 auto;
	margin-left: 0;
	color: #9aa2b2;
	font-size: 10px;
	font-weight: 550;
}

body.messages-center-page .messages-dialogs .Dialog .Info .Bottom span:first-child {
	display: block;
	min-width: 0;
	flex: 1;
	overflow: hidden;
	color: #81899a;
	font-size: 11px;
	font-weight: 450;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.messages-center-page .messages-dialogs .Dialog .Info .Bottom span.badge {
	display: flex;
	min-width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 8px;
	background: #6658db;
	box-shadow: 0 3px 8px rgba(102, 88, 219, .2);
	color: #fff;
	font-size: 10px;
	font-weight: 750;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog {
	color: #e5e9f1;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog:hover {
	border-color: rgba(157, 169, 191, .12) !important;
	background: rgba(157, 169, 191, .07) !important;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog.active {
	border-color: rgba(137, 124, 255, .2) !important;
	background: linear-gradient(110deg, rgba(102, 88, 219, .2), rgba(102, 88, 219, .1)) !important;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog > img {
	background: #2b303c;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog .Info .Top span:first-child {
	color: #e5e9f1;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog .Info .Top span:last-child {
	color: #929caf;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs .Dialog .Info .Bottom span:first-child {
	color: #a6b0c0;
}

body.messages-center-page .messages-list-card {
	position: relative;
	gap: 0;
	overflow: hidden;
	border: 1px solid #e0e2ec;
	border-radius: 25px;
	background:
		radial-gradient(ellipse at 0 0, rgba(112, 93, 231, .09), transparent 44%),
		linear-gradient(155deg, #fbfaff 0%, #f3f4fa 100%);
	box-shadow:
		0 24px 60px rgba(45, 43, 86, .1),
		0 3px 10px rgba(45, 43, 86, .035);
}

body.messages-center-page .messages-list-header {
	min-height: 98px;
	padding: 23px 22px 15px;
}

body.messages-center-page .messages-search {
	min-height: 45px;
	margin: 0 17px 15px;
	border: 1px solid #e3e3ef;
	border-radius: 14px;
	background: rgba(255, 255, 255, .88);
	box-shadow: 0 4px 14px rgba(50, 48, 84, .035);
}

body.messages-center-page .messages-dialogs.block {
	min-height: 0;
	margin: 0 10px 10px;
	padding: 12px !important;
	overflow-x: hidden !important;
	border: 1px solid #e0e1ed;
	border-radius: 18px;
	outline: 0;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(242, 242, 250, .92)),
		#f1f1f8;
	box-shadow:
		inset 0 1px 2px rgba(56, 52, 100, .035),
		0 5px 15px rgba(48, 45, 89, .035);
	scrollbar-color: rgba(102, 88, 219, .34) transparent;
}

body.messages-center-page .messages-dialogs.block .Dialog {
	min-height: 78px;
	padding: 12px;
	border: 1px solid rgba(224, 225, 237, .75) !important;
	border-radius: 15px;
	background: rgba(255, 255, 255, .88) !important;
	box-shadow: 0 3px 10px rgba(44, 45, 77, .035);
}

body.messages-center-page .messages-dialogs.block .Dialog:hover {
	border-color: rgba(102, 88, 219, .2) !important;
	background: #fff !important;
	box-shadow: 0 7px 17px rgba(62, 56, 122, .08);
	transform: translateY(-2px);
}

body.messages-center-page .messages-dialogs.block .Dialog.active {
	border-color: rgba(102, 88, 219, .27) !important;
	background: linear-gradient(110deg, #fff 0%, #f5f2ff 100%) !important;
	box-shadow:
		0 7px 19px rgba(87, 72, 173, .1),
		inset 3px 0 0 #6658db;
}

body.messages-center-page .messages-dialogs.block .Dialog.active::before {
	display: none;
}

body.messages-center-page .messages-dialogs.block .Dialog > img {
	width: 46px !important;
	height: 46px !important;
	flex-basis: 46px;
	border: 2px solid #fff;
	border-radius: 15px !important;
	background: #f0eff8;
	box-shadow: 0 3px 9px rgba(48, 45, 89, .1);
}

html[data-bs-theme="dark"] body.messages-center-page .messages-list-card {
	border-color: rgba(157, 169, 191, .17);
	background:
		radial-gradient(ellipse at 0 0, rgba(112, 93, 231, .14), transparent 44%),
		linear-gradient(155deg, #1d202b 0%, #171b24 100%);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

html[data-bs-theme="dark"] body.messages-center-page .messages-search {
	border-color: rgba(157, 169, 191, .16);
	background: rgba(27, 31, 42, .92);
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs.block {
	border-color: rgba(157, 169, 191, .15);
	background:
		linear-gradient(145deg, rgba(44, 48, 63, .78), rgba(32, 36, 48, .9)),
		#202430;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs.block .Dialog {
	border-color: rgba(157, 169, 191, .1) !important;
	background: rgba(25, 29, 38, .92) !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .11);
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs.block .Dialog:hover {
	border-color: rgba(157, 145, 255, .22) !important;
	background: #242938 !important;
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs.block .Dialog.active {
	border-color: rgba(137, 124, 255, .3) !important;
	background: linear-gradient(110deg, #28283d, #252437) !important;
	box-shadow: inset 3px 0 0 #897cff, 0 7px 19px rgba(0, 0, 0, .16);
}

html[data-bs-theme="dark"] body.messages-center-page .messages-dialogs.block .Dialog > img {
	border-color: #292d3a;
	background: #2b303c;
}

@media (max-width: 575.98px) {
	body.messages-center-page .messages-list-card {
		border-radius: 20px;
	}

	body.messages-center-page .messages-dialogs.block {
		margin: 0 8px 8px;
		padding: 9px !important;
		border-radius: 15px;
	}

	body.messages-center-page .messages-dialogs.block .Dialog {
		min-height: 72px;
		padding: 10px;
	}
}

.messages-modal-dialog {
	max-width: 470px;
	padding: 12px;
}

.messages-action-modal {
	--modal-accent: #6758df;
	--modal-accent-dark: #5546c7;
	--modal-text: #262b3b;
	--modal-muted: #81899b;
	--modal-line: #e8e9f1;
	--modal-field: #f7f7fb;
	overflow: hidden;
	border: 1px solid rgba(228, 229, 240, .95);
	border-radius: 27px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(27, 27, 55, .24);
	color: var(--modal-text);
}

.messages-action-modal form {
	margin: 0;
}

.messages-action-modal .modal-header {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	background:
		radial-gradient(circle at 100% 0, rgba(255, 255, 255, .36), transparent 31%),
		linear-gradient(125deg, #6858df 0%, #7768e7 54%, #8876ed 100%);
	color: #fff;
}

.messages-modal-hero {
	position: relative;
	display: flex;
	min-height: 142px;
	align-items: center;
	gap: 17px;
	padding: 27px 28px;
	overflow: hidden;
}

.messages-modal-hero::after {
	position: absolute;
	right: 30px;
	bottom: -86px;
	width: 175px;
	height: 175px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	box-shadow: 0 0 0 18px rgba(255, 255, 255, .045), 0 0 0 38px rgba(255, 255, 255, .035);
	content: "";
	pointer-events: none;
}

.messages-modal-icon {
	z-index: 1;
	display: grid;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 19px;
	background: rgba(255, 255, 255, .17);
	box-shadow: 0 9px 25px rgba(52, 40, 145, .13), inset 0 1px 0 rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 25px;
	backdrop-filter: blur(8px);
}

.messages-modal-heading {
	z-index: 1;
	min-width: 0;
	padding-right: 28px;
}

.messages-modal-heading > span {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, .78);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .16em;
}

.messages-modal-heading .modal-title {
	margin: 0;
	color: #fff;
	font-size: 23px;
	font-weight: 760;
	letter-spacing: -.035em;
}

.messages-modal-heading p {
	margin: 5px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: 12px;
	line-height: 1.45;
}

.messages-modal-close {
	position: absolute;
	z-index: 2;
	top: 17px;
	right: 17px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 11px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 12px;
	transition: background .16s ease, transform .16s ease;
}

.messages-modal-close:hover {
	transform: rotate(90deg);
	background: rgba(255, 255, 255, .24);
}

.messages-action-modal .modal-body {
	display: grid;
	gap: 17px;
	padding: 23px 25px 20px;
}

.messages-transfer-recipient {
	display: flex;
	min-height: 64px;
	align-items: center;
	gap: 12px;
	padding: 10px 13px;
	border: 1px solid var(--modal-line);
	border-radius: 16px;
	background: linear-gradient(110deg, #fafaff, #f6f5fc);
}

.messages-recipient-avatar {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	place-items: center;
	border-radius: 14px;
	background: #ece9ff;
	color: var(--modal-accent);
	font-size: 18px;
}

.messages-transfer-recipient > span:nth-child(2) {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 3px;
}

.messages-transfer-recipient small {
	color: var(--modal-muted);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .14em;
}

.messages-transfer-recipient strong {
	overflow: hidden;
	color: var(--modal-text);
	font-size: 13px;
	font-weight: 720;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.messages-transfer-recipient > i {
	color: #39a982;
	font-size: 17px;
}

.messages-amount-field,
.messages-price-field {
	display: grid;
	gap: 8px;
	margin: 0;
}

.messages-field-label {
	color: #6d7485;
	font-size: 11px;
	font-weight: 720;
}

.messages-amount-control {
	display: flex;
	min-height: 70px;
	align-items: center;
	gap: 12px;
	padding: 0 18px;
	border: 1px solid #e7e5f5;
	border-radius: 17px;
	background: linear-gradient(110deg, #fbfaff, #f7f6fd);
	box-shadow: inset 0 1px 2px rgba(56, 52, 100, .025);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.messages-amount-control:focus-within {
	border-color: rgba(103, 88, 223, .55);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(103, 88, 223, .1);
}

.messages-currency-mark {
	display: grid;
	width: 37px;
	height: 37px;
	flex: 0 0 37px;
	place-items: center;
	border-radius: 12px;
	background: #ece9ff;
	color: var(--modal-accent);
	font-size: 16px;
	font-weight: 750;
}

.messages-amount-control .form-control {
	width: 100%;
	min-width: 0;
	min-height: auto;
	padding: 4px 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	color: var(--modal-text);
	font-size: 25px;
	font-weight: 740;
	letter-spacing: -.04em;
}

.messages-amount-control .form-control:focus {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--modal-text);
}

.messages-amount-control .form-control::placeholder {
	color: #c1c3d0;
}

.messages-modal-note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 11px 12px;
	border: 1px solid #e7f1ed;
	border-radius: 13px;
	background: #f5faf8;
	color: #687d75;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.5;
}

.messages-modal-note > i {
	flex: 0 0 auto;
	margin-top: 1px;
	color: #39a982;
	font-size: 14px;
}

.messages-action-modal .modal-footer {
	display: flex;
	gap: 9px;
	padding: 15px 25px 22px;
	border: 0;
}

.messages-modal-cancel,
.messages-modal-submit {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 17px;
	border-radius: 13px;
	font-size: 12px;
	font-weight: 720;
	transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.messages-modal-cancel {
	min-width: 100px;
	border: 1px solid var(--modal-line);
	background: #fff;
	color: #72798a;
}

.messages-modal-cancel:hover {
	background: #f6f6fa;
	color: var(--modal-text);
}

.messages-modal-submit {
	flex: 1;
	border: 0;
	background: linear-gradient(110deg, var(--modal-accent), #7969e8);
	box-shadow: 0 7px 17px rgba(103, 88, 223, .23);
	color: #fff;
}

.messages-modal-submit:hover {
	transform: translateY(-1px);
	background: linear-gradient(110deg, var(--modal-accent-dark), #6b5bd8);
	box-shadow: 0 9px 20px rgba(103, 88, 223, .29);
	color: #fff;
}

.messages-modal-submit:disabled {
	transform: none;
	opacity: .68;
}

.messages-upload-zone {
	position: relative;
	display: flex;
	min-height: 154px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 7px;
	margin: 0;
	padding: 17px 15px;
	overflow: hidden;
	border: 1.5px dashed #c9c3f0;
	border-radius: 18px;
	background:
		radial-gradient(circle at 50% 0, rgba(103, 88, 223, .09), transparent 55%),
		#faf9ff;
	text-align: center;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.messages-upload-zone:hover,
.messages-upload-zone:focus-within,
.messages-upload-zone.has-file {
	border-color: var(--modal-accent);
	background:
		radial-gradient(circle at 50% 0, rgba(103, 88, 223, .14), transparent 60%),
		#f6f4ff;
}

.messages-upload-zone:hover {
	transform: translateY(-1px);
}

.messages-upload-zone > input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.messages-upload-icon {
	display: grid;
	width: 43px;
	height: 43px;
	margin-bottom: 2px;
	place-items: center;
	border: 1px solid rgba(103, 88, 223, .13);
	border-radius: 15px;
	background: #eeebff;
	color: var(--modal-accent);
	font-size: 22px;
}

.messages-upload-zone > strong {
	max-width: 100%;
	overflow: hidden;
	color: var(--modal-text);
	font-size: 12px;
	font-weight: 720;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.messages-upload-zone > span.messages-upload-selection {
	max-width: 100%;
	overflow: hidden;
	color: var(--modal-accent);
	font-size: 10px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.messages-upload-zone > small {
	color: #999daf;
	font-size: 9px;
	font-weight: 500;
}

.messages-paid-modal .modal-body {
	gap: 14px;
}

.messages-paid-modal .messages-amount-control {
	min-height: 58px;
}

.messages-paid-modal .messages-amount-control .form-control {
	font-size: 21px;
}

.messages-paid-modal .messages-modal-note {
	border-color: #e9e6fa;
	background: #f8f7fd;
	color: #77728e;
}

.messages-paid-modal .messages-modal-note > i {
	color: var(--modal-accent);
}

html[data-bs-theme="dark"] .messages-action-modal {
	--modal-text: #edf0f7;
	--modal-muted: #9aa5b8;
	--modal-line: rgba(157, 169, 191, .16);
	--modal-field: #222735;
	border-color: rgba(157, 169, 191, .17);
	background: #191d26;
}

html[data-bs-theme="dark"] .messages-transfer-recipient {
	border-color: var(--modal-line);
	background: linear-gradient(110deg, #222735, #202430);
}

html[data-bs-theme="dark"] .messages-recipient-avatar,
html[data-bs-theme="dark"] .messages-currency-mark,
html[data-bs-theme="dark"] .messages-upload-icon {
	background: rgba(137, 124, 255, .17);
	color: #a79cff;
}

html[data-bs-theme="dark"] .messages-field-label {
	color: #a6b0c0;
}

html[data-bs-theme="dark"] .messages-amount-control,
html[data-bs-theme="dark"] .messages-amount-control:focus-within {
	border-color: rgba(157, 145, 255, .24);
	background: #222735;
}

html[data-bs-theme="dark"] .messages-amount-control:focus-within {
	box-shadow: 0 0 0 4px rgba(137, 124, 255, .12);
}

html[data-bs-theme="dark"] .messages-modal-note {
	border-color: rgba(70, 157, 127, .2);
	background: rgba(48, 114, 91, .12);
	color: #a8c6ba;
}

html[data-bs-theme="dark"] .messages-paid-modal .messages-modal-note {
	border-color: rgba(137, 124, 255, .16);
	background: rgba(102, 88, 219, .1);
	color: #b7b1d4;
}

html[data-bs-theme="dark"] .messages-upload-zone,
html[data-bs-theme="dark"] .messages-upload-zone:hover,
html[data-bs-theme="dark"] .messages-upload-zone:focus-within,
html[data-bs-theme="dark"] .messages-upload-zone.has-file {
	border-color: rgba(157, 145, 255, .4);
	background:
		radial-gradient(circle at 50% 0, rgba(103, 88, 223, .16), transparent 60%),
		#202432;
}

html[data-bs-theme="dark"] .messages-upload-zone > small {
	color: #929caf;
}

html[data-bs-theme="dark"] .messages-modal-cancel {
	border-color: var(--modal-line);
	background: #222735;
	color: #b2bbca;
}

html[data-bs-theme="dark"] .messages-modal-cancel:hover {
	background: #2a3040;
	color: #edf0f7;
}

@media (max-width: 575.98px) {
	.messages-modal-dialog {
		margin: 10px;
		padding: 0;
	}

	.messages-action-modal {
		border-radius: 22px;
	}

	.messages-modal-hero {
		min-height: 126px;
		gap: 13px;
		padding: 22px 19px;
	}

	.messages-modal-icon {
		width: 49px;
		height: 49px;
		flex-basis: 49px;
		border-radius: 16px;
		font-size: 21px;
	}

	.messages-modal-heading .modal-title {
		font-size: 20px;
	}

	.messages-action-modal .modal-body {
		padding: 19px 18px 16px;
	}

	.messages-action-modal .modal-footer {
		padding: 12px 18px 18px;
	}

	.messages-modal-cancel {
		min-width: 84px;
	}
}

#GetDetails .profile-details-dialog {
	max-width: 540px;
	margin: 32px auto;
	padding: 0 14px;
}

#GetDetails .profile-details-modal {
	--profile-details-ink: #252b3a;
	--profile-details-muted: #858da0;
	--profile-details-line: #e8e9f1;
	overflow: hidden;
	border: 1px solid rgba(227, 229, 239, .96);
	border-radius: 25px;
	background: #fff;
	box-shadow: 0 28px 85px rgba(28, 31, 57, .24);
	color: var(--profile-details-ink);
}

#GetDetails .profile-details-header {
	position: relative;
	display: flex;
	min-height: 128px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 27px;
	overflow: hidden;
	border: 0;
	background:
		radial-gradient(circle at 95% -20%, rgba(255, 255, 255, .35), transparent 32%),
		linear-gradient(125deg, #6658db 0%, #7768e5 58%, #9182ef 100%);
	color: #fff;
}

#GetDetails .profile-details-header::after {
	position: absolute;
	right: 38px;
	bottom: -89px;
	width: 172px;
	height: 172px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	box-shadow: 0 0 0 17px rgba(255, 255, 255, .045), 0 0 0 36px rgba(255, 255, 255, .035);
	content: "";
	pointer-events: none;
}

#GetDetails .profile-details-heading {
	z-index: 1;
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 15px;
}

#GetDetails .profile-details-heading > div {
	min-width: 0;
}

#GetDetails .profile-details-icon {
	display: grid;
	width: 53px;
	height: 53px;
	flex: 0 0 53px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 17px;
	background: rgba(255, 255, 255, .17);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 23px;
	backdrop-filter: blur(8px);
}

#GetDetails .profile-details-heading > div > span {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, .77);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .16em;
}

#GetDetails .profile-details-heading .modal-title {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 750;
	letter-spacing: -.03em;
}

#GetDetails .profile-details-heading p {
	margin: 5px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: 11px;
	line-height: 1.45;
}

#GetDetails .profile-details-close {
	z-index: 2;
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 11px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 12px;
	transition: transform .16s ease, background .16s ease;
}

#GetDetails .profile-details-close:hover {
	transform: rotate(90deg);
	background: rgba(255, 255, 255, .23);
}

#GetDetails .Detail-Profile {
	padding: 22px 25px 25px;
}

#GetDetails .Detail-Profile ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
}

#GetDetails .Detail-Profile ul li {
	display: grid;
	min-width: 0;
	min-height: 74px;
	grid-template-columns: 34px minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 10px;
	row-gap: 2px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid var(--profile-details-line);
	border-radius: 15px;
	background: linear-gradient(140deg, #fff 0%, #f8f8fc 100%);
	color: var(--profile-details-muted);
	font-size: 12px;
	line-height: 1.4;
}

#GetDetails .Detail-Profile ul li .Detail-Icon {
	display: flex;
	min-width: 0;
	grid-column: 1 / -1;
	grid-row: 1;
	align-items: center;
	gap: 8px;
	padding: 0;
	color: #858da0;
	font-size: 11px;
	font-weight: 560;
	line-height: 1.3;
}

#GetDetails .Detail-Profile ul li .Detail-Icon .bi {
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	grid-column: 1;
	grid-row: 1;
	place-items: center;
	padding: 0;
	border-radius: 11px;
	background: #eeecff;
	color: #6658db;
	font-size: 16px;
}

#GetDetails .Detail-Profile ul li .Detail-Icon-Text {
	grid-column: 2;
	grid-row: 2;
	min-width: 0;
	overflow: hidden;
	color: var(--profile-details-ink);
	font-size: 12px;
	font-weight: 700;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#GetDetails .Detail-Profile ul li .Detail-Icon-Text a {
	color: #6254d6;
	font-weight: 750;
	text-decoration: none;
}

#GetDetails .Detail-Profile ul li .Detail-Icon-Text a:hover {
	color: #4c3db9;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#GetDetails .Detail-Profile ul li.detail-profile-link {
	display: flex;
	grid-column: 1 / -1;
	min-height: 58px;
	gap: 11px;
	background: linear-gradient(110deg, #f8f7ff, #f4f3fc);
}

#GetDetails .Detail-Profile ul li.detail-profile-link .Detail-Icon {
	display: flex;
}

#GetDetails .Detail-Profile ul li.detail-profile-link .Detail-Icon-Text {
	margin-left: 0;
}

#GetDetails .Detail-Profile ul li.detail-profile-status {
	display: flex;
	grid-column: 1 / -1;
	gap: 11px;
	border-color: rgba(102, 88, 219, .16);
	background: #faf9ff;
}

#GetDetails .Detail-Profile ul li.detail-profile-status .Detail-Icon {
	display: flex;
}

#GetDetails .Detail-Profile ul li.detail-profile-status .Detail-Icon-Text {
	white-space: normal;
}

#GetDetails .Detail-Profile ul li.detail-profile-divider {
	display: none;
}

#CreateRoom .modal-dialog {
	max-width: 500px;
	padding: 0 14px;
}

#CreateRoom .create-room-modal {
	--create-room-ink: #252b3a;
	--create-room-muted: #858da0;
	--create-room-line: #e8e9f1;
	overflow: hidden;
	border: 1px solid rgba(227, 229, 239, .96);
	border-radius: 23px;
	background: #fff;
	box-shadow: 0 28px 85px rgba(28, 31, 57, .24);
	color: var(--create-room-ink);
}

#CreateRoom .create-room-header {
	position: relative;
	display: flex;
	min-height: 116px;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 22px 25px;
	overflow: hidden;
	border: 0;
	background:
		radial-gradient(circle at 95% -20%, rgba(255, 255, 255, .35), transparent 32%),
		linear-gradient(125deg, #6658db 0%, #7768e5 58%, #9182ef 100%);
	color: #fff;
}

#CreateRoom .create-room-header::after {
	position: absolute;
	right: 37px;
	bottom: -94px;
	width: 174px;
	height: 174px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	box-shadow: 0 0 0 17px rgba(255, 255, 255, .045), 0 0 0 36px rgba(255, 255, 255, .035);
	content: "";
	pointer-events: none;
}

#CreateRoom .create-room-heading {
	z-index: 1;
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 14px;
}

#CreateRoom .create-room-heading > div {
	min-width: 0;
}

#CreateRoom .create-room-icon {
	display: grid;
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 16px;
	background: rgba(255, 255, 255, .17);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 21px;
	backdrop-filter: blur(8px);
}

#CreateRoom .create-room-heading > div > span {
	display: block;
	margin-bottom: 5px;
	color: rgba(255, 255, 255, .77);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .16em;
}

#CreateRoom .create-room-heading .modal-title {
	margin: 0;
	color: #fff;
	font-size: 21px;
	font-weight: 750;
	letter-spacing: -.03em;
}

#CreateRoom .create-room-heading p {
	margin: 5px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: 11px;
	line-height: 1.45;
}

#CreateRoom .create-room-close {
	z-index: 2;
	display: grid;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 11px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 12px;
	transition: transform .16s ease, background .16s ease;
}

#CreateRoom .create-room-close:hover {
	transform: rotate(90deg);
	background: rgba(255, 255, 255, .23);
}

#CreateRoom .create-room-body {
	padding: 22px 25px 18px;
}

#CreateRoom .create-room-recipient {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 13px;
	padding: 13px 15px;
	margin-bottom: 21px;
	border: 1px solid var(--create-room-line);
	border-radius: 16px;
	background: linear-gradient(140deg, #fff, #f8f8fc);
}

#CreateRoom .create-room-recipient > img {
	display: block;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border: 3px solid #fff;
	border-radius: 17px;
	background: #eeecff;
	box-shadow: 0 3px 10px rgba(49, 46, 92, .12);
	object-fit: cover;
}

#CreateRoom .create-room-recipient-info {
	min-width: 0;
}

#CreateRoom .create-room-recipient-label {
	margin-bottom: 3px;
	color: var(--create-room-muted);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .13em;
}

#CreateRoom .create-room-recipient-name {
	overflow: hidden;
	color: var(--create-room-ink);
	font-size: 14px;
	font-weight: 750;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#CreateRoom .create-room-recipient-status {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--create-room-muted);
	font-size: 11px;
	line-height: 1.4;
}

#CreateRoom .create-room-status-dot {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: #36bd83;
	box-shadow: 0 0 0 3px rgba(54, 189, 131, .12);
}

#CreateRoom .create-room-status-dot.is-offline {
	background: #a2a9b8;
	box-shadow: 0 0 0 3px rgba(162, 169, 184, .12);
}

#CreateRoom .create-room-message-label {
	display: block;
	margin-bottom: 8px;
	color: var(--create-room-ink);
	font-size: 12px;
	font-weight: 700;
}

#CreateRoom .create-room-message {
	min-height: 136px;
	padding: 13px 14px;
	border: 1px solid var(--create-room-line);
	border-radius: 14px;
	background: #fbfbfd;
	box-shadow: none;
	color: var(--create-room-ink);
	font-size: 13px;
	line-height: 1.55;
	resize: vertical;
}

#CreateRoom .create-room-message::placeholder {
	color: #a0a6b4;
}

#CreateRoom .create-room-message:focus {
	border-color: rgba(102, 88, 219, .55);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(102, 88, 219, .1);
}

#CreateRoom .create-room-hint {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 9px;
	color: var(--create-room-muted);
	font-size: 10px;
	line-height: 1.45;
}

#CreateRoom .create-room-hint i {
	color: #6658db;
	font-size: 11px;
}

#CreateRoom .create-room-footer {
	display: flex;
	gap: 9px;
	padding: 0 25px 22px;
	border: 0;
}

#CreateRoom .create-room-cancel,
#CreateRoom .create-room-submit {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 17px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

#CreateRoom .create-room-cancel {
	border-color: var(--create-room-line);
	background: #fff;
	color: #687184;
}

#CreateRoom .create-room-cancel:hover {
	background: #f6f6fa;
}

#CreateRoom .create-room-submit {
	margin-left: auto;
	background: linear-gradient(120deg, #6658db, #8474ec);
	box-shadow: 0 6px 15px rgba(102, 88, 219, .2);
	color: #fff;
}

#CreateRoom .create-room-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 9px 20px rgba(102, 88, 219, .28);
}

html[data-bs-theme="dark"] #CreateRoom .create-room-modal {
	--create-room-ink: #e7eaf2;
	--create-room-muted: #a0aabd;
	--create-room-line: rgba(157, 169, 191, .15);
	border-color: rgba(157, 169, 191, .18);
	background: #191d26;
}

html[data-bs-theme="dark"] #CreateRoom .create-room-recipient {
	border-color: var(--create-room-line);
	background: linear-gradient(140deg, #222735, #1f2430);
}

html[data-bs-theme="dark"] #CreateRoom .create-room-recipient > img {
	border-color: #29283e;
}

html[data-bs-theme="dark"] #CreateRoom .create-room-message {
	border-color: var(--create-room-line);
	background: #222735;
	color: var(--create-room-ink);
}

html[data-bs-theme="dark"] #CreateRoom .create-room-message:focus {
	border-color: rgba(167, 156, 255, .6);
	background: #252a38;
}

html[data-bs-theme="dark"] #CreateRoom .create-room-cancel {
	border-color: var(--create-room-line);
	background: #222735;
	color: #c1c8d6;
}

html[data-bs-theme="dark"] #CreateRoom .create-room-cancel:hover {
	background: #2a3040;
}

@media (max-width: 575.98px) {
	#CreateRoom .modal-dialog {
		margin: 12px auto;
		padding: 0 9px;
	}

	#CreateRoom .create-room-modal {
		border-radius: 21px;
	}

	#CreateRoom .create-room-header {
		min-height: 108px;
		padding: 18px 17px;
	}

	#CreateRoom .create-room-heading {
		gap: 11px;
	}

	#CreateRoom .create-room-icon {
		width: 45px;
		height: 45px;
		flex-basis: 45px;
		border-radius: 14px;
		font-size: 19px;
	}

	#CreateRoom .create-room-heading .modal-title {
		font-size: 18px;
	}

	#CreateRoom .create-room-heading p {
		font-size: 10px;
	}

	#CreateRoom .create-room-body {
		padding: 17px 16px 15px;
	}

	#CreateRoom .create-room-recipient {
		margin-bottom: 17px;
	}

	#CreateRoom .create-room-footer {
		padding: 0 16px 17px;
	}
}

html[data-bs-theme="dark"] #GetDetails .profile-details-modal {
	--profile-details-ink: #e7eaf2;
	--profile-details-muted: #a0aabd;
	--profile-details-line: rgba(157, 169, 191, .15);
	border-color: rgba(157, 169, 191, .18);
	background: #191d26;
}

html[data-bs-theme="dark"] #GetDetails .Detail-Profile ul li {
	border-color: var(--profile-details-line);
	background: linear-gradient(140deg, #222735, #1f2430);
	color: var(--profile-details-muted);
}

html[data-bs-theme="dark"] #GetDetails .Detail-Profile ul li.detail-profile-link,
html[data-bs-theme="dark"] #GetDetails .Detail-Profile ul li.detail-profile-status {
	background: linear-gradient(110deg, #29283e, #252638);
}

html[data-bs-theme="dark"] #GetDetails .Detail-Profile ul li .Detail-Icon .bi {
	background: rgba(137, 124, 255, .16);
	color: #a79cff;
}

html[data-bs-theme="dark"] #GetDetails .Detail-Profile ul li .Detail-Icon-Text a {
	color: #b2a8ff;
}

@media (max-width: 575.98px) {
	#GetDetails .profile-details-dialog {
		margin: 12px auto;
		padding: 0 9px;
	}

	#GetDetails .profile-details-modal {
		border-radius: 21px;
	}

	#GetDetails .profile-details-header {
		min-height: 113px;
		padding: 18px 17px;
	}

	#GetDetails .profile-details-heading {
		gap: 11px;
	}

	#GetDetails .profile-details-icon {
		width: 45px;
		height: 45px;
		flex-basis: 45px;
		border-radius: 14px;
		font-size: 20px;
	}

	#GetDetails .profile-details-heading .modal-title {
		font-size: 18px;
	}

	#GetDetails .profile-details-heading p {
		max-width: 220px;
		font-size: 10px;
	}

	#GetDetails .Detail-Profile {
		padding: 15px;
	}

	#GetDetails .Detail-Profile ul {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	#GetDetails .Detail-Profile ul li,
	#GetDetails .Detail-Profile ul li.detail-profile-link,
	#GetDetails .Detail-Profile ul li.detail-profile-status {
		grid-column: auto;
		min-height: 68px;
		padding: 9px 11px;
	}
}

/* Гостевой режим: лента и страница публикации доступны для чтения */
.flow-guest-card {
	padding: 20px 22px;
	border: 1px solid #e9e9f5;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(46, 44, 86, .06);
}

.flow-guest-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	color: #6d5ce6;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .14em;
}

.flow-guest-card h3 {
	margin: 0 0 8px;
	color: #20243a;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -.02em;
}

.flow-guest-card p {
	margin: 0 0 14px;
	color: #7c8296;
	font-size: 12.5px;
	line-height: 1.65;
}

.flow-guest-actions {
	display: grid;
	gap: 8px;
}

.flow-guest-actions .btn {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 650;
	line-height: 1;
	text-align: center;
}

.flow-guest-composer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 6px;
	padding: 18px 20px;
	border: 1px dashed #ddd8f4;
	border-radius: 20px;
	background: #fbfaff;
}

.flow-guest-composer-avatar {
	display: grid;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	place-items: center;
	border-radius: 50%;
	background: #efeafd;
	color: #6d5ce6;
	font-size: 18px;
}

.flow-guest-composer-body {
	display: grid;
	gap: 4px;
	min-width: 220px;
	flex: 1 1 240px;
}

.flow-guest-composer-body strong {
	color: #20243a;
	font-size: 13.5px;
	font-weight: 700;
}

.flow-guest-composer-body span {
	color: #7c8296;
	font-size: 12px;
	line-height: 1.55;
}

.flow-guest-composer-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.flow-guest-composer-actions .btn {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 650;
	line-height: 1;
	text-align: center;
}

.post-detail-actions.is-guest {
	flex-wrap: wrap;
	gap: 12px;
}

.post-detail-actions .is-readonly {
	cursor: default;
	opacity: .85;
}

.post-guest-login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	color: #6d5ce6;
	font-size: 12.5px;
	font-weight: 650;
	text-decoration: none;
}

.post-guest-login:hover {
	color: #5042c4;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.AddComment.is-guest {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.guest-comment-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px dashed #ddd8f4;
	border-radius: 20px;
	background: #fbfaff;
}

.guest-comment-icon {
	display: grid;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	place-items: center;
	border-radius: 50%;
	background: #efeafd;
	color: #6d5ce6;
	font-size: 18px;
}

.guest-comment-copy {
	display: grid;
	gap: 4px;
	min-width: 220px;
	flex: 1 1 240px;
}

.guest-comment-copy strong {
	color: #20243a;
	font-size: 13.5px;
	font-weight: 700;
}

.guest-comment-copy span {
	color: #7c8296;
	font-size: 12px;
	line-height: 1.55;
}

.guest-comment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.guest-comment-actions .btn {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 650;
	line-height: 1;
	text-align: center;
}

html[data-bs-theme="dark"] .flow-guest-card {
	border-color: #2b2b3d;
	background: #1c1c2a;
}

html[data-bs-theme="dark"] .flow-guest-card h3,
html[data-bs-theme="dark"] .flow-guest-composer-body strong,
html[data-bs-theme="dark"] .guest-comment-copy strong {
	color: #eceaf6;
}

html[data-bs-theme="dark"] .flow-guest-composer,
html[data-bs-theme="dark"] .guest-comment-cta {
	border-color: #33334a;
	background: #1b1b28;
}

/* Гостевые призывы к входу: акцентный стиль вместо базового синего */
.flow-guest-actions .btn-primary,
.flow-guest-composer-actions .btn-primary,
.guest-comment-actions .btn-primary {
	border: 0;
	background: linear-gradient(100deg, #6d5ce6, #8b7cf0);
	box-shadow: 0 10px 22px rgba(109, 92, 230, .24);
	color: #fff;
}

.flow-guest-actions .btn-primary:hover,
.flow-guest-composer-actions .btn-primary:hover,
.guest-comment-actions .btn-primary:hover {
	filter: brightness(1.05);
	color: #fff;
}

.flow-guest-actions .btn-outline-primary,
.flow-guest-composer-actions .btn-outline-primary,
.guest-comment-actions .btn-outline-primary {
	border: 1px solid rgba(109, 92, 230, .35);
	background: #fff;
	color: #6d5ce6;
}

.flow-guest-actions .btn-outline-primary:hover,
.flow-guest-composer-actions .btn-outline-primary:hover,
.guest-comment-actions .btn-outline-primary:hover {
	border-color: rgba(109, 92, 230, .55);
	background: #f4f1ff;
	color: #5042c4;
}

html[data-bs-theme="dark"] .flow-guest-actions .btn-outline-primary,
html[data-bs-theme="dark"] .flow-guest-composer-actions .btn-outline-primary,
html[data-bs-theme="dark"] .guest-comment-actions .btn-outline-primary {
	border-color: #3b3b58;
	background: #22222f;
	color: #c5bcff;
}

/* Заглушка заблокированного блога */
.blog-blocked-notice {
	display: grid;
	gap: 10px;
	justify-items: center;
	padding: 26px 20px;
	text-align: center;
}

.blog-blocked-icon {
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 20px;
	background: linear-gradient(140deg, #f3dede, #fdeaea);
	color: #c0392b;
	font-size: 26px;
}

.blog-blocked-notice > strong {
	font-size: 17px;
	font-weight: 750;
}

.blog-blocked-notice > p {
	margin: 0;
	max-width: 520px;
	color: var(--social-muted, #7c8296);
	font-size: 13px;
	line-height: 1.65;
}

.blog-blocked-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
	margin-top: 6px;
}

