body.module-social #slider_bg,
#wrapper:has(#social-page) #slider_bg,
#main:has(#social-page) #slider_bg,
#wrapper #main:has(#social-page) #slider_bg {
	display: none !important;
	height: 0 !important;
	max-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
}

body.module-social #header,
#wrapper:has(#social-page) #header {
	height: auto !important;
}

body.module-social .sword,
#wrapper:has(#social-page) .sword {
	display: none !important;
}

body.module-social .hof-header-portals,
body.module-social .hof-portals,
#wrapper:has(#social-page) .hof-header-portals,
#wrapper:has(#social-page) .hof-portals {
	display: none !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
}

#main:has(#social-page) #left {
	display: none !important;
}

#main:has(#social-page) #right {
	width: 1016px !important;
	max-width: 100% !important;
	float: none !important;
}

#wrapper #main:has(#social-page) {
	background: #0c1014 !important;
	background-image: none !important;
}

#wrapper #main:has(#social-page) #right article.page_article,
#wrapper #main:has(#social-page) #right article {
	background: none !important;
	background-image: none !important;
	overflow: visible !important;
}

#main:has(#social-page) .countdown-banner {
	display: none !important;
}

#wrapper #main:has(#social-page) #slider_bg,
#main:has(#social-page) #slider_bg {
	display: none !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
}

#main:has(#social-page) article.page_article,
#main:has(#social-page) article.page_article > h1.top,
#main:has(#social-page) article.page_article .page_content {
	width: 100% !important;
	max-width: 100% !important;
	overflow: visible !important;
}

article.page_article:has(#social-page) > h1.top {
	display: none !important;
}

article.page_article:has(#social-page) .page_content {
	overflow: visible !important;
	padding: 0 !important;
}

article.page_article .page_content #social-page,
article.page_article .page_content #social-page * {
	box-sizing: border-box;
}

.social-page {
	width: 100%;
	max-width: none;
	margin: 0 auto 24px;
	color: #d0c8b8 !important;
	font-family: calibrib, Calibri, 'Segoe UI', sans-serif;
}

.social-error {
	padding: 48px 24px;
	text-align: center;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(102, 204, 255, 0.25);
	border-radius: 8px;
}

.social-cover {
	position: relative;
	height: 220px;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(102, 204, 255, 0.28), transparent 55%),
		linear-gradient(180deg, #1a2838 0%, #0b1018 55%, #07090d 100%);
	border: 1px solid rgba(102, 204, 255, 0.28);
	border-bottom: 0;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.social-cover.has-image {
	background-size: cover;
	background-position: center;
}

.social-cover::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 90px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
	pointer-events: none;
}

.social-cover-edit {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 2px;
	min-height: 36px;
	padding: 8px 14px;
	border-radius: 6px;
	background: rgba(8, 12, 18, 0.72);
	border: 1px solid rgba(102, 204, 255, 0.4);
	color: #99e6ff !important;
	cursor: pointer;
	font-size: 12px;
	line-height: 1.2;
}

.social-cover-edit small {
	font-size: 11px;
	color: #c8d9e8 !important;
	opacity: 0.85;
}

.social-cover-edit input {
	display: none;
}

.social-head {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	padding: 0 20px 28px;
	margin-top: -52px;
	position: relative;
	z-index: 3;
	overflow: visible !important;
	background: rgba(0, 0, 0, 0.32);
	border-left: 1px solid rgba(102, 204, 255, 0.28);
	border-right: 1px solid rgba(102, 204, 255, 0.28);
	border-bottom: 1px solid rgba(102, 204, 255, 0.28);
	border-radius: 0 0 8px 8px;
}

.social-page.is-public.is-guest .social-head {
	margin-top: 0;
	padding: 16px 20px;
	align-items: center;
	border: 1px solid rgba(102, 204, 255, 0.28);
	border-radius: 8px;
}

.social-page.is-public.is-guest .social-head-main {
	padding-bottom: 0;
}

.social-page.is-public.is-guest .social-name {
	font-size: 22px !important;
	margin: 0 !important;
}

.social-page.is-public.is-guest .social-head-actions:empty {
	display: none;
}

.social-avatar-wrap {
	position: relative;
	flex-shrink: 0;
	width: 148px;
	height: 148px;
	overflow: visible !important;
	z-index: 5;
}

.social-avatar {
	position: relative;
	width: 148px;
	height: 148px;
	border-radius: 50%;
	border: 4px solid #66ccff;
	box-shadow: 0 0 24px rgba(102, 204, 255, 0.45), inset 0 0 10px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	background: #0b1018;
}

.social-avatar.is-premium {
	border-color: #f6c85c;
	box-shadow: 0 0 24px rgba(246, 200, 92, 0.4);
}

#wrapper #main:has(#social-page) .social-avatar img,
article.page_article .page_content .social-avatar img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: 50% !important;
	display: block !important;
}

.social-avatar-plus {
	position: absolute;
	right: 6px;
	bottom: 14px;
	z-index: 6;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #2a8fd6;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	border: 2px solid #fff;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.social-head-main {
	flex: 1;
	min-width: 0;
	padding-bottom: 8px;
}

.social-name {
	margin: 0 0 6px !important;
	font-size: 28px !important;
	color: #e8dfd0 !important;
	text-shadow: 0 0 8px rgba(0, 102, 204, 0.45), 0 2px 4px #000 !important;
}

.social-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	font-size: 13px;
	color: #a8b4c0 !important;
}

.social-seen {
	color: #a8b4c0 !important;
}

.social-seen.is-now {
	color: #3ddc84 !important;
}

.social-ranks {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.social-rank {
	padding: 2px 8px;
	border: 1px solid rgba(102, 204, 255, 0.3);
	border-radius: 4px;
	font-size: 11px;
	color: #66ccff !important;
}

.social-head-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding-bottom: 10px;
}

.social-btn {
	min-height: 36px;
	padding: 8px 14px;
	border-radius: 6px;
	border: 1px solid rgba(102, 204, 255, 0.35);
	background: linear-gradient(180deg, rgba(102, 204, 255, 0.16), rgba(102, 204, 255, 0.05));
	color: #66ccff !important;
	cursor: pointer;
	font-size: 13px;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.social-btn:hover {
	border-color: rgba(102, 204, 255, 0.7);
	color: #99e6ff !important;
}

.social-btn-gold {
	border-color: rgba(246, 200, 92, 0.45);
	background: linear-gradient(180deg, rgba(246, 200, 92, 0.18), rgba(172, 135, 47, 0.08));
	color: #f6c85c !important;
}

.social-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 282px;
	gap: 16px;
	margin-top: 16px;
	align-items: start;
}

