:root {
	--accent: #795eaa;
	--accent-rgb: 121, 94, 170;
	--accent-glow: rgba(121, 94, 170, 0.4);
	--bg-dark: #0a090c;
	--card-dark: rgba(25, 24, 31, 0.7);
	--text-main: #f0edee;
	--text-dim: #a099b0;
	--glass: rgba(255, 255, 255, 0.03);
	--border: rgba(171, 140, 140, 0.08);
	--grad-celestial: linear-gradient(135deg, #795eaa 0%, #4a3a63 100%);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

:root {
	--ts-font: 'Space Grotesk', sans-serif;
}

body {
	font-family: var(--ts-font);
	background-color: var(--bg-dark);
	color: var(--text-main);
	width: 100%;
	position: relative;
	transition: background-color 0.5s ease;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

html {
	overflow-x: hidden;
	scrollbar-gutter: stable;
}

body {
	overscroll-behavior-y: contain;
}

#pull-to-refresh-indicator {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	height: 0;
	overflow: hidden;
	transition: height 0.2s ease;
}

#pull-to-refresh-indicator .ptr-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 10px;
	gap: 6px;
	height: 100%;
	width: 100%;
}

#pull-to-refresh-indicator .ptr-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--glass);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
	transition: transform 0.15s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
}

#pull-to-refresh-indicator .ptr-icon svg {
	width: 16px;
	height: 16px;
	transition: transform 0.3s ease;
}

#pull-to-refresh-indicator.ptr-releasing .ptr-icon svg {
	animation: ptr-spin 0.7s linear infinite;
}

#pull-to-refresh-indicator .ptr-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--text-dim);
	font-family: var(--ts-font);
	letter-spacing: 0.04em;
}

@keyframes ptr-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	border: 2px solid transparent;
	background-clip: content-box;
	transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--accent);
	box-shadow: 0 0 10px var(--accent-glow);
}

::-webkit-scrollbar-track {
	background: var(--bg-dark);
}

* {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.1) var(--bg-dark);
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0px);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.app-container {
	display: flex;
	min-height: 100vh;
	align-items: flex-start;
}

.top-bar {
	display: none;
	justify-content: space-between;
	align-items: center;
	padding: 0.8rem 1.2rem;
	padding-top: calc(env(safe-area-inset-top) + 0.8rem);
	position: sticky;
	top: 0;
	background: var(--bg-dark);
	z-index: 1000;
}

.logo-area {
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-img {
	width: 30px;
	height: 30px;
	border-radius: 8px;
}

.search-trigger {
	transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-logo img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 10px;
}

.brand-name {
	font-size: 1.2rem;
	font-weight: 700;
	background: var(--grad-celestial);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.sidebar {
	width: 280px;
	background: var(--card-dark);
	border-right: 1px solid var(--border);
	padding: 2rem;
	padding-top: calc(env(safe-area-inset-top) + 1.5rem);
	display: flex;
	flex-direction: column;
	gap: 2rem;
	height: 100vh;
	max-height: 100vh;
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 0;
	align-self: flex-start !important;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
	z-index: 2;
}

.sidebar::-webkit-scrollbar {
	display: none;
}

.sidebar-logo {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 1.5rem;
	font-weight: 700;
}

.nav-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.nav-links li:hover {
	background: var(--glass);
	color: var(--text-main);
}

body.ts-mode-light .nav-links li:hover {
	background: rgba(0, 0, 0, 0.07);
	color: #1a1625;
}

.nav-links li {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px 15px;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	color: var(--text-dim);
}

.nav-links li.active {
	background: var(--grad-celestial);
	color: white;
	box-shadow: 0 4px 15px var(--accent-glow);
	transition: box-shadow 0.1s ease;
}

.content {
	flex: 1;
	padding: 1.5rem;
	max-width: 900px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 1024px) {
	.sidebar {
		display: none !important;
	}

	.bottom-nav {
		display: flex !important;
	}

	.top-bar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: calc(env(safe-area-inset-top) + 0.8rem) 1.2rem 0.8rem;
		position: sticky;
		top: 0;
		background: var(--bg-dark);
		z-index: 1000;
		border-bottom: none;
		height: auto;
		--top-bar-height: calc(env(safe-area-inset-top) + 53px);
	}

	.feed-switcher {
		position: -webkit-sticky;
		position: sticky;
		top: var(--top-bar-height, 53px);
		z-index: 999;
		margin-left: -12px;
		margin-right: -12px;
		padding: 8px 16px 12px;
		width: auto;
		background: var(--bg-dark);
		border-bottom: 1px solid var(--border);
		margin-top: 0;
	}

	#inbox .feed-switcher {
		padding-left: 20px !important;
	}

	.content {
		padding: 12px;
		padding-top: 0;
		padding-bottom: 100px;
	}
}

.page {
	display: none;
	animation: fadeIn 0.6s ease forwards;
}

.page.active {
	display: block;
}

.hero-card {
	background: var(--card-dark);
	border: 1px solid var(--border);
	padding: 3rem;
	border-radius: 24px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
	z-index: -1;
}

.bottom-nav {
	display: none;
	position: fixed;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
	left: 0;
	right: 0;
	margin: 0 auto;
	background: rgba(25, 24, 31, 0.85);
	backdrop-filter: blur(25px);
	border: 1px solid var(--border);
	padding: 0 20px;
	border-radius: 50px;
	width: 92%;
	max-width: 420px;
	height: 70px;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
	z-index: 1000;
}

.nav-item {
	color: var(--text-dim);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	touch-action: manipulation;
}

.nav-item i {
	width: 28px !important;
	height: 28px !important;
}

.nav-item.active {
	color: var(--accent);
}

.create-fab {
	background: var(--grad-celestial);
	color: white !important;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	margin-top: -35px;
	box-shadow: 0 8px 20px var(--accent-glow);
	border: 4px solid var(--bg-dark);
}

@media (max-width: 768px) {
	.sidebar {
		display: none;
	}

	.top-bar {
		display: flex;
	}

	.bottom-nav {
		display: flex;
	}

	.content {
		padding-bottom: 100px;
	}
}

.icon-btn {
	background: none;
	border: none;
	color: var(--text-main);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 4000;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
	font-family: 'Space Grotesk', sans-serif;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.auth-card {
	background: var(--card-dark);
	border: 1px solid var(--border);
	padding: 40px;
	border-radius: 32px;
	width: 100%;
	max-width: 400px;
	position: relative;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	text-align: center;
	transform: scale(0.9) translateY(20px);
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .auth-card {
	transform: scale(1) translateY(0);
}

.close-modal {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: var(--text-dim);
	cursor: pointer;
}

.modal-title {
	margin-bottom: 8px;
	font-size: 1.8rem;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
}

.modal-subtitle {
	color: var(--text-dim);
	margin-bottom: 24px;
	font-size: 0.9rem;
	font-family: 'Space Grotesk', sans-serif;
}

.input-group input {
	width: 100%;
	padding: 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: 14px;
	color: white;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	margin-bottom: 16px;
	outline: none;
	transition: 0.3s;
}

.input-group input:focus {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.1);
}

.primary-btn {
	width: 100%;
	padding: 16px;
	background: var(--grad-celestial);
	border: none;
	border-radius: 14px;
	color: white;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	cursor: pointer;
	transition: 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1;
}

.primary-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	filter: grayscale(1);
}

.legal-text {
	font-size: 0.75rem;
	color: var(--text-dim);
	margin-bottom: 20px;
	line-height: 1.4;
	font-family: 'Space Grotesk', sans-serif;
}

.error-text {
	color: #ff5f5f;
	font-size: 0.85rem;
	margin-bottom: 15px;
	font-family: 'Space Grotesk', sans-serif;
}

.resend-container {
	margin-top: 20px;
	font-size: 0.8rem;
	color: var(--text-dim);
	font-family: 'Space Grotesk', sans-serif;
}

.text-link-btn {
	background: none;
	font-family: 'Space Grotesk', sans-serif;
	border: none;
	color: var(--accent);
	font-weight: 600;
	cursor: pointer;
	padding: 5px;
}

.text-link-btn:disabled {
	color: var(--text-dim);
	cursor: not-allowed;
}

.profile-logged-out,
.profile-logged-in {
	display: none;
	text-align: center;
	font-family: 'Space Grotesk', sans-serif;
}

.onboarding-card {
	width: 100%;
	max-width: 500px;
	min-height: 500px;
	max-height: 88vh;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 32px;
	padding: 36px 36px 32px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	position: relative;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
}

.onboarding-card::-webkit-scrollbar {
	display: none;
}

.modal-overlay .onboarding-card {
	transform: scale(0.92) translateY(24px);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal-overlay.active .onboarding-card {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.onboarding-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	animation: stepEnter 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes stepEnter {
	from {
		opacity: 0;
		transform: translateX(32px) scale(0.97);
		filter: blur(6px);
	}

	to {
		opacity: 1;
		transform: translateX(0) scale(1);
		filter: blur(0);
	}
}

.ob-progress {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-bottom: 28px;
}

.ob-progress-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--border);
	transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ob-progress-dot.active {
	background: var(--accent);
	width: 22px;
	border-radius: 3px;
	box-shadow: 0 0 8px var(--accent-glow);
}

.ob-progress-dot.done {
	background: rgba(var(--accent-rgb), 0.4);
}

.step-header {
	text-align: center;
	margin-bottom: 28px;
}

.step-icon-wrapper {
	width: 56px;
	height: 56px;
	background: rgba(var(--accent-rgb), 0.12);
	border: 1px solid rgba(var(--accent-rgb), 0.25);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	color: var(--accent);
	box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}

.step-icon-wrapper i {
	width: 24px;
	height: 24px;
}

.step-header .modal-title {
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
}

.step-header .modal-subtitle {
	font-size: 0.875rem;
	color: var(--text-dim);
	margin: 0;
	line-height: 1.5;
}

.profile-upload-zone {
	position: relative;
	margin-bottom: 64px;
}

.onboarding-card .profile-upload-zone,
#edit-profile-modal .profile-upload-zone {
	margin-bottom: 68px;
	overflow: visible;
}

.banner-preview {
	width: 100%;
	height: 110px;
	background: var(--grad-celestial, linear-gradient(135deg, #2b1c44 0%, #4a3a63 50%, #795eaa 100%));
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
	cursor: pointer;
}

.banner-preview:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.25);
}

.avatar-wrapper {
	position: absolute;
	bottom: -48px;
	left: 50%;
	transform: translateX(-50%);
	width: 96px;
	height: 96px;
	z-index: 20;
}

.avatar-preview {
	width: 96px;
	height: 96px;
	background: var(--bg-dark);
	border: 4px solid var(--card-dark);
	border-radius: 50% !important;
	overflow: hidden;
	position: relative;
	transition: transform 0.3s ease;
	cursor: pointer;
}

.avatar-preview:hover {
	transform: scale(1.05);
}

.avatar-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-btn {
	position: absolute;
	bottom: -3px;
	right: -3px;
	z-index: 999999;
	width: 32px;
	height: 32px;
	background: var(--card-dark);
	border: 2px solid var(--border);
}

.upload-btn {
	position: absolute;
	width: 36px;
	height: 36px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 10;
}

.upload-btn i {
	width: 17px;
	height: 17px;
}

.upload-btn:hover {
	background: var(--accent);
	border-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.12);
	box-shadow: 0 0 16px var(--accent-glow);
}

.banner-btn {
	top: 14px;
	right: 14px;
}

.input-group label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin: 18px 0 7px 2px;
}

.input-group label:first-child {
	margin-top: 0;
}

.input-group input,
.input-group textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: 14px;
	color: white;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.95rem;
	transition: all 0.25s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
	color: rgba(255, 255, 255, 0.2);
}

.input-group input:focus,
.input-group textarea:focus {
	background: rgba(var(--accent-rgb), 0.07);
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
}

.input-group textarea {
	resize: none;
	overflow-y: auto;
}

#ob-handle-msg {
	display: none;
	text-align: left;
	margin: 6px 0 0 2px;
	font-size: 0.78rem;
	font-weight: 600;
	min-height: 18px;
}

#btn-save-profile,
.onboarding-footer {
	margin-top: 28px;
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
	margin: 20px 0;
	padding-bottom: 8px;
}

.topic-chip {
	opacity: 0;
	transform: translateY(16px);
	animation: chipPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	padding: 14px 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	text-align: center;
}

@keyframes chipPop {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.topic-chip i {
	width: 20px;
	height: 20px;
	color: var(--text-dim);
	transition: 0.3s;
}

.topic-chip:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--text-dim);
	transform: translateY(-2px);
}

.topic-chip.selected {
	background: var(--grad-celestial);
	border-color: transparent;
	color: white;
	box-shadow: 0 10px 20px rgba(121, 94, 170, 0.3);
}

.topic-chip.selected i {
	color: white;
}

textarea::-webkit-scrollbar {
	width: 4px;
}

textarea::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 10px;
}

.upload-btn:has([data-lucide="trash-2"]) {
	background: rgba(255, 70, 70, 0.2);
	border-color: rgba(255, 70, 70, 0.4);
	color: #ff4646;
}

.upload-btn:has([data-lucide="trash-2"]):hover {
	background: #ff4646;
	color: white;
	box-shadow: 0 0 15px rgba(255, 70, 70, 0.5);
}

.profile-container {
	animation: fadeIn 0.8s ease;
}

.profile-header {
	position: relative;
	margin-bottom: 45px;
}

.profile-banner,
.profile-header .banner-preview {
	width: 100%;
	aspect-ratio: 4 / 1;
	height: auto;
	background-color: #2b1c44;
	background-image: var(--grad-celestial);
	background-size: cover;
	background-position: center;
	border-radius: 24px;
	position: relative;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-header .banner-preview {
	border-radius: 15px;
	max-height: 160px;
}

@media (max-width: 480px) {
	.profile-banner {
		aspect-ratio: 4 / 1;
		border-radius: 16px;
	}
}

.profile-avatar-wrapper {
	position: absolute;
	bottom: -35px;
	left: 10px;
	width: 110px;
	height: 110px;
	z-index: 5;
	overflow: hidden;
	border-radius: 50%;
}

#edit-profile-modal .auth-card {
	width: 100%;
	max-width: 500px;
	min-height: 500px;
	max-height: 85vh;
	overflow-y: auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
}

@media (max-width: 480px) {
	.edit-btn span {
		display: none;
	}
}

#edit-profile-modal .auth-card {
	transform: scale(0.9) translateY(20px);
	opacity: 0;
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

#edit-profile-modal.active .auth-card {
	transform: scale(1) translateY(0);
	opacity: 1;
}

#edit-profile-modal {
	transition: opacity 0.4s ease, visibility 0.4s;
	visibility: hidden;
	display: flex !important;
}

#edit-profile-modal.active {
	visibility: visible;
	opacity: 1;
}

.profile-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 5px solid var(--bg-dark);
	background: var(--card-dark);
	object-fit: cover;
}

.profile-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 15px;
	gap: 12px;
}

.edit-btn {
	background: var(--glass);
	border: 1px solid var(--border);
	color: white;
	padding: 8px 20px;
	border-radius: 12px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 500;
	font-size: 0.95rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button,
input,
textarea,
select,
.modal-title,
.modal-subtitle,
.action-btn,
.primary-btn,
.edit-btn,
.text-link-btn,
.post-content,
.comment-text,
.comment-action,
.dropdown-item,
.nav-links li,
.feed-tab,
.ts-pill,
.genre-chip,
.track-title,
.haven-card-name,
.notif-text,
.settings-row-left,
.ts-toggle-title,
.ts-toggle-sub,
.author-display,
.author-handle,
.profile-name,
.profile-handle,
.profile-bio,
.stat-label,
.stat-value {
	font-family: var(--ts-font) !important;
}

.edit-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--text-dim);
}

.profile-info {
	margin-top: 10px;
	padding: 0 10px;
}

.profile-name {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 2px;
}

.profile-handle {
	color: var(--accent);
	font-weight: 500;
	margin-bottom: 15px;
}

.profile-bio {
	color: var(--text-dim);
	line-height: 1.6;
	max-width: 600px;
	margin-bottom: 20px;
}

.profile-stats {
	display: flex;
	gap: 30px;
	padding: 20px 0;
	margin-top: 16px;
	border-top: 1px solid var(--border);
}

.stat-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.stat-value {
	font-weight: 700;
	font-size: 1.1rem;
}

.stat-label {
	color: var(--text-dim);
	font-size: 0.85rem;
}

.shimmer {
	background: linear-gradient(90deg, var(--card-dark) 25%, color-mix(in srgb, var(--accent) 8%, var(--card-dark)) 50%, var(--card-dark) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: 12px;
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

.shimmer-text {
	height: 20px;
	margin-bottom: 10px;
	width: 60%;
}

.shimmer-banner {
	height: 200px;
	width: 100%;
	border-radius: 24px;
}

.shimmer-avatar {
	width: 110px;
	height: 110px;
	border-radius: 50%;
}

#composer-modal {
	display: flex !important;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(0px);
	position: fixed;
	inset: 0;
	z-index: 3000;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

#composer-modal.active {
	visibility: visible;
	opacity: 1;
	backdrop-filter: blur(12px);
}

.composer-card {
	background: var(--card-dark);
	border: 1px solid var(--border);
	width: 100%;
	max-width: 600px;
	border-radius: 28px;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
	position: relative;
	overflow: visible;
	display: flex;
	flex-direction: column;
	transform: scale(0.85) translateY(40px);
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
	opacity: 0;
}

#composer-modal.active .composer-card {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.composer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 24px;
	border-bottom: 1px solid var(--border);
}

.composer-body {
	padding: 24px;
	max-height: 70vh;
	overflow: visible;
	overflow-y: auto;
}

.composer-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 10px;
	position: relative;
}

.composer-action-btn {
	background: none;
	border: none;
	color: var(--text-dim);
	cursor: pointer;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}

.composer-action-btn:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-main);
}

.composer-action-btn.active {
	background: rgba(var(--accent-rgb), 0.15);
	color: var(--accent);
}

.composer-action-btn i {
	width: 20px;
	height: 20px;
}

#emoji-picker-floating {
	position: fixed;
	z-index: 9999;
	display: none;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

#emoji-picker-floating em-emoji-picker {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	border-radius: 16px;
	--em-rgb-background: 20, 19, 26;
	--em-rgb-input: 35, 34, 42;
	--em-rgb-color: 240, 237, 238;
	--em-rgb-accent: 121, 94, 170;
	--em-color-border: rgba(255, 255, 255, 0.07);
	--em-color-border-over: rgba(121, 94, 170, 0.5);
	--em-font-family: var(--ts-font);
	--em-font-size: 14px;
	--em-emoji-size: 22px;
	--em-emoji-padding: 5px;
	--em-category-button-size: 20px;
	--em-preview-height: 56px;
}

@media (max-width: 768px) {
	#composer-modal {
		align-items: flex-end;
		padding: 0;
	}

	.composer-card {
		max-width: 100%;
		border-radius: 32px 32px 0 0;
		border-bottom: none;
		transform: translateY(105%);
		opacity: 1;
		transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
	}

	#composer-modal.active .composer-card {
		transform: translateY(0);
	}
}

#composer-modal:not(.active) .composer-card {
	transition: transform 0.3s ease-in, opacity 0.3s;
	transform: scale(0.9) translateY(20px);
	opacity: 0;
}

@media (max-width: 768px) {
	#composer-modal:not(.active) .composer-card {
		transform: translateY(100%);
	}
}

.close-composer-btn {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 10;
	color: var(--text-dim);
	transition: 0.3s;
}

.close-composer-btn:hover {
	color: var(--text-main);
}

.composer-user-area {
	display: flex;
	gap: 18px;
	margin-top: 45px;
	padding: 0 5px;
}

.composer-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid var(--border);
	object-fit: cover;
}

.composer-input-wrapper {
	flex: 1;
}

#post-content {
	width: 100%;
	min-height: 120px;
	background: transparent;
	border: none;
	color: var(--text-main);
	font-size: 1.2rem;
	line-height: 1.5;
	resize: none;
	outline: none;
	padding-top: 10px;
}

.composer-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 24px;
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid var(--border);
}

.composer-tools {
	display: flex;
	align-items: center;
	gap: 20px;
}

.ai-label {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text-dim);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	user-select: none;
	cursor: pointer;
}

.ai-label i {
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease;
}

.ai-toggle:hover .ai-label {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--text-dim);
	color: var(--text-main);
}

.ai-toggle input:checked+.ai-label {
	background: var(--accent-glow);
	border-color: var(--accent);
	color: white;
	box-shadow: 0 0 15px var(--accent-glow);
}

.ai-toggle input:checked+.ai-label i {
	transform: scale(1.2) rotate(15deg);
	color: #fff;
}

.ai-toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

#btn-publish-post:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	filter: grayscale(0.8);
	transform: scale(0.98);
	box-shadow: none;
}

#btn-publish-post {
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.char-counter {
	font-size: 0.75rem;
	color: var(--text-dim);
}

#btn-publish-post {
	width: auto;
	padding: 10px 25px;
	border-radius: 50px;
	gap: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feed-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 24px;
	padding-bottom: 100px;
}

.feed-container+.feed-container,
.profile-container .feed-container {
	margin-top: 0;
}

.post-card {
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 20px;
	transition: transform 0.2s ease, border-color 0.2s ease;
	animation: slideUp 0.4s cubic-bezier(0, 0, 0.2, 1);
}

.post-card:hover {
	border-color: rgba(var(--accent-rgb), 0.3);
}

.post-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
}

.post-author-info {
	display: flex;
	gap: 12px;
	align-items: center;
}

.post-pfp {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid var(--border);
}

.author-names {
	display: flex;
	flex-direction: column;
}

.author-display {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 180px;
}

.author-handle {
	font-size: 0.8rem;
	color: var(--text-dim);
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	color: var(--text-dim);
}

.ai-badge {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	background: var(--accent-glow);
	color: var(--accent);
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.7rem;
	border: 1px solid var(--accent);
}

.post-content,
.comment-text,
.profile-bio {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-main);
	word-wrap: break-word;
	overflow-wrap: anywhere;
	word-break: normal;
}

.post-card {
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 20px;
	transition: transform 0.2s ease, border-color 0.2s ease;
	animation: slideUp 0.4s cubic-bezier(0, 0, 0.2, 1);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.post-content p,
.comment-text p,
.profile-bio p {
	margin-bottom: 1rem;
}

.post-content p:last-child,
.comment-text p:last-child,
.profile-bio p:last-child {
	margin-bottom: 0;
}

.post-content a,
.comment-text a,
.profile-bio a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid transparent;
	transition: all 0.2s ease;
}

.post-content a:hover,
.comment-text a:hover,
.profile-bio a:hover {
	border-bottom-color: var(--accent);
	background: var(--accent-glow);
}