.social-page.is-feed .social-layout {
	grid-template-columns: minmax(0, 1fr);
}

.social-side {
	overflow: visible;
}

.social-block,
.social-compose,
.social-card,
.social-pending,
.social-feed-tabs {
	background: rgba(0, 0, 0, 0.32);
	border: 1px solid rgba(102, 204, 255, 0.2);
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 14px rgba(0, 0, 0, 0.35);
}

.social-block {
	padding: 14px;
	margin-bottom: 12px;
	overflow: visible;
}

.social-block-title {
	font-size: 15px;
	color: #c8d9e8 !important;
	margin: 0 0 12px;
	text-shadow: 0 0 6px rgba(0, 102, 204, 0.4);
}

.social-block-title span {
	color: #f6c85c !important;
	margin-left: 6px;
}

.social-block-title--next {
	margin-top: 16px;
}

.social-compose {
	position: relative;
	padding: 14px;
	margin-bottom: 14px;
}

.social-compose textarea {
	width: 100%;
	min-height: 88px;
	resize: vertical;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(102, 204, 255, 0.25);
	border-radius: 6px;
	color: #e8dfd0 !important;
	padding: 10px 12px;
	font: inherit;
}

.social-compose-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}

.social-counter {
	font-size: 12px;
	color: #848177 !important;
}

.social-hint {
	font-size: 12px;
	color: #a0aeb8 !important;
	margin: 0 14px 10px;
}

.social-pending {
	padding: 14px 14px 4px;
	margin-bottom: 14px;
}

.social-feed .social-block-title {
	margin: 0 0 12px;
}

.social-card {
	padding: 14px 14px 16px;
	margin-bottom: 12px;
	overflow: visible;
}

.social-card-head {
	display: flex;
	gap: 10px;
	align-items: center;
	position: relative;
}

#wrapper #right article.page_article .social-card-head > img,
#wrapper #main:has(#social-page) .social-card-head > img,
.social-page .social-card-head > img {
	width: 48px !important;
	height: 48px !important;
	max-width: 48px !important;
	max-height: 48px !important;
	flex-shrink: 0;
	border-radius: 50%;
	border: 2px solid rgba(102, 204, 255, 0.45);
	object-fit: cover;
	object-position: center;
}

.social-card-name {
	color: #e8dfd0 !important;
	font-size: 14px;
}

.social-card-when {
	font-size: 12px;
	color: #848177 !important;
}

.social-realm {
	color: #66ccff !important;
}

.social-card-body,
#social-page .social-card-body {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	color: #d0c8b8 !important;
	white-space: pre-wrap !important;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.social-page:not(.is-post-page) .social-card-body.is-clamped {
	max-height: calc(1.6em * 5);
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.social-page:not(.is-post-page) .social-card-body.is-clamped::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2.2em;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(12, 16, 20, 0), rgba(12, 16, 20, 0.92) 80%);
}

.social-page:not(.is-post-page) .social-card-body.is-expanded {
	max-height: none;
	cursor: default;
}