.post-content h1,
.post-content h2,
.post-content h3,
.profile-bio h1,
.profile-bio h2,
.profile-bio h3 {
	margin: 1.5rem 0 0.8rem;
	color: var(--text-main);
	font-weight: 800;
	line-height: 1.2;
}

.post-content h1,
.profile-bio h1 {
	font-size: 1.4rem;
}

.post-content h2,
.profile-bio h2 {
	font-size: 1.2rem;
}

.post-content h3,
.profile-bio h3 {
	font-size: 1.1rem;
}

.post-content ul,
.comment-text ul,
.profile-bio ul,
.post-content ol,
.comment-text ol,
.profile-bio ol {
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.post-content li,
.comment-text li,
.profile-bio li {
	margin-bottom: 0.4rem;
}

.post-content blockquote,
.profile-bio blockquote {
	border-left: 4px solid var(--accent);
	padding: 0.5rem 1rem;
	margin: 1rem 0;
	background: rgba(121, 94, 170, 0.05);
	border-radius: 0 12px 12px 0;
	color: var(--text-dim);
	font-style: italic;
}

.post-content code,
.comment-text code,
.profile-bio code {
	background: rgba(255, 255, 255, 0.08);
	padding: 2px 6px;
	border-radius: 6px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.9em;
	color: var(--accent);
}

.post-content pre,
.profile-bio pre {
	background: #000;
	padding: 1rem;
	border-radius: 16px;
	overflow-x: auto;
	border: 1px solid var(--border);
	margin: 1rem 0;
}

.post-content pre code,
.profile-bio pre code {
	background: transparent;
	padding: 0;
	color: var(--text-main);
}

.post-content hr,
.profile-bio hr {
	border: none;
	height: 1px;
	background: var(--border);
	margin: 1.5rem 0;
}

.shimmer-card {
	min-height: 80px;
	background: var(--card-dark);
	border-radius: 24px;
	position: relative;
	overflow: hidden;
}

.shimmer-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
	animation: shimmerMove 1.5s infinite;
}

@keyframes shimmerMove {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.feed-container::after {
	display: block;
	text-align: center;
	padding: 20px;
	color: var(--text-dim);
	font-size: 0.8rem;
	opacity: 0;
	transition: opacity 0.3s;
}

.feed-container:has(.post-card):not(:empty)::after {
	opacity: 0.5;
}

.feed-composer-box {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 14px 20px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.feed-composer-box:hover {
	border-color: rgba(121, 94, 170, 0.4);
	background: rgba(25, 24, 31, 0.9);
}

@media (max-width: 480px) {
	.feed-composer-box {
		padding: 12px 16px;
		gap: 10px;
	}
}

.feed-composer-placeholder {
	color: var(--text-dim);
	font-size: 1rem;
	user-select: none;
}

.post-actions {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}

.action-btn {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	border-radius: 50px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text-dim);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.action-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	border-color: rgba(255, 255, 255, 0.15);
}

.like-btn.liked {
	color: #ff4d6d;
	border-color: rgba(255, 77, 109, 0.3);
	background: rgba(255, 77, 109, 0.08);
}

.like-btn.liked i,
.like-btn.liked svg {
	fill: #ff4d6d;
	color: #ff4d6d;
}

.like-btn:hover {
	color: #ff4d6d !important;
	border-color: rgba(255, 77, 109, 0.3) !important;
	background: rgba(255, 77, 109, 0.08) !important;
}

.like-count {
	font-size: 0.8rem;
}

@keyframes heartPop {
	0% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.4);
	}

	70% {
		transform: scale(0.88);
	}

	100% {
		transform: scale(1);
	}
}

.like-btn.animate-heart i,
.like-btn.animate-heart svg {
	animation: heartPop 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

.post-card {
	user-select: none;
	-webkit-user-select: none;
}

.post-content {
	user-select: text;
	-webkit-user-select: text;
}

.ai-label-btn {
	color: var(--accent) !important;
	border-color: rgba(var(--accent-rgb), 0.35) !important;
	background: rgba(var(--accent-rgb), 0.08) !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
}

.ai-label-btn:hover {
	background: rgba(var(--accent-rgb), 0.18) !important;
	border-color: var(--accent) !important;
	box-shadow: 0 0 12px var(--accent-glow);
}

.ai-label-btn svg,
.ai-label-btn i {
	color: var(--accent);
}

.post-menu-btn {
	padding: 4px 8px !important;
	border: none !important;
	background: transparent !important;
	color: var(--text-dim) !important;
}

.post-menu-btn:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--text-main) !important;
}

.post-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #1a1920;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 6px;
	z-index: 999;
	min-width: 160px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
	animation: fadeIn 0.15s ease forwards;
}

.dropdown-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 14px;
	border-radius: 10px;
	border: none;
	background: transparent;
	color: var(--text-main);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.15s ease;
	text-align: left;
}

.dropdown-item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.dropdown-item.danger {
	color: #ff4646;
}

.dropdown-item.danger:hover {
	background: rgba(255, 70, 70, 0.1);
}

.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	z-index: 2000;
	display: none;
	justify-content: flex-end;
}

.drawer-overlay.active {
	display: flex;
}

.drawer-content {
	background: var(--bg-dark);
	width: 100%;
	max-width: 500px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
	animation: slideRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideRight {
	from {
		transform: translateX(100%);
	}

	to {
		transform: translateX(0);
	}
}

@media (max-width: 768px) {
	.drawer-overlay {
		align-items: flex-end;
	}

	.drawer-content {
		height: 85vh;
		border-radius: 24px 24px 0 0;
		animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	}
}

.comment-item {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	padding: 0;
	opacity: 0;
	transform: translateY(8px);
	animation: commentAppear 0.35s ease forwards;
}

@keyframes commentAppear {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.comment-bubble {
	flex: 1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 18px;
	border-top-left-radius: 5px;
	padding: 10px 14px 8px;
	position: relative;
	transition: border-color 0.2s ease;
}

.comment-bubble:hover {
	border-color: rgba(var(--accent-rgb), 0.3);
}

.comment-bubble:hover .comment-menu-btn {
	opacity: 1;
}

.comment-text {
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--text-main);
	margin-top: 3px;
	word-break: break-word;
}

.comment-footer {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
	padding-left: 2px;
}

.comment-action {
	background: none;
	border: none;
	color: var(--text-dim);
	font-size: 0.78rem;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 20px;
	transition: background 0.2s ease, color 0.2s ease;
}

.comment-action:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
}

.like-comment-btn:hover {
	color: #ff4d6d !important;
	background: rgba(255, 77, 109, 0.1) !important;
}

.reply-comment-btn:hover {
	color: var(--accent) !important;
	background: rgba(var(--accent-rgb), 0.1) !important;
}

.comment-action:active {
	transform: scale(0.95);
}

.comment-action.liked {
	color: #ff4d6d;
}

.comment-action.liked svg,
.comment-action.liked i {
	fill: #ff4d6d;
	color: #ff4d6d;
}

.comment-action.animate-heart svg,
.comment-action.animate-heart i {
	animation: heartPop 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

.comment-menu-btn {
	opacity: 0;
	padding: 2px 4px !important;
	color: var(--text-dim);
	transition: opacity 0.2s ease;
	margin-left: auto;
}

.drawer-header {
	padding: 18px 20px;
	border-bottom: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.comments-list {
	flex: 1;
	overflow-y: auto;
	padding: 14px 16px 8px;
}

.comment-input-area {
	padding: 12px 16px;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: flex-end;
	gap: 10px;
	background: rgba(255, 255, 255, 0.01);
}

.comment-box {
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 10px 16px;
	min-height: 40px;
	color: var(--text-main);
	resize: none;
	font-family: inherit;
	font-size: 0.92rem;
	line-height: 1.5;
	outline: none;
	max-height: 120px;
	overflow-y: auto;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.comment-box:focus {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.06);
}

.comment-send-btn {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	min-width: 38px;
	min-height: 38px;
	max-width: 38px;
	max-height: 38px;
	border-radius: 50%;
	border: none;
	background: var(--grad-celestial);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	align-self: flex-end;
	margin-bottom: 1px;
	overflow: hidden;
	padding: 0;
}

.comment-send-btn svg {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0;
}

.comment-send-btn:hover {
	transform: scale(1.08);
	box-shadow: 0 4px 14px var(--accent-glow);
}

.comment-send-btn:active {
	transform: scale(0.95);
}

@keyframes slideOutRight {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(100%);
	}
}

@keyframes slideDownOut {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(100%);
	}
}

.drawer-content.closing {
	animation: slideOutRight 0.3s forwards cubic-bezier(0.7, 0, 0.84, 0);
}

@media (max-width: 768px) {
	.drawer-content.closing {
		animation: slideDownOut 0.3s forwards cubic-bezier(0.7, 0, 0.84, 0);
	}
}

.post-image-wrap {
	margin-top: 12px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	position: relative;
	min-height: 60px;
	max-width: 100%;
}

.post-image-wrap>div {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	align-items: center;
	background: rgba(0, 0, 0, 0.2);
}

.post-image-wrap::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.03);
	transition: opacity 0.3s ease;
}

.post-image-wrap.loaded::before {
	opacity: 0;
	pointer-events: none;
}

.post-image {
	width: 100%;
	height: auto;
	max-height: 75vh;
	display: block;
	opacity: 0;
	transition: opacity 0.4s ease;
	object-fit: contain;
	flex-shrink: 0;
}

.post-image-wrap.loaded .post-image {
	opacity: 1;
}

#image-lightbox.active {
	opacity: 1;
}

#image-lightbox {
	opacity: 0;
	transition: opacity 0.25s ease;
}

#lightbox-img {
	transform: scale(0.92);
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#image-lightbox.active #lightbox-img {
	transform: scale(1);
}

.preview-grid {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 10px 0;
	scroll-snap-type: x mandatory;
}

.preview-item {
	position: relative;
	flex: 0 0 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	scroll-snap-align: start;
	border: 1px solid var(--border);
}

.carousel-viewport {
	position: relative;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	margin-top: 12px;
}

.carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
	display: none;
}

.carousel-slide {
	flex: 0 0 100%;
	width: 100%;
	scroll-snap-align: center;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-slide img {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: contain;
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	z-index: 10;
	opacity: 0;
	transition: opacity 0.2s;
}

.carousel-viewport:hover .carousel-nav {
	opacity: 1;
}

.carousel-nav.prev {
	left: 10px;
}

.carousel-nav.next {
	right: 10px;
}

.carousel-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
}

.dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
}

.dot.active {
	background: #fff;
	width: 12px;
	border-radius: 4px;
}

.genre-chip {
	flex-shrink: 0;
	padding: 5px 12px;
	border-radius: 20px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text-dim);
	font-size: 0.78rem;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.genre-chip:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-main);
}

.genre-chip.active {
	background: rgba(121, 94, 170, 0.2);
	border-color: var(--accent);
	color: var(--accent);
	font-weight: 600;
}

.track-result {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 12px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.track-result:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--border);
}

.track-result.playing {
	background: rgba(121, 94, 170, 0.1);
	border-color: rgba(121, 94, 170, 0.3);
}

.track-cover-wrap {
	position: relative;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.track-cover-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.track-cover-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.15s ease;
	color: white;
}

.track-cover-wrap:hover .track-cover-overlay,
.track-result.playing .track-cover-overlay {
	opacity: 1;
}

.track-info {
	flex: 1;
	overflow: hidden;
}

.track-title {
	font-weight: 600;
	font-size: 0.88rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.track-artist {
	font-size: 0.76rem;
	color: var(--text-dim);
	margin-top: 2px;
}

.track-attach-btn {
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	color: var(--text-dim);
	border-radius: 8px;
	padding: 5px 10px;
	font-size: 0.75rem;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s ease;
}

.track-attach-btn:hover,
.track-result.selected .track-attach-btn {
	background: var(--accent);
	border-color: var(--accent);
	color: white;
}

.post-audio-player {
	margin-top: 10px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.02);
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.post-audio-top {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	width: 100%;
	box-sizing: border-box;
}

.post-audio-top img {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.post-audio-info {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.post-audio-title {
	font-weight: 700;
	font-size: 0.85rem;
	line-height: 1.3;
	white-space: normal;
	overflow-wrap: break-word;
	display: block;
	color: var(--text-main);
}

.post-audio-artist {
	font-size: 0.72rem;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.post-audio-progress {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0 12px;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.3s ease,
		padding 0.4s ease;
}

.post-audio-progress.visible {
	max-height: 60px;
	opacity: 1;
	padding: 0 12px 12px;
}

.progress-bar-track {
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	margin-bottom: 4px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.progress-bar-fill {
	height: 100%;
	background: var(--accent);
	width: 0%;
	border-radius: 10px;
	transition: width 0.3s linear;
}

.post-audio-player {
	animation: celestialEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes celestialEntrance {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.progress-times {
	display: flex;
	justify-content: space-between;
	font-size: 0.62rem;
	color: var(--text-dim);
	font-variant-numeric: tabular-nums;
}

.post-audio-play {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--accent);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.post-audio-play:hover {
	transform: scale(1.1);
}

.post-audio-play:active {
	transform: scale(0.92);
}

.streaming-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--border);
	width: 100%;
}

.deezer-credit {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	padding: 0 12px 8px 12px;
	justify-content: flex-start;
	text-decoration: none;
	color: #A238FF;
	font-size: 0.7rem;
	font-weight: 600;
	opacity: 0.7;
	letter-spacing: 0.02em;
	transition: opacity 0.2s;
}

.deezer-credit:hover {
	opacity: 1;
}

.stream-btn {
	padding: 10px 2px;
	background: transparent;
	color: var(--text-dim);
	font-size: 0.65rem;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border-right: 1px solid var(--border);
	transition: all 0.2s;
}

.stream-btn:last-child {
	border-right: none;
}

.stream-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
}

@media (max-width: 480px) {
	.streaming-links {
		grid-template-columns: repeat(3, 1fr);
	}

	.stream-btn {
		font-size: 0.6rem;
		padding: 8px 2px;
		gap: 3px;
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.spin {
	animation: spin 1s linear infinite;
}

@keyframes celestial-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.spinning svg,
.spinning i {
	animation: celestial-spin 1s linear infinite !important;
}

.reply-item {
	margin-left: 36px;
	position: relative;
	padding-top: 8px;
}

.reply-item::before {
	content: '';
	position: absolute;
	left: -20px;
	top: -10px;
	bottom: 20px;
	width: 2px;
	background: rgba(var(--accent-rgb), 0.15);
}

.reply-item::after {
	content: '';
	position: absolute;
	left: -20px;
	top: 20px;
	width: 15px;
	height: 2px;
	background: rgba(var(--accent-rgb), 0.15);
}

.creator-badge {
	background: var(--accent-glow);
	color: var(--accent);
	font-size: 0.65rem;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 4px;
	margin-left: 6px;
	border: 1px solid var(--accent);
	text-transform: uppercase;
}

.reply-context-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(121, 94, 170, 0.15);
	color: var(--accent);
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 0.72rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.view-replies-btn {
	background: none;
	border: none;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	margin-left: 48px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	opacity: 0.75;
	transition: opacity 0.2s ease;
	font-family: var(--ts-font);
}

#profile-tab-switcher {
	padding: 10px 0 12px;
	background: transparent;
	position: static;
	border-bottom: none;
	margin-bottom: 4px;
}

@media (max-width: 768px) {
	#profile-tab-switcher {
		margin-left: 0;
		margin-right: 0;
		padding: 10px 0 12px;
		top: unset;
	}
}

.is-pinned-post {
	position: relative;
}

.post-detail-comments-section {
	margin-top: 8px;
	border-top: 1px solid var(--border);
	padding-top: 4px;
}

.post-detail-section-label {
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	padding: 16px 4px 10px;
}

.poll-widget {
	margin-top: 14px;
	padding: 16px;
	background: rgba(var(--accent-rgb), 0.03);
	border: 1px solid rgba(var(--accent-rgb), 0.18);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	animation: pollFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pollFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.poll-option-btn {
	position: relative;
	width: 100%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: 13px;
	padding: 11px 14px;
	color: var(--text-main);
	font-family: var(--ts-font);
	font-size: 0.88rem;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	overflow: hidden;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 44px;
}

.poll-option-btn:hover:not(:disabled) {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.07);
	transform: translateY(-1px);
	box-shadow: 0 3px 12px rgba(var(--accent-rgb), 0.12);
}

.poll-option-btn:active:not(:disabled) {
	transform: scale(0.98);
}

.poll-option-btn.poll-voted {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.06);
	cursor: default;
}

.poll-option-btn.poll-winner {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.1);
	box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15) inset;
}

.poll-option-btn:disabled {
	cursor: default;
	opacity: 0.85;
}

.poll-option-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.14), rgba(var(--accent-rgb), 0.06));
	border-radius: 12px;
	width: 0%;
	transition: width 0.65s cubic-bezier(0.25, 1, 0.5, 1);
	pointer-events: none;
}

.poll-option-btn[disabled] .poll-option-fill {
	animation: barGrow 0.65s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes barGrow {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.poll-option-label {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	align-items: center;
	gap: 7px;
}

.poll-option-pct {
	position: relative;
	z-index: 1;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--accent);
	white-space: nowrap;
	animation: pctPop 0.3s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pctPop {
	from {
		opacity: 0;
		transform: scale(0.7);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.poll-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 4px;
	font-size: 0.72rem;
	color: var(--text-dim);
	flex-wrap: wrap;
	gap: 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	margin-top: 2px;
	padding-top: 8px;
}

.poll-submit-btn {
	margin-top: 4px;
	width: 100%;
	background: var(--accent);
	color: white;
	border: none;
	border-radius: 13px;
	padding: 11px;
	font-family: var(--ts-font);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.poll-submit-btn:hover:not(:disabled) {
	opacity: 0.9;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.4);
}

.poll-submit-btn:active:not(:disabled) {
	transform: scale(0.97);
}

.poll-submit-btn:disabled {
	opacity: 0.4;
	cursor: default;
	box-shadow: none;
}

.poll-option-input:focus {
	border-color: var(--accent) !important;
}

.post-detail-similar-section {
	margin-top: 8px;
	border-top: 1px solid var(--border);
	padding-top: 4px;
}

.post-detail-load-more {
	width: 100%;
	background: none;
	border: 1px solid var(--border);
	border-radius: 12px;
	color: var(--text-dim);
	font-family: var(--ts-font);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 12px;
	cursor: pointer;
	margin: 12px 0 4px;
	transition: all 0.2s ease;
}

.post-detail-load-more:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
}

.is-pinned-post::before {
	content: '📌 Pinned';
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 6px 14px 0;
	font-family: var(--ts-font);
	opacity: 0.7;
}

.sort-container .genre-chip {
	padding: 6px 14px;
	font-size: 0.8rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
}

.sort-container .genre-chip.active {
	background: rgba(var(--accent-rgb), 0.15);
	border-color: var(--accent);
	color: var(--accent);
}

.profile-nav-header {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 1rem 1.5rem;
	margin: 0 -1.5rem 10px -1.5rem;
	position: sticky;
	top: 0;
	background: var(--bg-dark);
	z-index: 100;
	border-bottom: 1px solid var(--border);
}

.nav-user-name {
	font-size: 1.1rem;
	font-weight: 700;
}

.back-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--glass);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
}

.back-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

body.hide-nav .sidebar,
body.hide-nav .bottom-nav,
body.hide-nav .top-bar,
body.hide-nav #chat-sidebar {
	display: none !important;
}

@media (max-width: 768px) {
	.profile-nav-header {
		padding: 0.8rem 1rem;
		margin: 0 -12px 10px -12px;
	}
}

.profile-animate-in {
	animation: profileSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes profileSlideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.avatar-pop {
	animation: avatarSpring 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
	transform: scale(0);
}

@keyframes avatarSpring {
	to {
		transform: scale(1);
	}
}

.info-stagger {
	opacity: 0;
	animation: infoFade 0.5s ease forwards;
}

.info-stagger:nth-child(1) {
	animation-delay: 0.1s;
}

.info-stagger:nth-child(2) {
	animation-delay: 0.2s;
}

.info-stagger:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes infoFade {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.stat-item-animate {
	opacity: 0;
	transform: translateX(-10px);
	animation: statSlide 0.4s ease forwards;
}

.stat-item-animate:nth-child(1) {
	animation-delay: 0.4s;
}

.stat-item-animate:nth-child(2) {
	animation-delay: 0.5s;
}

.stat-item-animate:nth-child(3) {
	animation-delay: 0.6s;
}

@keyframes statSlide {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.founding-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	background: var(--accent-glow);
	color: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	white-space: nowrap;
	flex-shrink: 0;
}

.founding-badge i,
.founding-badge svg {
	width: 12px;
	height: 12px;
	fill: var(--accent);
}

@media (max-width: 480px) {
	.profile-name {
		flex-wrap: wrap;
		gap: 8px !important;
	}

	.founding-badge {
		font-size: 0.62rem;
		padding: 2px 8px;
	}
}

.follow-btn {
	height: 42px;
	min-width: 110px;
	padding: 0 20px;
	border-radius: 12px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border: 1px solid transparent;
}

.follow-btn span {
	display: none;
}

.follow-btn.not-following .text-follow {
	display: inline;
}

.follow-btn.is-following .text-following {
	display: inline;
}

.follow-btn.is-following:hover .text-following {
	display: none;
}

.follow-btn.is-following:hover .text-unfollow {
	display: inline;
}

.follow-btn.not-following {
	background: var(--grad-celestial);
	color: white;
	box-shadow: 0 4px 15px var(--accent-glow);
}

.follow-btn.is-following {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	border-color: var(--border);
}

.follow-btn.is-following .text-unfollow {
	display: none;
}

.follow-btn.is-following:hover {
	background: rgba(255, 70, 70, 0.12);
	border-color: rgba(255, 70, 70, 0.3);
	color: #ff5f5f;
}

.follow-btn.is-following:hover .text-following {
	display: none;
}

.follow-btn.is-following:hover .text-unfollow {
	display: inline;
}

.follow-btn:active {
	transform: scale(0.92);
}

@keyframes follow-pop {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.15);
	}

	100% {
		transform: scale(1);
	}
}