.social-post-more {
	display: inline-block;
	margin: 6px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: #66ccff !important;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

.social-post-more:hover {
	color: #f6c85c !important;
}

.social-post-more[hidden],
.social-card-post.is-editing .social-post-more {
	display: none !important;
}

.social-card-del {
	margin-left: auto;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #848177 !important;
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

.social-card-del:hover {
	color: #e74c3c !important;
	background: rgba(231, 76, 60, 0.12);
}

.social-card-kicker {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #66ccff !important;
	margin-bottom: 4px;
}

.social-card-title {
	margin: 0 0 6px !important;
	font-size: 16px !important;
	color: #f6c85c !important;
}

.social-card-title em {
	font-style: normal;
	color: #ff6666 !important;
	font-size: 12px;
}

.social-raid-row {
	margin-top: 8px;
	font-size: 13px;
}

.social-loot {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}

.social-loot-item {
	display: grid;
	grid-template-columns: 36px 1fr;
	grid-column-gap: 10px;
	align-items: center;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

.social-loot-item img {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-loot-item.q3 { color: #0070dd !important; }
.social-loot-item.q4 { color: #a335ee !important; }
.social-loot-item.q5 { color: #ff8000 !important; }

.social-loot-item small {
	display: block;
	color: #848177 !important;
	font-size: 11px;
}

.social-card-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.social-circles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px 6px;
	overflow: visible;
}

.social-circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-decoration: none !important;
	border-bottom: 0 !important;
	color: #c8d9e8 !important;
	font-size: 11px;
	text-align: center;
	position: relative;
	overflow: visible;
}

.social-circle > img,
.social-circle-av > img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px !important;
	max-height: 56px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	object-position: top center;
	image-rendering: auto;
	-ms-interpolation-mode: bicubic;
	border: 2px solid rgba(102, 204, 255, 0.35);
	background: #0b1018;
}

.social-circle.is-online > img,
.social-circle.is-online .social-circle-av > img {
	border-color: #3ddc84;
	border-width: 3px;
	box-shadow: 0 0 10px rgba(61, 220, 132, 0.55);
}

.social-circle.is-user.is-online:not(.is-premium) > img,
.social-circle.is-user.is-online:not(.is-premium) .social-circle-av > img {
	border-color: #3ddc84 !important;
	border-width: 3px;
	box-shadow: 0 0 10px rgba(61, 220, 132, 0.55);
}

.social-circle-av {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	overflow: visible;
}

.social-circle.is-premium > img,
.social-circle-av.is-premium > img {
	border-color: #f4bf4a;
	box-shadow: 0 0 10px rgba(244, 191, 74, 0.45);
}

.social-circle-crown {
	position: absolute;
	right: -8px;
	bottom: -8px;
	width: auto !important;
	height: auto !important;
	margin: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: #f9b52d;
	font-size: 14px;
	line-height: 1;
	filter: drop-shadow(0 1px 1px #000);
	text-shadow: 0 0 6px rgba(249, 181, 45, 0.55);
	pointer-events: none;
	z-index: 4;
}

.social-circle-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	z-index: 6;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: #e24b4b;
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
	line-height: 16px;
	text-align: center;
	border: 2px solid #0b1018;
	box-shadow: 0 0 8px rgba(226, 75, 75, 0.55);
	pointer-events: none;
}

.social-circle.is-legendary > img {
	border-color: #ff8000;
	box-shadow: 0 0 10px rgba(255, 128, 0, 0.4);
}

.social-circle.is-online > i:not(.social-circle-crown),
.social-circle-online {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #3ddc84;
	border: 2px solid #0b1018;
	pointer-events: none;
	z-index: 5;
}

.social-circle.is-online > i:not(.social-circle-crown) {
	top: 42px;
	right: 10px;
}

.social-circle-av .social-circle-online {
	left: -1px;
	bottom: -1px;
	margin: 0;
}

.social-circle > span:not(.social-circle-av) {
	max-width: 64px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #c8d9e8 !important;
}

.social-circles-ach {
	overflow: visible;
	position: relative;
	z-index: 8;
}

.social-ach {
	z-index: 1;
}

.social-ach:hover,
.social-ach:focus-within {
	z-index: 12;
}

.social-ach-card {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%);
	width: 268px;
	padding: 12px;
	background:
		linear-gradient(180deg, rgba(28, 34, 44, 0.98), rgba(10, 12, 16, 0.98));
	border: 1px solid rgba(172, 135, 47, 0.55);
	border-radius: 10px;
	box-shadow:
		0 14px 32px rgba(0, 0, 0, 0.62),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04),
		0 0 18px rgba(172, 135, 47, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 40;
	text-align: left;
	color: #d8d0c4 !important;
	transition: opacity 0.12s ease, visibility 0.12s ease;
}

.social-ach-card::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 0;
	bottom: 0;
	width: 16px;
}

.social-ach:hover .social-ach-card,
.social-ach:focus-within .social-ach-card,
.social-ach-card.is-float.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.social-page.is-ach-js .social-ach .social-ach-card {
	display: none !important;
}

.social-ach-card.is-float {
	position: fixed;
	right: auto;
	top: auto;
	transform: none;
	z-index: 9000;
	pointer-events: auto;
}

.social-ach-card-char {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(172, 135, 47, 0.22);
}

.social-ach-card-av {
	position: relative;
	display: block;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

.social-ach-card-av img {
	width: 52px !important;
	height: 52px !important;
	border-radius: 50%;
	object-fit: cover;
	object-position: top center;
	image-rendering: auto;
	border: 2px solid rgba(102, 204, 255, 0.4);
	background: #0b1018;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
}

.social-ach-card-av.is-online img {
	border-color: #3ddc84;
	box-shadow: 0 0 10px rgba(61, 220, 132, 0.45);
}

.social-ach-card-av i {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #3ddc84;
	border: 2px solid #10141c;
}

.social-ach-card-who {
	min-width: 0;
	flex: 1;
}

.social-ach-card-name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	border-bottom: 0 !important;
	text-shadow: 0 1px 2px #000;
}

a.social-ach-card-name:hover {
	filter: brightness(1.12);
}

.social-ach-card-spec {
	margin-top: 3px;
	font-size: 12px;
	color: #b9c8d6 !important;
	line-height: 1.35;
}

.social-ach-card-spec b {
	color: #f6c85c !important;
	font-weight: 700;
}

.social-ach-card-class {
	width: 14px !important;
	height: 14px !important;
	vertical-align: -2px;
	margin-right: 4px;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: none !important;
}

.social-ach-card-realm {
	margin-top: 2px;
	font-size: 11px;
	color: #8fa3b5 !important;
}

.social-ach-card-faction.is-alliance {
	color: #4ea3ff !important;
}

.social-ach-card-faction.is-horde {
	color: #e24b4b !important;
}

.social-ach-card-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.social-ach-card-item > img {
	width: 36px !important;
	height: 36px !important;
	border-radius: 6px;
	border: 1px solid rgba(172, 135, 47, 0.4);
	object-fit: cover;
	background: #0b1018;
}

.social-ach.is-legendary .social-ach-card-item > img,
.social-ach-card.is-legendary .social-ach-card-item > img {
	border-color: #ff8000;
}

.social-ach-card-achname {
	font-size: 13px;
	color: #f0e6d2 !important;
	font-weight: 600;
}

.social-ach-card-progress {
	margin-top: 2px;
	font-size: 12px;
	color: #f6c85c !important;
}

.social-ach-card-bar {
	display: block;
	margin-top: 5px;
	height: 5px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.social-ach-card-bar i {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: linear-gradient(90deg, #ac872f, #f6c85c);
}

.social-guest-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 16px;
	padding: 12px 14px;
	background: rgba(246, 200, 92, 0.08);
	border: 1px solid rgba(246, 200, 92, 0.28);
	border-radius: 6px;
	color: #d0c8b8 !important;
	font-size: 13px;
}

.social-guest-bar a {
	color: #f6c85c !important;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

.social-guest-bar a:hover {
	color: #ffd978 !important;
}

.social-permalink {
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

.social-permalink:hover {
	color: #f6c85c !important;
}

.social-post-share {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	padding: 0;
	border: 1px solid rgba(102, 204, 255, 0.25) !important;
	border-radius: 4px;
	color: #c8d9e8 !important;
	background: transparent;
	text-decoration: none !important;
	line-height: 1;
	text-shadow: none !important;
	box-sizing: border-box;
	flex-shrink: 0;
}

.social-post-share i {
	font-size: 13px;
	line-height: 1;
	color: inherit !important;
}

.social-post-share:hover {
	border-color: #f6c85c;
	color: #f6c85c !important;
}

.social-empty,
.social-empty-mini {
	color: #848177 !important;
	font-size: 13px;
	padding: 8px 0;
}

.social-guild + .social-guild {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(102, 204, 255, 0.12);
}

.social-guild-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
}

.social-guild-name {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	flex: 1;
	gap: 6px;
	margin: 0;
	color: #e8dfd0 !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	font-size: 13px;
	font-weight: 600;
}

.social-guild-page {
	display: none;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	color: #f6c85c !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	border-radius: 6px;
	background: rgba(246, 200, 92, 0.1);
}

.social-guild-name:hover {
	color: #f6c85c !important;
}

.social-guild-name small {
	font-weight: 400;
	font-size: 11px;
	color: #8aa0b5 !important;
}

.social-guild-name span {
	color: #f6c85c !important;
	font-weight: 600;
	margin-left: auto;
}

.social-circles-guild {
	max-height: 280px;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	padding: 6px 8px 6px 4px;
	margin: 0 -2px;
	border: 1px solid rgba(160, 115, 50, 0.28);
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.28);
	box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
	scrollbar-width: thin;
	scrollbar-color: #c9a227 #0a0e14;
}

.social-circles-guild::-webkit-scrollbar {
	width: 8px;
}

.social-circles-guild::-webkit-scrollbar-track {
	background: #0a0e14;
	border-radius: 8px;
	border: 1px solid rgba(160, 115, 50, 0.22);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.55);
}

.social-circles-guild::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #f6c85c 0%, #a07332 100%);
	border-radius: 8px;
	border: 1px solid #161b1e;
	box-shadow: 0 0 8px rgba(246, 200, 92, 0.35);
}

.social-circles-guild::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #ffd978 0%, #c9a227 100%);
}

.social-circles-guild::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

.social-circles-guild::-webkit-scrollbar-corner {
	background: transparent;
}

.social-circle.is-leader > img {
	border-color: #f4bf4a;
	box-shadow: 0 0 8px rgba(244, 191, 74, 0.4);
}

.social-circle.is-online.is-leader > img {
	border-color: #3ddc84;
	border-width: 3px;
	box-shadow: 0 0 10px rgba(61, 220, 132, 0.55);
}

.social-modal[hidden] {
	display: none;
}

#fusion_tooltip {
	z-index: 10000000 !important;
}

.social-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.social-modal-card {
	width: min(780px, 100%);
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #12161d;
	border: 1px solid rgba(102, 204, 255, 0.35);
	border-radius: 8px;
	padding: 16px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.social-modal-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	color: #e8dfd0 !important;
	font-size: 18px;
	flex-shrink: 0;
}

.social-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.social-tabs button {
	min-height: 32px;
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid rgba(102, 204, 255, 0.25);
	background: transparent;
	color: #a0aeb8 !important;
	cursor: pointer;
}

.social-tabs button.is-on {
	border-color: rgba(246, 200, 92, 0.5);
	color: #f6c85c !important;
}

.social-history-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 2px 8px 4px 2px;
	scrollbar-width: thin;
	scrollbar-color: #c9a227 #0a0e14;
}

.social-history-list::-webkit-scrollbar {
	width: 8px;
}

.social-history-list::-webkit-scrollbar-track {
	background: #0a0e14;
	border-radius: 8px;
	border: 1px solid rgba(160, 115, 50, 0.22);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.55);
}

.social-history-list::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #f6c85c 0%, #a07332 100%);
	border-radius: 8px;
	border: 1px solid #161b1e;
	box-shadow: 0 0 8px rgba(246, 200, 92, 0.35);
}

.social-history-list::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #ffd978 0%, #c9a227 100%);
}

.social-history-list::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

.social-history-list::-webkit-scrollbar-corner {
	background: transparent;
}

.social-hist {
	position: relative;
	padding: 12px 14px;
	border: 1px solid rgba(102, 204, 255, 0.18);
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(18, 28, 38, 0.92), rgba(10, 14, 20, 0.96));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: visible;
}

.social-hist::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 0 2px 2px 0;
	background: rgba(102, 204, 255, 0.45);
}

.social-hist.is-raid::before {
	background: #f6c85c;
}

.social-hist.is-dungeon::before {
	background: #66ccff;
}

.social-hist.is-profession::before {
	background: #1eff00;
}

.social-hist.is-reputation::before {
	background: #ffd100;
}

.social-hist.is-expand {
	cursor: pointer;
}

.social-hist.is-expand:hover,
.social-hist.is-open {
	border-color: rgba(246, 200, 92, 0.45);
	background: linear-gradient(180deg, rgba(28, 36, 28, 0.95), rgba(12, 16, 18, 0.98));
}

.social-hist.is-expand:focus-visible {
	outline: 2px solid rgba(246, 200, 92, 0.7);
	outline-offset: 2px;
}

.social-hist-head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.social-hist-copy {
	min-width: 0;
	flex: 1;
}

.social-hist-kicker {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #66ccff !important;
	margin-bottom: 3px;
}

.social-hist.is-raid .social-hist-kicker {
	color: #f6c85c !important;
}

.social-hist-title {
	color: #e8dfd0 !important;
	font-size: 16px;
	line-height: 1.3;
}

.social-hist-meta {
	font-size: 12px;
	color: #848177 !important;
	margin-top: 3px;
}

.social-hist-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.social-hist-chip {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	border: 1px solid rgba(102, 204, 255, 0.22);
	background: rgba(0, 0, 0, 0.28);
	color: #c8d0d6 !important;
	font-size: 12px;
}

.social-hist-chip.is-loot {
	border-color: rgba(246, 200, 92, 0.4);
	color: #f6c85c !important;
}

.social-hist-hint {
	margin-top: 6px;
	font-size: 11px;
	color: #6e7a84 !important;
}

.social-hist.is-open .social-hist-hint {
	display: none;
}

.social-hist-profico {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	flex: 0 0 40px;
}

.social-hist-toggle {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-top: 4px;
	padding: 0;
	border: 1px solid rgba(102, 204, 255, 0.25);
	border-radius: 4px;
	position: relative;
	background: rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: transform 0.18s ease;
}

.social-hist-toggle::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 46%;
	width: 7px;
	height: 7px;
	border-right: 2px solid #a0aeb8;
	border-bottom: 2px solid #a0aeb8;
	transform: translate(-50%, -70%) rotate(45deg);
}

.social-hist.is-open .social-hist-toggle {
	transform: rotate(180deg);
	border-color: rgba(246, 200, 92, 0.45);
}

.social-hist-loot {
	display: none;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-hist.is-open .social-hist-loot {
	display: block;
}

.social-hist-loot-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 16px;
	padding: 6px 4px 2px;
}