.btn-animate-pop {
	animation: follow-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.new-posts-pill {
	position: fixed;
	top: 130px;
	left: 50%;
	transform: translate(-50%, -20px);
	background: var(--accent);
	color: white;
	padding: 10px 22px;
	border-radius: 50px;
	font-size: 0.88rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	z-index: 1500 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 769px) {
	.new-posts-pill {
		margin-left: 140px;
	}
}

.new-posts-pill.visible {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.new-posts-pill:hover {
	background: color-mix(in srgb, var(--accent) 85%, #000);
	transform: translate(-50%, -2px) scale(1.05);
}

.static-pill-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0;
	transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.static-pill-container.visible {
	height: 80px;
	opacity: 1;
	margin-top: 10px;
}

.static-pill {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 22px;
	background: rgba(var(--accent-rgb), 0.1);
	border: 1px solid var(--accent);
	color: var(--accent);
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.static-pill:hover {
	background: rgba(var(--accent-rgb), 0.18);
	transform: scale(1.03) translateY(-1px);
	box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.2);
}

.static-pill i,
.new-posts-pill i {
	width: 16px;
	height: 16px;
}

.feed-switcher {
	display: flex;
	gap: 15px;
	padding: 1rem 1.5rem;
	align-items: center;
	background: var(--bg-dark);
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	border-bottom: 1px solid var(--border);
}

.feed-switcher::-webkit-scrollbar {
	display: none;
}

@media (max-width: 768px) {
	#inbox .feed-switcher {
		padding-left: 4px;
	}
}

.feed-tab {
	flex-shrink: 0;
	padding: 8px 18px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--text-dim);
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.feed-tab i {
	width: 14px;
	height: 14px;
}

.feed-tab:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-main);
}

.feed-tab.active {
	background: var(--accent);
	border-color: var(--accent);
	color: white;
}

.feed-tab.active i {
	color: white;
}

@media (max-width: 768px) {
	.feed-switcher {
		top: var(--top-bar-height, 53px);
		margin-left: -12px;
		margin-right: -12px;
		padding: 8px 16px 12px;
		width: auto;
		background: var(--bg-dark);
		border-bottom: 1px solid var(--border);
	}

	#inbox .feed-switcher {
		padding-left: 16px !important;
	}
}

.date-separator {
	display: flex;
	justify-content: center;
	margin: 40px 0 20px;
	position: relative;
}

.date-separator::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
	z-index: 1;
}

.date-pill {
	background: #1a1920;
	border: 1px solid var(--border);
	padding: 6px 16px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-dim);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	position: relative;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.date-pill i {
	width: 12px;
	height: 12px;
	color: var(--accent);
}

.btn-tune-desktop {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	color: var(--text-dim);
	margin-left: 10px;
}

@media (max-width: 768px) {
	.btn-tune-desktop {
		display: none !important;
	}
}

.btn-tune-desktop:hover {
	background: var(--glass);
	color: var(--text-main);
}

.switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: rgba(255, 255, 255, 0.1);
	transition: .4s;
	border-radius: 34px;
	border: 1px solid var(--border);
}

.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked+.slider {
	background-color: var(--accent);
}

input:checked+.slider:before {
	transform: translateX(20px);
}

@media (max-width: 600px) {
	.switch {
		width: 48px;
		height: 28px;
	}

	.slider:before {
		height: 20px;
		width: 20px;
		left: 3px;
		bottom: 3px;
	}

	input:checked+.slider:before {
		transform: translateX(20px);
	}

	.ts-toggle-row {
		padding: 16px 14px;
		gap: 16px;
	}
}

.shared-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(var(--accent-rgb), 0.1);
	color: var(--accent);
	padding: 4px 12px;
	border-radius: 50px;
	font-size: 0.72rem;
	font-weight: 800;
	margin-bottom: 12px;
	border: 1px solid var(--accent);
	animation: fadeIn 0.5s ease;
}

.shared-tag i {
	width: 12px;
	height: 12px;
}

.share-options-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px 10px;
	animation: fadeIn 0.3s ease;
}

.share-option-btn {
	background: none;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
	outline: none;
}

.share-option-btn:hover {
	transform: translateY(-4px);
}

.share-option-btn span {
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--text-dim);
	font-family: 'Space Grotesk', sans-serif;
	text-align: center;
	width: 100%;
	white-space: nowrap;
}

.share-icon-circle {
	width: 50px;
	height: 50px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	color: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.share-option-btn:hover .share-icon-circle {
	filter: brightness(1.15);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.share-icon-circle i,
.share-icon-circle svg {
	width: 20px;
	height: 20px;
}

.havens-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.haven-card {
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 24px;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	animation: fadeIn 0.5s ease forwards;
}

.haven-card:hover {
	border-color: var(--accent);
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.haven-card-banner {
	height: 80px;
	background: var(--grad-celestial);
	background-size: cover;
	background-position: center;
}

.haven-card-content {
	padding: 0 16px 16px;
	margin-top: -30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.haven-card-icon {
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--bg-dark);
	border: 4px solid var(--bg-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	overflow: hidden;
	color: white;
}

.haven-card-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}

.haven-card-name {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text-main);
}

.haven-card-handle {
	color: var(--accent);
	font-size: 0.8rem;
	margin-bottom: 12px;
	font-weight: 600;
}

.haven-card-stats {
	display: flex;
	gap: 15px;
	font-size: 0.75rem;
	color: var(--text-dim);
}

#glyph-selector {
	background: rgba(0, 0, 0, 0.2);
	padding: 15px;
	border-radius: 18px;
	border: 1px solid var(--border);
	margin-top: 15px;
	width: 100%;
	box-sizing: border-box;
}

#glyph-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, 42px);
	justify-content: space-between;
	gap: 8px;
	max-height: 200px;
	overflow-y: auto;
	padding-right: 5px;
	margin-bottom: 20px;
}

.glyph-btn {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.glyph-btn i,
.glyph-btn svg {
	width: 20px;
	height: 20px;
}

.glyph-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-main);
}

.glyph-btn.active {
	background: var(--accent);
	color: white;
	border-color: transparent;
}

#haven-color-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 5px;
	justify-content: flex-start;
}

.color-dot {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid rgba(0, 0, 0, 0.3);
	transition: 0.2s;
	flex-shrink: 0;
}

.color-dot:hover {
	transform: scale(1.2);
}

.color-dot.active {
	border-color: white;
	transform: scale(1.2);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

#glyph-grid::-webkit-scrollbar {
	width: 4px;
}

#glyph-grid::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: 10px;
}

.join-btn {
	height: 42px;
	min-width: 100px;
	padding: 0 20px;
	border-radius: 12px;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 0.88rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
}

.join-btn .text-join,
.join-btn .text-joined,
.join-btn .text-leave {
	display: none;
}

.join-btn.not-joined .text-join {
	display: inline;
}

.join-btn.is-joined .text-joined {
	display: inline;
}

.join-btn.is-joined:hover .text-joined {
	display: none;
}

.join-btn.is-joined:hover .text-leave {
	display: inline;
}

.join-btn.not-joined {
	background: var(--grad-celestial);
	color: white;
}

.join-btn.is-joined {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	border-color: var(--border);
}

.join-btn.is-joined .text-leave {
	display: none;
}

.join-btn.is-joined:hover {
	background: rgba(255, 70, 70, 0.12);
	border-color: rgba(255, 70, 70, 0.3);
	color: #ff5f5f;
}

.join-btn.is-joined:hover .text-joined {
	display: none;
}

.join-btn.is-joined:hover .text-leave {
	display: inline;
}

#haven-picker-results .shimmer-card {
	margin-bottom: 8px;
}

.picker-haven-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 16px;
	cursor: pointer;
	transition: 0.2s;
	border: 1px solid transparent;
	margin-bottom: 4px;
}

.picker-haven-row:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--border);
}

.picker-icon-box {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.picker-icon-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.picker-section-label {
	font-size: 0.7rem;
	font-weight: 800;
	color: var(--text-dim);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 20px 0 10px 5px;
}

.post-haven-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-dim);
	font-size: 0.8rem;
	margin-left: 2px;
	padding: 2px 8px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 6px;
	transition: 0.2s;
	cursor: pointer;
}

.post-haven-tag:hover {
	color: var(--accent);
	background: rgba(121, 94, 170, 0.1);
}

.haven-target-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(var(--accent-rgb), 0.1);
	border: 1px solid rgba(var(--accent-rgb), 0.2);
	padding: 6px 14px;
	border-radius: 50px;
	color: var(--accent);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.haven-target-btn:hover {
	background: rgba(var(--accent-rgb), 0.2);
	border-color: var(--accent);
}

#haven-picker-modal .input-group div,
#haven-main-search-wrap {
	padding: 10px 16px !important;
	gap: 12px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid var(--border) !important;
	display: flex !important;
	align-items: center !important;
}

#haven-search-input,
#haven-main-search {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
	width: 100% !important;
	font-size: 0.95rem !important;
	color: var(--text-main) !important;
	outline: none !important;
	box-shadow: none !important;
}

#haven-search-input::placeholder,
#haven-main-search::placeholder {
	color: var(--text-dim);
}

#explore-search-input {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
	width: 100% !important;
	font-size: 1rem !important;
	color: var(--text-main) !important;
	outline: none !important;
	box-shadow: none !important;
}

.top-match-card {
	background: linear-gradient(135deg, rgba(121, 94, 170, 0.15) 0%, rgba(25, 24, 31, 0.7) 100%);
	border: 1px solid var(--accent);
	border-radius: 20px;
	padding: 16px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 15px;
	animation: fadeIn 0.4s ease;
}

body.ts-mode-light .top-match-card {
	background: linear-gradient(135deg, rgba(121, 94, 170, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
	border-color: var(--accent) !important;
}

body.ts-mode-light .top-match-card .author-display {
	color: #1a1625 !important;
}

body.ts-mode-light .top-match-card .author-handle {
	color: #6b6280 !important;
}

body.ts-mode-light .people-result-card {
	background: rgba(255, 255, 255, 0.95) !important;
}

.top-match-info {
	flex: 1;
	min-width: 0;
}

.top-match-label {
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--accent);
	letter-spacing: 0.05em;
	margin-bottom: 4px;
}

.people-result-card {
	display: flex;
	align-items: center;
	gap: 15px;
	background: var(--card-dark);
	padding: 12px 16px;
	border-radius: 20px;
	border: 1px solid var(--border);
	cursor: pointer;
	transition: 0.2s;
}

#explore-main-results {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 0;
}

#explore-main-results .post-card {
	margin: 0 !important;
}

#explore-main-results .shimmer-card {
	flex-shrink: 0;
}

#explore-main-results>* {
	animation: searchItemIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#explore-main-results>*:nth-child(1) {
	animation-delay: 0.00s;
}

#explore-main-results>*:nth-child(2) {
	animation-delay: 0.04s;
}

#explore-main-results>*:nth-child(3) {
	animation-delay: 0.08s;
}

#explore-main-results>*:nth-child(4) {
	animation-delay: 0.12s;
}

#explore-main-results>*:nth-child(5) {
	animation-delay: 0.16s;
}

#explore-main-results>*:nth-child(n+6) {
	animation-delay: 0.20s;
}

@keyframes searchItemIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.people-result-card:hover {
	border-color: var(--text-dim);
}

.explore-mini-pfp {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	object-fit: cover;
}

.notif-badge {
	background: var(--accent);
	color: white;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 50px;
	border: 2px solid var(--bg-dark);
	box-shadow: 0 4px 10px var(--accent-glow);
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	pointer-events: none;
	line-height: 1;
}

.sidebar .nav-links li .notif-badge {
	margin-left: auto;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.nav-item .notif-badge {
		position: absolute;
		top: 6px;
		right: 4px;
		transform: none;
		min-width: 16px;
		height: 16px;
		font-size: 9px;
		padding: 1px 4px;
	}
}

.notif-snippet {
	background: rgba(255, 255, 255, 0.03);
	border-left: 2px solid var(--accent);
	padding: 6px 10px;
	border-radius: 4px 10px 10px 4px;
	font-size: 0.82rem;
	color: var(--text-dim);
	margin-top: 8px;
	font-style: italic;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar .notif-badge {
	top: 12px;
	right: 12px;
}

.notif-card {
	display: flex;
	gap: 15px;
	padding: 16px;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.notif-card:hover {
	border-color: var(--text-dim);
	transform: translateY(-2px);
}

.notif-card.unread {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.05);
}

.notif-card.unread::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--accent);
}

.notif-icon-circle {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.notif-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.notif-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.notif-text {
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--text-main);
	flex: 1;
}

.notif-text b {
	color: var(--text-main);
	font-weight: 700;
}

.notif-meta {
	font-size: 0.72rem;
	color: var(--text-dim);
	white-space: nowrap;
	flex-shrink: 0;
}

#btn-unblock-inline {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.post-card[data-blocked="true"] {
	display: none;
}

.report-chip:hover {
	border-color: rgba(255, 160, 50, 0.35) !important;
	color: var(--text-main) !important;
	background: rgba(255, 160, 50, 0.06) !important;
}

#send-comment-btn {
	transition: opacity 0.3s ease, transform 0.2s ease;
	opacity: 0.4;
	pointer-events: none;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.spin {
	animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
	.content {
		padding: 1rem;
		padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 120px);
	}

	.action-btn {
		padding: 10px 18px;
	}

	.post-card {
		-webkit-user-select: none;
		user-select: none;
	}

	.post-content,
	.comment-text {
		user-select: text;
		-webkit-user-select: text;
	}
}

@media (max-width: 768px) {

	.post-card,
	.feed-composer-box {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

.ai-label-btn .text-full {
	display: inline;
}

.ai-label-btn .text-mini {
	display: none;
}

@media (max-width: 550px) {
	.ai-label-btn .text-full {
		display: none;
	}

	.ai-label-btn .text-mini {
		display: inline;
	}
}

@media (max-width: 400px) {
	.ai-label-btn .text-mini {
		display: none;
	}

	.ai-label-btn {
		padding: 8px 12px;
	}
}

.settings-section-label {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-dim);
	padding: 0 4px;
	margin: 28px 0 10px;
}

.settings-group {
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 20px;
	overflow: hidden;
}

.settings-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px;
	cursor: pointer;
	transition: background 0.2s ease;
	border-bottom: 1px solid var(--border);
	text-decoration: none;
	color: var(--text-main);
}

.settings-row:last-child {
	border-bottom: none;
}

.settings-row:hover {
	background: rgba(255, 255, 255, 0.04);
}

.settings-row-left {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 0.95rem;
	font-weight: 500;
}

.settings-row-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(var(--accent-rgb), 0.1);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.settings-row-icon i {
	width: 17px;
	height: 17px;
}

.settings-chevron {
	width: 16px;
	height: 16px;
	color: var(--text-dim);
	flex-shrink: 0;
}

.danger-row:hover {
	background: rgba(255, 70, 70, 0.06) !important;
}

.ts-label {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-dim);
	margin: 20px 0 10px;
}

.ts-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ts-pill {
	padding: 7px 14px;
	border-radius: 50px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-dim);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.ts-pill:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-main);
	border-color: var(--text-dim);
}

.ts-pill.active {
	background: var(--accent);
	border-color: var(--accent);
	color: white;
	font-weight: 700;
}

.ts-accent-palette {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.ts-dot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	flex-shrink: 0;
}

.ts-dot:hover {
	transform: scale(1.2);
}

.ts-dot.active {
	border-color: white;
	transform: scale(1.25);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.ts-style-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
	margin-top: 4px;
}

.ts-style-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.ts-style-card:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--text-dim);
	transform: translateY(-2px);
}

.ts-style-card.active {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.12);
	color: var(--accent);
}

.ts-style-preview {
	width: 100%;
	height: 50px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	overflow: hidden;
	position: relative;
}

.ts-style-name {
	font-size: 0.78rem;
	font-weight: 600;
}

.ts-style-desc {
	font-size: 0.68rem;
	color: var(--text-dim);
}

.ts-presets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
	margin-top: 4px;
}

.ts-preset-card {
	border-radius: 16px;
	border: 1px solid var(--border);
	overflow: hidden;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	background: rgba(255, 255, 255, 0.02);
}

.ts-preset-card:hover {
	transform: translateY(-4px);
	border-color: var(--text-dim);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ts-preset-card.active {
	border-color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent);
}

.ts-preset-swatch {
	height: 48px;
	width: 100%;
	display: flex;
}

.ts-preset-swatch span {
	flex: 1;
	height: 100%;
}

.ts-preset-info {
	padding: 8px 10px 10px;
}

.ts-preset-emoji {
	font-size: 1rem;
}

.ts-preset-name {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--text-main);
	margin-top: 2px;
}

.ts-toggles {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 18px;
	overflow: hidden;
}

.ts-toggle-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
	gap: 12px;
}

.ts-toggle-row:last-child {
	border-bottom: none;
}

.ts-toggle-title {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-main);
}

.ts-toggle-sub {
	font-size: 0.72rem;
	color: var(--text-dim);
	margin-top: 2px;
}

body.ts-radius-sharp {
	--ts-r: 4px;
	--ts-r-lg: 8px;
	--ts-r-xl: 10px;
}

body.ts-radius-soft {
	--ts-r: 10px;
	--ts-r-lg: 16px;
	--ts-r-xl: 20px;
}

body.ts-radius-round {
	--ts-r: 14px;
	--ts-r-lg: 22px;
	--ts-r-xl: 32px;
}

body.ts-radius-pill {
	--ts-r: 50px;
	--ts-r-lg: 50px;
	--ts-r-xl: 40px;
}

body.ts-radius-blobby {
	--ts-r: 30px 14px 30px 14px;
	--ts-r-lg: 40px 20px 40px 20px;
	--ts-r-xl: 48px 24px 48px 24px;
}

body[class*="ts-radius-"] .post-card {
	border-radius: var(--ts-r-xl) !important;
}

body[class*="ts-radius-"] .auth-card {
	border-radius: var(--ts-r-xl) !important;
}

body[class*="ts-radius-"] .onboarding-card {
	border-radius: var(--ts-r-xl) !important;
}

body[class*="ts-radius-"] .action-btn {
	border-radius: var(--ts-r) !important;
}

body[class*="ts-radius-"] .primary-btn {
	border-radius: var(--ts-r) !important;
}

body[class*="ts-radius-"] .feed-tab {
	border-radius: var(--ts-r) !important;
}

body[class*="ts-radius-"] .comment-bubble {
	border-radius: var(--ts-r-lg) !important;
}

body[class*="ts-radius-"] .haven-card {
	border-radius: var(--ts-r-xl) !important;
}

body[class*="ts-radius-"] .nav-links li {
	border-radius: var(--ts-r) !important;
}

body[class*="ts-radius-"] .input-group input,
body[class*="ts-radius-"] .input-group textarea {
	border-radius: var(--ts-r-lg) !important;
}

body.ts-density-compact .post-card {
	padding: 12px !important;
}

body.ts-density-compact .feed-container {
	gap: 8px !important;
}

body.ts-density-compact .post-pfp {
	width: 32px !important;
	height: 32px !important;
}

body.ts-density-cozy .post-card {
	padding: 28px !important;
}

body.ts-density-cozy .feed-container {
	gap: 24px !important;
}

body.ts-density-spacious .post-card {
	padding: 36px !important;
}

body.ts-density-spacious .feed-container {
	gap: 32px !important;
}

body.ts-compact-avatars .post-pfp {
	width: 32px !important;
	height: 32px !important;
}

body.ts-hover-lift .post-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
}

body.ts-glow .primary-btn {
	box-shadow: 0 0 20px var(--accent-glow) !important;
}

body.ts-glow .feed-tab.active {
	box-shadow: 0 0 12px var(--accent-glow) !important;
}

body.ts-glow .action-btn:hover {
	box-shadow: 0 0 10px var(--accent-glow) !important;
}

body.ts-reduce-motion *,
body.ts-reduce-motion *::before,
body.ts-reduce-motion *::after {
	animation-duration: 0.01ms !important;
	transition-duration: 0.15ms !important;
}

body.ts-hide-likes .like-count {
	display: none !important;
}

body.ts-card-ghost .post-card {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.06) !important;
}

body.ts-card-bordered .post-card {
	background: transparent !important;
	border: 2px solid var(--border) !important;
}

body.ts-card-floating .post-card {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
	border: none !important;
}

body.ts-card-flat .post-card {
	background: rgba(255, 255, 255, 0.02) !important;
	border: none !important;
	border-radius: 0 !important;
	border-bottom: 1px solid var(--border) !important;
}

body.ts-card-neon .post-card {
	border-color: var(--accent) !important;
	box-shadow: 0 0 16px var(--accent-glow), inset 0 0 30px rgba(var(--accent-rgb), 0.03) !important;
}

body.ts-card-glass .post-card {
	background: rgba(255, 255, 255, 0.04) !important;
	backdrop-filter: blur(20px) !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
}

body.ts-card-paper .post-card {
	background: rgba(240, 235, 220, 0.06) !important;
	border-color: rgba(200, 180, 140, 0.2) !important;
}

body.ts-card-retro .post-card {
	background: #0a0a0a !important;
	border: 2px solid var(--accent) !important;
	border-radius: 0 !important;
	box-shadow: 4px 4px 0 var(--accent) !important;
}

body.ts-sidebar-minimal .sidebar {
	background: transparent !important;
	border-right-color: transparent !important;
}

body.ts-sidebar-accent .sidebar {
	background: linear-gradient(180deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, transparent) 100%) !important;
}

body.ts-sidebar-accent .nav-links li {
	color: rgba(255, 255, 255, 0.7) !important;
}

body.ts-sidebar-accent .nav-links li:hover {
	background: rgba(255, 255, 255, 0.12) !important;
}

body.ts-sidebar-accent .nav-links li.active {
	background: rgba(255, 255, 255, 0.2) !important;
	color: white !important;
}

body.ts-sidebar-accent .sidebar-logo span {
	color: white !important;
}

body.ts-sidebar-frosted .sidebar {
	backdrop-filter: blur(20px) saturate(1.4) !important;
	-webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
}

body:not(.ts-mode-light).ts-sidebar-frosted .sidebar {
	background: rgba(10, 9, 12, 0.4) !important;
	border-right-color: rgba(255, 255, 255, 0.06) !important;
}

body.ts-mode-light.ts-sidebar-frosted .sidebar {
	background: rgba(255, 255, 255, 0.45) !important;
	border-right-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light.ts-sidebar-minimal .sidebar {
	background: transparent !important;
	border-right-color: transparent !important;
}

body.ts-blur-bg .modal-overlay {
	backdrop-filter: blur(20px) !important;
}

body.ts-scrollbar-thin ::-webkit-scrollbar {
	width: 3px !important;
}

body.ts-scrollbar-hidden ::-webkit-scrollbar {
	display: none !important;
}

body.ts-scrollbar-hidden * {
	scrollbar-width: none !important;
}

body.ts-scrollbar-accent ::-webkit-scrollbar-thumb {
	background-color: var(--accent) !important;
}

@keyframes rainbow-scroll {
	0% {
		background-color: #ff6b6b;
	}

	16% {
		background-color: #ffa94d;
	}

	33% {
		background-color: #ffd43b;
	}

	50% {
		background-color: #69db7c;
	}

	66% {
		background-color: #4dabf7;
	}

	83% {
		background-color: #cc5de8;
	}

	100% {
		background-color: #ff6b6b;
	}
}

body.ts-scrollbar-rainbow ::-webkit-scrollbar-thumb {
	animation: rainbow-scroll 4s linear infinite !important;
}

@property --accent-hue {
	syntax: '<angle>';
	inherits: true;
	initial-value: 0deg;
}

@keyframes ts-rainbow-accent {
	0% {
		--accent-hue: 0deg;
	}

	100% {
		--accent-hue: 360deg;
	}
}

body.ts-rainbow-mode {
	animation: ts-rainbow-accent 8s linear infinite;
}

body.ts-rainbow-mode {
	--accent: hsl(var(--accent-hue), 70%, 65%);
	--accent-glow: hsla(var(--accent-hue), 70%, 65%, 0.35);
	--grad-celestial: linear-gradient(135deg, hsl(var(--accent-hue), 70%, 65%) 0%, hsl(calc(var(--accent-hue) + 30deg), 70%, 45%) 100%);
}

body {
	transition: background 0.5s ease, font-family 0.3s ease, background-image 0.3s ease;
}

body.ts-style-minimal .sidebar-logo span,
body.ts-style-minimal .nav-links li span {
	opacity: 0.7;
}

body.ts-style-minimal .top-bar {
	border-bottom: none;
	background: transparent !important;
}

body.ts-style-minimal .post-card {
	box-shadow: none !important;
}

body.ts-style-retro {
	font-family: 'Courier New', monospace !important;
	image-rendering: pixelated;
}

body.ts-style-retro .post-card {
	border: 2px solid var(--accent) !important;
	border-radius: 0 !important;
	box-shadow: 4px 4px 0 var(--accent) !important;
	background: #050505 !important;
}

body.ts-style-retro .primary-btn {
	border-radius: 0 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5) !important;
}