.social-hist-slot {
	width: 56px;
	height: 56px;
	position: relative;
	flex: 0 0 56px;
}

.social-hist-slot a {
	background-image: url(../../../images/misc/item_frame.png);
	width: 68px;
	height: 68px;
	margin-top: -6px;
	margin-left: -6px;
	position: absolute;
	z-index: 3;
	display: block;
	border-bottom: 0 !important;
}

.social-hist-slot img {
	width: 56px;
	height: 56px;
	display: block;
	border-radius: 2px;
}

.social-hist-slot.q2 img { box-shadow: 0 0 8px rgba(30, 255, 0, 0.35); }
.social-hist-slot.q3 img { box-shadow: 0 0 8px rgba(0, 112, 221, 0.45); }
.social-hist-slot.q4 img { box-shadow: 0 0 8px rgba(163, 53, 238, 0.5); }
.social-hist-slot.q5 img { box-shadow: 0 0 8px rgba(255, 128, 0, 0.55); }
.social-hist-slot.q6 img { box-shadow: 0 0 8px rgba(230, 204, 128, 0.55); }

.social-hist-item-n {
	position: absolute;
	right: 1px;
	bottom: 1px;
	z-index: 4;
	font-size: 11px;
	line-height: 1;
	color: #fff !important;
	text-shadow: 0 1px 2px #000;
	pointer-events: none;
}

.social-hist-bosses {
	margin-top: 10px;
	font-size: 12px;
	color: #9aa6b0 !important;
	line-height: 1.45;
}

.social-hist-bosses span {
	color: #66ccff !important;
}

.social-compose-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.social-attach {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: #99e6ff !important;
	font-size: 12px;
	background: none;
	border: 0;
	padding: 0;
	font-family: inherit;
}

.social-compose-tools {
	display: flex;
	align-items: center;
	gap: 8px;
}

.social-compose .comment-emoji-picker,
.social-post-edit .comment-emoji-picker {
	left: 14px;
	right: auto;
	bottom: 52px;
}

.social-post-edit {
	position: relative;
	overflow: visible;
}

.social-compose {
	overflow: visible;
}

.social-post-edit textarea {
	width: 100%;
	min-height: 88px;
	resize: vertical;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(102, 204, 255, 0.25);
	border-radius: 6px;
	color: #e8dfd0 !important;
	padding: 10px 12px;
	font: inherit;
}

.social-attach input {
	display: none;
}

.social-attach.is-locked {
	color: #6a737d !important;
	cursor: pointer;
	opacity: 0.7;
}

.social-compose-preview video,
.social-edit-preview video {
	display: block;
	width: 100%;
	max-height: 420px;
	background: #000;
	border-radius: 6px;
	cursor: default;
}

.social-post-video.spyral-video {
	margin-top: 10px;
	margin-bottom: 0;
}

#wrapper #right article.page_article .social-compose-preview video,
#wrapper #main:has(#social-page) .social-compose-preview video,
.social-page .social-compose-preview video,
.social-page .social-edit-preview video {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 420px !important;
	object-fit: contain !important;
}

.social-compose-preview,
.social-post-image {
	margin-top: 10px;
}

.social-card-post.has-media .social-post-image,
.social-card-post.has-media .social-post-video {
	margin: 12px -14px 0;
	width: calc(100% + 28px);
	max-width: none;
}

.social-compose-preview {
	position: relative;
	display: inline-block;
}

.social-compose-preview:has(video:not([hidden])) {
	display: block;
	width: 100%;
}

.social-compose-preview[hidden],
.social-post-edit[hidden],
.social-comments[hidden],
.social-comments:not(.is-open) {
	display: none !important;
}

.social-compose-preview img,
.social-edit-preview img {
	max-width: 100%;
	max-height: 320px;
	border-radius: 6px;
	display: block;
}

#wrapper #right article.page_article .social-post-image,
#wrapper #main:has(#social-page) .social-post-image,
.social-page .social-post-image {
	display: block;
}

#wrapper #right article.page_article .social-post-image a,
#wrapper #main:has(#social-page) .social-post-image a,
.social-page .social-post-image a,
.social-page .social-comment-image a,
.social-page .spyral-comment-image a {
	display: block;
	position: relative;
	line-height: 0;
	border-bottom: 0 !important;
	cursor: default;
	overflow: hidden;
}

#wrapper #right article.page_article .social-post-image img,
#wrapper #main:has(#social-page) .social-post-image img,
.social-page .social-post-image img {
	width: 100% !important;
	max-width: 100% !important;
	max-height: none !important;
	height: auto !important;
	border-radius: 0;
	display: block;
	object-fit: contain;
	background: #07090c;
}

.social-feed .social-post-image a {
	max-height: 440px;
}

#wrapper #right article.page_article .social-feed .social-post-image img,
#wrapper #main:has(#social-page) .social-feed .social-post-image img,
.social-page .social-feed .social-post-image img {
	height: 440px !important;
	max-height: 440px !important;
	object-fit: cover !important;
	object-position: center top;
}

.social-card-post.has-media .social-card-body {
	margin-top: 12px;
}

.social-compose-preview .social-card-del {
	position: absolute;
	top: 6px;
	right: 6px;
}

.social-card-owner {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 6px;
}

.social-btn-tiny {
	min-height: 28px;
	padding: 4px 8px;
	font-size: 11px;
}

.social-post-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding-top: 10px;
	padding-bottom: 4px;
	min-height: 38px;
	border-top: 1px solid rgba(102, 204, 255, 0.12);
	overflow: visible;
}

.social-like,
.social-comments-toggle,
.social-report,
.social-post-share {
	background: transparent;
	border: 1px solid rgba(102, 204, 255, 0.25);
	color: #c8d9e8 !important;
	border-radius: 4px;
	height: 32px;
	min-height: 32px;
	padding: 0 10px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font: inherit;
	line-height: 1;
	box-sizing: border-box;
}

.social-like.is-on,
.social-like:hover {
	border-color: #e74c3c;
	color: #ff8f82 !important;
}

.social-comments-toggle.is-on,
.social-comments-toggle:hover {
	border-color: #66ccff;
	color: #f6c85c !important;
}

.social-comments {
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid rgba(102, 204, 255, 0.12);
}

.social-page .spyral-comment,
.social-comment {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.social-page .spyral-comment:last-child {
	border-bottom: 0;
}

.social-page .spyral-comment-avatar {
	position: relative;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}

.social-page .spyral-comment-avatar img.social-comment-av,
.social-comment img.social-comment-av {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 2px solid #2a2f35;
}

.social-page .staff_comment .social-comment-av {
	border-color: #d0a53d;
}

.social-page .spyral-comment-staff-badge {
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 13px;
	height: 13px;
}

.social-page .spyral-comment-body,
.social-comment-body {
	flex: 1;
	min-width: 0;
}

.social-page .spyral-comment-head,
.social-comment-head {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.social-page .spyral-comment-author a,
.social-comment-author,
.social-comment-author a {
	color: #d0a53d !important;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

.social-page .staff_comment .spyral-comment-author a {
	color: #5aafff !important;
}

.social-page .spyral-comment-date,
.social-comment-when,
.social-comment-reply,
.social-comment-edit,
.social-comment-del {
	font-size: 12px;
	color: #848177 !important;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0;
}

.social-page .spyral-comment-delete {
	margin-left: auto;
	color: #d0a53d !important;
	opacity: 0.65;
}

.social-page .spyral-comment-delete:hover {
	opacity: 1;
	color: #e74c3c !important;
}

.social-page .spyral-comment-text,
.social-comment-text {
	color: #c8c0b4 !important;
	font-size: 14px;
	line-height: 1.5;
	word-wrap: break-word;
}

.social-page .spyral-comment.comment-reply {
	margin-left: 42px;
}

.social-page .spyral-comment-parent {
	font-size: 11px;
	color: #6d7b8a !important;
	margin-bottom: 4px;
}

.social-page .spyral-comment-reply,
.social-comment-reply {
	display: inline-block;
	margin-top: 8px;
	margin-right: 12px;
	color: #7db8ff !important;
}

.social-page .spyral-comment-edit,
.social-comment-edit {
	display: inline-block;
	margin-top: 8px;
	color: #cdbd7b !important;
}

.social-blocked-banner {
	margin: 0 0 12px;
	padding: 10px 14px;
	border: 1px solid rgba(231, 76, 60, 0.45);
	border-radius: 6px;
	background: rgba(231, 76, 60, 0.12);
	color: #ffb4ab !important;
}

#socialLikeHover {
	display: none;
	position: fixed;
	width: 320px;
	min-width: 280px;
	max-width: min(320px, calc(100vw - 24px));
	padding: 10px 12px;
	background: #2a2d33 !important;
	border: 1px solid #3d424a;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
	z-index: 10000001;
	text-align: left;
	box-sizing: border-box;
}

#socialLikeHover.is-open {
	display: block !important;
}

#socialLikeHover.is-open::before,
#socialLikeHover.is-open::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 14px;
}

#socialLikeHover.is-open::before {
	top: -14px;
}

#socialLikeHover.is-open::after {
	bottom: -14px;
}

.social-comment-text {
	margin-top: 4px;
	color: #e8dfd0 !important;
}

.social-comment-image img {
	max-width: 220px;
	max-height: 160px;
	border-radius: 4px;
	margin-top: 6px;
}

.social-page .comment-form {
	margin-top: 10px;
}

.social-page .comment-textarea-wrap {
	position: relative;
}

.social-page .comment-textarea-wrap textarea {
	width: 100%;
	min-height: 72px;
	padding: 10px 108px 10px 12px;
	background: #0d1117;
	color: #ccc !important;
	border: 1px solid #2a2f35;
	border-radius: 4px;
	resize: vertical;
	font: inherit;
}

.social-page .comment-input-tools {
	position: absolute;
	right: 8px;
	bottom: 8px;
	display: flex;
	gap: 4px;
	z-index: 12;
}

.social-page .comment-emoji-toggle,
.social-page .comment-image-toggle,
.social-page .comment-voice-toggle {
	width: 30px;
	height: 30px;
	border: 1px solid #2a2f35;
	border-radius: 4px;
	background: #14181d;
	color: #f4bf4a;
	cursor: pointer;
}

.social-page .comment-image-toggle--locked,
.social-page .comment-voice-toggle--locked {
	color: #555;
	cursor: not-allowed;
	opacity: 0.75;
}

.social-page .comment-image-input {
	display: none !important;
}

.social-page .comment-emoji-picker {
	position: absolute;
	right: 8px;
	bottom: 42px;
	width: 288px;
	padding: 8px;
	display: none;
	flex-wrap: wrap;
	gap: 4px;
	background: #0d1117;
	border: 1px solid #d0a53d;
	border-radius: 6px;
	z-index: 50;
}

.social-page .comment-emoji-picker.is-open {
	display: flex !important;
}

.social-page .comment-emoji-item {
	width: 30px;
	height: 30px;
	border: 0;
	background: transparent;
	font-size: 18px;
	cursor: pointer;
}

.social-page .comment-form-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
}

.social-page .comment-image-preview,
.social-page .comment-voice-panel {
	margin-top: 8px;
	padding: 8px;
	background: rgba(13, 17, 23, 0.85);
	border: 1px solid rgba(208, 165, 61, 0.25);
	border-radius: 4px;
}

.social-page .comment-image-preview img {
	max-height: 72px;
}

.social-page .spyral-audio {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	background: #0d1117;
	border: 1px solid rgba(208, 165, 61, 0.35);
	border-radius: 999px;
	margin-top: 8px;
}

.social-page .spyral-audio audio,
.social-page .comment-voice-preview {
	display: none !important;
}

.social-page .spyral-audio__btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid rgba(208, 165, 61, 0.4);
	background: rgba(208, 165, 61, 0.12);
	color: #f4bf4a;
	cursor: pointer;
}

.social-page .spyral-audio__track {
	flex: 1;
	height: 6px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 3px;
	cursor: pointer;
}

.social-page .spyral-audio__bar {
	height: 100%;
	width: 0;
	background: #d0a53d;
}

.social-page .spyral-audio__time {
	min-width: 78px;
	font-size: 11px;
	color: #c8bfa8 !important;
}

.social-page .comment-voice-rec {
	border: 1px solid rgba(208, 165, 61, 0.45);
	background: rgba(208, 165, 61, 0.12);
	color: #f4bf4a;
	border-radius: 3px;
	padding: 6px 10px;
	cursor: pointer;
}