body.ts-style-retro .sidebar {
	border-right: 2px solid var(--accent) !important;
	border-radius: 0 !important;
}

body.ts-style-futuristic .post-card {
	border-left: 2px solid var(--accent) !important;
	border-top: 1px solid rgba(var(--accent-rgb), 0.3) !important;
	border-right: 1px solid transparent !important;
	border-bottom: 1px solid transparent !important;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

body.ts-style-futuristic .primary-btn {
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
	border-radius: 0 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.ts-style-rounded .post-card {
	border-radius: 32px !important;
}

body.ts-style-rounded .auth-card {
	border-radius: 40px !important;
}

body.ts-style-rounded .primary-btn {
	border-radius: 50px !important;
}

body.ts-style-rounded .action-btn {
	border-radius: 50px !important;
}

body.ts-style-rounded .input-group input {
	border-radius: 24px !important;
}

body.ts-style-rounded .comment-bubble {
	border-radius: 24px !important;
}

body.ts-style-bubbly .post-card {
	border-radius: 40px 20px 40px 20px !important;
}

body.ts-style-bubbly .action-btn {
	border-radius: 20px 8px 20px 8px !important;
}

body.ts-style-bubbly .primary-btn {
	border-radius: 50px !important;
}

body.ts-style-newspaper {
	font-family: 'Georgia', serif !important;
}

body.ts-style-newspaper .post-card {
	border: none !important;
	border-bottom: 1px solid var(--border) !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 24px 0 !important;
}

body.ts-style-newspaper .author-display {
	font-family: 'Georgia', serif;
	font-style: italic;
}

body.ts-mode-light {
	--bg-dark: #f5f4f8;
	--card-dark: rgba(255, 255, 255, 0.9);
	--text-main: #1a1625;
	--text-dim: #6b6280;
	--glass: rgba(0, 0, 0, 0.03);
	--border: rgba(0, 0, 0, 0.09);
}

body.ts-mode-light .top-bar {
	background: rgba(245, 244, 248, 0.97) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.ts-mode-light .bottom-nav {
	background: rgba(255, 255, 255, 0.92) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .sidebar {
	background: rgba(255, 255, 255, 0.9) !important;
	border-right-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .profile-nav-header {
	background: #f5f4f8 !important;
}

body.ts-mode-light .feed-switcher {
	background: rgba(245, 244, 248, 0.97) !important;
}

body.ts-mode-light .drawer-content {
	background: #f0eff5 !important;
}

body.ts-mode-light .post-dropdown {
	background: #ffffff !important;
	color: #1a1625 !important;
}

body.ts-mode-light .dropdown-item {
	color: #1a1625 !important;
}

body.ts-mode-light .dropdown-item:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}

body.ts-mode-light .date-pill {
	background: #ffffff !important;
	color: #6b6280 !important;
}

body.ts-mode-light .shimmer-card {
	background: rgba(0, 0, 0, 0.06) !important;
}

body.ts-mode-light .shimmer-card::after {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent) !important;
}

body.ts-mode-light .input-group input,
body.ts-mode-light .input-group textarea {
	color: #1a1625 !important;
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light #post-content {
	color: #1a1625 !important;
}

body.ts-mode-light .comment-box {
	background: rgba(0, 0, 0, 0.05) !important;
	color: #1a1625 !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .haven-search-input,
body.ts-mode-light #explore-search-input,
body.ts-mode-light #haven-main-search {
	color: #1a1625 !important;
}

body.ts-mode-light .comment-bubble {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.07) !important;
}

body.ts-mode-light .post-card {
	background: rgba(255, 255, 255, 0.95) !important;
}

body.ts-mode-light .haven-card {
	background: rgba(255, 255, 255, 0.95) !important;
}

body.ts-mode-light .notif-card {
	background: rgba(255, 255, 255, 0.95) !important;
}

body.ts-mode-light .feed-composer-box {
	background: rgba(255, 255, 255, 0.9) !important;
}

body.ts-mode-light .composer-card {
	background: #ffffff !important;
}

body.ts-mode-light .composer-footer {
	background: rgba(0, 0, 0, 0.02) !important;
}

body.ts-mode-light .auth-card,
body.ts-mode-light .onboarding-card {
	background: #ffffff !important;
}

body.ts-mode-light .modal-overlay {
	background: rgba(245, 244, 248, 0.7) !important;
}

body.ts-mode-light .ts-modal-header {
	background: #ffffff !important;
}

body.ts-mode-light .ts-pill {
	background: rgba(0, 0, 0, 0.04) !important;
	color: #6b6280 !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .ts-pill:hover {
	background: rgba(0, 0, 0, 0.08) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .ts-pill.active {
	background: var(--accent) !important;
	color: white !important;
}

body.ts-mode-light .ts-style-card {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .ts-preset-card {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .ts-preset-name {
	color: #1a1625 !important;
}

body.ts-mode-light .ts-toggles {
	background: rgba(0, 0, 0, 0.03) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .ts-toggle-row {
	border-color: rgba(0, 0, 0, 0.06) !important;
}

body.ts-mode-light .ts-toggle-title {
	color: #1a1625 !important;
}

body.ts-mode-light .ts-toggle-sub {
	color: #6b6280 !important;
}

body.ts-mode-light .settings-group {
	background: rgba(255, 255, 255, 0.95) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .settings-row {
	color: #1a1625 !important;
	border-color: rgba(0, 0, 0, 0.06) !important;
}

body.ts-mode-light .settings-row:hover {
	background: rgba(0, 0, 0, 0.03) !important;
}

body.ts-mode-light .settings-row-icon {
	background: rgba(var(--accent-rgb), 0.1) !important;
}

body.ts-mode-light .action-btn {
	color: #6b6280 !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .action-btn:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .genre-chip {
	color: #6b6280 !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	background: rgba(0, 0, 0, 0.04) !important;
}

body.ts-mode-light .genre-chip:hover {
	background: rgba(0, 0, 0, 0.07) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .feed-tab {
	background: rgba(0, 0, 0, 0.04) !important;
	color: #6b6280 !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .feed-tab:hover {
	background: rgba(0, 0, 0, 0.08) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .feed-tab.active {
	background: var(--accent) !important;
	color: white !important;
	border-color: var(--accent) !important;
}

body.ts-mode-light .brand-name {
	background: var(--grad-celestial);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.ts-mode-light ::-webkit-scrollbar-track {
	background: #f5f4f8 !important;
}

body.ts-mode-light ::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.15) !important;
}

body.ts-mode-light .sidebar {
	background: rgba(255, 255, 255, 0.92) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .nav-links li {
	color: #6b6280 !important;
}

body.ts-mode-light .nav-links li:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}

body.ts-mode-light .nav-links li.active {
	color: white !important;
}

body.ts-mode-light .sidebar-logo span {
	color: #1a1625 !important;
}

body.ts-mode-light .text-link-btn {
	color: var(--accent) !important;
}

body.ts-mode-light .edit-btn {
	background: rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .back-btn {
	background: rgba(0, 0, 0, 0.05) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .icon-btn {
	color: #1a1625 !important;
}

body.ts-mode-light .top-bar {
	background: rgba(255, 255, 255, 0.95) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.ts-mode-light .bottom-nav {
	background: rgba(255, 255, 255, 0.88) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .nav-item {
	color: #6b6280 !important;
}

body.ts-mode-light .nav-item.active {
	color: var(--accent) !important;
}

body.ts-mode-light .nav-item.create-nav {
	color: #ffffff !important;
}

body.ts-mode-light .brand-name {
	background: var(--grad-celestial);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.ts-mode-light .profile-nav-header {
	background: rgba(255, 255, 255, 0.95) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .drawer-content {
	background: #f5f4f8 !important;
}

body.ts-mode-light .drawer-header {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .comment-box {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .comment-box::placeholder {
	color: #9090a8;
}

body.ts-mode-light .comment-input-area {
	background: rgba(0, 0, 0, 0.02) !important;
	border-color: rgba(0, 0, 0, 0.06) !important;
}

body.ts-mode-light .comment-text {
	color: #1a1625 !important;
}

body.ts-mode-light .author-display {
	color: #1a1625 !important;
}

body.ts-mode-light .author-handle {
	color: #6b6280 !important;
}

body.ts-mode-light .post-content {
	color: #1a1625 !important;
}

body.ts-mode-light .post-meta {
	color: #8888a8 !important;
}

body.ts-mode-light .date-pill {
	background: #f0eef8 !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
	color: #6b6280 !important;
}

body.ts-mode-light .profile-name {
	color: #1a1625 !important;
}

body.ts-mode-light .profile-handle {
	color: var(--accent) !important;
}

body.ts-mode-light .profile-bio {
	color: #4a4460 !important;
}

body.ts-mode-light .stat-value {
	color: #1a1625 !important;
}

body.ts-mode-light .stat-label {
	color: #6b6280 !important;
}

body.ts-mode-light .haven-card-name {
	color: #1a1625 !important;
}

body.ts-mode-light .haven-card-handle {
	color: var(--accent) !important;
}

body.ts-mode-light .haven-card-stats {
	color: #6b6280 !important;
}

body.ts-mode-light .notif-text {
	color: #1a1625 !important;
}

body.ts-mode-light .notif-meta {
	color: #6b6280 !important;
}

body.ts-mode-light .modal-title {
	color: #1a1625 !important;
}

body.ts-mode-light .modal-subtitle {
	color: #6b6280 !important;
}

body.ts-mode-light .input-group input,
body.ts-mode-light .input-group textarea {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .input-group label {
	color: #6b6280 !important;
}

body.ts-mode-light .post-audio-player {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .stream-btn {
	color: #6b6280 !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .stream-btn:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .track-result:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}

body.ts-mode-light .comment-input-area {
	background: rgba(0, 0, 0, 0.02) !important;
}

body.ts-mode-light #music-modal-card {
	background: #ffffff !important;
}

body.ts-mode-light .haven-icon-picker-box {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .glyph-btn {
	background: rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #4a4460 !important;
}

body.ts-mode-light .glyph-btn:hover {
	background: rgba(0, 0, 0, 0.09) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .glyph-btn.active {
	background: var(--accent) !important;
	color: white !important;
	border-color: transparent !important;
}

body.ts-mode-light #glyph-selector,
body.ts-mode-light #edit-glyph-selector {
	background: transparent !important;
}

body.ts-mode-light .picker-haven-row {
	color: #1a1625 !important;
}

body.ts-mode-light .picker-haven-row:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .picker-section-label {
	color: #6b6280 !important;
}

body.ts-mode-light #haven-picker-modal .onboarding-card {
	background: #ffffff !important;
}

body.ts-mode-light .haven-target-btn {
	color: var(--accent) !important;
}

body.ts-mode-midnight {
	--bg-dark: #02020a;
	--card-dark: rgba(8, 8, 20, 0.8);
	--text-dim: #8888b0;
	--border: rgba(100, 100, 200, 0.07);
}

body.ts-mode-dim {
	--bg-dark: #1a1a2e;
	--card-dark: rgba(26, 26, 50, 0.8);
	--text-dim: #9090b8;
	--border: rgba(150, 150, 255, 0.08);
}

body.ts-mode-solarized {
	--bg-dark: #002b36;
	--card-dark: rgba(0, 43, 54, 0.9);
	--text-main: #fdf6e3;
	--text-dim: #839496;
	--border: rgba(131, 148, 150, 0.15);
}

body.ts-mode-high-contrast {
	--bg-dark: #000000;
	--card-dark: rgba(0, 0, 0, 0.95);
	--text-main: #ffffff;
	--text-dim: #bbbbbb;
	--border: rgba(255, 255, 255, 0.25);
}

body.ts-mode-high-contrast .post-card {
	border-width: 2px !important;
}

#ts-filter-overlay[data-filter="warm"] {
	background: rgba(255, 160, 30, 0.09);
	mix-blend-mode: normal;
}

#ts-filter-overlay[data-filter="cool"] {
	background: rgba(30, 100, 255, 0.08);
	mix-blend-mode: normal;
}

#ts-filter-overlay[data-filter="sepia"] {
	background: rgba(120, 70, 20, 0.15);
	mix-blend-mode: multiply;
}

body.ts-filter-sepia .post-card,
body.ts-filter-sepia .feed-composer-box,
body.ts-filter-sepia .haven-card,
body.ts-filter-sepia .auth-card,
body.ts-filter-sepia .onboarding-card {
	filter: sepia(0.4) saturate(0.85);
}

#ts-filter-overlay[data-filter="grayscale"] {
	background: transparent;
}

body.ts-filter-grayscale .post-card,
body.ts-filter-grayscale .feed-composer-box,
body.ts-filter-grayscale .haven-card,
body.ts-filter-grayscale .auth-card,
body.ts-filter-grayscale .onboarding-card,
body.ts-filter-grayscale .sidebar,
body.ts-filter-grayscale .top-bar,
body.ts-filter-grayscale .bottom-nav,
body.ts-filter-grayscale .drawer-content {
	filter: grayscale(1) !important;
}

#ts-filter-overlay[data-filter="nightvision"] {
	background: rgba(0, 100, 0, 0.14);
	mix-blend-mode: normal;
}

body.ts-filter-nightvision {
	--text-main: #80ff80;
	--text-dim: #40a040;
}

#ts-filter-overlay[data-filter="cinematic"] {
	background: transparent;
	pointer-events: none;
}

#ts-filter-overlay[data-filter="cinematic"]::before,
#ts-filter-overlay[data-filter="cinematic"]::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: 10vh;
	min-height: 50px;
	background: #000;
}

#ts-filter-overlay[data-filter="cinematic"]::before {
	top: 0;
}

#ts-filter-overlay[data-filter="cinematic"]::after {
	bottom: 0;
}

#ts-filter-overlay[data-filter="dreamy"] {
	background: rgba(255, 182, 193, 0.1);
	backdrop-filter: blur(1px) saturate(1.2);
}

#ts-filter-overlay[data-filter="redshift"] {
	background: rgba(220, 20, 20, 0.09);
	mix-blend-mode: normal;
}

img.emoji,
img.ts-retro-emoji {
	height: 1.1em;
	width: 1.1em;
	vertical-align: -0.15em;
	object-fit: contain;
	display: inline;
	margin: 0 0.05em;
}

#emoji-picker-floating {
	position: fixed;
	z-index: 9999;
	display: none;
}

#emoji-picker-floating em-emoji-picker {
	width: 320px;
	height: 360px;
	border-radius: 18px;
	border: 1px solid var(--border);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
	--em-rgb-background: 20, 19, 26;
	--em-rgb-input: 35, 34, 42;
	--em-rgb-color: 240, 237, 238;
	--em-rgb-accent: 121, 94, 170;
	--em-color-border: rgba(255, 255, 255, 0.07);
	--em-color-border-over: rgba(121, 94, 170, 0.5);
	--em-font-family: var(--ts-font);
	--em-font-size: 14px;
	--em-emoji-size: 22px;
	--em-emoji-padding: 5px;
	--em-category-button-size: 20px;
	--em-preview-height: 56px;
}

body.ts-mode-light #emoji-picker-floating em-emoji-picker {
	--em-rgb-background: 255, 255, 255;
	--em-rgb-input: 245, 244, 248;
	--em-rgb-color: 26, 22, 37;
	--em-color-border: rgba(0, 0, 0, 0.08);
	--em-color-border-over: rgba(121, 94, 170, 0.4);
}

.ts-modal-shell {
	border-radius: 24px;
}

.ts-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 14px;
	border-bottom: 1px solid var(--border);
	background: var(--card-dark);
	border-radius: 24px 24px 0 0;
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 2;
}

.ts-modal-body {
	overflow-y: auto;
	padding: 20px 22px 28px;
	flex: 1;
	scrollbar-width: thin;
	scrollbar-color: var(--border) transparent;
}

.ts-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
	margin: 22px 0 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ts-label:first-child {
	margin-top: 0;
}

.sidebar-search-anchor {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: var(--ts-r, 12px);
	color: var(--text-dim);
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.sidebar-search-anchor:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--text-dim);
	color: var(--text-main);
}

.sidebar-search-anchor i {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.sidebar-search-anchor span {
	font-size: 0.9rem;
	font-weight: 500;
}

@media (max-width: 900px) {
	.sidebar {
		display: none;
	}
}

body.ts-style-skeuomorphic {
	background-attachment: fixed !important;
	min-height: 100vh !important;
	color: #1a1a1a !important;
	--text-main: #1a1a1a !important;
	--text-dim: #666666 !important;
	--border: rgba(0, 0, 0, 0.15) !important;
	--glass: rgba(255, 255, 255, 0.4) !important;
	--surface: rgba(255, 255, 255, 0.7) !important;
}

body.ts-style-skeuomorphic::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23a0b5a0'/%3E%3Crect x='0' y='0' width='2' height='2' fill='%23a8bda8' opacity='0.4'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%239aaf9a' opacity='0.4'/%3E%3C/svg%3E");
	opacity: 0.45;
}

body.ts-style-skeuomorphic .sidebar {
	background: linear-gradient(180deg, #e8e0d0 0%, #d4c8b0 100%) !important;
	border-right: 1px solid #b0a080 !important;
	box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.1), 2px 0 8px rgba(0, 0, 0, 0.12) !important;
}

body.ts-style-skeuomorphic .sidebar-logo span {
	color: #3a2a10 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .brand-name {
	background: linear-gradient(135deg, #5a3a10 0%, #8a5a20 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
}

body.ts-style-skeuomorphic .nav-links li {
	color: #3a2a10 !important;
	border-radius: 8px !important;
	border: 1px solid transparent !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .nav-links li:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .nav-links li.active {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 40%, color-mix(in srgb, var(--accent) 75%, #000) 100%) !important;
	border: 1px solid color-mix(in srgb, var(--accent) 70%, #000) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.25) !important;
	color: #fff !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

body.ts-style-skeuomorphic .top-bar {
	background: linear-gradient(180deg, #ddd8cc 0%, #c8c0b0 100%) !important;
	border-bottom: 1px solid #a09080 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .top-bar span,
body.ts-style-skeuomorphic .top-bar h1,
body.ts-style-skeuomorphic .top-bar p {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .bottom-nav {
	background: linear-gradient(180deg, #ddd8cc 0%, #c8c0b0 100%) !important;
	border: 1px solid #a09080 !important;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .nav-item {
	color: #555 !important;
}

body.ts-style-skeuomorphic .nav-item.active {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .nav-item i {
	filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6)) !important;
}

body.ts-style-skeuomorphic .create-fab {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 75%, #000) 100%) !important;
	border: 3px solid #e8e0d0 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.ts-style-skeuomorphic .post-card {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	border-radius: 8px !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(0, 0, 0, 0.04),
		0 2px 6px rgba(0, 0, 0, 0.12),
		0 4px 14px rgba(0, 0, 0, 0.07) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .post-card:hover {
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(0, 0, 0, 0.04),
		0 4px 12px rgba(0, 0, 0, 0.18),
		0 8px 24px rgba(0, 0, 0, 0.1) !important;
	transform: translateY(-1px) !important;
}

body.ts-style-skeuomorphic .post-content,
body.ts-style-skeuomorphic .post-text,
body.ts-style-skeuomorphic .author-display,
body.ts-style-skeuomorphic .author-name,
body.ts-style-skeuomorphic .post-meta,
body.ts-style-skeuomorphic .haven-card-name,
body.ts-style-skeuomorphic .settings-row-left,
body.ts-style-skeuomorphic .ts-toggle-title,
body.ts-style-skeuomorphic .stat-value,
body.ts-style-skeuomorphic .stat-label,
body.ts-style-skeuomorphic h1,
body.ts-style-skeuomorphic h2,
body.ts-style-skeuomorphic h3,
body.ts-style-skeuomorphic p,
body.ts-style-skeuomorphic span,
body.ts-style-skeuomorphic label,
body.ts-style-skeuomorphic li {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .author-handle,
body.ts-style-skeuomorphic .post-meta,
body.ts-style-skeuomorphic .haven-card-handle,
body.ts-style-skeuomorphic .ts-style-desc,
body.ts-style-skeuomorphic .ts-label {
	color: #666 !important;
}

body.ts-style-skeuomorphic .action-btn {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a888 !important;
	border-radius: 8px !important;
	color: #444 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.12) !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.ts-style-skeuomorphic .action-btn:hover {
	background: linear-gradient(180deg, #ffffff 0%, #e8e4d8 100%) !important;
}

body.ts-style-skeuomorphic .action-btn:active {
	background: linear-gradient(180deg, #d8d4c8 0%, #e8e4d8 100%) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
	transform: translateY(1px) !important;
}

body.ts-style-skeuomorphic .action-btn.liked {
	background: linear-gradient(180deg, #ffb8b8 0%, #ff8888 100%) !important;
	border-color: #cc4444 !important;
	color: #fff !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .primary-btn,
body.ts-style-skeuomorphic .publish-btn,
body.ts-style-skeuomorphic #btn-publish-post {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 75%, #000) 100%) !important;
	border: 1px solid color-mix(in srgb, var(--accent) 70%, #000) !important;
	border-radius: 10px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 8px rgba(0, 0, 0, 0.28) !important;
	color: #fff !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
	font-weight: 600 !important;
}

body.ts-style-skeuomorphic .primary-btn:hover {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 65%, #fff) 0%, color-mix(in srgb, var(--accent) 90%, #fff) 45%, color-mix(in srgb, var(--accent) 80%, #000) 100%) !important;
}

body.ts-style-skeuomorphic .primary-btn:active {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 75%, #000) 0%, var(--accent) 100%) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35) !important;
	transform: translateY(1px) !important;
}

body.ts-style-skeuomorphic .primary-btn:disabled {
	background: linear-gradient(180deg, #b0b8c8 0%, #9098a8 100%) !important;
	border-color: #7880a0 !important;
	box-shadow: none !important;
}

body.ts-style-skeuomorphic .edit-btn,
body.ts-style-skeuomorphic .action-btn-secondary {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	border-radius: 8px !important;
	color: #333 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .feed-composer-box {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic #post-content,
body.ts-style-skeuomorphic .composer-textarea {
	background: linear-gradient(180deg, #ede8dc 0%, #fafaf8 100%) !important;
	border: 1px solid #c0b090 !important;
	border-radius: 6px !important;
	color: #1a1a1a !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

body.ts-style-skeuomorphic .feed-composer-placeholder {
	color: #888 !important;
}

body.ts-style-skeuomorphic input,
body.ts-style-skeuomorphic textarea,
body.ts-style-skeuomorphic select {
	background: linear-gradient(180deg, #e8e4d8 0%, #fefefe 100%) !important;
	border: 1px solid #b0a080 !important;
	border-radius: 6px !important;
	color: #1a1a1a !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic input::placeholder,
body.ts-style-skeuomorphic textarea::placeholder {
	color: #999 !important;
}

body.ts-style-skeuomorphic input:focus,
body.ts-style-skeuomorphic textarea:focus {
	border-color: var(--accent) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(var(--accent-rgb), 0.2) !important;
	outline: none !important;
}

body.ts-style-skeuomorphic .haven-card {
	background: linear-gradient(180deg, #fefefe 0%, #ece8e0 100%) !important;
	border: 1px solid #c0b090 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .haven-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	transform: translateY(-2px) !important;
}

body.ts-style-skeuomorphic .haven-card-handle {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .haven-card-icon {
	background: #e8e0d0 !important;
	border-color: #c0b090 !important;
}

body.ts-style-skeuomorphic .modal-content,
body.ts-style-skeuomorphic .drawer-content,
body.ts-style-skeuomorphic .onboarding-card {
	background: linear-gradient(180deg, #f0ece0 0%, #e8e0d0 100%) !important;
	border: 1px solid #b0a080 !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .modal-title,
body.ts-style-skeuomorphic .modal-subtitle {
	color: #1a1a1a !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .close-modal,
body.ts-style-skeuomorphic .icon-btn {
	color: #555 !important;
	background: linear-gradient(180deg, #ece8dc 0%, #d8d4c8 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
	border-radius: 50% !important;
}

body.ts-style-skeuomorphic .comment-bubble {
	background: linear-gradient(180deg, #ffffff 0%, #f0ece4 100%) !important;
	border: 1px solid #c8b898 !important;
	border-radius: 12px !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .feed-switcher {
	background: linear-gradient(180deg, #ddd8cc 0%, #ccc8bc 100%) !important;
	border-bottom: 1px solid #b0a080 !important;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
	margin-left: -1.5rem !important;
	margin-right: -1.5rem !important;
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
	width: calc(100% + 3rem) !important;
	box-sizing: border-box !important;
}

body.ts-style-skeuomorphic .feed-tab,
body.ts-style-skeuomorphic .ts-pill {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	border-radius: 20px !important;
	color: #444 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.1) !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .feed-tab.active,
body.ts-style-skeuomorphic .ts-pill.active {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	color: #fff !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .ts-style-card {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #333 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .ts-style-card.active {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	color: #fff !important;
}

body.ts-style-skeuomorphic .ts-preset-card {
	background: linear-gradient(180deg, #fefefe 0%, #ece8e0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .settings-row {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	border-radius: 10px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .settings-row i {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .settings-group {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .settings-row:hover {
	background: rgba(0, 0, 0, 0.04) !important;
}

body.ts-style-skeuomorphic .settings-section-label {
	color: #7a6040 !important;
}

body.ts-style-skeuomorphic .settings-chevron {
	color: #888 !important;
}

body.ts-style-skeuomorphic .settings-row-icon {
	background: rgba(var(--accent-rgb), 0.12) !important;
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .ts-toggle-track {
	background: linear-gradient(180deg, #b0a898 0%, #c8c0b0 100%) !important;
	border: 1px solid #908878 !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .ts-toggle-track.on {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, color-mix(in srgb, var(--accent) 75%, #000) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 60%, #000) !important;
}

body.ts-style-skeuomorphic .ts-toggle-thumb {
	background: linear-gradient(180deg, #ffffff 0%, #e8e4e0 100%) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic .post-avatar,
body.ts-style-skeuomorphic img[class*="avatar"] {
	border: 2px solid rgba(255, 255, 255, 0.9) !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .new-posts-pill {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border: 1px solid color-mix(in srgb, var(--accent) 70%, #000) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	color: #fff !important;
}

body.ts-style-skeuomorphic .static-pill {
	background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.15) 0%, rgba(var(--accent-rgb), 0.08) 100%) !important;
	border: 1px solid var(--accent) !important;
	color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .shimmer,
body.ts-style-skeuomorphic .shimmer-card {
	background: linear-gradient(90deg, #ddd8cc 25%, #eee8dc 50%, #ddd8cc 75%) !important;
	background-size: 200% 100% !important;
}

body.ts-style-skeuomorphic .lh-toast {
	background: linear-gradient(180deg, #fefefe 0%, #ece8e0 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #1a1a1a !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic ::-webkit-scrollbar {
	width: 12px !important;
}

body.ts-style-skeuomorphic ::-webkit-scrollbar-track {
	background: linear-gradient(90deg, #c8c0b0, #d8d0c0) !important;
	border-left: 1px solid #b0a890 !important;
}

body.ts-style-skeuomorphic ::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #e0d8c8 0%, #b8b0a0 100%) !important;
	border: 1px solid #a09080 !important;
	border-radius: 4px !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic ::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #e8e0d0 0%, #c8c0b0 100%) !important;
}

body.ts-style-skeuomorphic .link-embed-slot a {
	background: linear-gradient(180deg, #fefefe 0%, #f0ece4 100%) !important;
	border: 1px solid #c0b090 !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .profile-name {
	color: #1a1a1a !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .profile-handle {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .profile-bio {
	color: #333 !important;
}

body.ts-style-skeuomorphic .profile-stats {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .profile-nav-header {
	background: linear-gradient(180deg, #ddd8cc 0%, #ccc8bc 100%) !important;
	border-bottom: 1px solid #b0a080 !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .nav-user-name {
	color: #1a1a1a !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .back-btn {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
	color: #333 !important;
}

body.ts-style-skeuomorphic .follow-btn {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border: 1px solid color-mix(in srgb, var(--accent) 70%, #000) !important;
	border-radius: 20px !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 5px rgba(0, 0, 0, 0.2) !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .follow-btn.is-following {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a080 !important;
	color: #444 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .join-btn.not-joined {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border: 1px solid color-mix(in srgb, var(--accent) 70%, #000) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 5px rgba(0, 0, 0, 0.2) !important;
	color: #fff !important;
}

body.ts-style-skeuomorphic .join-btn.is-joined {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a080 !important;
	color: #444 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .date-pill {
	background: linear-gradient(180deg, #e8e0d0 0%, #d8d0c0 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #555 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.ts-style-skeuomorphic .date-pill i {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .haven-profile-header {
	background: linear-gradient(180deg, #fefefe 0%, #ece8e0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .founding-badge {
	background: linear-gradient(180deg, #f5e6c8 0%, #e8d0a0 100%) !important;
	border: 1px solid #c8a860 !important;
	color: #7a5010 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.ts-style-skeuomorphic .report-chip {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #444 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic .report-chip.selected {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	color: #fff !important;
}

body.ts-style-skeuomorphic .composer-card {
	background: linear-gradient(180deg, #f8f4ec 0%, #ede8e0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .composer-header {
	border-bottom: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .composer-footer {
	background: linear-gradient(180deg, #e8e4d8 0%, #ddd8cc 100%) !important;
	border-top: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .composer-action-btn {
	color: #555 !important;
}

body.ts-style-skeuomorphic .composer-action-btn:hover {
	background: rgba(0, 0, 0, 0.08) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .composer-action-btn.active {
	background: rgba(var(--accent-rgb), 0.15) !important;
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .char-counter {
	color: #666 !important;
}

body.ts-style-skeuomorphic .close-composer-btn {
	color: #555 !important;
}

body.ts-style-skeuomorphic .close-composer-btn:hover {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .ai-label {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #555 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .ai-toggle input:checked+.ai-label {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 8px rgba(var(--accent-rgb), 0.3) !important;
}

body.ts-style-skeuomorphic .post-dropdown {
	background: linear-gradient(180deg, #fefefe 0%, #f0ece4 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .dropdown-item {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .dropdown-item:hover {
	background: rgba(0, 0, 0, 0.06) !important;
}

body.ts-style-skeuomorphic .dropdown-item.danger {
	color: #cc2222 !important;
}

body.ts-style-skeuomorphic .dropdown-item.danger:hover {
	background: rgba(200, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic .post-menu-btn {
	color: #888 !important;
}

body.ts-style-skeuomorphic .post-menu-btn:hover {
	background: rgba(0, 0, 0, 0.08) !important;
	color: #333 !important;
}

body.ts-style-skeuomorphic .drawer-header {
	border-bottom: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .comment-input-area {
	background: linear-gradient(180deg, #e8e4d8 0%, #ddd8cc 100%) !important;
	border-top: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .comment-box {
	background: linear-gradient(180deg, #e8e4d8 0%, #fafaf8 100%) !important;
	border: 1px solid #c0b090 !important;
	color: #1a1a1a !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

body.ts-style-skeuomorphic .comment-box:focus {
	border-color: var(--accent) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(var(--accent-rgb), 0.2) !important;
}

body.ts-style-skeuomorphic .comment-box::placeholder {
	color: #999 !important;
}

body.ts-style-skeuomorphic .comment-send-btn {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .comment-action {
	color: #666 !important;
}

body.ts-style-skeuomorphic .comment-action:hover {
	background: rgba(0, 0, 0, 0.07) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .notif-card {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .notif-card.unread {
	background: linear-gradient(180deg, #f0f5ff 0%, #e8f0f8 100%) !important;
	border-color: var(--accent) !important;
}

body.ts-style-skeuomorphic .notif-card.unread::before {
	background: var(--accent) !important;
}

body.ts-style-skeuomorphic .notif-text {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .notif-meta {
	color: #666 !important;
}

body.ts-style-skeuomorphic .notif-snippet {
	background: rgba(0, 0, 0, 0.05) !important;
	border-left-color: var(--accent) !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .post-audio-player {
	background: linear-gradient(180deg, #fefefe 0%, #ede8e0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .post-audio-title {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .post-audio-artist {
	color: #666 !important;
}

body.ts-style-skeuomorphic .post-audio-play {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
	animation: none !important;
	transition: box-shadow 0.15s ease, transform 0.1s ease !important;
}

body.ts-style-skeuomorphic .post-audio-play:hover {
	transform: scale(1.05) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

body.ts-style-skeuomorphic .post-audio-play:active {
	transform: scale(0.96) !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .progress-bar-track {
	background: rgba(0, 0, 0, 0.15) !important;
}

body.ts-style-skeuomorphic .progress-bar-fill {
	background: var(--accent) !important;
}

body.ts-style-skeuomorphic .streaming-links {
	border-top: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .stream-btn {
	color: #555 !important;
	border-right-color: #c0b090 !important;
}

body.ts-style-skeuomorphic .stream-btn:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .progress-times {
	color: #666 !important;
}

body.ts-style-skeuomorphic .people-result-card {
	background: linear-gradient(180deg, #fefefe 0%, #f0ece4 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .people-result-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	border-color: #a09070 !important;
}

body.ts-style-skeuomorphic .top-match-card {
	background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15) 0%, #f5f0e8 100%) !important;
	border: 1px solid var(--accent) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .top-match-label {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .sidebar-search-anchor {
	background: linear-gradient(180deg, #e8e4d8 0%, #ddd8cc 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #555 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic .sidebar-search-anchor:hover {
	background: linear-gradient(180deg, #f0ece0 0%, #e8e4d8 100%) !important;
	color: #1a1a1a !important;
	border-color: #a09070 !important;
}

body.ts-style-skeuomorphic .genre-chip {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #555 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic .genre-chip:hover {
	background: linear-gradient(180deg, #ffffff 0%, #e8e4d8 100%) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .genre-chip.active {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .haven-target-btn {
	background: rgba(var(--accent-rgb), 0.12) !important;
	border-color: rgba(var(--accent-rgb), 0.3) !important;
	color: color-mix(in srgb, var(--accent) 70%, #000) !important;
}

body.ts-style-skeuomorphic .picker-haven-row {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .picker-haven-row:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	border-color: #c0b090 !important;
}

body.ts-style-skeuomorphic .picker-section-label {
	color: #7a6040 !important;
}

body.ts-style-skeuomorphic .post-haven-tag {
	background: rgba(0, 0, 0, 0.06) !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .post-haven-tag:hover {
	background: rgba(var(--accent-rgb), 0.12) !important;
	color: color-mix(in srgb, var(--accent) 70%, #000) !important;
}

body.ts-style-skeuomorphic .ts-modal-header {
	background: linear-gradient(180deg, #ddd8cc 0%, #ccc8bc 100%) !important;
	border-bottom: 1px solid #b0a080 !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .topic-chip {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #444 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic .topic-chip:hover {
	background: linear-gradient(180deg, #fefefe 0%, #e8e4d8 100%) !important;
}

body.ts-style-skeuomorphic .topic-chip.selected {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 70%, #000) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 6px rgba(var(--accent-rgb), 0.3) !important;
}

body.ts-style-skeuomorphic .topic-chip i {
	color: #555 !important;
}

body.ts-style-skeuomorphic .topic-chip.selected i {
	color: #fff !important;
}

body.ts-style-skeuomorphic .btn-tune-desktop {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #555 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic .btn-tune-desktop:hover {
	background: linear-gradient(180deg, #fefefe 0%, #ece8e0 100%) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .ai-badge {
	background: rgba(var(--accent-rgb), 0.12) !important;
	border-color: var(--accent) !important;
	color: color-mix(in srgb, var(--accent) 70%, #000) !important;
}

body.ts-style-skeuomorphic .shared-tag {
	background: rgba(var(--accent-rgb), 0.1) !important;
	border-color: var(--accent) !important;
	color: color-mix(in srgb, var(--accent) 70%, #000) !important;
}

body.ts-style-skeuomorphic .creator-badge {
	background: rgba(var(--accent-rgb), 0.15) !important;
	border-color: var(--accent) !important;
	color: color-mix(in srgb, var(--accent) 70%, #000) !important;
}

body.ts-style-skeuomorphic #music-modal-card {
	background: linear-gradient(180deg, #f8f4ec 0%, #ede8e0 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic #music-modal-card>div:first-child {
	border-bottom-color: #c0b090 !important;
}

body.ts-style-skeuomorphic #music-modal-card .icon-btn {
	color: #555 !important;
	background: linear-gradient(180deg, #ece8dc 0%, #d8d4c8 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic #music-modal-card span[style*="font-weight:700"] {
	color: #1a1a1a !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic #music-modal-card div[style*="background:rgba(255,255,255,0.05)"] {
	background: linear-gradient(180deg, #e8e4d8 0%, #fefefe 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic #music-now-playing {
	background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18) 0%, rgba(var(--accent-rgb), 0.1) 100%) !important;
	border-bottom-color: #c0b090 !important;
}

body.ts-style-skeuomorphic #np-title {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic #np-artist {
	color: #666 !important;
}

body.ts-style-skeuomorphic #music-now-playing button[style*="rgba(255,255,255,0.08)"] {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	color: #333 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic #music-results-container {
	background: rgba(0, 0, 0, 0.03) !important;
}

.explore-games-section {
	margin-bottom: 28px;
	padding: 20px;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 20px;
}

.explore-games-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 4px;
}

.explore-games-title {
	font-size: 1rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-main);
}

.explore-games-title i {
	width: 18px;
	height: 18px;
	color: var(--accent);
}

.explore-games-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--accent);
	text-decoration: none;
	padding: 5px 12px;
	border-radius: 20px;
	background: rgba(var(--accent-rgb), 0.08);
	border: 1px solid rgba(var(--accent-rgb), 0.2);
	transition: background 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.explore-games-all-btn:hover {
	background: rgba(var(--accent-rgb), 0.15);
}

.explore-games-all-btn i {
	width: 12px;
	height: 12px;
}

.explore-games-sub {
	font-size: 0.8rem;
	color: var(--text-dim);
	margin-bottom: 14px;
}

.explore-games-scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 4px;
	margin: 0 -4px;
}

.explore-games-scroll::-webkit-scrollbar {
	display: none;
}

.explore-game-card {
	flex-shrink: 0;
	width: 130px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
}

.explore-game-card:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--accent-rgb), 0.35);
}

.explore-game-thumb {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
	background: rgba(255, 255, 255, 0.04);
}

.explore-game-thumb-fallback {
	width: 100%;
	aspect-ratio: 4/3;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(25, 24, 31, 0.9));
}

.explore-game-info {
	padding: 8px 10px 10px;
}

.explore-game-name {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--text-main);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.explore-game-year {
	font-size: 0.65rem;
	color: var(--text-dim);
	font-weight: 600;
	margin-top: 3px;
}

.explore-game-card-shimmer {
	flex-shrink: 0;
	width: 130px;
	height: 140px;
	border-radius: 14px;
	background: var(--card-dark);
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}

.explore-game-card-shimmer::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
	animation: shimmerMove 1.5s infinite;
}

body.ts-mode-light .explore-games-section {
	background: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .explore-game-card {
	background: rgba(255, 255, 255, 0.95) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .explore-games-title,
body.ts-mode-light .explore-game-name {
	color: #1a1625 !important;
}

body.ts-mode-light .explore-games-sub,
body.ts-mode-light .explore-game-year {
	color: #666 !important;
}

.mention-dropdown {
	position: absolute;
	z-index: 9999;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 6px;
	width: 260px;
	max-width: calc(100vw - 20px);
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(12px);
	scrollbar-width: none;
}

.mention-dropdown::-webkit-scrollbar {
	display: none;
}

.mention-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mention-item:hover,
.mention-item.active {
	background: rgba(var(--accent-rgb), 0.1);
}

.mention-item-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.mention-item-icon {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.75rem;
}

.mention-item-info {
	flex: 1;
	min-width: 0;
}

.mention-item-name {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mention-item-handle {
	font-size: 0.72rem;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mention-item-type {
	font-size: 0.65rem;
	font-weight: 700;
	color: var(--accent);
	background: rgba(var(--accent-rgb), 0.1);
	padding: 2px 6px;
	border-radius: 20px;
	flex-shrink: 0;
}

.mention-empty {
	padding: 14px 10px;
	text-align: center;
	color: var(--text-dim);
	font-size: 0.82rem;
}

.mention-user,
.mention-haven {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--accent);
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	background: rgba(var(--accent-rgb), 0.08);
	border: 1px solid rgba(var(--accent-rgb), 0.18);
	border-radius: 20px;
	padding: 1px 8px 1px 4px;
	font-size: 0.85em;
	vertical-align: middle;
	line-height: 1.6;
	transition: background 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}

.mention-user:hover,
.mention-haven:hover {
	background: rgba(var(--accent-rgb), 0.16);
	border-color: rgba(var(--accent-rgb), 0.35);
}

.mention-user i,
.mention-haven i {
	width: 9px !important;
	height: 9px !important;
	flex-shrink: 0;
	opacity: 0.9;
	margin-bottom: 1px;
}

body.ts-mode-light .mention-dropdown {
	background: rgba(255, 255, 255, 0.98) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

body.ts-mode-light .mention-item-name {
	color: #1a1625 !important;
}

.read-more-btn {
	display: block;
	background: none;
	border: none;
	color: var(--accent);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 0 8px;
	opacity: 0.85;
	transition: opacity 0.15s;
}

.read-more-btn:hover {
	opacity: 1;
}

#emoji-picker-floating {
	position: fixed;
	z-index: 99999;
	display: none;
	filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

#emoji-picker-floating em-emoji-picker {
	--rgb-accent: var(--accent-rgb);
	width: 352px !important;
	max-width: 95vw;
	height: 435px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid var(--border) !important;
}

body:not(.ts-mode-light) #emoji-picker-floating em-emoji-picker {
	--rgb-background: 25, 24, 31;
	--rgb-color: 240, 237, 238;
	--rgb-input: 35, 34, 42;
	--shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	--border-radius: 18px;
}

body.ts-mode-light #emoji-picker-floating em-emoji-picker {
	--rgb-background: 255, 255, 255;
	--rgb-color: 26, 22, 37;
	--rgb-input: 245, 244, 248;
	--shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.emoji-ac-dropdown {
	position: fixed;
	z-index: 9998;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 6px;
	width: 280px;
	max-width: calc(100vw - 20px);
	max-height: 220px;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(12px);
	scrollbar-width: none;
}

.emoji-ac-dropdown::-webkit-scrollbar {
	display: none;
}

.emoji-ac-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease;
	font-size: 0.85rem;
	color: var(--text-main);
}

.emoji-ac-item:hover,
.emoji-ac-item.active {
	background: rgba(var(--accent-rgb), 0.1);
}

.emoji-ac-item img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 4px;
}

.emoji-ac-item .emoji-ac-native {
	font-size: 1.3rem;
	line-height: 1;
	flex-shrink: 0;
}

.emoji-ac-item .emoji-ac-name {
	color: var(--text-dim);
	font-size: 0.78rem;
}

body.ts-mode-light .emoji-ac-dropdown {
	background: rgba(255, 255, 255, 0.98) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

body.ts-mode-light .emoji-ac-item {
	color: #1a1625;
}

body.ts-mode-light .emoji-ac-item .emoji-ac-name {
	color: #666;
}

.custom-emoji-inline {
	display: inline-block;
	width: 1.3em;
	height: 1.3em;
	vertical-align: middle;
	object-fit: contain;
	border-radius: 3px;
	margin: 0 1px;
}

.edited-tag {
	font-size: 0.72rem;
	color: var(--text-dim);
	opacity: 0.6;
	cursor: help;
}

.inline-edit-wrap {
	margin: 10px 0;
	animation: fadeIn 0.3s ease;
}

.inline-editor {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--accent);
	border-radius: 16px;
	padding: 14px;
	color: var(--text-main);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.6;
	resize: none;
	outline: none;
	box-shadow: 0 0 15px var(--accent-glow);
}

.edit-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 12px;
}

.edit-btn-save {
	background: var(--grad-celestial) !important;
	padding: 6px 18px !important;
	font-size: 0.82rem !important;
}

.edit-btn-cancel {
	background: var(--glass) !important;
	border: 1px solid var(--border) !important;
	padding: 6px 18px !important;
	font-size: 0.82rem !important;
	color: var(--text-dim) !important;
}

.inbox-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding: 0 5px;
}

.notif-card {
	display: flex;
	gap: 12px;
	padding: 16px;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.notif-card:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--text-dim);
	transform: translateY(-2px);
}

.notif-card.unread {
	border-color: var(--accent);
	background: rgba(var(--accent-rgb), 0.06);
}

.notif-card.unread::after {
	content: '';
	position: absolute;
	top: 16px;
	right: 16px;
	width: 8px;
	height: 8px;
	background: var(--accent);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--accent);
}

.notif-avatar-stack {
	display: flex;
	align-items: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	position: relative;
}

.notif-avatar-stack img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--bg-dark);
	background: var(--bg-dark);
}

.notif-avatar-stack .multi-2 {
	width: 32px;
	height: 32px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.notif-avatar-stack .multi-1 {
	width: 32px;
	height: 32px;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
	opacity: 0.6;
}

.notif-content {
	flex: 1;
	min-width: 0;
}

.notif-text {
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--text-main);
	margin-bottom: 4px;
}

.notif-text b {
	font-weight: 700;
	color: var(--text-main);
}

.notif-subtext {
	font-size: 0.82rem;
	color: var(--text-dim);
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-style: italic;
}

.notif-time {
	font-size: 0.72rem;
	color: var(--text-dim);
	margin-top: 4px;
}

.notif-badge {
	animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
	0% {
		transform: scale(0);
	}

	100% {
		transform: scale(1);
	}
}

.inbox-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.inbox-tab {
	padding: 7px 18px;
	border-radius: 50px;
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	border: 1.5px solid var(--border);
	background: transparent;
	color: var(--text-dim);
	transition: all 0.18s ease;
	font-family: inherit;
}

.inbox-tab.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: 0 0 14px var(--accent-glow);
}

.inbox-tab:hover:not(.active) {
	border-color: var(--text-dim);
	color: var(--text-main);
}

.notif-icon-circle {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: absolute;
	bottom: -2px;
	right: -2px;
	z-index: 3;
	border: 2px solid var(--bg-dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	background: var(--accent) !important;
	color: #fff !important;
}

.notif-icon-circle i,
.notif-icon-circle svg {
	width: 10px;
	height: 10px;
	color: #fff !important;
	stroke: #fff !important;
}

.notif-avatar-wrap {
	position: relative;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
}

.notif-avatar-wrap .notif-avatar-stack {
	width: 46px;
	height: 46px;
}

.notif-follow-btn {
	padding: 6px 14px;
	border-radius: 50px;
	border: 1.5px solid var(--accent);
	background: transparent;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.18s ease;
	white-space: nowrap;
	flex-shrink: 0;
	align-self: center;
}

.notif-follow-btn:hover {
	background: var(--accent);
	color: #fff;
}

.notif-follow-btn.following {
	border-color: var(--border);
	color: var(--text-dim);
	background: rgba(255, 255, 255, 0.04);
}

.notif-follow-btn.following:hover {
	border-color: #ff4d6d;
	color: #ff4d6d;
	background: rgba(255, 77, 109, 0.08);
}

#inbox-load-more {
	width: 100%;
	padding: 12px;
	margin-top: 12px;
	border-radius: 14px;
	border: 1.5px solid var(--border);
	background: transparent;
	color: var(--text-dim);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.18s ease;
}

#inbox-load-more:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.profile-theme-banner {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	background: rgba(var(--accent-rgb), 0.08);
	border: 1px solid rgba(var(--accent-rgb), 0.2);
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	width: fit-content;
	margin: 0 auto 16px;
	animation: fadeIn 0.5s ease;
	cursor: default;
}

.profile-theme-banner i {
	width: 13px;
	height: 13px;
}

#profile-theme-modal .ts-pill[data-val="__default__"].active {
	background: rgba(var(--accent-rgb), 0.15);
	border-color: rgba(var(--accent-rgb), 0.4);
	color: var(--accent);
}

@keyframes ptSavePulse {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
	}

	50% {
		box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0);
	}
}

#btn-save-profile-theme.has-changes {
	animation: ptSavePulse 1.8s ease infinite;
}

.composer-input-wrapper.drag-over {
	background: rgba(var(--accent-rgb), 0.05);
	border-radius: 18px;
	box-shadow: inset 0 0 0 2px var(--accent);
}

.custom-emoji-inline {
	height: 1.2em !important;
	width: 1.2em !important;
	margin: 0 0.05em !important;
	vertical-align: -0.2em !important;
}

.profile-song-card {
	margin: 14px 0 4px;
	background: var(--glass);
	border: 1px solid var(--border);
	border-radius: 20px;
	overflow: hidden;
	transition: border-color 0.2s;
}

.profile-song-card:hover {
	border-color: rgba(var(--accent-rgb), 0.4);
}

.profile-song-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
}

.profile-song-cover {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	object-fit: cover;
	flex-shrink: 0;
}

.profile-song-meta {
	flex: 1;
	min-width: 0;
}

.profile-song-title {
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-song-artist {
	color: var(--text-dim);
	font-size: 0.8rem;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-song-play-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: var(--accent);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.15s, opacity 0.15s;
}

.profile-song-play-btn:hover {
	transform: scale(1.08);
	opacity: 0.9;
}

.profile-song-progress {
	padding: 0 14px 12px;
	display: none;
}

.profile-song-progress.visible {
	display: block;
}

.profile-song-progress .progress-bar-track {
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.profile-song-progress .progress-bar-fill {
	height: 100%;
	background: var(--accent);
	border-radius: 4px;
	width: 0%;
	transition: width 0.1s linear;
}

.profile-song-progress .progress-times {
	display: flex;
	justify-content: space-between;
	font-size: 0.72rem;
	color: var(--text-dim);
	margin-top: 5px;
}

.profile-link-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	margin: 8px 0 4px;
	background: rgba(var(--accent-rgb), 0.08);
	border: 1px solid rgba(var(--accent-rgb), 0.25);
	border-radius: 50px;
	color: var(--accent);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
	max-width: 100%;
	min-width: 0;
}

.profile-link-chip span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	min-width: 0;
}

.profile-link-chip:hover {
	background: rgba(var(--accent-rgb), 0.15);
	border-color: rgba(var(--accent-rgb), 0.5);
}

.inbox-section-tabs {
	display: flex;
	gap: 6px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 0;
}

.inbox-section-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	color: var(--text-dim);
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	font-family: var(--ts-font, 'Space Grotesk', sans-serif);
	transition: all 0.2s ease;
	position: relative;
}

.inbox-section-tab:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--text-main);
}

.inbox-section-tab.active {
	background: var(--grad-celestial, linear-gradient(135deg, #795eaa, #4a3a63));
	border-color: transparent;
	color: white;
}

.inbox-section-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ff4d6d;
	flex-shrink: 0;
}

.chat-list-icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1.2rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.chat-list-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.chat-list-body {
	flex: 1;
	min-width: 0;
}

.chat-list-name {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}

.chat-list-preview {
	font-size: 0.78rem;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-list-preview.has-unread {
	color: var(--text-main);
	font-weight: 600;
}

.chat-list-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	flex-shrink: 0;
}

.chat-list-time {
	font-size: 0.68rem;
	color: var(--text-dim);
	white-space: nowrap;
}

.chat-list-unread-badge {
	min-width: 18px;
	height: 18px;
	border-radius: 50px;
	background: var(--accent);
	color: white;
	font-size: 0.65rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

#haven-chat-page {
	display: none;
}

#haven-chat-page.active {
	display: flex;
	flex-direction: row;
	position: fixed;
	inset: 0;
	z-index: 500;
	background: var(--bg-dark);
	height: 100%;
	height: 100dvh;
	animation: chatPageIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes chatPageIn {
	from {
		opacity: 0;
		transform: translateX(18px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

#chat-sidebar {
	width: 240px;
	flex-shrink: 0;
	border-right: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	background: rgba(16, 14, 22, 0.85);
	overflow: hidden;
	padding-top: env(safe-area-inset-top, 0px);
}

.chat-sidebar-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 16px 16px;
	border-bottom: 1px solid var(--border);
}

.chat-sidebar-haven-icon {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.chat-sidebar-haven-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.chat-sidebar-haven-info {
	min-width: 0;
}

.chat-sidebar-name {
	font-size: 0.92rem;
	font-weight: 800;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-sidebar-sub {
	font-size: 0.72rem;
	color: var(--text-dim);
	margin-top: 1px;
}

.chat-sidebar-members-label {
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
	padding: 14px 16px 8px;
}

.chat-sidebar-members {
	flex: 1;
	overflow-y: auto;
	padding: 0 8px 16px;
	scrollbar-width: none;
}

.chat-sidebar-members::-webkit-scrollbar {
	display: none;
}

.chat-sidebar-member {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 8px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease;
	animation: memberFadeIn 0.25s ease both;
}

@keyframes memberFadeIn {
	from {
		opacity: 0;
		transform: translateX(-8px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.chat-sidebar-member:hover {
	background: rgba(255, 255, 255, 0.05);
}

.chat-sidebar-member img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.chat-sidebar-member-name {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-sidebar-member-owner {
	font-size: 0.65rem;
	color: var(--accent);
	font-weight: 700;
	margin-left: auto;
	flex-shrink: 0;
	background: rgba(var(--accent-rgb), 0.12);
	padding: 2px 6px;
	border-radius: 20px;
}

#chat-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

#chat-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	padding-top: calc(env(safe-area-inset-top, 0px) + 10px);
	border-bottom: 1px solid var(--border);
	flex-shrink: 0;
	background: var(--card-dark, rgba(10, 9, 12, 0.92));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	gap: 8px;
}

.chat-topbar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.chat-topbar-right {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.chat-back-btn {
	flex-shrink: 0;
}

.chat-topbar-info {
	min-width: 0;
}

.chat-topbar-name {
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.15;
}

.chat-topbar-sub {
	font-size: 0.7rem;
	color: var(--text-dim);
	font-weight: 500;
}

.chat-nav-icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	overflow: hidden;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.chat-nav-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#chat-messages-wrap {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 16px 18px 10px;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

#chat-load-top-sentinel {
	height: 1px;
	flex-shrink: 0;
}

#chat-messages-list {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin-top: auto;
	padding-bottom: 4px;
}

.chat-msg {
	display: flex;
	gap: 10px;
	padding: 3px 0;
	animation: msgIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
	position: relative;
	transition: opacity 0.2s ease;
}

@keyframes msgIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.97);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.chat-msg.is-mine {
	flex-direction: row-reverse;
}

.chat-msg-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	cursor: pointer;
	border: 2px solid rgba(255, 255, 255, 0.07);
	align-self: flex-end;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.chat-msg-avatar:hover {
	transform: scale(1.08);
	border-color: var(--accent);
}

.chat-msg-avatar.hidden-avatar {
	visibility: hidden;
}

.chat-msg-body {
	max-width: 70%;
	display: flex;
	flex-direction: column;
	gap: 2px;
	position: relative;
}

.chat-msg.is-mine .chat-msg-body {
	align-items: flex-end;
}

.chat-msg-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 4px;
	margin-bottom: 1px;
}

.chat-msg.is-mine .chat-msg-meta {
	flex-direction: row-reverse;
}

.chat-msg-name {
	font-size: 0.73rem;
	font-weight: 700;
	color: var(--accent);
	cursor: pointer;
	transition: opacity 0.15s;
}

.chat-msg-name:hover {
	opacity: 0.75;
	text-decoration: underline;
}

.chat-msg-time {
	font-size: 0.63rem;
	color: var(--text-dim);
	opacity: 0.7;
}

.chat-reply-quote {
	background: rgba(255, 255, 255, 0.05);
	border-left: 3px solid var(--accent);
	border-radius: 6px 12px 12px 6px;
	padding: 5px 10px;
	margin-bottom: 5px;
	font-size: 0.75rem;
	color: var(--text-dim);
	cursor: pointer;
	transition: background 0.15s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.chat-reply-quote:hover {
	background: rgba(255, 255, 255, 0.09);
}

.chat-reply-quote-name {
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 2px;
	font-size: 0.71rem;
}

.chat-reply-quote-body {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	overflow: hidden;
}

.chat-reply-quote-name {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--accent);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-reply-quote-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 240px;
	opacity: 0.8;
}

.chat-bubble {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 18px 18px 18px 4px;
	padding: 9px 14px;
	font-size: 0.88rem;
	color: var(--text-main);
	line-height: 1.5;
	word-break: break-word;
	position: relative;
	cursor: default;
	transition: background 0.15s ease;
	backdrop-filter: blur(4px);
}

.chat-bubble:hover {
	background: rgba(255, 255, 255, 0.10);
}

.chat-bubble p {
	margin: 0 0 4px;
}

.chat-bubble p:last-child {
	margin-bottom: 0;
}

.chat-bubble strong {
	font-weight: 700;
}

.chat-bubble em {
	font-style: italic;
	opacity: 0.9;
}

.chat-bubble code {
	font-family: monospace;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 4px;
	padding: 1px 5px;
	font-size: 0.82em;
}

.chat-bubble pre {
	background: rgba(0, 0, 0, 0.35);
	border-radius: 10px;
	padding: 10px 12px;
	overflow-x: auto;
	margin: 6px 0;
	font-size: 0.8em;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-bubble a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.chat-bubble ul,
.chat-bubble ol {
	padding-left: 18px;
	margin: 4px 0;
}

.chat-bubble .mention-user,
.chat-bubble .mention-haven {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--accent);
	font-weight: 700;
	cursor: pointer;
	background: rgba(var(--accent-rgb), 0.1);
	border-radius: 6px;
	padding: 1px 6px;
	font-size: 0.85em;
	transition: background 0.15s;
}

.chat-bubble .mention-user:hover,
.chat-bubble .mention-haven:hover {
	background: rgba(var(--accent-rgb), 0.2);
}

.chat-bubble .mention-user i,
.chat-bubble .mention-haven i {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.chat-bubble .custom-emoji-inline {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	display: inline-block;
	object-fit: contain;
	margin: 0 1px;
}

.chat-embed {
	margin-top: 8px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.chat-embed iframe {
	width: 100%;
	aspect-ratio: 16/9;
	display: block;
	border: none;
	background: #000;
}

.chat-embed-link {
	display: block;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 14px;
	margin-top: 8px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.chat-embed-link:hover {
	background: rgba(255, 255, 255, 0.06);
}

.chat-embed-link-host {
	font-size: 0.7rem;
	color: var(--accent);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.chat-embed-link-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-main);
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.chat-msg.is-mine .chat-bubble {
	background: rgba(var(--accent-rgb), 0.28);
	border-color: rgba(var(--accent-rgb), 0.35);
	border-radius: 18px 18px 4px 18px;
	color: var(--text-main);
}

.chat-msg.is-mine .chat-bubble:hover {
	background: rgba(var(--accent-rgb), 0.38);
}

.chat-bubble.deleted {
	opacity: 0.4;
	font-style: italic;
	cursor: default;
	background: transparent;
	border-style: dashed;
}

.chat-bubble.highlight-pulse {
	animation: bubblePulse 0.7s ease;
}

@keyframes bubblePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
	}

	50% {
		box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0);
	}

	100% {
		box-shadow: none;
	}
}

.chat-msg-dots-btn {
	position: absolute;
	bottom: 2px;
	right: -34px;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: rgba(16, 14, 22, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-dim);
	opacity: 0;
	transition: opacity 0.15s ease, background 0.12s ease;
	z-index: 3;
}

.chat-msg.is-mine .chat-msg-dots-btn {
	right: auto;
	left: -34px;
}

.chat-msg:hover .chat-msg-dots-btn {
	opacity: 1;
}

.chat-msg-dots-btn:hover {
	background: rgba(var(--accent-rgb), 0.15);
	color: var(--accent);
}

@media (max-width: 600px) {
	.chat-msg-dots-btn {
		bottom: auto;
		top: 2px;
		right: -30px;
		opacity: 0;
	}

	.chat-msg.is-mine .chat-msg-dots-btn {
		right: auto;
		left: -30px;
	}
}

.chat-msg-menu {
	position: fixed;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 6px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 9999;
	min-width: 160px;
	animation: msgMenuIn 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes msgMenuIn {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(6px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.chat-msg-menu.is-sheet {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	top: auto;
	width: 100%;
	max-width: 100%;
	border-radius: 20px 20px 0 0;
	padding: 8px 8px calc(env(safe-area-inset-bottom, 0px) + 12px);
	animation: sheetUp 0.22s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes sheetUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.chat-msg-menu-backdrop {
	animation: backdropIn 0.2s ease both;
}

@keyframes backdropIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.chat-msg-menu-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 9998;
	backdrop-filter: blur(2px);
	animation: backdropIn 0.18s ease both;
}

@keyframes backdropIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.chat-msg-menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: none;
	background: none;
	border-radius: 10px;
	cursor: pointer;
	color: var(--text-main);
	font-size: 0.9rem;
	font-weight: 600;
	font-family: inherit;
	transition: background 0.12s ease;
	text-align: left;
}

.chat-msg-menu-item:hover {
	background: rgba(255, 255, 255, 0.07);
}

.chat-msg-menu-item.danger {
	color: #ff5f5f;
}

.chat-msg-menu-item.danger:hover {
	background: rgba(255, 70, 70, 0.1);
}

@media (max-width: 600px) {
	.chat-msg-menu-item {
		padding: 13px 16px;
		font-size: 1rem;
	}
}

.chat-msg-action-btn {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	border: none;
	background: transparent;
	color: var(--text-dim);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.chat-msg-action-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-main);
}

.chat-msg-action-btn.delete-btn:hover {
	background: rgba(255, 70, 70, 0.15);
	color: #ff5f5f;
}

.chat-date-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 16px 0 8px;
	color: var(--text-dim);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	animation: fadeIn 0.3s ease;
}

.chat-date-divider::before,
.chat-date-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

.chat-load-more-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	gap: 7px;
}

.chat-spinner-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--text-dim);
	animation: chatDotPulse 1.2s infinite;
}

.chat-spinner-dot:nth-child(2) {
	animation-delay: 0.2s;
}

.chat-spinner-dot:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes chatDotPulse {

	0%,
	80%,
	100% {
		opacity: 0.2;
		transform: scale(0.8);
	}

	40% {
		opacity: 1;
		transform: scale(1.15);
	}
}

#chat-new-msg-pill {
	position: absolute;
	bottom: 86px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--accent);
	color: white;
	border-radius: 50px;
	padding: 7px 16px;
	font-size: 0.78rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.5);
	animation: pillPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
	z-index: 10;
	white-space: nowrap;
}

@keyframes pillPop {
	from {
		opacity: 0;
		transform: translateX(-50%) scale(0.75) translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) scale(1) translateY(0);
	}
}

#chat-input-bar {
	flex-shrink: 0;
	padding: 10px 14px;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
	border-top: 1px solid var(--border);
	background: rgba(10, 9, 12, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

#chat-reply-preview {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: rgba(var(--accent-rgb), 0.07);
	border: 1px solid rgba(var(--accent-rgb), 0.15);
	border-radius: 12px;
	margin-bottom: 9px;
	animation: slideDown 0.18s ease both;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.chat-reply-preview-inner {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}

.chat-reply-preview-text {
	min-width: 0;
	overflow: hidden;
}

.chat-reply-bar {
	width: 3px;
	min-height: 28px;
	background: var(--accent);
	border-radius: 2px;
	flex-shrink: 0;
}

.chat-reply-to-name {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--accent);
	margin-right: 5px;
}

.chat-reply-to-text {
	font-size: 0.75rem;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 220px;
	display: inline;
}

.chat-input-row {
	display: flex;
	align-items: flex-end;
	gap: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: 22px;
	padding: 4px 6px 4px 6px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.chat-input-row:focus-within {
	border-color: rgba(var(--accent-rgb), 0.4);
	background: rgba(var(--accent-rgb), 0.04);
}

.chat-toolbar-btn {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	color: var(--text-dim);
	transition: color 0.15s ease, transform 0.15s ease;
	align-self: flex-end;
	margin-bottom: 2px;
}

.chat-toolbar-btn:hover {
	color: var(--accent);
	transform: scale(1.1);
}

#chat-input {
	flex: 1;
	background: transparent;
	border: none;
	padding: 8px 4px;
	color: var(--text-main);
	font-size: 0.9rem;
	font-family: var(--ts-font, 'Space Grotesk', sans-serif);
	outline: none;
	resize: none;
	max-height: 120px;
	line-height: 1.45;
	overflow-y: auto;
	align-self: flex-end;
}

#chat-input::placeholder {
	color: var(--text-dim);
}

.chat-send-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--accent);
	border: none;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 0 2px 12px rgba(var(--accent-rgb), 0.4);
	align-self: flex-end;
	margin-bottom: 2px;
}

.chat-send-btn:disabled {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
	cursor: default;
	color: var(--text-dim);
	transform: scale(0.9);
}

.chat-send-btn:not(:disabled):hover {
	transform: scale(1.1);
	box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.6);
}

.chat-send-btn i {
	width: 16px;
	height: 16px;
}

.bottom-sheet {
	position: fixed;
	inset: 0;
	z-index: 600;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: flex-end;
	animation: sheetBgIn 0.2s ease both;
}

@keyframes sheetBgIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.bottom-sheet-inner {
	background: rgba(22, 20, 30, 0.98);
	border: 1px solid var(--border);
	border-radius: 24px 24px 0 0;
	padding: 16px 20px 32px;
	width: 100%;
	animation: sheetIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
	max-width: 680px;
	margin: 0 auto;
	backdrop-filter: blur(20px);
}

@keyframes sheetIn {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

.bottom-sheet-handle {
	width: 36px;
	height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.15);
	margin: 0 auto 16px;
}

.notif-pref-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.notif-pref-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 14px;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.notif-pref-row:hover {
	background: rgba(255, 255, 255, 0.06);
}

.notif-pref-row.selected {
	border-color: rgba(var(--accent-rgb), 0.4);
	background: rgba(var(--accent-rgb), 0.06);
}

.notif-pref-left {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.notif-pref-icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.notif-pref-row input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--accent);
	flex-shrink: 0;
}

#btn-haven-chat {
	position: relative;
}

.toggle-switch {
	position: relative;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.toggle-slider {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50px;
	transition: background 0.2s ease;
	cursor: pointer;
	border: 1px solid var(--border);
}

.toggle-slider::before {
	content: '';
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: white;
	left: 3px;
	top: 2px;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toggle-switch input:checked+.toggle-slider {
	background: var(--accent);
	border-color: var(--accent);
}

.toggle-switch input:checked+.toggle-slider::before {
	transform: translateX(19px);
}

.chat-disabled-msg {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 60px 24px;
	text-align: center;
	color: var(--text-dim);
	animation: fadeIn 0.4s ease;
}

.chat-disabled-msg i {
	width: 40px;
	height: 40px;
	opacity: 0.35;
}

.chat-disabled-msg h3 {
	font-size: 1rem;
	font-weight: 800;
	color: var(--text-main);
}

.chat-disabled-msg p {
	font-size: 0.84rem;
	max-width: 240px;
	line-height: 1.55;
}

.chat-list-icon {
	width: 48px;
	height: 48px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 1.2rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.chat-list-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.chat-list-body {
	flex: 1;
	min-width: 0;
}

.chat-list-name {
	font-size: 0.91rem;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}

.chat-list-preview {
	font-size: 0.78rem;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-list-preview.has-unread {
	color: var(--text-main);
	font-weight: 600;
}

.chat-list-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	flex-shrink: 0;
}

.chat-list-time {
	font-size: 0.68rem;
	color: var(--text-dim);
	white-space: nowrap;
}

.chat-list-unread-badge {
	min-width: 20px;
	height: 20px;
	border-radius: 50px;
	background: var(--accent);
	color: white;
	font-size: 0.65rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.4);
	animation: badgePop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes badgePop {
	from {
		transform: scale(0);
	}

	to {
		transform: scale(1);
	}
}

@media (max-width: 1024px) {
	#haven-chat-page.active {
		left: 0 !important;
	}

	#haven-chat-page.active~.bottom-nav,
	body.chat-open .bottom-nav {
		display: none !important;
	}

	body.chat-open .top-bar {
		display: none !important;
	}

	#chat-sidebar {
		display: none !important;
	}

	#chat-topbar {
		padding-top: calc(env(safe-area-inset-top, 0px) + 8px);
	}

	#chat-messages-wrap {
		padding: 10px 12px 6px;
	}

	.chat-msg-body {
		max-width: 84%;
	}
}

@media (min-width: 1025px) {
	#haven-chat-page.active {
		left: 280px;
	}

	#chat-sidebar {
		display: flex;
	}
}

#inbox-chats-strip {
	margin-bottom: 28px;
}

.inbox-chats-strip-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.inbox-chats-strip-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
}

.inbox-see-all-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 700;
	font-family: var(--ts-font);
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 8px;
	transition: background 0.15s ease;
}

.inbox-see-all-btn:hover {
	background: rgba(var(--accent-rgb), 0.1);
}

.inbox-chats-preview-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.inbox-notifs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	flex-wrap: wrap;
	gap: 10px;
}

.inbox-notifs-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-dim);
}

.chat-list-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.chat-list-row:hover {
	background: rgba(var(--accent-rgb), 0.07);
	border-color: rgba(var(--accent-rgb), 0.2);
	transform: translateY(-1px);
}

.chat-list-row:active {
	transform: scale(0.99);
}

.chat-list-icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-list-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.chat-list-body {
	flex: 1;
	min-width: 0;
}

.chat-list-name {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}

.chat-list-preview {
	font-size: 0.78rem;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-list-preview.has-unread {
	color: var(--text-main);
	font-weight: 600;
}

.chat-list-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 5px;
	flex-shrink: 0;
}

.chat-list-time {
	font-size: 0.7rem;
	color: var(--text-dim);
	white-space: nowrap;
}

.inbox-chats-panel-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0 18px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 16px;
}

.chat-safety-reminder {
	display: flex;
	justify-content: center;
	padding: 6px 16px;
	margin: 8px 0;
}

.chat-safety-reminder span {
	background: rgba(121, 94, 170, 0.08);
	border: 1px solid rgba(121, 94, 170, 0.18);
	color: var(--text-dim);
	font-size: 0.75rem;
	font-weight: 500;
	padding: 7px 14px;
	border-radius: 20px;
	text-align: center;
	max-width: 420px;
	line-height: 1.4;
}

.chat-reactions-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 5px;
}

.chat-reaction-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 2px 8px 2px 6px;
	font-size: 0.82rem;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
	color: var(--text-main);
	line-height: 1.4;
}

.chat-reaction-pill:hover {
	background: rgba(var(--accent-rgb), 0.12);
	border-color: rgba(var(--accent-rgb), 0.3);
	transform: scale(1.06);
}

.chat-reaction-pill.is-mine {
	background: rgba(var(--accent-rgb), 0.15);
	border-color: rgba(var(--accent-rgb), 0.45);
	color: var(--accent);
}

.chat-reaction-pill span {
	font-size: 0.72rem;
	font-weight: 700;
	min-width: 8px;
}

.reaction-custom-emoji {
	width: 16px;
	height: 16px;
	object-fit: contain;
	vertical-align: middle;
}

.chat-reaction-picker {
	position: fixed;
	z-index: 9999;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	animation: reactionPickerIn 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
	width: auto !important;
	max-width: fit-content;
}

@keyframes reactionPickerIn {
	from {
		opacity: 0;
		transform: scale(0.85) translateY(6px);
	}

	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.chat-reaction-picker-quick {
	display: flex;
	flex-wrap: nowrap;
	gap: 2px;
	align-items: center;
	justify-content: space-between;
}

.chat-reaction-picker-quick button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.55rem;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s ease, transform 0.1s ease;
	padding: 0;
}

.chat-reaction-picker-quick button:hover,
.chat-reaction-picker-quick button:active {
	background: rgba(255, 255, 255, 0.08);
	transform: scale(1.2);
}

.chat-reaction-picker-more {
	font-size: 0.8rem !important;
	font-weight: 700 !important;
	color: var(--text-dim) !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid var(--border) !important;
	flex: 0 0 40px !important;
	min-width: 40px !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 10px !important;
	margin: 0 2px;
	align-self: center;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.chat-heart-burst {
	position: absolute;
	font-size: 2rem;
	pointer-events: none;
	animation: heartBurst 0.6s ease-out forwards;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

@keyframes heartBurst {
	0% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(0.5);
	}

	50% {
		opacity: 1;
		transform: translate(-50%, -70%) scale(1.4);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -100%) scale(1);
	}
}

.chat-reply-icon {
	opacity: 0.6;
	flex-shrink: 0;
	color: var(--accent);
}

body.ts-mode-light #haven-chat-page.active {
	background: #f0eff5 !important;
}

body.ts-mode-light #chat-sidebar {
	background: rgba(240, 239, 245, 0.97) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .chat-sidebar-header {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .chat-sidebar-name {
	color: #1a1625 !important;
}

body.ts-mode-light .chat-sidebar-sub,
body.ts-mode-light .chat-sidebar-members-label {
	color: #6b6280 !important;
}

body.ts-mode-light .chat-member-item:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}

body.ts-mode-light .chat-member-name {
	color: #1a1625 !important;
}

body.ts-mode-light #chat-messages-wrap {
	background: #f5f4f8 !important;
}

body.ts-mode-light .chat-bubble {
	background: rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .chat-bubble:hover {
	background: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .chat-msg.is-mine .chat-bubble {
	background: rgba(var(--accent-rgb), 0.15) !important;
	border-color: rgba(var(--accent-rgb), 0.25) !important;
}

body.ts-mode-light .chat-msg.is-mine .chat-bubble:hover {
	background: rgba(var(--accent-rgb), 0.22) !important;
}

body.ts-mode-light .chat-msg-time {
	color: #8888a8 !important;
}

body.ts-mode-light .chat-reply-quote {
	background: rgba(0, 0, 0, 0.05) !important;
}

body.ts-mode-light .chat-reply-quote:hover {
	background: rgba(0, 0, 0, 0.09) !important;
}

body.ts-mode-light .chat-reply-quote-text {
	color: #6b6280 !important;
}

body.ts-mode-light #chat-input-bar {
	background: rgba(240, 239, 245, 0.98) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .chat-input-row {
	background: rgba(0, 0, 0, 0.04) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .chat-input-row:focus-within {
	background: rgba(var(--accent-rgb), 0.06) !important;
}

body.ts-mode-light #chat-input {
	color: #1a1625 !important;
}

body.ts-mode-light #chat-input::placeholder {
	color: #9990b0 !important;
}

body.ts-mode-light .chat-msg-actions {
	background: rgba(255, 255, 255, 0.95) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .chat-msg-action-btn {
	color: #6b6280 !important;
}

body.ts-mode-light .chat-msg-action-btn:hover {
	background: rgba(0, 0, 0, 0.07) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .chat-reaction-pill {
	background: rgba(0, 0, 0, 0.06) !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .chat-reaction-pill:hover {
	background: rgba(var(--accent-rgb), 0.1) !important;
	border-color: rgba(var(--accent-rgb), 0.25) !important;
}

body.ts-mode-light .chat-reaction-pill.is-mine {
	background: rgba(var(--accent-rgb), 0.15) !important;
	border-color: rgba(var(--accent-rgb), 0.4) !important;
	color: var(--accent) !important;
}

body.ts-mode-light .chat-reaction-picker {
	background: rgba(240, 239, 245, 0.98) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18) !important;
}

body.ts-mode-light .chat-reaction-picker-quick button:hover {
	background: rgba(0, 0, 0, 0.07) !important;
}

body.ts-mode-light .chat-reaction-picker-more {
	background: rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #6b6280 !important;
}

body.ts-mode-light .chat-date-divider span {
	background: #e8e6f0 !important;
	color: #8888a8 !important;
}

body.ts-mode-light .chat-date-divider::before {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic #haven-chat-page.active {
	background: #d8d0c0 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23a09080'/%3E%3Crect x='0' y='0' width='2' height='2' fill='%23a89880' opacity='0.4'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%239a8870' opacity='0.4'/%3E%3C/svg%3E") !important;
}

body.ts-style-skeuomorphic #chat-sidebar {
	background: linear-gradient(180deg, #e8e0d0 0%, #d4c8b0 100%) !important;
	border-right: 1px solid #b0a080 !important;
	box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.1), 2px 0 8px rgba(0, 0, 0, 0.12) !important;
}

body.ts-style-skeuomorphic .chat-sidebar-header {
	border-bottom: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .chat-sidebar-name {
	color: #3a2a10 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .chat-sidebar-sub,
body.ts-style-skeuomorphic .chat-sidebar-members-label {
	color: #7a6a4a !important;
}

body.ts-style-skeuomorphic .chat-sidebar-member:hover {
	background: rgba(255, 255, 255, 0.35) !important;
}

body.ts-style-skeuomorphic .chat-sidebar-member-name {
	color: #2a1a08 !important;
}

body.ts-style-skeuomorphic #chat-messages-wrap {
	background: #cec6b4 !important;
}

body.ts-style-skeuomorphic #chat-topbar {
	background: linear-gradient(180deg, #ddd8cc 0%, #c8c0b0 100%) !important;
	border-bottom: 1px solid #a09080 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.ts-style-skeuomorphic .chat-topbar-name {
	color: #2a1a08 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .chat-topbar-sub {
	color: #7a6a4a !important;
}

body.ts-style-skeuomorphic .chat-date-divider span {
	background: #c8c0b0 !important;
	color: #7a6a4a !important;
	border: 1px solid #b0a080 !important;
}

body.ts-style-skeuomorphic .chat-date-divider::before {
	border-color: #b0a080 !important;
}

body.ts-style-skeuomorphic .chat-msg-name {
	color: color-mix(in srgb, var(--accent) 80%, #3a2a10) !important;
}

body.ts-style-skeuomorphic .chat-msg-time {
	color: #7a6a4a !important;
}

body.ts-style-skeuomorphic .chat-msg-avatar {
	border-color: #c0b090 !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

body.ts-style-skeuomorphic .chat-bubble {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	border-bottom-color: #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 5px rgba(0, 0, 0, 0.12) !important;
	border-radius: 14px 14px 14px 4px !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .chat-bubble:hover {
	background: linear-gradient(180deg, #ffffff 0%, #faf6ee 100%) !important;
}

body.ts-style-skeuomorphic .chat-msg.is-mine .chat-bubble {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 30%, #fff) 0%, color-mix(in srgb, var(--accent) 20%, #f5f0e8) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 40%, #c8b898) !important;
	border-bottom-color: color-mix(in srgb, var(--accent) 50%, #b0a080) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.12) !important;
	border-radius: 14px 14px 4px 14px !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .chat-msg.is-mine .chat-bubble:hover {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 35%, #fff) 0%, color-mix(in srgb, var(--accent) 25%, #faf6ee) 100%) !important;
}

body.ts-style-skeuomorphic .chat-bubble a {
	color: color-mix(in srgb, var(--accent) 80%, #3a2a10) !important;
}

body.ts-style-skeuomorphic .chat-bubble code {
	background: rgba(0, 0, 0, 0.08) !important;
	color: #3a2a10 !important;
}

body.ts-style-skeuomorphic .chat-bubble pre {
	background: rgba(0, 0, 0, 0.06) !important;
	border-color: #c0b090 !important;
}

body.ts-style-skeuomorphic .chat-reply-quote {
	background: rgba(0, 0, 0, 0.07) !important;
	border-left-color: var(--accent) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .chat-reply-quote:hover {
	background: rgba(0, 0, 0, 0.11) !important;
}

body.ts-style-skeuomorphic .chat-reply-quote-text {
	color: #5a4a2a !important;
}

body.ts-style-skeuomorphic #chat-input-bar {
	background: linear-gradient(180deg, #ddd8cc 0%, #c8c0b0 100%) !important;
	border-top: 1px solid #a09080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .chat-input-row {
	background: linear-gradient(180deg, #e8e4d8 0%, #fefefe 100%) !important;
	border: 1px solid #b0a080 !important;
	border-bottom-color: #888070 !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 0 rgba(255, 255, 255, 0.8) !important;
	border-radius: 22px !important;
}

body.ts-style-skeuomorphic .chat-input-row:focus-within {
	border-color: var(--accent) !important;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(var(--accent-rgb), 0.2) !important;
}

body.ts-style-skeuomorphic #chat-input {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic #chat-input::placeholder {
	color: #999 !important;
}

body.ts-style-skeuomorphic .chat-send-btn {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 75%, #000) 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

body.ts-style-skeuomorphic .chat-send-btn:not(:disabled):hover {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(var(--accent-rgb), 0.4) !important;
}

body.ts-style-skeuomorphic .chat-msg-dots-btn {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a888 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 3px rgba(0, 0, 0, 0.12) !important;
	color: #444 !important;
}

body.ts-style-skeuomorphic .chat-msg-dots-btn:hover {
	background: linear-gradient(180deg, #fff 0%, #e8e4d8 100%) !important;
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic .chat-msg-actions {
	background: linear-gradient(180deg, #fefefe 0%, #f0ece0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .chat-reaction-pill {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a888 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
	color: #333 !important;
}

body.ts-style-skeuomorphic .chat-reaction-pill:hover {
	background: linear-gradient(180deg, #fff 0%, #e8e4d8 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 50%, #b0a888) !important;
}

body.ts-style-skeuomorphic .chat-reaction-pill.is-mine {
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 30%, #fff) 0%, color-mix(in srgb, var(--accent) 20%, #ddd8c8) 100%) !important;
	border-color: color-mix(in srgb, var(--accent) 50%, #b0a888) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 3px rgba(0, 0, 0, 0.15) !important;
	color: color-mix(in srgb, var(--accent) 80%, #1a1a1a) !important;
}

body.ts-style-skeuomorphic .chat-reaction-picker {
	background: linear-gradient(180deg, #fefefe 0%, #f0ece0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .chat-reaction-picker-quick button:hover {
	background: rgba(0, 0, 0, 0.07) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic .chat-reaction-picker-more {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a888 !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .chat-heart-burst {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 100, 100, 0.5) !important;
}

body.ts-style-skeuomorphic .chat-reactions-row {
	margin-top: 4px;
}

body.ts-style-skeuomorphic .chat-reaction-pill {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06)) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
	color: var(--text-main) !important;
}

body.ts-style-skeuomorphic .chat-reaction-pill:hover {
	background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.12)) !important;
	border-color: rgba(var(--accent-rgb), 0.35) !important;
}

body.ts-style-skeuomorphic .chat-reaction-pill.is-mine {
	background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-rgb), 0.22)) !important;
	border-color: rgba(var(--accent-rgb), 0.5) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
	color: #fff !important;
}

body.ts-style-skeuomorphic .chat-reaction-picker {
	background: linear-gradient(145deg, #3a3350, #2a2440) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

body.ts-style-skeuomorphic .chat-reaction-picker-quick button:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

body.ts-style-skeuomorphic .chat-reaction-picker-more {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

body.ts-style-skeuomorphic .chat-heart-burst {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 100, 100, 0.6) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-reaction-pill {
	background: linear-gradient(145deg, #fff, #f5f2fc) !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
	color: #1a1625 !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-reaction-pill.is-mine {
	background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.15)) !important;
	border-color: rgba(var(--accent-rgb), 0.35) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-reaction-picker {
	background: linear-gradient(145deg, #fff, #f0edf8) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-reaction-picker-more {
	background: linear-gradient(145deg, #f5f2fc, #ede9f7) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #6b6280 !important;
}

body.ts-style-glassmorphic #chat-sidebar {
	background: rgba(255, 255, 255, 0.04) !important;
	backdrop-filter: blur(24px) !important;
	-webkit-backdrop-filter: blur(24px) !important;
	border-right-color: rgba(255, 255, 255, 0.08) !important;
}

body.ts-style-glassmorphic #chat-messages-wrap {
	background: rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-glassmorphic .chat-bubble {
	background: rgba(255, 255, 255, 0.07) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

body.ts-style-glassmorphic .chat-msg.is-mine .chat-bubble {
	background: rgba(var(--accent-rgb), 0.18) !important;
	border-color: rgba(var(--accent-rgb), 0.3) !important;
}

body.ts-style-glassmorphic #chat-input-bar {
	background: rgba(255, 255, 255, 0.04) !important;
	backdrop-filter: blur(24px) !important;
	-webkit-backdrop-filter: blur(24px) !important;
}

body.ts-style-glassmorphic .chat-input-row {
	background: rgba(255, 255, 255, 0.06) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

body.ts-style-glassmorphic .chat-msg-actions {
	background: rgba(20, 16, 35, 0.7) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

body.ts-style-glassmorphic .chat-reaction-picker {
	background: rgba(20, 16, 35, 0.75) !important;
	backdrop-filter: blur(24px) !important;
	-webkit-backdrop-filter: blur(24px) !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

body.ts-style-glassmorphic .chat-reaction-pill {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.14) !important;
	backdrop-filter: blur(8px) !important;
}

body.ts-style-glassmorphic .chat-reaction-pill.is-mine {
	background: rgba(var(--accent-rgb), 0.2) !important;
	border-color: rgba(var(--accent-rgb), 0.4) !important;
}

body.ts-style-bubbly .chat-bubble {
	border-radius: 20px 20px 20px 5px !important;
}

body.ts-style-bubbly .chat-msg.is-mine .chat-bubble {
	border-radius: 20px 20px 5px 20px !important;
}

body.ts-style-bubbly .chat-input-row {
	border-radius: 28px !important;
}

body.ts-style-bubbly .chat-send-btn {
	border-radius: 50% !important;
}

body.ts-style-bubbly .chat-msg-actions {
	border-radius: 14px !important;
}

body.ts-style-minimal .chat-bubble {
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 0 !important;
	padding: 7px 2px !important;
	backdrop-filter: none !important;
}

body.ts-style-minimal .chat-bubble:hover {
	background: rgba(255, 255, 255, 0.03) !important;
}

body.ts-style-minimal .chat-msg.is-mine .chat-bubble {
	border-color: rgba(var(--accent-rgb), 0.2) !important;
}

body.ts-style-minimal .chat-input-row {
	border-radius: 4px !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid var(--border) !important;
}

body.ts-style-minimal .chat-send-btn {
	border-radius: 6px !important;
}

body.ts-style-minimal #chat-input-bar {
	background: transparent !important;
}

body.ts-style-rounded .chat-bubble {
	border-radius: 22px 22px 22px 6px !important;
}

body.ts-style-rounded .chat-msg.is-mine .chat-bubble {
	border-radius: 22px 22px 6px 22px !important;
}

body.ts-style-rounded .chat-input-row {
	border-radius: 30px !important;
}

body.ts-style-rounded .chat-msg-actions {
	border-radius: 16px !important;
}

body.ts-style-skeuomorphic.ts-mode-light #haven-chat-page.active {
	background: #e8e4f0 !important;
}

body.ts-style-skeuomorphic.ts-mode-light #chat-sidebar {
	background: linear-gradient(180deg, #ede9f5 0%, #e2ddef 100%) !important;
	border-right-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic.ts-mode-light #chat-messages-wrap {
	background: #e4e0ee !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-bubble {
	background: linear-gradient(145deg, #fff, #f5f2fc) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #1a1625 !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-msg.is-mine .chat-bubble {
	background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.15)) !important;
	border-color: rgba(var(--accent-rgb), 0.3) !important;
	color: #1a1625 !important;
}

body.ts-style-skeuomorphic.ts-mode-light #chat-input-bar {
	background: linear-gradient(180deg, #ede9f5, #e8e4f0) !important;
	border-top-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-input-row {
	background: rgba(255, 255, 255, 0.7) !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-msg-actions {
	background: linear-gradient(145deg, #fff, #f0edf8) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

body.ts-style-skeuomorphic.ts-mode-light .chat-msg-action-btn {
	color: #6b6280 !important;
}

body.ts-mode-light #welfare-modal {
	background: rgba(245, 244, 248, 0.8) !important;
}

body.ts-mode-light .welfare-modal-box {
	background: #f5f4f8 !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .welfare-modal-box h2,
body.ts-mode-light .welfare-modal-box h3,
body.ts-mode-light .welfare-modal-box b,
body.ts-mode-light .welfare-modal-box span,
body.ts-mode-light .welfare-modal-box p {
	color: #1a1625 !important;
}

body.ts-mode-light .welfare-modal-box p[style*="color:var(--text-dim)"],
body.ts-mode-light .welfare-modal-box div[style*="color:var(--text-dim)"],
body.ts-mode-light .welfare-modal-box span[style*="color:var(--text-dim)"] {
	color: #6b6280 !important;
}

body.ts-mode-light .welfare-modal-box div[style*="background:var(--glass)"] {
	background: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
}

body.ts-mode-light .welfare-modal-box div[style*="background:rgba(121,94,170,0.08)"] {
	background: rgba(121, 94, 170, 0.07) !important;
	border-color: rgba(121, 94, 170, 0.2) !important;
}

body.ts-mode-light .welfare-modal-box>div:first-child {
	background: linear-gradient(135deg, rgba(121, 94, 170, 0.2) 0%, rgba(255, 105, 135, 0.15) 100%) !important;
}

body.ts-mode-light .welfare-modal-box a[style*="background:var(--glass)"] {
	background: rgba(255, 255, 255, 0.9) !important;
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #1a1625 !important;
}

body.ts-mode-light .welfare-modal-box button[style*="background:var(--glass)"] {
	background: rgba(0, 0, 0, 0.06) !important;
	border-color: rgba(0, 0, 0, 0.12) !important;
	color: #1a1625 !important;
}

body.ts-style-skeuomorphic #welfare-modal {
	background: rgba(0, 0, 0, 0.55) !important;
}

body.ts-style-skeuomorphic .welfare-modal-box {
	background: linear-gradient(180deg, #f0ece0 0%, #e8e0d0 100%) !important;
	border: 1px solid #b0a080 !important;
	border-radius: 20px !important;
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .welfare-modal-box h2,
body.ts-style-skeuomorphic .welfare-modal-box h3,
body.ts-style-skeuomorphic .welfare-modal-box b {
	color: #1a1a1a !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .welfare-modal-box p,
body.ts-style-skeuomorphic .welfare-modal-box span,
body.ts-style-skeuomorphic .welfare-modal-box div {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .welfare-modal-box p[style*="color:var(--text-dim)"],
body.ts-style-skeuomorphic .welfare-modal-box div[style*="color:var(--text-dim)"],
body.ts-style-skeuomorphic .welfare-modal-box span[style*="color:var(--text-dim)"] {
	color: #666 !important;
}

body.ts-style-skeuomorphic .welfare-modal-box>div:first-child {
	background: linear-gradient(135deg, rgba(180, 160, 120, 0.5) 0%, rgba(210, 180, 140, 0.35) 100%) !important;
	border-bottom: 1px solid #c0b090 !important;
}

body.ts-style-skeuomorphic .welfare-modal-box>div:first-child button {
	background: linear-gradient(180deg, #ece8dc 0%, #d8d4c8 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .welfare-modal-box div[style*="background:linear-gradient(135deg,rgba(121"] {
	background: linear-gradient(135deg, rgba(180, 160, 100, 0.2), rgba(200, 160, 110, 0.12)) !important;
	border-color: #c0b090 !important;
}

body.ts-style-skeuomorphic .welfare-modal-box div[style*="background:var(--glass)"],
body.ts-style-skeuomorphic .welfare-modal-box a[style*="background:var(--glass)"] {
	background: linear-gradient(180deg, #faf7f0 0%, #ede8e0 100%) !important;
	border: 1px solid #c0b090 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .welfare-modal-box div[style*="background:rgba(121,94,170,0.08)"] {
	background: linear-gradient(180deg, #f0ece0 0%, #e8e0d0 100%) !important;
	border-color: rgba(121, 94, 170, 0.3) !important;
}

body.ts-style-skeuomorphic .welfare-modal-box a[style*="color:var(--accent)"] span,
body.ts-style-skeuomorphic .welfare-modal-box span[style*="color:var(--accent)"] {
	color: #7a5eaa !important;
}

body.ts-style-skeuomorphic .welfare-modal-box a[style*="color:var(--accent)"] {
	color: #7a5eaa !important;
}

body.ts-style-skeuomorphic .welfare-modal-box>div:last-child>button {
	background: linear-gradient(180deg, #ece8dc 0%, #d8d4c8 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 4px rgba(0, 0, 0, 0.12) !important;
	color: #1a1a1a !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

body.ts-style-skeuomorphic .welfare-modal-box>div:last-child>button:hover {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
}

.friends-top-bar {
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 16px;
	margin-bottom: 16px;
	animation: fadeIn 0.4s ease;
}

.friends-top-title {
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-main);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
}

.friends-top-scroll {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

.friends-top-scroll::-webkit-scrollbar {
	display: none;
}

.friend-avatar-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	flex-shrink: 0;
	width: 56px;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.friend-avatar-wrap:hover {
	transform: translateY(-4px);
}

.friend-avatar-wrap img {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	object-fit: cover;
	border: 2px solid var(--border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.friend-mini-name {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--text-dim);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	text-align: center;
}

.suggestions-box {
	margin: 16px 0;
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 18px 0 18px 18px;
	overflow: hidden;
}

.suggestions-header {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-main);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.suggestions-scroll {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-right: 18px;
	padding-bottom: 8px;
}

.suggestions-scroll::-webkit-scrollbar {
	display: none;
}

.suggestion-card {
	flex-shrink: 0;
	width: 140px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.suggestion-card:hover {
	border-color: rgba(var(--accent-rgb), 0.3);
}

.suggestion-pfp {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 10px;
	border: 2px solid var(--border);
}

.suggestion-name {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.suggestion-handle {
	font-size: 0.72rem;
	color: var(--text-dim);
	margin-bottom: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.suggestion-btn {
	width: 100%;
	padding: 8px 10px !important;
	font-size: 0.8rem !important;
	border-radius: 12px !important;
}

body.ts-mode-light .friends-top-bar,
body.ts-mode-light .suggestions-box {
	background: rgba(255, 255, 255, 0.95) !important;
}

body.ts-mode-light .suggestion-card {
	background: rgba(0, 0, 0, 0.03) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .suggestion-name,
body.ts-mode-light .friends-top-title {
	color: #1a1625 !important;
}

body.ts-mode-light .suggestion-handle,
body.ts-mode-light .friend-mini-name {
	color: #6b6280 !important;
}

body.ts-style-skeuomorphic .friends-top-bar,
body.ts-style-skeuomorphic .suggestions-box {
	background: linear-gradient(180deg, #fefefe 0%, #f5f0e8 100%) !important;
	border: 1px solid #c8b898 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .suggestion-card {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border: 1px solid #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.ts-style-skeuomorphic .suggestion-card:hover {
	background: linear-gradient(180deg, #ffffff 0%, #e8e4d8 100%) !important;
}

body.ts-style-skeuomorphic .friends-top-title {
	color: #3a2a10 !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

body.ts-style-skeuomorphic .suggestion-name {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .suggestion-handle {
	color: #666 !important;
}

body.ts-style-skeuomorphic .friend-avatar-wrap img,
body.ts-style-skeuomorphic .suggestion-pfp {
	border-color: #c0b090 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.comment-photo {
	display: block;
	max-width: 100%;
	max-height: 280px;
	width: auto;
	border-radius: 12px;
	margin-top: 8px;
	object-fit: cover;
	cursor: zoom-in;
	border: 1px solid var(--border);
	transition: opacity 0.2s ease, transform 0.15s ease;
}

.comment-photo:hover {
	opacity: 0.92;
	transform: scale(1.01);
}

#comment-image-preview-wrap {
	background: rgba(255, 255, 255, 0.03);
	border-top: 1px solid var(--border);
	padding: 8px 12px 8px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

#comment-photo-btn {
	position: relative;
}

#comment-photo-btn.has-photo {
	color: var(--accent) !important;
}

body.ts-style-skeuomorphic #comment-photo-btn {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3);
	width: 36px;
	height: 36px;
}

body.ts-style-skeuomorphic .comment-photo {
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.ts-mode-light .comment-photo {
	border-color: rgba(0, 0, 0, 0.12);
}

body.ts-mode-light #comment-image-preview-wrap {
	background: rgba(0, 0, 0, 0.02);
	border-color: rgba(0, 0, 0, 0.08);
}

body.ts-style-skeuomorphic.ts-mode-light #comment-photo-btn {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.repost-btn.reposted {
	color: #4ade80 !important;
}

.repost-btn.reposted i {
	color: #4ade80;
	filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.45));
}

@keyframes repost-bounce {
	0% {
		transform: scale(1) rotate(0deg);
	}

	30% {
		transform: scale(1.3) rotate(-12deg);
	}

	60% {
		transform: scale(0.88) rotate(6deg);
	}

	100% {
		transform: scale(1) rotate(0deg);
	}
}

.repost-btn.animate-repost i {
	animation: repost-bounce 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.repost-chip-wrap {
	padding: 6px 0 0;
	min-height: 0;
}

.repost-chip-wrap:empty {
	display: none;
}

.repost-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 4px 11px 4px 5px;
	background: rgba(74, 222, 128, 0.06);
	border: 1px solid rgba(74, 222, 128, 0.18);
	border-radius: 20px;
	font-size: 0.74rem;
	font-weight: 600;
	color: rgba(74, 222, 128, 0.85);
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	letter-spacing: 0.01em;
}

.repost-chip:hover {
	background: rgba(74, 222, 128, 0.12);
	border-color: rgba(74, 222, 128, 0.35);
	color: #4ade80;
}

.repost-chip-avatars {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.repost-chip-avatars img {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid var(--bg-dark);
	margin-left: -4px;
	flex-shrink: 0;
}

.repost-chip-avatars img:first-child {
	margin-left: 0;
}

.repost-chip-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 4px;
}

.repost-context-wrap {
	margin-bottom: 10px;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--card-dark);
}

.repost-context-wrap .post-card {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.repost-context-banner {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px 6px;
	font-size: 0.73rem;
	font-weight: 600;
	color: rgba(74, 222, 128, 0.8);
	letter-spacing: 0.01em;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	transition: color 0.15s ease;
}

.repost-context-banner:hover {
	color: #4ade80;
}

.repost-context-banner i {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.repost-context-comment {
	padding: 6px 14px 4px;
	font-size: 0.78rem;
	color: var(--text-dim);
	font-style: italic;
	border-bottom: 1px solid var(--border);
	line-height: 1.45;
}

.repost-profile-entry {
	margin-bottom: 10px;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--card-dark);
}

.repost-profile-entry .post-card {
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
}

.repost-profile-banner {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 14px 6px;
	font-size: 0.73rem;
	font-weight: 600;
	color: rgba(74, 222, 128, 0.8);
	letter-spacing: 0.01em;
	border-bottom: 1px solid var(--border);
}

.repost-profile-banner i {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.repost-profile-comment {
	padding: 6px 14px 4px;
	font-size: 0.78rem;
	color: var(--text-dim);
	font-style: italic;
	border-bottom: 1px solid var(--border);
	line-height: 1.45;
}

#repost-compose-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10001;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 20px;
}

#repost-compose-modal.active {
	display: flex;
}

.repost-compose-box {
	background: var(--card-dark);
	border: 1px solid var(--border);
	border-radius: 22px;
	width: 100%;
	max-width: 520px;
	overflow: hidden;
	opacity: 0;
	transform: scale(0.95) translateY(12px);
	transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.34, 1.4, 0.64, 1);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

#repost-compose-modal.active .repost-compose-box {
	opacity: 1;
	transform: scale(1) translateY(0);
}

.repost-compose-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 18px 12px;
	border-bottom: 1px solid var(--border);
}

.repost-compose-title {
	font-size: 0.92rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--text-main);
}

.repost-compose-title i {
	color: #4ade80;
}

.repost-compose-preview {
	margin: 14px 16px 6px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid var(--border);
	border-radius: 14px;
	font-size: 0.8rem;
	color: var(--text-dim);
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 1.5;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease;
	position: relative;
}

.repost-compose-preview::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: rgba(74, 222, 128, 0.4);
	border-radius: 3px 0 0 3px;
}

.repost-compose-preview:hover {
	border-color: rgba(74, 222, 128, 0.3);
	background: rgba(74, 222, 128, 0.04);
}

.repost-compose-textarea-wrap {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 16px 6px;
}

.repost-compose-pfp {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid var(--border);
	flex-shrink: 0;
	margin-top: 4px;
}

#repost-comment-textarea {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: var(--text-main);
	font-family: var(--ts-font);
	font-size: 0.9rem;
	resize: none;
	min-height: 52px;
	max-height: 120px;
	line-height: 1.55;
	padding: 4px 0 0;
}

#repost-comment-textarea::placeholder {
	color: var(--text-dim);
	opacity: 0.6;
}

.repost-compose-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--border);
	gap: 8px;
	margin-top: 2px;
}

.repost-char-count {
	font-size: 0.7rem;
	color: var(--text-dim);
	font-variant-numeric: tabular-nums;
	min-width: 44px;
}

.repost-char-count.warn {
	color: #fbbf24;
}

.repost-char-count.danger {
	color: #f87171;
}

.repost-compose-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

.btn-cancel-repost {
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 50px;
	padding: 8px 18px;
	color: var(--text-dim);
	font-weight: 600;
	font-size: 0.85rem;
	cursor: pointer;
	font-family: var(--ts-font);
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-cancel-repost:hover {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-main);
	border-color: rgba(255, 255, 255, 0.12);
}

.btn-confirm-repost {
	background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
	border: none;
	border-radius: 50px;
	padding: 8px 20px;
	color: #071a0e;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	font-family: var(--ts-font);
	display: flex;
	align-items: center;
	gap: 6px;
	transition: opacity 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
	box-shadow: 0 2px 12px rgba(74, 222, 128, 0.3);
}

.btn-confirm-repost:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	box-shadow: 0 4px 18px rgba(74, 222, 128, 0.4);
}

.btn-confirm-repost:active {
	transform: scale(0.97);
}

.btn-confirm-repost:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.btn-confirm-repost.is-undo {
	background: rgba(255, 77, 109, 0.1);
	border: 1px solid rgba(255, 77, 109, 0.3);
	color: #ff4d6d;
	box-shadow: none;
}

.btn-confirm-repost.is-undo:hover {
	background: rgba(255, 77, 109, 0.18);
	box-shadow: 0 2px 10px rgba(255, 77, 109, 0.2);
}

#repost-modal .repost-entry-name:hover {
	color: #4ade80;
}

#repost-modal .repost-you-badge {
	font-size: 0.6rem;
	background: rgba(74, 222, 128, 0.12);
	color: #4ade80;
	padding: 1px 6px;
	border-radius: 20px;
	font-weight: 700;
	line-height: 1.6;
	vertical-align: middle;
	margin-left: 4px;
}

@keyframes rlike-pop {
	0% {
		transform: scale(1);
	}

	45% {
		transform: scale(1.4);
	}

	100% {
		transform: scale(1);
	}
}

.repost-like-btn.animate-rlike i {
	animation: rlike-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.ts-style-skeuomorphic .repost-chip {
	background: linear-gradient(180deg, #e8f5e8 0%, #d4edda 100%) !important;
	border: 1px solid #a8d5b5 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
	color: #2d6a3f !important;
}

body.ts-style-skeuomorphic .repost-context-banner {
	color: #2d6a3f !important;
}

body.ts-style-skeuomorphic .repost-context-comment {
	border-left-color: #a8d5b5 !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .repost-profile-banner {
	color: #2d6a3f !important;
}

body.ts-style-skeuomorphic .repost-profile-comment {
	color: #555 !important;
}

body.ts-style-skeuomorphic .repost-modal-popup,
body.ts-style-skeuomorphic .repost-compose-box {
	background: linear-gradient(180deg, #fefefe 0%, #f2ede0 100%) !important;
	border: 1px solid #c8b898 !important;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.ts-style-skeuomorphic .repost-compose-box::before {
	background: rgba(0, 0, 0, 0.15) !important;
}

body.ts-style-skeuomorphic .repost-modal-header,
body.ts-style-skeuomorphic .repost-compose-header,
body.ts-style-skeuomorphic .repost-compose-footer {
	border-color: #c8b898 !important;
}

body.ts-style-skeuomorphic .repost-modal-title,
body.ts-style-skeuomorphic .repost-compose-title {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .repost-modal-title i,
body.ts-style-skeuomorphic .repost-compose-title i {
	color: #2d8a4f !important;
}

body.ts-style-skeuomorphic .repost-compose-preview {
	background: linear-gradient(180deg, #faf7f0 0%, #ece8e0 100%) !important;
	border-color: #c8b898 !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .repost-compose-preview::before {
	background: #a8c8a8 !important;
}

body.ts-style-skeuomorphic #repost-comment-textarea {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .repost-entry-comment {
	background: rgba(0, 0, 0, 0.03) !important;
	border-color: #a8d5b5 !important;
	border-left-color: #4a9a6a !important;
}

body.ts-style-skeuomorphic .repost-entry-name {
	color: #1a1a1a !important;
}

body.ts-style-skeuomorphic .repost-entry-handle,
body.ts-style-skeuomorphic .repost-entry-time {
	color: #666 !important;
}

body.ts-style-skeuomorphic .repost-like-btn {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
	color: #555 !important;
}

body.ts-style-skeuomorphic .repost-like-btn.liked {
	background: linear-gradient(180deg, #fde8ec 0%, #f8d0d8 100%) !important;
	border-color: rgba(255, 77, 109, 0.4) !important;
	color: #c03050 !important;
}

body.ts-style-skeuomorphic .repost-delete-btn {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
	color: #666 !important;
}

body.ts-style-skeuomorphic .btn-confirm-repost {
	background: linear-gradient(180deg, #5ad98a 0%, #2ebd60 100%) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12) !important;
}

body.ts-style-skeuomorphic .btn-confirm-repost.is-undo {
	background: linear-gradient(180deg, #fde8ec 0%, #f8d0d8 100%) !important;
	border: 1px solid rgba(255, 77, 109, 0.35) !important;
	color: #c03050 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic .btn-cancel-repost {
	background: linear-gradient(180deg, #f0ece0 0%, #ddd8c8 100%) !important;
	border-color: #b0a080 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
	color: #444 !important;
}

body.ts-style-skeuomorphic .repost-profile-entry {
	border-color: #c8b898 !important;
	background: linear-gradient(180deg, #fefefe 0%, #f2ede0 100%) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

body.ts-style-skeuomorphic .repost-profile-banner {
	border-bottom-color: #c8b898 !important;
}

body.ts-style-skeuomorphic .repost-profile-comment {
	border-bottom-color: #c8b898 !important;
}

body.ts-mode-light .repost-chip {
	background: rgba(22, 163, 74, 0.07) !important;
	border-color: rgba(22, 163, 74, 0.22) !important;
	color: #15803d !important;
}

body.ts-mode-light .repost-context-banner {
	color: #15803d !important;
}

body.ts-mode-light .repost-context-comment {
	color: #4b5563 !important;
	border-left-color: rgba(22, 163, 74, 0.35) !important;
}

body.ts-mode-light .repost-profile-banner {
	color: #15803d !important;
	border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .repost-profile-comment {
	color: #4b5563 !important;
	border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

body.ts-mode-light .repost-profile-entry {
	background: rgba(255, 255, 255, 0.95) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .repost-modal-popup,
body.ts-mode-light .repost-compose-box {
	background: rgba(255, 255, 255, 0.98) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
}

body.ts-mode-light .repost-modal-header,
body.ts-mode-light .repost-compose-header,
body.ts-mode-light .repost-compose-footer {
	border-color: rgba(0, 0, 0, 0.07) !important;
}

body.ts-mode-light .repost-modal-title,
body.ts-mode-light .repost-compose-title {
	color: #1a1625 !important;
}

body.ts-mode-light .repost-modal-sheet::before,
body.ts-mode-light .repost-compose-box::before {
	background: rgba(0, 0, 0, 0.15) !important;
}

body.ts-mode-light .repost-entry-name {
	color: #1a1625 !important;
}

body.ts-mode-light .repost-entry-handle,
body.ts-mode-light .repost-entry-time {
	color: #6b6280 !important;
}

body.ts-mode-light .repost-entry-comment {
	background: rgba(22, 163, 74, 0.05) !important;
	border-color: rgba(22, 163, 74, 0.18) !important;
	border-left-color: rgba(22, 163, 74, 0.45) !important;
	color: #374151 !important;
}

body.ts-mode-light #repost-comment-textarea {
	color: #1a1625 !important;
}

body.ts-mode-light .repost-compose-preview {
	background: rgba(0, 0, 0, 0.025) !important;
	border-color: rgba(0, 0, 0, 0.08) !important;
	color: #4b5563 !important;
}

body.ts-mode-light .repost-compose-preview::before {
	background: rgba(22, 163, 74, 0.5) !important;
}

body.ts-mode-light .repost-like-btn {
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #6b6280 !important;
}

body.ts-mode-light .repost-like-btn:hover {
	border-color: rgba(224, 49, 85, 0.3) !important;
	color: #e03155 !important;
}

body.ts-mode-light .repost-like-btn.liked {
	color: #e03155 !important;
	border-color: rgba(224, 49, 85, 0.28) !important;
	background: rgba(224, 49, 85, 0.07) !important;
}

body.ts-mode-light .repost-delete-btn {
	border-color: rgba(0, 0, 0, 0.1) !important;
	color: #6b6280 !important;
}

body.ts-mode-light .repost-chip-avatars img {
	border-color: white !important;
}

body.ts-mode-light .btn-cancel-repost {
	border-color: rgba(0, 0, 0, 0.12) !important;
	color: #6b6280 !important;
}

body.ts-mode-light .btn-cancel-repost:hover {
	background: rgba(0, 0, 0, 0.04) !important;
	color: #1a1625 !important;
}

.staff-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-left: 6px;
	vertical-align: middle;
}

.badge-owner {
	background: rgba(255, 215, 0, 0.12);
	color: #ffd700;
	border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-mod {
	background: rgba(0, 220, 255, 0.12);
	color: #00dcff;
	border: 1px solid rgba(0, 220, 255, 0.3);
}

body.ts-style-skeuomorphic .staff-badge {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

body.ts-style-skeuomorphic .badge-owner {
	background: linear-gradient(180deg, #fceabb 0%, #fccd4d 50%, #f8b500 100%) !important;
	color: #4a3500 !important;
	border-color: #b8860b !important;
}

body.ts-style-skeuomorphic .badge-mod {
	background: linear-gradient(180deg, #b3e5fc 0%, #4fc3f7 50%, #0288d1 100%) !important;
	color: #002e4a !important;
	border-color: #01579b !important;
}

/* ── Android High-Performance Optimization ── */
body.is-android {
    transition: none !important;
    -webkit-overflow-scrolling: touch;
    overflow-anchor: none;
}

/* Clear duplicate GPU composite layers and disable troublesome filters in Android WebViews */
body.is-android * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform: none !important;
    will-change: auto !important;
}

/* Hide all Lite-related links and settings sections on Android */
body.is-android #sb-lite-link,
body.is-android .settings-lite-section,
body.is-android .settings-lite-group {
    display: none !important;
}

/* Prevent container layout duplication and rendering offsets */
body.is-android .page {
    animation: none !important;
    -webkit-animation: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    contain: paint !important;
    will-change: auto !important;
}

/* Flatten card rendering to prevent texture ghost trails and flickering */
body.is-android .post-card,
body.is-android .composer-card,
body.is-android .auth-card,
body.is-android .onboarding-card,
body.is-android .drawer-content,
body.is-android .feed-composer-box,
body.is-android .haven-card,
body.is-android .people-result-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
    will-change: auto !important;
    outline: 1px solid transparent;
}

/* Keep hardware acceleration clean and isolated only on the bottom bar */
body.is-android .bottom-nav {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: translateZ(0) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Eliminate tap-to-hover delays and sticky lift glitches on touch screens */
@media (hover: none) {
    .post-card:hover,
    .haven-card:hover,
    .people-result-card:hover,
    .feed-composer-box:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Ensure smooth scrolling boundaries above the bottom bar */
body.is-android .content {
    padding-bottom: 130px !important;
}

/* Compliance: Hide target sections inside Android standalone mode */
body.is-android-app #sb-games-link,
body.is-android-app #explore-games-section {
    display: none !important;
}