@media (max-width: 1020px) {
	#main:has(#social-page) #right {
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media (max-width: 860px) {
	.social-layout {
		grid-template-columns: 1fr;
	}

	.social-head {
		flex-wrap: wrap;
		margin-top: -40px;
	}

	.social-page.is-public.is-guest .social-head {
		margin-top: 0;
		flex-wrap: nowrap;
	}

	.social-avatar-wrap,
	.social-avatar {
		width: 112px;
		height: 112px;
	}

	.social-avatar-plus {
		width: 28px;
		height: 28px;
		font-size: 18px;
		right: 4px;
		bottom: 10px;
	}

	.social-side {
		order: -1;
	}

	.social-circles {
		grid-template-columns: repeat(4, 1fr);
	}

	.social-block--guilds .social-block-title::after {
		content: attr(data-hold-hint);
		display: block;
		margin-top: 4px;
		font-size: 11px;
		font-weight: 400;
		color: #8aa0b5 !important;
		text-shadow: none;
		letter-spacing: 0;
	}

	.social-guild-head {
		margin: 0;
		align-items: stretch;
	}

	.social-guild-page {
		display: inline-flex;
	}

	.social-guild-name {
		position: relative;
		padding: 10px 12px 10px 22px;
		background: rgba(0, 0, 0, 0.28);
		border: 1px solid rgba(160, 115, 50, 0.35);
		border-radius: 6px;
	}

	.social-guild.is-open .social-guild-name {
		border-radius: 6px 6px 0 0;
		border-bottom-color: transparent;
		background: rgba(0, 0, 0, 0.38);
	}

	.social-guild-name::before {
		content: '';
		position: absolute;
		left: 8px;
		top: 50%;
		margin-top: -4px;
		width: 0;
		height: 0;
		border-top: 4px solid transparent;
		border-bottom: 4px solid transparent;
		border-left: 6px solid #f6c85c;
		transform: rotate(0deg);
		transition: transform 0.15s ease;
	}

	.social-guild.is-open .social-guild-name::before {
		transform: rotate(90deg);
	}

	.social-guild .social-circles-guild {
		display: grid;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		padding: 0 8px;
		margin: 0;
		border: 1px solid transparent;
		border-top: 0;
		transform: translateY(-6px);
		pointer-events: none;
		transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease, padding 0.28s ease;
	}

	.social-guild.is-open .social-circles-guild {
		max-height: 280px;
		opacity: 1;
		overflow-x: hidden;
		overflow-y: auto;
		padding: 6px 8px 6px 4px;
		margin: 0;
		border: 1px solid rgba(160, 115, 50, 0.28);
		border-top: 0;
		border-radius: 0 0 6px 6px;
		transform: translateY(0);
		pointer-events: auto;
	}

	.social-feed-tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.social-feed-tabs .social-btn {
		font-size: 12px;
		padding: 8px 6px;
		white-space: normal;
		line-height: 1.2;
	}

	.social-feed .social-post-image a,
	#wrapper #right article.page_article .social-feed .social-post-image img,
	#wrapper #main:has(#social-page) .social-feed .social-post-image img,
	.social-page .social-feed .social-post-image img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		max-height: 70vh !important;
		object-fit: contain !important;
	}

	.social-card-post.has-media .social-post-image,
	.social-card-post.has-media .social-post-video {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	#social-lightbox .news-lightbox-content,
	#social-lightbox .news-lightbox-content img {
		max-width: 96vw !important;
		max-height: 80vh !important;
	}
}


.social-feed-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	padding: 14px;
	margin-bottom: 12px;
}

.social-feed-tabs .social-btn {
	width: 100%;
	min-height: 42px;
	justify-content: center;
	text-align: center;
	font-weight: 600;
	white-space: nowrap;
}

.social-feed-btn {
	width: 100%;
	margin-bottom: 12px;
	min-height: 42px;
	font-weight: 600;
}

.social-feed-tabs .social-btn.is-on,
.social-feed-btn.is-on,
.social-btn.is-following {
	border-color: rgba(246, 200, 92, 0.75);
	box-shadow: 0 0 10px rgba(246, 200, 92, 0.18);
}

a.social-card-name {
	display: inline;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

a.social-card-name:hover {
	color: #99e6ff !important;
}

.social-page.is-feed .social-hint {
	margin: 0 0 12px;
}

.social-events-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.social-event {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	border: 1px solid rgba(246, 200, 92, 0.28);
	background: rgba(246, 200, 92, 0.08);
	text-decoration: none !important;
	color: #e8dfd0 !important;
}

.social-event.is-follow {
	border-color: rgba(61, 220, 132, 0.35);
	background: rgba(61, 220, 132, 0.08);
}

.social-event img {
	width: 36px !important;
	height: 36px !important;
	max-width: 36px !important;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(246, 200, 92, 0.45);
	flex-shrink: 0;
}

.social-event-text {
	flex: 1;
	font-size: 13px;
	line-height: 1.35;
	color: #e8dfd0 !important;
}

.social-event-when {
	font-size: 11px;
	color: #848177 !important;
	white-space: nowrap;
}


.social-name {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.social-card-name-row {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.social-premium-crown {
	color: #f9b52d;
	font-size: 16px;
	line-height: 1;
	text-shadow: 0 0 6px rgba(249, 181, 45, 0.55);
	filter: drop-shadow(0 1px 1px #000);
}

.social-name .social-premium-crown {
	font-size: 20px;
}

.social-gm-badge {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	border-radius: 2px;
	background: rgba(10, 16, 20, 0.95);
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.85);
}

.social-card-body {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
	font-size: 15px;
}

a.social-mention,
a.char-mention {
	font-weight: 600;
	text-decoration: none !important;
	border-bottom: 0 !important;
}

a.social-mention {
	color: #66ccff !important;
}

a.char-mention {
	color: #f6c85c !important;
}


.social-post-actions {
	position: relative;
}

.social-like-wrap {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	z-index: 30;
	overflow: visible;
}

.social-like-wrap.is-preview-open {
	z-index: 400;
}

.social-like-cluster {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid rgba(102, 204, 255, 0.25);
	border-radius: 4px;
	min-height: 30px;
	color: #c8d9e8;
	background: transparent;
}

.social-like-cluster.is-on,
.social-like-cluster:hover {
	border-color: #e74c3c;
	color: #ff8f82;
}

.social-like-wrap .social-like,
.social-like-wrap .social-like-count {
	background: none;
	border: 0 !important;
	border-radius: 0;
	min-height: 30px;
	padding: 4px 10px;
	color: inherit !important;
	cursor: pointer;
	font: inherit;
}

.social-like-wrap .social-like:hover,
.social-like-wrap .social-like-count:hover {
	background: rgba(255, 255, 255, 0.07);
}

.social-like-divider {
	width: 1px;
	flex: 0 0 1px;
	align-self: stretch;
	margin: 6px 0;
	background: rgba(102, 204, 255, 0.28);
	pointer-events: none;
}

.social-like-cluster.is-on .social-like-divider,
.social-like-cluster:hover .social-like-divider {
	background: rgba(231, 76, 60, 0.55);
}

.social-card-post:has(.social-like-wrap.is-preview-open) {
	position: relative;
	z-index: 80;
}

.social-card,
.social-card-post,
.social-post-actions,
.social-feed,
.social-main {
	overflow: visible !important;
}

.social-like-preview[hidden],
.social-like-modal[hidden] {
	display: none !important;
}

.social-like-preview {
	position: absolute;
	left: 0;
	bottom: calc(100% + 8px);
	width: 320px;
	min-width: 280px;
	max-width: min(320px, calc(100vw - 24px));
	padding: 10px 12px;
	background: #2a2d33 !important;
	border: 1px solid #3d424a;
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
	z-index: 500;
	text-align: left;
	box-sizing: border-box;
}

.social-like-preview::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 12px;
}

.social-like-preview-all {
	display: inline-block;
	background: #3a3f45;
	border: 0;
	color: #e8eaed !important;
	border-radius: 16px;
	padding: 4px 12px;
	font-size: 12px;
	line-height: 1.3;
	cursor: pointer;
	margin-bottom: 8px;
	white-space: nowrap;
}

.social-like-preview-meta {
	color: #e07080 !important;
	font-size: 13px;
	margin-bottom: 8px;
}

.social-like-preview-list {
	padding-top: 6px;
}

.social-like-person {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	color: #e8dfd0 !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	min-width: 0;
}

.social-like-avatar {
	position: relative;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	overflow: visible;
}

.social-like-avatar > img:first-child {
	width: 36px !important;
	height: 36px !important;
	max-width: 36px !important;
	max-height: 36px !important;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 0 !important;
}

.social-like-premium-crown {
	position: absolute;
	right: -3px;
	bottom: -3px;
	color: #f9b52d;
	font-size: 12px;
	line-height: 1;
	z-index: 3;
	pointer-events: none;
	text-shadow: 0 0 6px rgba(249, 181, 45, 0.55);
}

.social-like-avatar.is-premium.is-gm .social-like-premium-crown {
	right: 11px;
}

.social-like-gm-badge {
	position: absolute;
	right: -3px;
	bottom: -3px;
	width: 13px !important;
	height: 13px !important;
	max-width: 13px !important;
	max-height: 13px !important;
	border-radius: 2px !important;
	border: 0 !important;
	z-index: 4;
}

.social-like-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.social-like-person-heart {
	color: #e07080;
	font-size: 12px;
	flex: 0 0 auto;
	margin-left: auto;
}

.social-like-empty {
	color: #848177 !important;
	font-size: 12px;
	padding: 8px 0;
}

.social-post-views {
	margin-left: auto;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 15px;
	border: 1px solid rgba(102, 204, 255, 0.28);
	background: rgba(0, 0, 0, 0.35);
	color: #99e6ff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	flex-shrink: 0;
	box-sizing: border-box;
}

.social-premium-crown {
	display: inline-flex !important;
	align-items: center;
	color: #f9b52d !important;
	font-size: 13px !important;
	min-width: 14px;
}

#wrapper #right article.page_article .social-gm-badge,
#wrapper #main:has(#social-page) .social-gm-badge,
.social-page .social-gm-badge {
	width: 14px !important;
	height: 14px !important;
	max-width: 14px !important;
	max-height: 14px !important;
	border-radius: 2px !important;
	border: 0 !important;
	object-fit: contain !important;
	flex-shrink: 0;
}

.social-name .social-gm-badge {
	width: 18px !important;
	height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
}

body.social-like-modal-lock {
	overflow: hidden;
}

.social-like-modal {
	position: fixed;
	inset: 0;
	z-index: 12000;
}

.social-like-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.social-like-modal-sheet {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(420px, calc(100vw - 24px));
	max-height: min(72vh, 640px);
	background: #2a2d33;
	border: 1px solid #3d424a;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.social-like-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px 4px;
}

.social-like-modal-all {
	background: #3a3f45;
	border: 0;
	color: #fff !important;
	border-radius: 16px;
	padding: 4px 12px;
	font-size: 13px;
	cursor: pointer;
}

.social-like-modal-x {
	background: none;
	border: 0;
	color: #9aa3ad !important;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	min-width: 32px;
	min-height: 32px;
}

.social-like-modal-meta {
	padding: 4px 16px 10px;
	color: #e07080 !important;
	font-size: 14px;
}

.social-like-modal-list {
	overflow-y: auto;
	padding: 6px 14px 14px;
}

.social-like-modal-list .social-like-person {
	padding: 8px 0;
}

@media (hover: none) and (pointer: coarse) {
	#socialLikePreview.social-like-preview {
		display: none !important;
	}

	.social-like-modal-sheet {
		left: 0;
		right: 0;
		top: auto;
		bottom: 0;
		transform: none;
		width: 100%;
		max-height: min(86vh, 720px);
		border-radius: 16px 16px 0 0;
	}
}

.social-page .news-zoom-icon {
	font-size: 36px;
}

.social-page .social-comment-image .news-zoom-icon,
.social-page .spyral-comment-image .news-zoom-icon {
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 22px;
}

#social-lightbox.news-lightbox-overlay {
	z-index: 20000000;
	cursor: default;
}

#social-lightbox .news-lightbox-content img {
	max-width: 90vw !important;
	max-height: 85vh !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	cursor: default;
}
