﻿
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  --app-content-top: 82px;
  background-color: #1d1c1c;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  width: 100%;
  background-attachment: fixed;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scrollbar-gutter: stable;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: rgba(20, 24, 35, 0.72);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6faefe, #5f7cad);
  border-radius: 999px;
  border: 2px solid rgba(20, 24, 35, 0.72);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #88bcff, #6faefe);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

form {
  display: flex;
  flex-direction: column;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.input-field {
  position: relative;
  border-bottom: 2px solid #ccc;
  margin: 15px 0;
}

.input-field label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: rgb(107, 105, 105);
  font-size: 16px;
  pointer-events: none;
  transition: 0.15s ease;
}

.input-field input {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #fff;
}

.input-field input:focus~label,
.input-field input:valid~label {
  font-size: 0.8rem;
  top: 10px;
  transform: translateY(-120%);
}

.forget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 35px 0;
  color: #fff;
}

#remember {
  accent-color: #fff;
}

.forget label {
  display: flex;
  align-items: center;
}

.forget label p {
  margin-left: 8px;
}

button {
  background: #fff;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

button:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.register {
  text-align: center;
  margin-top: 30px;
  color: #fff;
}

.wrapper-log {
  width: 60%;
  height: 50%;
  padding: 30px;
  margin-top: 150px;
  margin-left: 20px;
  margin-right: 20px;
  text-align: left;
  border: 1px solid rgba(133, 81, 81, 0.671);
  border-radius: 5px;
  backdrop-filter: blur(100px);
}

.wrapper-log a {
  color: #efefef;
  text-decoration: none;
}

.wrapper-log a:hover {
  text-decoration: underline;
}


.wrapper-contents {
	width: 100%;
  max-width: 1000px;
  padding: 30px;
  margin-top: var(--app-content-top);
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - var(--app-content-top) - 16px);
  text-align: left;
  border: 2px solid rgba(0, 0, 0, 0.671);
  border-radius: 12px;
  backdrop-filter: blur(50px);
  background-color: #333;
}

.wrapper-contents a {
  color: #efefef;
  text-decoration: none;
}

.wrapper-contents a:hover {
  text-decoration: underline;
}



.wrapper-setting {
	width: 100%;
	padding: 30px;
	margin: auto;
	margin-top: 90px;
	text-align: left;
	border: 1px solid rgba(0, 0, 0, 0.671);
	border-radius: 5px;
  background-color: rgb(63, 63, 63);
  
}

.wrapper-setting a {
	color: #efefef;
	text-decoration: none;
}

.wrapper-setting a:hover {
	text-decoration: underline;
}

.wrapper-setting.settings-upgrade .input-field {
  border-bottom: 0;
  margin: 14px 0;
}

.wrapper-setting.settings-upgrade .input-field label {
  position: static;
  transform: none;
  color: #d2e7ff;
  font-size: 11px;
  pointer-events: auto;
  margin-bottom: 6px;
  display: block;
}

.wrapper-setting.settings-upgrade .input-field input:focus~label,
.wrapper-setting.settings-upgrade .input-field input:valid~label {
  font-size: 13px;
  top: auto;
  transform: none;
}

.wrapper-setting.settings-upgrade .input-field input:not([type='checkbox']):not([type='radio']):not([type='file']),
.wrapper-setting.settings-upgrade .input-field select,
.wrapper-setting.settings-upgrade .support-text-wrap textarea,
.wrapper-setting.settings-upgrade textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(111, 174, 254, 0.72);
  border-radius: 8px;
  background: rgba(16, 24, 39, 0.74);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12), 0 0 12px rgba(63, 140, 255, 0.22);
  outline: none;
}

.wrapper-setting.settings-upgrade .input-field input:not([type='checkbox']):not([type='radio']):not([type='file']):focus,
.wrapper-setting.settings-upgrade .input-field select:focus,
.wrapper-setting.settings-upgrade .support-text-wrap textarea:focus,
.wrapper-setting.settings-upgrade textarea:focus {
  border-color: rgba(157, 209, 255, 0.98);
  box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.3), 0 0 16px rgba(63, 140, 255, 0.42);
}

.wrapper-setting.settings-upgrade input[type='file'] {
  border: 1px dashed rgba(111, 174, 254, 0.8);
  border-radius: 8px;
  padding: 8px;
  background: rgba(16, 24, 39, 0.62);
  color: #d8eaff;
}

.wrapper-setting.settings-upgrade input[type='file']::file-selector-button {
  border: 1px solid rgba(111, 174, 254, 0.76);
  border-radius: 7px;
  background: rgba(63, 140, 255, 0.28);
  color: #fff;
  padding: 7px 10px;
  margin-right: 10px;
}

.post-upload {
	margin: 16px 0;
	padding: 12px;
	border: 1px solid rgba(111, 174, 254, 0.64);
	border-radius: 10px;
	background: rgba(17, 24, 38, 0.68);
	box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12), 0 0 20px rgba(63, 140, 255, 0.2);
}

.post-create-form-centered {
	width: min(100%, 920px);
	margin: 0 auto;
}

.crop-mode {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 12px;
}

.crop-choice {
	width: 100%;
	padding: 9px 0;
	background: rgba(45, 60, 92, 0.68);
	color: white;
	border: 1px solid rgba(111, 174, 254, 0.58);
	border-radius: 7px;
	cursor: pointer;
}

.crop-choice.active,
.crop-choice:hover {
	background: rgba(63, 140, 255, 0.26);
	border-color: rgba(157, 209, 255, 0.96);
	box-shadow: 0 0 12px rgba(63, 140, 255, 0.45);
	color: #fff;
}

.upload-dropzone {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	min-height: 100px;
	border: 1px dashed rgba(111, 174, 254, 0.72);
	border-radius: 8px;
	background-color: rgba(23, 34, 57, 0.64);
	color: white;
	cursor: pointer;
}

.upload-dropzone:hover {
	border-color: #9fd1ff;
	background-color: rgba(42, 66, 108, 0.54);
	box-shadow: 0 0 14px rgba(63, 140, 255, 0.35);
}

.upload-dropzone.is-hidden {
	display: none;
}

.upload-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(111, 174, 254, 0.72);
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
}

.upload-input {
	display: none;
}

.upload-notice {
	margin-top: 8px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 120, 120, 0.64);
	border-radius: 8px;
	background: rgba(80, 18, 24, 0.48);
	color: #ffd9d9;
	font-size: 12px;
	line-height: 1.35;
}

.upload-editor[hidden] {
	display: none;
}

.upload-editor {
	margin-top: 12px;
	padding: 10px;
	border: 1px solid rgba(111, 174, 254, 0.58);
	border-radius: 10px;
	background: rgba(14, 20, 32, 0.84);
	box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.14);
}

.upload-editor-tools {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}

.upload-filter-preview,
.upload-overlay-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.upload-tool-button {
	padding: 8px 10px;
	background: rgba(37, 52, 82, 0.72);
	color: #fff;
	border: 1px solid rgba(111, 174, 254, 0.55);
	border-radius: 7px;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
}

.upload-tool-button.active,
.upload-tool-button:hover {
	background: rgba(63, 140, 255, 0.28);
	color: #fff;
	border-color: rgba(157, 209, 255, 0.95);
	box-shadow: 0 0 12px rgba(63, 140, 255, 0.36);
}

.upload-text-input {
	flex: 1 1 200px;
	min-width: 170px;
	height: 36px;
	padding: 0 12px;
	background: rgba(17, 25, 42, 0.8);
	color: #fff;
	border: 1px solid rgba(111, 174, 254, 0.56);
	border-radius: 7px;
	outline: none;
}

.upload-text-input:focus,
.upload-emoji-input:focus {
	border-color: #9fd1ff;
	box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.28);
}

.upload-emoji-input {
	flex: 0 0 96px;
	width: 96px;
	height: 36px;
	padding: 0 10px;
	background: rgba(17, 25, 42, 0.8);
	color: #fff;
	border: 1px solid rgba(111, 174, 254, 0.56);
	border-radius: 7px;
	outline: none;
	text-align: center;
	font-size: 16px;
}

.upload-tool-icon {
	width: 36px;
	height: 36px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.upload-filter-preview {
	margin-bottom: 2px;
}

.upload-filter-preview-item,
.upload-filter-variant-item {
	position: relative;
	padding: 0;
	border: 1px solid rgba(111, 174, 254, 0.52);
	border-radius: 8px;
	overflow: hidden;
	background: rgba(12, 18, 30, 0.9);
	cursor: pointer;
}

.upload-filter-preview-item {
	width: 66px;
	height: 66px;
}

.upload-filter-variant-item {
	width: 104px;
	height: 104px;
}

.upload-filter-preview-item img,
.upload-filter-variant-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.upload-filter-preview-item.is-active,
.upload-filter-variant-item.is-active {
	border-color: rgba(157, 209, 255, 0.98);
	box-shadow: 0 0 13px rgba(63, 140, 255, 0.52);
}

.upload-filter-badge {
	position: absolute;
	right: 5px;
	bottom: 5px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	padding: 0 5px;
	background: rgba(10, 16, 28, 0.78);
	border: 1px solid rgba(157, 209, 255, 0.78);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}

.upload-zoom-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 9px;
}

.upload-zoom-row label {
	color: #d3e5ff;
	font-size: 12px;
}

.upload-zoom-row input[type='range'] {
	flex: 1;
	accent-color: #5ea6ff;
}

.upload-filter-variants {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.upload-filter-section {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.upload-filter-section-head {
	color: #d4e7ff;
	font-size: 12px;
	font-weight: 600;
}

.upload-filter-row {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.upload-slider-container {
	position: relative;
	width: 100%;
	padding: 0 44px;
	box-sizing: border-box;
}

.upload-slider-viewport {
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 10px;
	background: rgba(11, 16, 28, 0.92);
}

.upload-preview {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	width: 100%;
	margin-top: 0;
	transition: transform 0.2s ease-in-out;
}

.upload-preview-item {
	aspect-ratio: 1 / 1;
	flex: 0 0 100%;
	width: 100%;
	position: relative;
	background-color: #172034;
	border: 1px solid rgba(111, 174, 254, 0.44);
	border-radius: 10px;
	overflow: hidden;
	cursor: grab;
	touch-action: none;
	box-sizing: border-box;
}

.upload-preview-item.is-dragging {
	cursor: grabbing;
}

.upload-preview-item.is-selected,
.upload-preview-item:focus-visible {
	border-color: rgba(157, 209, 255, 0.98);
	box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.4), 0 0 14px rgba(63, 140, 255, 0.5);
	outline: none;
}

.upload-preview-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
	display: block;
	user-select: none;
	pointer-events: none;
}

.upload-overlay-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.upload-overlay {
	position: absolute;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-shadow: 0 2px 7px rgba(0, 0, 0, 0.75);
	cursor: grab;
	touch-action: none;
	user-select: none;
	pointer-events: auto;
}

.upload-overlay:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.upload-overlay-sticker {
	padding: 0.28em 0.45em;
	background-color: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 0.35em;
}

.upload-overlay-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25em;
	height: 1.25em;
	padding: 0;
	background-color: rgba(0, 0, 0, 0.7);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	font-size: 0.45em;
	line-height: 1;
	cursor: pointer;
}

.upload-overlay-remove:hover {
	background-color: #fff;
	color: #111;
}

.upload-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	color: #fff;
	font-size: 30px;
	border: none;
	cursor: pointer;
	z-index: 10;
	padding: 8px;
	line-height: 1;
}

.upload-slider-btn:hover {
	color: #fff;
	border-color: transparent;
	background: transparent;
}

.upload-slider-btn.prev {
	left: 0;
}

.upload-slider-btn.next {
	right: 0;
}

.upload-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.upload-drag-hint {
	margin-top: 11px;
	color: #d4e7ff;
	font-size: 12px;
}

.upload-thumb-item {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	cursor: grab;
	align-items: center;
}

.upload-thumb-item.is-dragging {
	opacity: 0.45;
}

.upload-thumb-item.is-drop-target .upload-thumb {
	border-color: #fff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.upload-thumb {
	flex: 0 0 112px;
	width: 112px;
	aspect-ratio: 1 / 1;
	padding: 0;
	background-color: #172034;
	border: 1px solid rgba(111, 174, 254, 0.44);
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
}

.upload-thumb.is-selected,
.upload-thumb:hover {
	border-color: rgba(157, 209, 255, 0.96);
	box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.32), 0 0 13px rgba(63, 140, 255, 0.4);
}

.upload-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.upload-thumb-item-add {
	cursor: default;
	margin-top: 15px;
}

.upload-thumb-add {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-style: dashed;
	background: rgba(23, 34, 57, 0.64);
	color: #d7eaff;
}

.upload-thumb-add:hover {
	background: rgba(42, 66, 108, 0.54);
}

.upload-thumb-add-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(111, 174, 254, 0.72);
	font-size: 22px;
	line-height: 1;
}

.upload-thumb-add-text {
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
	padding: 0 6px;
}

.upload-thumb-controls {
	display: flex;
	gap: 3px;
	opacity: 0.65;
	transition: opacity 0.2s ease;
}

.upload-thumb-item:hover .upload-thumb-controls {
	opacity: 1;
}

.upload-drag-handle {
	color: #a8c8f6;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 1px;
	user-select: none;
}

.upload-thumb-action {
	flex: 1 1 auto;
	min-width: 18px;
	padding: 3px 0;
	font-size: 11px;
	line-height: 1;
	border-radius: 4px;
	background: rgba(37, 52, 82, 0.72);
	color: #fff;
	border: 1px solid rgba(111, 174, 254, 0.52);
	cursor: pointer;
}

.upload-thumb-action:hover {
	background: rgba(63, 140, 255, 0.26);
	color: #fff;
	border-color: rgba(157, 209, 255, 0.95);
}

.upload-thumb-action:disabled {
	opacity: 0.45;
	cursor: default;
}

.upload-thumb-action:disabled:hover {
	background: rgba(37, 52, 82, 0.72);
	color: #fff;
	border-color: rgba(111, 174, 254, 0.52);
}

.upload-thumb-remove {
	background-color: #6b3a3a;
	border-color: #8a4d4d;
}

.post-create-text-wrap {
	position: relative;
	margin-top: 14px;
	margin-bottom: 14px;
	padding: 10px 12px;
	border: 1px solid rgba(111, 174, 254, 0.68);
	border-radius: 10px;
	background: rgba(14, 21, 35, 0.82);
	box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12), 0 0 14px rgba(63, 140, 255, 0.24);
}

.post-create-text-wrap:focus-within {
	border-color: rgba(157, 209, 255, 0.98);
	box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.28), 0 0 18px rgba(63, 140, 255, 0.4);
}

.post-create-text-wrap textarea {
	width: 100%;
	min-height: 150px;
	border: 0;
	outline: none;
	resize: vertical;
	background: transparent;
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
}

.post-create-text-wrap textarea::placeholder {
	color: #c0d8f7;
}

.post-mention-suggest {
	position: absolute;
	left: 12px;
	right: 12px;
	top: calc(100% + 6px);
	z-index: 40;
	max-height: 272px;
	overflow-y: auto;
	padding: 6px;
	border: 1px solid rgba(157, 209, 255, 0.5);
	border-radius: 8px;
	background: rgba(10, 16, 28, 0.98);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.post-mention-suggest[hidden] {
	display: none;
}

.post-mention-suggest-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	padding: 7px 8px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: #f7fbff;
	text-align: left;
	cursor: pointer;
}

.post-mention-suggest-item:hover,
.post-mention-suggest-item.is-active {
	background: rgba(63, 140, 255, 0.2);
}

.post-mention-suggest-avatar {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.08);
	background-position: center;
	background-size: cover;
}

.post-hashtag-suggest-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(63, 140, 255, 0.22);
	color: #9ed0ff;
	font-weight: 800;
}

.post-mention-suggest-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.post-mention-suggest-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 700;
}

.post-mention-suggest-meta {
	color: #b8c9dd;
	font-size: 12px;
}

.post-mention-link {
	color: #8fc7ff;
	font-weight: 700;
	text-decoration: none;
}

.post-hashtag-link {
	color: #86e0bd;
	font-weight: 700;
	text-decoration: none;
}

.post-mention-link:hover,
.post-hashtag-link:hover {
	text-decoration: underline;
}

.feed-post-shell {
	display: flow-root;
}

.post-feed-loader {
	padding: 18px;
	text-align: center;
	color: #fff;
}

.post-feed-spacer {
	width: 100%;
}








/* ========================================= ========================================= 
   ========================================= ========================================= 

   POST

========================================= ========================================= 
========================================= ========================================= */

.post_main {
  width: 100%;
  min-width: 0;
  margin: auto ;
  margin-bottom: 20px;
  padding: 20px;
  text-align: left;
  border: 1px solid rgba(65, 65, 65, 0.521);
  border-radius: 5px;
  overflow-wrap: break-word;
}

.post-empty-card {
  border: 1px solid rgba(111, 174, 254, 0.72);
  background: rgba(25, 44, 79, 0.45);
  box-shadow: 0 0 12px rgba(63, 140, 255, 0.28);
  color: #dce7f7;
  font-size: 15px;
}

.feed-post-shell > .post_main,
.post-view-highlight > .post_main:first-child {
  background: rgba(39, 84, 158, 0.34);
  border: 1px solid rgba(111, 174, 254, 0.88);
  box-shadow: 0 0 14px rgba(63, 140, 255, 0.34);
}

.post-view-highlight {
  min-height: max(360px, calc(100vh - var(--app-content-top) - 76px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-view-highlight > .post_main:first-child {
  margin-top: 0;
}

.post-comment-top-actions {
  width: 100%;
  margin: 0 0 10px;
}

.post-comment-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(111, 174, 254, 0.54);
  border-radius: 7px;
  background: rgba(16, 24, 36, 0.78);
  color: #e9f3ff;
  font-weight: 700;
  text-decoration: none;
}

.post-comment-back-btn:hover {
  text-decoration: none;
  background: rgba(63, 140, 255, 0.28);
}

.feed-post-shell > .post_main:hover,
.post-view-highlight > .post_main:first-child:hover {
  border-color: rgba(141, 195, 255, 0.96);
  box-shadow: 0 0 18px rgba(95, 173, 255, 0.45);
}

.post-setting-main {
  border: 1px solid rgba(111, 174, 254, 0.88);
  background: rgba(39, 84, 158, 0.34);
  box-shadow: 0 0 14px rgba(63, 140, 255, 0.34);
  color: #fff;
}

.post-setting-main h2 {
  margin: 0 0 18px;
  color: #fff;
}

.post-setting-main .post-profile {
  color: #fff;
}

.post-setting-main .post_profile_picture {
  border: 1px solid rgba(111, 174, 254, 0.9);
  box-shadow: 0 0 12px rgba(63, 140, 255, 0.32);
  background-color: rgba(8, 18, 31, 0.86);
}

.post-setting-main hr {
  height: 1px;
  border: 0;
  background: rgba(111, 174, 254, 0.48);
  margin: 20px 0;
}

.post-setting-main .slider-container {
  max-width: 390px;
  margin: 0 auto;
  padding: 0 42px;
}

.post-setting-main .slider-container.post-setting-media-ratio-square {
  max-width: 304px;
}

.post-setting-main .slider-container.post-setting-media-ratio-portrait {
  max-width: 252px;
}

.post-setting-main .slider-container.post-setting-media-ratio-landscape {
  max-width: 390px;
}

.post-setting-main .slider-viewport {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(111, 174, 254, 0.68);
  border-radius: 10px;
  background: rgba(8, 18, 31, 0.7);
  box-shadow: 0 0 12px rgba(63, 140, 255, 0.22);
}

.post-setting-main .slider-container.post-setting-media-ratio-square .slider-viewport {
  aspect-ratio: 1 / 1;
}

.post-setting-main .slider-container.post-setting-media-ratio-portrait .slider-viewport {
  aspect-ratio: 3 / 4;
}

.post-setting-main .slider-container.post-setting-media-ratio-landscape .slider-viewport {
  aspect-ratio: 4 / 3;
}

.post-setting-main .post_galerie {
  height: 100%;
}

.post-setting-main .post_picture {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  background: rgba(8, 18, 31, 0.86);
}

.post-setting-main .post-setting-media-grid {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  justify-content: stretch;
  gap: 8px;
}

.post-setting-main .post-setting-media-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(111, 174, 254, 0.68);
  border-radius: 10px;
  background: rgba(8, 18, 31, 0.72);
  box-shadow: 0 0 12px rgba(63, 140, 255, 0.22);
}

.post-setting-main .post-setting-media-thumb.post-setting-media-ratio-portrait {
  aspect-ratio: 3 / 4;
}

.post-setting-main .post-setting-media-thumb.post-setting-media-ratio-landscape {
  aspect-ratio: 4 / 3;
}

.post-setting-media-remove-card {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
}

.post-setting-main .post-setting-media-remove-card .post-setting-media-thumb {
  margin: 0;
}

.post-setting-remove-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.post-setting-remove-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(8, 18, 31, 0.78);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.38);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  z-index: 2;
}

.post-setting-remove-button:hover,
.post-setting-remove-button:focus-visible {
  background: rgba(180, 48, 58, 0.9);
  border-color: rgba(255, 160, 160, 0.76);
  color: #fff4f4;
  transform: scale(1.04);
}

.post-setting-media-remove-card.is-remove-pending .post-setting-media-thumb {
  opacity: 0.36;
  filter: grayscale(1);
  cursor: pointer;
}

.post-setting-media-remove-card.is-remove-pending .post-setting-remove-button {
  display: none;
}

.post-setting-main .slider-btn {
  width: 34px;
  height: 34px;
  font-size: 20px;
}

.post-setting-note {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(111, 174, 254, 0.58);
  border-radius: 8px;
  background: rgba(16, 24, 39, 0.56);
  color: #d8eaff;
}

.post-setting-main .input-field {
  margin: 16px 0;
  border-bottom: 0;
}

.post-setting-main textarea {
  width: 100%;
  min-height: calc(2.9em + 24px);
  padding: 12px;
  border: 1px solid rgba(111, 174, 254, 0.72);
  border-radius: 10px;
  background: rgba(16, 24, 39, 0.78);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12), 0 0 14px rgba(63, 140, 255, 0.24);
  outline: none;
  resize: none;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  box-sizing: border-box;
}

.post-setting-main textarea:focus {
  border-color: rgba(157, 209, 255, 0.98);
  box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.28), 0 0 18px rgba(63, 140, 255, 0.4);
}

.post-setting-main button[type='submit'] {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(62, 137, 240, 0.95);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(37, 128, 245, 0.96), rgba(27, 104, 207, 0.96));
  color: #fff;
  box-shadow: 0 0 14px rgba(63, 140, 255, 0.24);
}

.post-setting-main button[type='submit']:hover {
  border-color: rgba(157, 209, 255, 0.98);
  background: linear-gradient(145deg, rgba(53, 146, 255, 0.98), rgba(31, 116, 224, 0.98));
  color: #fff;
  box-shadow: 0 0 18px rgba(95, 173, 255, 0.42);
}

.post_main a, 
.post_main a:hover {
    text-decoration: none;
    color: white;
}

.post_galerie img {
    box-sizing: border-box;
    object-fit: cover;
}

.post_text_home_picture {
    display: flex;        
    flex-wrap: wrap;
    gap: 0px;              
	margin: 15px;
	display: -webkit-box;
    -webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
    overflow: hidden;
    color: white;
}

.post_text_home_text {
    display: flex;        
    flex-wrap: wrap;
    gap: 0px;              
	margin: 15px;
	display: -webkit-box;
    -webkit-box-orient: vertical;
	-webkit-line-clamp: 10;
    overflow: hidden;
    color: white;
}

.post_text_full {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.post_text_post {
    display: flex;        
    flex-wrap: wrap;
    gap: 0px;              
	margin: 5px;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
	color: white;
}

.post_galerie {
    display: flex;   
	
	flex-wrap: nowrap; 
    margin: 0;
    padding: 0;
    gap: 0;
    transition: transform 0.2s ease-in-out;
	touch-action: pan-y;
}

.post_picture {
    min-width: 100%;
	min-height: 100%;
	max-width: 100%;
	max-height: 100%;
    object-fit: cover;
    display: block;
}


.post_main hr {
  	font-size: 2rem;
  	color: grey;
  	margin-top: 20px;
  	margin-bottom: 20px;
}

.post_profile_picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover; 
    display: flex;
}

.post-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.post-author-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.post-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.post-head .post-option-box {
	margin-left: auto;
}

.post-head-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.post-follow-form {
	margin: 0;
}

.post-follow-button {
	padding: 8px 12px;
	border-radius: 5px;
	border: 1px solid #666;
	background: #4c4c4c;
	color: #fff;
	font-size: 13px;
}

.post-follow-button.is-pending {
	opacity: 0.85;
}

.post-follow-button.is-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border: 0;
	background: transparent;
	color: #fff;
	line-height: 0;
	cursor: pointer;
}

.post-follow-button.is-icon:hover {
	color: #3f8cff;
	background: transparent;
}

.profile-share-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border: 0;
	background: transparent;
	color: #fff;
	line-height: 0;
	cursor: pointer;
}

.profile-share-trigger:hover {
	color: #3f8cff;
	background: transparent;
}

.profile-private-note {
	padding: 14px;
	margin-top: 14px;
	border: 1px solid #5a5a5a;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.2);
	color: #fff;
}

.post-save-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	margin: 0;
	background: transparent;
	border: 0;
	color: white;
	line-height: 0;
	cursor: pointer;
}

.post-save-button:hover {
	color: green;
	border: 0;
	background: transparent;
}

.post-save-button.is-saved {
	color: #3f8cff;
}

.post-save-button.is-saved:hover {
	color: #6aa5ff;
}

.post-share-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	margin: 0;
	background: transparent;
	border: 0;
	color: white;
	line-height: 0;
	cursor: pointer;
	font: inherit;
}

.post-share-button:hover {
	color: green;
	border: 0;
	background: transparent;
}

.post-save-form {
    margin: 0;
}

.post-repost-form {
    margin: 0;
}

.post-repost-button.is-reposted {
    color: #3f8cff;
}

.post-repost-button.is-reposted:hover {
    color: #6aa5ff;
}

.post-collab-picker {
    width: 100%;
    display: grid;
    gap: 8px;
    margin: 12px 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.post-collab-head {
    font-size: 13px;
    font-weight: 700;
    color: #d7e9ff;
}

.post-collab-search-wrap {
    position: relative;
}

.post-collab-search-input {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(111, 174, 254, 0.68);
    border-radius: 8px;
    padding: 0 12px;
    background: rgba(16, 24, 39, 0.74);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12), 0 0 14px rgba(63, 140, 255, 0.24);
    outline: none;
}

.post-collab-search-input::placeholder {
    color: #c0d8f7;
}

.post-collab-search-input:focus {
    border-color: rgba(157, 209, 255, 0.98);
    box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.28), 0 0 18px rgba(63, 140, 255, 0.4);
}

.post-collab-suggest {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    display: grid;
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(111, 174, 254, 0.62);
    border-radius: 8px;
    background: rgba(16, 24, 39, 0.96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 16px rgba(63, 140, 255, 0.2);
}

.post-collab-suggest[hidden] {
    display: none;
}

.post-collab-suggest-item,
.post-collab-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-collab-suggest-item {
    width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 7px;
    background: transparent;
    color: #eaf4ff;
    text-align: left;
    cursor: pointer;
}

.post-collab-suggest-item:hover {
    background: rgba(63, 140, 255, 0.2);
}

.post-collab-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.post-collab-selected:empty {
    display: none;
}

.post-collab-chip {
    min-height: 32px;
    border: 1px solid rgba(111, 174, 254, 0.68);
    border-radius: 999px;
    padding: 3px 6px 3px 4px;
    background: rgba(16, 24, 39, 0.74);
    box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12), 0 0 14px rgba(63, 140, 255, 0.24);
}

.post-collab-avatar {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: rgba(111, 174, 254, 0.28);
}

.post-collab-name {
    font-size: 13px;
    color: #eaf4ff;
}

.post-collab-remove {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(63, 140, 255, 0.14);
    color: #d7e9ff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.post-collab-remove:hover {
    background: rgba(63, 140, 255, 0.34);
    color: #fff;
}

#post_submit_btn {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(62, 137, 240, 0.95);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(37, 128, 245, 0.96), rgba(27, 104, 207, 0.96));
    color: #fff;
    box-shadow: 0 0 12px rgba(63, 140, 255, 0.24);
}

#post_submit_btn:hover {
    border-color: rgba(157, 209, 255, 0.98);
    background: linear-gradient(145deg, rgba(53, 146, 255, 0.98), rgba(31, 116, 224, 0.98));
    color: #fff;
    box-shadow: 0 0 16px rgba(95, 173, 255, 0.4);
}

.post-collab-author-stack {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-left: 0;
}

.post-collab-author-stack::before {
    content: "";
    width: 1px;
    height: 34px;
    margin: 0 12px 0 0;
    background: rgba(157, 209, 255, 0.58);
}

.post-collab-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    overflow: hidden;
    margin-left: -10px;
    background: #e2e8f0;
    box-shadow: none;
}

.post-collab-author-stack .post-collab-author-avatar:first-child {
    margin-left: 0;
}

.post-collab-author-avatar span {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.post_feet {
	font-size: 20px;
	color: white;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.post_feet a {
	padding: 12px;
}

.post_feet a:hover {
	color:green;
}

.post-reaction-form {
	margin: 0;
	display: inline-flex;
}

.post-reaction-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: inherit;
}

.post-reaction-button:hover {
	color: green;
}

.post-reaction-button.is-liked {
	color: #3f8cff;
}

.post-reaction-button.is-liked:hover {
	color: #6aa5ff;
}

.post-option-box {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.post-option-trigger {
	padding: 12px;
	background: transparent;
	border: 0;
	color: white;
	cursor: pointer;
	line-height: 0;
	font: inherit;
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
	outline: none;
}

.post-option-trigger:hover,
.post-option-box:focus-within .post-option-trigger {
	color: green;
}

.post-option-trigger svg {
	display: block;
}

.post-option-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 38px;
	min-width: 150px;
	background-color: #444;
	border: 1px solid #555;
	border-radius: 5px;
	box-shadow: 0 8px 16px rgba(0,0,0,0.4);
	z-index: 1000;
	overflow: hidden;
}

.post-option-box:hover .post-option-menu,
.post-option-box:focus-within .post-option-menu {
	display: block;
}

.post-option-menu a,
.post-option-menu button {
	display: block;
	width: 100%;
	padding: 10px 14px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #555;
	color: white;
	font: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

.post-option-menu form {
	margin: 0;
}

.post-option-menu a:last-child,
.post-option-menu form:last-child button {
	border-bottom: 0;
}

.post-option-menu a:hover,
.post-option-menu button:hover {
	background-color: #666;
	color: white;
}

.post-actions-bottom {
	width: 100%;
	gap: 8px;
}

.post-actions-bottom .post-option-box,
.post-actions-bottom .post-save-form,
.post-actions-bottom .post-reaction-form,
.post-actions-bottom .post-share-button {
	flex: 0 0 auto;
}

.post-actions-bottom .post-option-trigger,
.post-actions-bottom .post-save-button,
.post-actions-bottom .post-reaction-button,
.post-actions-bottom .post-share-button,
.post-actions-bottom > a.post_feet {
	min-width: 44px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 12px;
	line-height: 1;
}

.post-actions-bottom .post-option-menu {
	left: 0;
	right: auto;
}

.post-actions-bottom .post-option-trigger:hover,
.post-actions-bottom .post-option-box:focus-within .post-option-trigger,
.post-actions-bottom .post-save-button:hover,
.post-actions-bottom .post-reaction-button:hover,
.post-actions-bottom .post-share-button:hover,
.post-actions-bottom > a.post_feet:hover {
	color: #3f8cff;
	background: transparent;
}

.post_link {
    display: block;
    text-decoration: none;
    color: white;
}

.two_comment {
	margin-left: 40px;
}

.post_profile_picture_comment {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-size: cover; 
    display: flex;
}

.profile_picture_setting {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover; 
    display: flex;
	margin-bottom: 20px;
}

.profile-editor-card {
  position: relative;
}

.profile-editor-toggle-btn,
.profile-editor-settings-btn {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.profile-editor-toggle-btn {
  right: 12px;
}

.profile-editor-settings-btn {
  right: 58px;
}

.profile-editor-toggle-btn:hover,
.profile-editor-settings-btn:hover {
  background: rgba(63, 140, 255, 0.28);
  color: #fff;
  text-decoration: none;
}

.profile-editor-toggle-btn svg,
.profile-editor-settings-btn svg {
  pointer-events: none;
}



.slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto; 
    padding: 0 60px;
    box-sizing: border-box;
    touch-action: pan-y;
}	

.slider-container.slider-container-single {
    padding: 0;
}

.slider-viewport {
    width: 100%;
    overflow: hidden; 
    border-radius: 8px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #333;
    font-size: 30px;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
}

.slider-btn.prev { left: 0px; }
.slider-btn.next { right: 0px; }

.post-image-counter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.58);
	color: #fff;
	font-size: 12px;
	line-height: 1;
	text-align: center;
}

.post-image-counter-row {
	display: flex;
	justify-content: center;
	margin-top: 8px;
	margin-left: 0;
}











   .fixed-navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background-color: #333;
	display: flex;
	justify-content: space-between; 
	align-items: center;
	padding: 0 20px;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }

	  .nav-left, .nav-center, .nav-right {
		display: flex;
		align-items: center;
		height: 100%; 
		min-width: 0;
	  }
	  
	  .nav-left {
		flex: 0 0 auto; 
		gap: 5px; /* Die linken Buttons dicht zusammen */
	  }
	  
	  .nav-center {
		flex: 1 1 auto; 
		justify-content: center;
		gap: 8px; /* Mitte bleibt gleich */
	  }
	  
	  .nav-right {
		flex: 0 0 auto;
		justify-content: flex-end; 
		gap: 8px; /* Rechts bleibt gleich */
	  }
  
  .fixed-navbar a {
	text-decoration: none;
	color: white;
	transition: background-color 0.3s ease;
  }
  
  /* =========================================
	 LINKES ICON (Home)
	 ========================================= */
  .icon-btn-left {
	font-size: 28px; 
	padding: 8px 12px;
	border-radius: 5px;
	display: inline-block;
  position: relative;
  }

  .icon-btn-chat-left {
    margin-right: 16px;
  }

  .chat-notif-dot {
    position: absolute;
    top: 6px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #3f8cff;
    box-shadow: 0 0 0 2px #333, 0 0 8px rgba(63, 140, 255, 0.7);
  }
  
  .icon-btn-left:hover {
	background-color: #555;
  }

  .icon-btn-left.nav-link-active,
  .nav-box.nav-link-active {
    background-color: #4b4b4b;
    color: #9fd1ff;
    box-shadow: inset 0 -3px 0 #3f8cff;
  }
  
  /* =========================================
	 FREISTEHENDE BUTTONS (Mitte & Rechts)
	 ========================================= */
  .nav-box-container {
	height: 100%;
	position: relative; 
	display: flex;
	align-items: center;
  }
  
  /* Das Aussehen der eigentlichen Buttons */
	  .nav-box {
		width: auto;
		min-width: 112px;
		max-width: 160px;
		padding: 10px 14px; /* Erzeugt die Höhe (kein height: 100% mehr) */
		background-color: transparent; /* Verschmilzt mit der Leiste (#333) */
		border: none; /* Keine Linien mehr */
		border-radius: 5px; /* Abgerundete Ecken - exakt wie der Home-Button! */
		height: 70%;
		display: flex;
		align-items: center;
		justify-content: center;
		white-space: nowrap;
		
		font-size: 16px; 
	  }

	  .nav-center .nav-box {
		flex: 1 1 112px;
	  }
	  
	  /* Macht die Piktogramme in den rechten Boxen schÃ¶n groÃŸ */
	  .nav-right .nav-box {
		width: 56px;
		min-width: 56px;
		max-width: 56px;
		padding: 10px 0;
		font-size: 28px; 
	  }

	  .nav-icon-box {
		width: 56px;
		min-width: 56px;
		max-width: 56px;
		padding: 10px 0;
		font-size: 28px;
	  }
  
  .nav-box:hover {
	background-color: #555; /* Exakt der Hover-Effekt vom Home-Button */
  }

  .nav-bell-box {
    position: relative;
  }

  .notif-dot {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #3f8cff;
    box-shadow: 0 0 0 2px #333;
  }
  
  /* =========================================
	 DIE DROPDOWN-MENÃœS (Rechts)
	 ========================================= */
	  .dropdown-content {
		display: none; 
		position: absolute;
		top: 70px; 
		right: 0; 
		width: max-content;
		min-width: 180px;
		max-width: min(280px, calc(100vw - 24px));
		background-color: #444;
		box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
		border-radius: 0 0 5px 5px; 
		z-index: 1001;
	  }
  
  /* Die unsichtbare BrÃ¼cke fÃ¼r das Hovern */
  .dropdown::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 15px; 
  }
  
  .dropdown-content a {
	padding: 15px 20px;
	display: block;
	border-bottom: 1px solid #555;
	font-size: 16px; 
	text-align: left;
  }
  
  .dropdown-content a:last-child {
	border-bottom: none;
  }
  
  .dropdown-content a:hover {
	background-color: #666;
  }

	  .notif-dropdown {
	    width: 280px;
	    min-width: 280px;
	    max-height: 360px;
	    overflow-y: auto;
	  }

	  @media (max-width: 900px) {
		.fixed-navbar {
		  padding: 0 10px;
		}

		.nav-left,
		.nav-right {
		  gap: 4px;
		}

		.nav-center {
		  gap: 4px;
		}

		.icon-btn-left {
		  padding: 8px 9px;
		}

		.icon-btn-chat-left {
		  margin-right: 6px;
		}

		.nav-center .nav-box {
		  min-width: 84px;
		  padding: 10px 8px;
		  font-size: 14px;
		}

		.nav-right .nav-box,
		.nav-icon-box {
		  width: 48px;
		  min-width: 48px;
		  max-width: 48px;
		}
	  }

  .notif-request-summary {
    padding: 12px 14px;
    color: #fff;
    border-bottom: 1px solid #555;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .notif-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
  }

  .notif-summary-item svg {
    color: #fff;
    opacity: 0.95;
  }

  .notif-summary-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
  }

  .notif-summary-link:hover {
    text-decoration: none;
    color: #cfe5ff;
  }

  .notif-summary-count {
    font-size: 15px;
    line-height: 1;
    min-width: 1ch;
  }

  .notif-post-summary {
    display: block;
  }

  .notif-post-summary-link {
    display: block;
    text-decoration: none;
  }

  .notif-post-summary-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }

  .notif-post-summary-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
  }

  .notif-post-preview-image,
  .notif-post-preview-text {
    width: 58px;
    min-width: 58px;
    height: 58px;
    border-radius: 6px;
    border: 1px solid #5a5a5a;
  }

  .notif-post-preview-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2d2d2d;
  }

  .notif-post-preview-text {
    padding: 6px;
    font-size: 11px;
    line-height: 1.25;
    color: #fff;
    background: #2d2d2d;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: pre-line;
  }

  .notif-post-preview-text-inline {
    color: #fff;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .notif-post-divider {
    margin: 0 0 10px;
    border: 0;
    border-top: 1px solid #555;
  }

  .notif-dropdown > a {
    font-size: 16px;
  }

  .notif-request-item {
    padding: 12px 14px;
    border-bottom: 1px solid #555;
    position: relative;
  }

  .notif-request-item > a {
    display: inline-block;
    margin-bottom: 10px;
    padding: 0;
    border-bottom: 0;
  }

.notif-request-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-items: center;
}

.notif-request-actions form {
    margin: 0;
}

.follower-remove-button {
    color: #ffb0b0;
}

.follower-remove-button:hover {
    color: #ff8f8f;
}

  .notif-request-actions button {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #666;
    background: #555;
    color: #fff;
  }

  .notif-request-actions button:hover {
    background: #666;
  }

.notif-request-card {
    position: relative;
    padding-right: 42px;
    background: rgba(39, 84, 158, 0.34);
    border: 1px solid rgba(111, 174, 254, 0.88);
    box-shadow: 0 0 14px rgba(63, 140, 255, 0.34);
}

#js-notification-list > .post_main {
    background: rgba(39, 84, 158, 0.34);
    border: 1px solid rgba(111, 174, 254, 0.88);
    box-shadow: 0 0 14px rgba(63, 140, 255, 0.34);
}

#js-notification-list > .post_main:hover {
    border-color: rgba(141, 195, 255, 0.96);
    box-shadow: 0 0 18px rgba(95, 173, 255, 0.45);
}

  .notif-request-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .notif-request-name {
    color: #fff;
    font-weight: 400;
  }

  .notif-request-name strong {
    color: #fff;
    font-weight: 400;
  }

  .notif-request-text {
    color: #fff;
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-weight: 400;
  }

  .notif-btn-accept-white {
    padding: 7px 10px;
    border-radius: 4px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #111;
    font-size: 13px;
  }

  .notif-btn-accept-white:hover {
    background: #efefef;
    color: #000;
  }

  .notif-request-close-form {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    z-index: 2;
  }

  .notif-request-close {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #111;
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
  }

  .notif-request-close:hover {
    background: #efefef;
    color: #000;
  }

  .notif-btn-accept {
    background: rgba(39, 104, 63, 0.32);
    border: 1px solid #2f7a4a;
    color: #8ef0ac;
  }

  .notif-btn-accept:hover {
    background: rgba(49, 130, 78, 0.45);
    color: #c8ffd8;
    border-color: #49ab6a;
  }

  .notif-btn-decline {
    background: rgba(120, 42, 42, 0.3);
    border: 1px solid #8d3a3a;
    color: #ff9d9d;
  }

  .notif-btn-decline:hover {
    background: rgba(150, 52, 52, 0.45);
    color: #ffd0d0;
    border-color: #b44a4a;
  }

.liked-row-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.liked-row-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0;
  border-bottom: 0;
}

.liked-row-media {
  width: 64px;
  min-width: 64px;
  height: 64px;
  border-radius: 6px;
  border: 1px solid #5a5a5a;
  background-color: #2d2d2d;
  overflow: hidden;
}

.liked-row-media-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.liked-row-media-text {
  padding: 7px;
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  white-space: pre-line;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.liked-row-media-text-plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  width: auto;
  height: auto;
  color: #dbe7ff;
}

.liked-row-meta {
  min-width: 0;
}

.liked-row-user {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.liked-row-text {
  color: #d4d4d4;
  font-size: 13px;
  line-height: 1.3;
  white-space: pre-line;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.liked-row-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.liked-row-actions form {
  margin: 0;
}

.liked-row-actions .post_reaction_count {
  font-size: 13px;
  color: #fff;
}

.liked-row-actions .post-option-trigger {
  width: 36px;
  height: 36px;
}

  /* Einblenden beim Hovern */
  .dropdown:hover .dropdown-content {
	display: block;
  }





  /* Container, um zwei Buttons nebeneinander zu setzen */
.btn-group {
  display: flex;
  gap: 10px;       /* Abstand zwischen den Buttons */
  margin-top: 10px; /* Abstand zum Anmelden-Button darÃ¼ber */
}

/* Die grauen Buttons */
.btn-gray {
  flex: 1;          /* Beide Buttons werden exakt gleich breit */
  background-color: #888888; /* Graue Farbe (mit, falls nÃ¶tig) */
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 5px; /* Etwas kompakteres Padding fÃ¼r die Breite */
  font-size: 14px;   /* Etwas kleinere Schrift, damit 'Passwort vergessen' sicher reinpasst */
  transition: background-color 0.3s ease;
}

.btn-gray:hover {
  background-color: #666666;
}

/* Falls dein Haupt-Button eine feste Breite hat, stelle sicher, 
   dass die Gruppe die volle Breite des Formulars nutzt */
.btn-group button {
  white-space: nowrap; /* Verhindert, dass der Text umbricht */
}

.is-hidden {
  display: none !important;
}

.nav-support-box {
  width: 72px;
  position: relative;
  color: #fff;
}

.nav-support-box svg {
  display: block;
}

.support-count-badge {
  position: absolute;
  top: 8px;
  right: 16px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #3f8cff;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  padding: 0 5px;
  box-shadow: 0 0 0 2px #333;
}

.comment-send-form .comment-input-field {
  padding-right: 44px;
}

.comment-send-form .comment-send-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.comment-send-form .comment-send-btn:hover {
  color: #3f8cff;
}

.comment-input-field {
  padding-right: 44px;
}

.comment-send-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.comment-send-btn svg {
  display: block;
}







.slider-container {
    position: relative;
    width: 100%; /* Passt sich deinem Post an */
    max-width: 600px;
    overflow: hidden; /* VERSTECKT alles, was Ã¼ber den Rand hinausragt */
    border-radius: 8px;
    touch-action: pan-y;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.2s ease-in-out; /* Sorgt fÃ¼r das weiche, flÃ¼ssige Wischen */
}

.slide {
    min-width: 100%; /* Jedes Bild nimmt exakt 100% des sichtbaren Bereichs ein */
    object-fit: cover; 
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); /* Halbtransparentes Schwarz */
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 18px;
    z-index: 10;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* ==============================
   Legal page (Datenschutz)
============================== */

/* ==============================
   Chat shell (Desktop)
============================== */
body {
  --desktop-chat-width: 850px;
  --desktop-chat-side-pad: 16px;
  --desktop-chat-gap: 24px;
  --desktop-chat-right-pad: 16px;
  --desktop-chat-bottom-pad: 16px;
  --desktop-chat-open-width: calc(50vw - var(--desktop-chat-side-pad));
  --desktop-chat-effective-width: min(var(--desktop-chat-width), calc(100vw - (var(--desktop-chat-side-pad) * 2)));
  --desktop-chat-main-open-max: calc(100vw - var(--desktop-chat-side-pad) - var(--desktop-chat-right-pad) - var(--desktop-chat-gap) - var(--desktop-chat-effective-width));
  --desktop-chat-shell-duration: 0.30s;
  --desktop-chat-shell-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --desktop-chat-content-duration: 0.30s;
  --desktop-chat-content-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition: padding-left var(--desktop-chat-content-duration) var(--desktop-chat-content-ease),
              padding-right var(--desktop-chat-content-duration) var(--desktop-chat-content-ease);
}

.desktop-chat-shell {
  position: fixed;
  top: var(--app-content-top);
  left: var(--desktop-chat-side-pad);
  bottom: var(--desktop-chat-bottom-pad);
  width: var(--desktop-chat-effective-width);
  z-index: 930;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(-100% - 20px));
  will-change: transform, width, opacity;
  transition: transform var(--desktop-chat-shell-duration) var(--desktop-chat-shell-ease),
              width var(--desktop-chat-shell-duration) var(--desktop-chat-shell-ease),
              opacity 0.16s ease,
              visibility 0s linear var(--desktop-chat-shell-duration);
  overscroll-behavior: contain;
}

.desktop-chat-box {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.671);
  background: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.desktop-chat-head {
  padding: 14px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.desktop-chat-body {
  flex: 1;
  padding: 18px;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

.desktop-chat-split {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: clamp(260px, 36%, 340px) minmax(0, 1fr);
  gap: 10px;
  overscroll-behavior: contain;
}

.desktop-chat-left-column {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: none;
}

.desktop-chat-left-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.desktop-chat-left-column:not(.is-searching):not(.is-actioning) .desktop-chat-left-footer {
  gap: 0;
}

.desktop-chat-left-column:not(.is-searching):not(.is-actioning) .desktop-chat-left-search-wrap {
  min-height: 46px;
  max-height: 46px;
}

.desktop-chat-left-column:not(.is-searching):not(.is-actioning) .desktop-chat-left-search {
  min-height: 0;
  height: 100%;
}

.desktop-chat-left-top-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.desktop-chat-top-action {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(78, 126, 174, 0.5);
  background: #101a26;
  color: #d2e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.desktop-chat-top-action:hover {
  border-color: rgba(111, 174, 254, 0.72);
  color: #e6f2ff;
  background: #132033;
}

.desktop-chat-top-action.is-active {
  border-color: rgba(63, 140, 255, 0.88);
  background: #132033;
  color: #9fd1ff;
  box-shadow: inset 0 -3px 0 #3f8cff;
}

.desktop-chat-minecraft-tab {
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.desktop-chat-minecraft-menu-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.desktop-chat-minecraft-menu-wrap .desktop-chat-top-action {
  height: 100%;
}

.desktop-chat-minecraft-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(78, 126, 174, 0.62);
  background: #101a26;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.desktop-chat-minecraft-menu[hidden] {
  display: none;
}

.desktop-chat-minecraft-menu-item {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #d2e8ff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.desktop-chat-minecraft-menu-item:hover,
.desktop-chat-minecraft-menu-item:focus-visible {
  outline: none;
  background: rgba(72, 174, 255, 0.13);
  color: #f4f9ff;
}

.desktop-chat-minecraft-auth-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.desktop-chat-minecraft-auth-title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.desktop-chat-minecraft-summary {
  display: grid;
  gap: 7px;
}

.desktop-chat-minecraft-summary-row,
.desktop-chat-minecraft-code-box {
  border: 1px solid rgba(80, 120, 184, 0.6);
  border-radius: 8px;
  background: rgba(18, 26, 39, 0.68);
  padding: 8px 9px;
  min-width: 0;
}

.desktop-chat-minecraft-summary-row span,
.desktop-chat-minecraft-code-box span,
.desktop-chat-minecraft-code-box small {
  display: block;
  color: #9fb8d9;
  font-size: 12px;
}

.desktop-chat-minecraft-summary-row strong,
.desktop-chat-minecraft-code-box strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.desktop-chat-minecraft-code-box strong {
  font-size: 24px;
  letter-spacing: 0.08em;
}

.desktop-chat-minecraft-code-box small {
  margin-top: 4px;
  line-height: 1.35;
}

.desktop-chat-minecraft-form {
  display: grid;
  gap: 8px;
}

.desktop-chat-minecraft-form input {
  width: 100%;
  min-height: 38px;
  border-radius: 7px;
  border: 1px solid rgba(80, 120, 184, 0.76);
  background: rgba(12, 18, 28, 0.82);
  color: #fff;
  padding: 8px 10px;
  outline: none;
}

.desktop-chat-minecraft-form input:focus {
  border-color: #6faefe;
  box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.25);
}

.desktop-chat-minecraft-button {
  min-height: 38px;
  border: 1px solid #5e9fff;
  border-radius: 7px;
  background: rgba(63, 140, 255, 0.22);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.desktop-chat-minecraft-button:hover,
.desktop-chat-minecraft-button:focus-visible {
  outline: none;
  background: rgba(63, 140, 255, 0.34);
}

.desktop-chat-minecraft-message {
  color: #cfe2ff;
  font-size: 12px;
  line-height: 1.35;
  border-left: 3px solid #6faefe;
  padding: 6px 8px;
  background: rgba(63, 140, 255, 0.12);
  border-radius: 5px;
}

.desktop-chat-left-search-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
  border-radius: 10px;
  border: 1px solid rgba(72, 174, 255, 0.58);
  background: #18222e;
  padding: 0 10px;
}

.desktop-chat-search-title {
  display: none;
  color: #f1f8ff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 2px 2px 0;
}

.desktop-chat-search-title::after {
  content: '';
  display: block;
  width: 100%;
  border-top: 1px solid rgba(111, 174, 254, 0.42);
  margin: 2px 0 0;
}

.desktop-chat-left-search {
  width: 100%;
  min-height: 46px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #f3f9ff;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 46px;
  text-align: left;
}

.desktop-chat-left-search::placeholder {
  color: rgba(214, 230, 250, 0.78);
  text-align: left;
}

.desktop-chat-action-back {
  display: none;
  width: 100%;
  min-height: 46px;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid rgba(111, 174, 254, 0.54);
  border-radius: 9px;
  background: #162336;
  color: #d9ebff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  gap: 7px;
  padding: 0 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.desktop-chat-action-back:hover {
  border-color: rgba(157, 209, 255, 0.96);
  background: rgba(33, 52, 78, 0.86);
  color: #fff;
}

.desktop-chat-search-preview {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: max-height 0.24s ease, opacity 0.18s ease, margin 0.24s ease, padding 0.24s ease, border-color 0.2s ease;
}

.desktop-chat-left-column.is-searching .desktop-chat-search-preview {
  margin-top: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.4);
  padding-top: 8px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
}

.desktop-chat-search-preview {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.desktop-chat-search-preview::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.desktop-chat-left-column.is-searching .desktop-chat-left-search-wrap {
  flex: 1 1 auto;
  gap: 8px;
  padding-top: 8px;
}

.desktop-chat-left-column.is-searching .desktop-chat-search-title {
  display: block;
}

.desktop-chat-left-column.is-searching .desktop-chat-left-search {
  height: 46px;
  min-height: 46px;
  line-height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  margin: 0;
  transform: translateY(3px);
}

.desktop-chat-left-column.is-searching .desktop-chat-left-search::placeholder {
  line-height: 46px;
}

.desktop-chat-search-item {
  border: 1px solid rgba(124, 181, 235, 0.34);
  border-left: 0;
  background: rgba(22, 36, 52, 0.82);
  border-radius: 8px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  padding: 0 11px 0 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.desktop-chat-search-item:hover {
  border-color: rgba(111, 174, 254, 0.62);
  background: #21344e;
}

.desktop-chat-search-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.desktop-chat-search-name {
  color: #f1f8ff;
  font-size: 13px;
  font-weight: 600;
}

.desktop-chat-search-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(193, 221, 249, 0.88);
}

.desktop-chat-search-item .desktop-chat-list-avatar {
  width: 48px;
  height: 48px;
}

.desktop-chat-pane {
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  background: #182435;
  color: #eaf4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.desktop-chat-left-column.is-actioning .desktop-chat-left-top-actions {
  display: none;
}

.desktop-chat-pane-left {
  flex: 1 1 auto;
  border-style: solid;
  border-color: rgba(72, 174, 255, 0.58);
  border-right-width: 1px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  justify-content: stretch;
  text-align: left;
  padding: 8px;
  overflow: hidden;
  max-height: 100%;
  min-height: 0;
  transition: none;
}

.desktop-chat-left-column.is-searching .desktop-chat-pane-left {
  display: none;
}

.desktop-chat-left-column.is-actioning .desktop-chat-pane-left {
  display: none;
}

.desktop-chat-left-column.is-actioning .desktop-chat-left-search-wrap {
  display: none;
}

.desktop-chat-left-column.is-actioning .desktop-chat-left-search {
  display: none;
}

.desktop-chat-left-column.is-minecraft-listing .desktop-chat-left-search-wrap {
  display: none;
}

.desktop-chat-left-column.is-actioning .desktop-chat-action-back {
  display: inline-flex;
  align-items: center;
}

.desktop-chat-left-column.is-searching .desktop-chat-back-to-chats {
  display: none;
  max-height: 0;
  min-height: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.desktop-chat-left-column.is-actioning .desktop-chat-left-footer {
  flex: 1 1 auto;
  min-height: 0;
  gap: 10px;
}

.desktop-chat-left-column.is-actioning .desktop-chat-left-actions {
  margin-top: 0;
}

.desktop-chat-left-column.is-minecraft-settings .desktop-chat-left-actions {
  display: none;
}

.desktop-chat-left-column.is-searching .desktop-chat-share-submit,
.desktop-chat-left-column.is-actioning .desktop-chat-share-submit {
  display: none;
}

.desktop-chat-left-column.is-actioning .desktop-chat-back-to-chats {
  display: none;
}

.desktop-chat-back-to-chats {
  width: 100%;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #162336;
  color: #d9ebff;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0 12px;
  transition: max-height 0.24s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.desktop-chat-left-column.is-instant-search-close .desktop-chat-back-to-chats {
  transition: none;
}

.desktop-chat-left-column.is-instant-search-close .desktop-chat-search-preview {
  transition: none;
}

.desktop-chat-left-column.is-searching .desktop-chat-back-to-chats {
  display: none;
  max-height: 0;
  min-height: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.desktop-chat-back-to-chats:hover {
  border-color: rgba(157, 209, 255, 0.96);
  background: rgba(33, 52, 78, 0.86);
  color: #fff;
}

.desktop-chat-share-submit {
  width: 100%;
  max-height: 0;
  min-height: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #1a2a40;
  color: #e3f1ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: block;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: max-height 0.18s ease, opacity 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.desktop-chat-shell.is-profile-share-ready .desktop-chat-share-submit {
  max-height: 46px;
  min-height: 46px;
  height: 46px;
  margin-top: 14px;
  margin-bottom: 14px;
  opacity: 1;
  pointer-events: auto;
  border: 1px solid rgba(111, 174, 254, 0.62);
}

.desktop-chat-share-submit-label {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  line-height: 1;
}

.desktop-chat-share-submit:hover {
  border-color: rgba(157, 209, 255, 0.96);
  background: rgba(33, 52, 78, 0.86);
  color: #fff;
}

.desktop-chat-back-to-chats-icon {
  font-size: 12px;
  line-height: 1;
}

.desktop-chat-back-to-chats-text {
  letter-spacing: 0;
}

.desktop-chat-action-back-text {
  letter-spacing: 0;
}

.desktop-chat-action-back svg,
.desktop-chat-back-to-chats svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.desktop-chat-action-preview {
  margin-top: 0;
  display: none;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  flex-direction: column;
  gap: 0;
  transition: none;
}

.desktop-chat-left-column.is-actioning .desktop-chat-action-preview {
  display: flex;
  margin-top: 0;
  border: 1px solid rgba(72, 174, 255, 0.58);
  background: #18222e;
  padding: 8px 10px 0;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  overflow: hidden;
  opacity: 1;
  pointer-events: auto;
}

.desktop-chat-action-preview-head {
  color: #f1f8ff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  padding: 2px 2px 0;
}

.desktop-chat-action-preview-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  flex: 1 1 auto;
}

.desktop-chat-action-preview-head:empty,
.desktop-chat-action-preview-body:empty {
  display: none;
}

.desktop-chat-action-preview-item {
  border-radius: 8px;
  border: 1px solid rgba(111, 174, 254, 0.28);
  background: #132031;
  color: #d9ecff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  padding: 10px 10px;
}

.desktop-chat-private-settings {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 16px;
}

.desktop-chat-private-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(111, 174, 254, 0.38);
  border-radius: 8px;
  background: #132031;
}

.desktop-chat-private-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(157, 209, 255, 0.65);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #94c6ff 0%, #5a83b7 54%, #2f4564 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.desktop-chat-private-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
}

.desktop-chat-private-name {
  color: #f1f8ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-chat-private-status {
  color: rgba(198, 230, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.desktop-chat-private-action {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(111, 174, 254, 0.36);
  border-radius: 8px;
  background: #111f31;
  color: #e4f2ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.desktop-chat-private-action:hover,
.desktop-chat-private-action:focus,
.desktop-chat-private-action:active {
  border-color: rgba(157, 209, 255, 0.9);
  background: #17283d;
  color: #fff;
  outline: none;
}

.desktop-chat-private-action.is-danger {
  border-color: rgba(255, 117, 117, 0.42);
  color: #ffd9d9;
}

.desktop-chat-private-action.is-danger:hover,
.desktop-chat-private-action.is-danger:focus,
.desktop-chat-private-action.is-danger:active {
  border-color: rgba(255, 160, 160, 0.76);
  background: rgba(91, 34, 41, 0.48);
  color: #fff;
}

.desktop-chat-group-owner-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}

.desktop-chat-group-invite-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: none;
}

.desktop-chat-group-invite-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.desktop-chat-group-invite-item.is-selected {
  border-color: rgba(111, 174, 254, 0.72);
  background: #21344e;
}

.desktop-chat-member-remove {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 117, 117, 0.42);
  border-radius: 8px;
  background: rgba(91, 34, 41, 0.26);
  color: #ffd9d9;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.desktop-chat-member-remove:hover,
.desktop-chat-member-remove:focus {
  border-color: rgba(255, 160, 160, 0.8);
  background: rgba(91, 34, 41, 0.54);
  color: #fff;
  outline: none;
}

.desktop-chat-group-member-card {
  position: relative;
  min-height: 48px;
  padding: 0 10px 0 0;
  gap: 8px;
  border-left: 0;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.desktop-chat-group-member-card .desktop-chat-private-avatar {
  width: 48px;
  height: 48px;
}

.desktop-chat-group-member-card .desktop-chat-private-name {
  font-size: 13px;
}

.desktop-chat-group-member-card .desktop-chat-private-status:empty {
  display: none;
}

.desktop-chat-member-menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.desktop-chat-member-menu-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: 1px solid rgba(111, 174, 254, 0.38);
  border-radius: 8px;
  background: #111f31;
  color: #dbeeff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
}

.desktop-chat-member-menu-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
}

.desktop-chat-member-menu-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

.desktop-chat-member-menu-toggle:hover,
.desktop-chat-member-menu-toggle:focus,
.desktop-chat-member-menu-wrap.is-open .desktop-chat-member-menu-toggle {
  border-color: rgba(157, 209, 255, 0.82);
  background: #17283d;
  color: #fff;
  outline: none;
}

.desktop-chat-member-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 8;
  width: 170px;
  padding: 4px;
  border: 1px solid rgba(111, 174, 254, 0.45);
  border-radius: 8px;
  background: #101a26;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.desktop-chat-member-menu-item {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e8f4ff;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  padding: 0 10px;
  cursor: pointer;
}

.desktop-chat-member-menu-item:hover,
.desktop-chat-member-menu-item:focus {
  background: #1b2c43;
  color: #fff;
  outline: none;
}

.desktop-chat-group-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 100%;
  box-sizing: border-box;
  padding: 14px 10px 10px;
}

.desktop-chat-group-scroll {
  padding-bottom: 0;
}

.desktop-chat-group-image-upload {
  width: 100px;
  height: 100px;
  min-height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(111, 174, 254, 0.55);
  background-color: rgba(13, 29, 56, 0.55);
  background-image: url('https://funboa.com/?site=media_user_file&type=profile&uid=dafault&file=picture_0.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #e9f5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.desktop-chat-group-image-upload::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 26, 0.28);
  z-index: 1;
}

.desktop-chat-group-image-upload::before {
  content: '+';
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.desktop-chat-group-image-upload.has-preview::before {
  content: '';
}

.desktop-chat-group-image-preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.desktop-chat-group-image-upload:hover {
  border-color: rgba(157, 209, 255, 0.95);
}

.desktop-chat-group-image-upload.is-dragging {
  border-color: rgba(157, 209, 255, 1);
  box-shadow: 0 0 0 2px rgba(72, 174, 255, 0.28);
}

.desktop-chat-group-image-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.desktop-chat-group-name-input {
  width: min(260px, 100%);
  margin-top: 14px;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1px solid rgba(111, 174, 254, 0.62);
  border-radius: 0;
  background: transparent;
  color: #e9f5ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  outline: none;
}

.desktop-chat-group-name-input::placeholder {
  color: rgba(208, 231, 255, 0.78);
}

.desktop-chat-group-search-list {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.desktop-chat-group-member-list {
  width: min(300px, 100%);
  margin-top: 80px;
  align-self: center;
}

.desktop-chat-group-search-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.desktop-chat-group-search-input-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(111, 174, 254, 0.4);
  background: transparent;
  padding: 0;
  min-height: 46px;
}

.desktop-chat-group-search-input {
  width: 100%;
  min-height: 46px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #f3f9ff;
  font-size: 13px;
  line-height: 46px;
  text-align: left;
}

.desktop-chat-group-search-input::placeholder {
  color: rgba(214, 230, 250, 0.78);
}

.desktop-chat-group-search-item {
  cursor: pointer;
}

.desktop-chat-group-search-item.is-selected {
  border-color: rgba(111, 174, 254, 0.62);
  background: #21344e;
}

.desktop-chat-group-search-empty {
  cursor: default;
}

.desktop-chat-group-search-item.is-selected .desktop-chat-search-note {
  color: #ffffff;
  font-weight: 700;
}

.desktop-chat-group-name-input:focus {
  border-bottom-color: rgba(157, 209, 255, 0.98);
}

.desktop-chat-action-preview-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.42);
  margin: 2px 0 0;
}

.desktop-chat-setting-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.desktop-chat-setting-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
}

.desktop-chat-setting-scroll {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 16px;
}

.desktop-chat-setting-save-wrap {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: auto;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 0;
  padding-top: 0;
  background: #18222e;
}

.desktop-chat-setting-save {
  display: block;
  width: 100%;
  min-height: 46px;
  border-radius: 0 0 9px 9px;
  border-top: 1px solid rgba(111, 174, 254, 0.62);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: #15253a;
  color: #eef7ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.desktop-chat-setting-back {
  display: block;
  width: 100%;
  min-height: 42px;
  border-radius: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.38);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: #111f31;
  color: #d9ecff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.desktop-chat-setting-back:hover {
  border-top-color: rgba(157, 209, 255, 0.88);
  background: #192b43;
  color: #fff;
}

.desktop-chat-setting-save::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: transparent;
  transform-origin: bottom center;
  transform: scaleY(1);
  opacity: 0;
  pointer-events: none;
}

.desktop-chat-setting-save:hover {
  border-color: rgba(157, 209, 255, 0.95);
  background: #1c3049;
  color: #fff;
}

.desktop-chat-setting-save.is-save-success {
  border-top-color: rgba(76, 212, 132, 0.95);
}

.desktop-chat-setting-save.is-save-success::before {
  background: rgba(76, 212, 132, 0.95);
  animation: chatSaveLineGrow 0.98s ease-out;
}

.desktop-chat-setting-save.is-save-error {
  border-top-color: rgba(255, 110, 110, 0.95);
}

.desktop-chat-setting-save.is-save-error::before {
  background: rgba(255, 110, 110, 0.95);
  animation: chatSaveLineGrow 0.98s ease-out;
}

@keyframes chatSaveLineGrow {
  0% {
    opacity: 0;
    transform: scaleY(1);
  }
  18% {
    opacity: 1;
    transform: scaleY(5);
  }
  72% {
    opacity: 1;
    transform: scaleY(5);
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

.desktop-chat-setting-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(13, 29, 56, 0.45);
  color: #e7f3ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.desktop-chat-setting-chevron {
  display: none;
}

.desktop-chat-setting-toggle-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.desktop-chat-setting-toggle[aria-expanded='true'] .desktop-chat-setting-chevron {
  transform: rotate(90deg);
}

.desktop-chat-setting-toggle[aria-expanded='true'] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.desktop-chat-setting-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.24s ease;
}

.desktop-chat-setting-panel.is-open {
  max-height: 220px;
  opacity: 1;
}

.desktop-chat-setting-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: rgba(13, 29, 56, 0.45);
}

.desktop-chat-setting-panel + .desktop-chat-setting-toggle {
  margin-top: 8px;
}

.desktop-chat-setting-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #d7e9ff;
  margin-top: 14px;
  margin-bottom: 4px;
}

.desktop-chat-setting-panel + .desktop-chat-setting-panel-title {
  margin-top: 28px;
}

.desktop-chat-setting-inner-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.42);
  margin: 0;
}

.desktop-chat-setting-option {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  color: #e7f3ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.desktop-chat-setting-option.is-selected {
  background: rgba(27, 58, 104, 0.62);
  box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.22);
}

.desktop-chat-setting-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  flex: 0 0 auto;
}

.desktop-chat-setting-dot.is-green {
  background: #35d05e;
}

.desktop-chat-setting-dot.is-red {
  background: #ff5252;
}

.desktop-chat-setting-dot.is-yellow {
  background: #ffd24a;
}

.desktop-chat-pane-right {
  border: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  text-align: left;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.desktop-chat-partner-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-chat-partner-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(94, 151, 209, 0.38);
  pointer-events: none;
}

.desktop-chat-partner-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(157, 209, 255, 0.65);
  background: radial-gradient(circle at 32% 28%, #94c6ff 0%, #5a83b7 54%, #2f4564 100%);
  flex: 0 0 auto;
}

.desktop-chat-list-avatar.is-online {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: rgba(53, 208, 94, 0.98);
  border-left-width: 3px;
  box-shadow: none;
}

.desktop-chat-list-avatar.is-away {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: rgba(255, 210, 74, 0.98);
  border-left-width: 3px;
  box-shadow: none;
}

.desktop-chat-list-avatar.is-offline {
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: rgba(255, 82, 82, 0.95);
  border-left-width: 3px;
  box-shadow: none;
}

.desktop-chat-partner-avatar.is-online {
  border-color: rgba(157, 209, 255, 0.65);
  border-left-color: rgba(53, 208, 94, 0.98);
  border-left-width: 2px;
  box-shadow: none;
}

.desktop-chat-partner-avatar.is-away {
  border-color: rgba(157, 209, 255, 0.65);
  border-left-color: rgba(255, 210, 74, 0.98);
  border-left-width: 2px;
  box-shadow: none;
}

.desktop-chat-partner-avatar.is-offline {
  border-color: rgba(157, 209, 255, 0.65);
  border-left-color: rgba(255, 82, 82, 0.95);
  border-left-width: 2px;
  box-shadow: none;
}

.desktop-chat-partner-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.desktop-chat-partner-name {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-chat-partner-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(198, 230, 255, 0.86);
  font-size: 12px;
  line-height: 1.2;
}

.desktop-chat-partner-status.is-online {
  color: rgba(190, 242, 205, 0.95);
}

.desktop-chat-partner-status.is-away {
  color: rgba(255, 228, 157, 0.95);
}

.desktop-chat-partner-status.is-offline {
  color: rgba(255, 180, 180, 0.95);
}

.desktop-chat-partner-menu-wrap {
  margin-left: auto;
  position: relative;
  flex: 0 0 auto;
}

.desktop-chat-partner-menu-toggle {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(111, 174, 254, 0.5);
  border-radius: 8px;
  background: rgba(22, 36, 56, 0.82);
  color: rgba(226, 243, 255, 0.95);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.desktop-chat-partner-menu-toggle:hover {
  border-color: rgba(157, 209, 255, 0.95);
  background: rgba(35, 55, 82, 0.9);
  color: #fff;
}

.desktop-chat-partner-menu-toggle:focus,
.desktop-chat-partner-menu-toggle:active {
  outline: none;
  border-color: rgba(157, 209, 255, 0.95);
  background: rgba(35, 55, 82, 0.9);
  color: #fff;
}

.desktop-chat-partner-menu-toggle:disabled {
  opacity: 0.45;
  cursor: default;
}

.desktop-chat-partner-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  border: 1px solid rgba(111, 174, 254, 0.58);
  border-radius: 10px;
  background: #101a29;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  padding: 4px;
  z-index: 60;
}

.desktop-chat-partner-menu[hidden] {
  display: none !important;
}

.desktop-chat-partner-menu-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #eaf5ff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 10px;
  cursor: pointer;
}

.desktop-chat-partner-menu-item:hover {
  background: rgba(53, 88, 131, 0.28);
  color: #fff;
}

.desktop-chat-partner-menu-item:focus,
.desktop-chat-partner-menu-item:active {
  outline: none;
  background: rgba(53, 88, 131, 0.36);
  color: #fff;
}

.desktop-chat-mobile-back {
  display: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(111, 174, 254, 0.6);
  border-radius: 8px;
  background: rgba(27, 44, 67, 0.84);
  color: #e6f2ff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.desktop-chat-mobile-back:hover {
  border-color: rgba(157, 209, 255, 0.96);
  background: rgba(45, 71, 108, 0.92);
  color: #fff;
}

.desktop-chat-right-content {
  min-height: 0;
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #101824;
  color: #e7f3ff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  font-weight: 600;
  padding: 10px 12px;
  gap: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

.desktop-chat-message-area {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  padding: 6px 6px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.desktop-chat-message-area.is-validity-sticky-active {
  --chat-validity-height: 24px;
  padding-top: 0;
}

.desktop-chat-message-area::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 16px;
  background: #101824;
  pointer-events: none;
  opacity: 0;
  z-index: 7;
}

.desktop-chat-message-area.is-day-sticky-active::before {
  opacity: 1;
}

.desktop-chat-message-area::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.desktop-chat-thread {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desktop-chat-message-area.is-validity-sticky-active .desktop-chat-thread {
  gap: 0;
}

.desktop-chat-message-area.is-validity-sticky-active .desktop-chat-thread > * + * {
  margin-top: 8px;
}

.desktop-chat-message-area.is-validity-sticky-active .desktop-chat-validity-separator + .desktop-chat-day-separator {
  margin-top: 0;
}

.desktop-chat-day-sticky {
  position: sticky;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  z-index: 21;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  margin: 0 0 -27px;
  background: #101824;
  text-align: center;
  pointer-events: none;
  transform: translateY(0);
}

.desktop-chat-day-sticky::before {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.32);
  z-index: 1;
}

.desktop-chat-day-sticky::after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: -18px;
  bottom: 0;
  background: #101824;
  z-index: 0;
}

.desktop-chat-day-sticky .desktop-chat-day-label {
  z-index: 2;
}

.desktop-chat-day-sticky[hidden] {
  display: none !important;
}

.desktop-chat-day-separator {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
  height: 27px;
  padding: 0;
  margin: 0;
  text-align: center;
}

.desktop-chat-day-separator::before {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.32);
  z-index: 1;
}

.desktop-chat-day-separator::after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: -18px;
  bottom: 0;
  background: #101824;
  z-index: 0;
}

.desktop-chat-day-label {
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 22, 37, 0.92);
  color: rgba(205, 226, 248, 0.9);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
}

.desktop-chat-validity-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--chat-validity-height);
  min-height: var(--chat-validity-height);
  background: #101824;
  padding: 0;
  margin-bottom: 0;
}

.desktop-chat-message-area.is-validity-sticky-active .desktop-chat-day-separator:not(.desktop-chat-validity-separator) {
  position: sticky;
  top: var(--chat-validity-height);
  z-index: 19;
  background: #101824;
}

.desktop-chat-bubble-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-self: stretch;
  gap: 6px;
}

.desktop-chat-bubble-row.is-in {
  justify-content: flex-start;
  gap: 10px;
  align-items: flex-start;
}

.desktop-chat-bubble-row.is-out {
  justify-content: flex-end;
  align-items: flex-start;
}

.desktop-chat-bubble-row.is-edit-target .desktop-chat-bubble {
  border-color: rgba(121, 192, 255, 0.96);
  box-shadow: none;
  background: rgba(18, 30, 45, 0.95);
}

.desktop-chat-bubble-row.is-reply-target .desktop-chat-bubble {
  border-color: rgba(157, 209, 255, 0.86);
  background: rgba(22, 38, 58, 0.94);
}

.desktop-chat-bubble {
  max-width: 78%;
  position: relative;
  border-radius: 10px;
  padding: 8px 10px 7px;
  border: 1px solid rgba(111, 174, 254, 0.36);
  background: rgba(29, 43, 62, 0.88);
  color: #f3f9ff;
}

.desktop-chat-bubble.is-in {
  align-self: auto;
}

.desktop-chat-bubble.is-out {
  align-self: auto;
  border-color: rgba(111, 174, 254, 0.62);
  background: rgba(40, 71, 114, 0.74);
}

.desktop-chat-bubble-row.is-in .desktop-chat-bubble,
.desktop-chat-bubble-row.is-in .desktop-chat-profile-share-card {
  margin-left: 0;
  margin-right: 0;
}

.desktop-chat-bubble-row.is-out .desktop-chat-bubble,
.desktop-chat-bubble-row.is-out .desktop-chat-profile-share-card {
  margin-left: 0;
  margin-right: 0;
}

.desktop-chat-bubble-row.is-request {
  align-items: flex-start;
}

.desktop-chat-request-card {
  max-width: 78%;
  border-radius: 10px;
  border: 1px solid rgba(111, 174, 254, 0.42);
  background: rgba(20, 33, 50, 0.9);
  color: #f3f9ff;
  padding: 9px 10px 8px;
}

.desktop-chat-request-card.is-out {
  border-color: rgba(111, 174, 254, 0.62);
  background: rgba(36, 61, 96, 0.72);
}

.desktop-chat-request-title {
  font-size: 12px;
  font-weight: 700;
  color: #d9edff;
  margin-bottom: 4px;
}

.desktop-chat-request-text {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
}

.desktop-chat-request-actions {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.desktop-chat-request-action {
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(111, 174, 254, 0.46);
  background: rgba(16, 30, 47, 0.9);
  color: #e7f3ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.desktop-chat-request-action.is-accept {
  border-color: rgba(86, 201, 131, 0.52);
}

.desktop-chat-request-action.is-reject {
  border-color: rgba(231, 97, 97, 0.62);
}

.desktop-chat-request-foot {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.desktop-chat-bubble-row.is-in .desktop-chat-request-foot {
  justify-content: flex-start;
  gap: 10px;
}

.desktop-chat-bubble-text {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  white-space: pre-wrap;
  word-break: break-word;
}

.desktop-chat-bubble-text-content {
  display: block;
  white-space: inherit;
  word-break: inherit;
}

.desktop-chat-bubble-text.is-collapsible .desktop-chat-bubble-text-content {
  overflow: hidden;
}

.desktop-chat-bubble-text.is-expanded .desktop-chat-bubble-text-content {
  max-height: none;
}

.desktop-chat-bubble-edit-info {
  margin-top: 5px;
  color: rgba(186, 214, 244, 0.76);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 600;
}

.desktop-chat-bubble.is-out .desktop-chat-bubble-edit-info {
  text-align: right;
}

.desktop-chat-message-more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ec9ff;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.desktop-chat-message-more[hidden] {
  display: none;
}

.desktop-chat-message-more:hover,
.desktop-chat-message-more:focus,
.desktop-chat-message-more:active {
  color: #ffffff;
  outline: none;
}

.desktop-chat-bubble-sender {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  color: #9ec9ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.desktop-chat-bubble.is-out .desktop-chat-bubble-sender {
  justify-content: space-between;
}

.desktop-chat-bubble-sender-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
}

.desktop-chat-bubble-sender-avatar {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(157, 209, 255, 0.62);
  background: rgba(8, 18, 30, 0.8);
}

.desktop-chat-bubble-sender-name {
  min-width: 0;
  color: var(--chat-sender-color, currentColor);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-chat-bubble-sender-meta {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex: 0 0 auto;
  color: rgba(198, 220, 245, 0.9);
  position: relative;
}

.desktop-chat-bubble-sender-meta.has-menu {
  overflow: visible;
}

.desktop-chat-bubble-head-divider {
  width: 100%;
  height: 0;
  margin: 5px 0 6px;
  border: 0;
  border-top: 1px solid rgba(157, 209, 255, 0.34);
}

.desktop-chat-reply-context {
  margin: 0 0 7px;
  padding: 6px 8px;
  border-left: 2px solid rgba(157, 209, 255, 0.86);
  background: rgba(8, 20, 34, 0.42);
  color: rgba(226, 240, 255, 0.95);
}

.desktop-chat-reply-context.is-jumpable {
  cursor: pointer;
}

.desktop-chat-reply-context.is-jumpable:hover,
.desktop-chat-reply-context.is-jumpable:focus {
  border-left-color: rgba(182, 222, 255, 0.98);
  background: rgba(18, 42, 68, 0.58);
  outline: none;
}

.desktop-chat-reply-context-label {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(157, 209, 255, 0.95);
  margin-bottom: 3px;
}

.desktop-chat-reply-context-text {
  max-height: 38px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(226, 240, 255, 0.9);
  word-break: break-word;
}

.desktop-chat-bubble-time {
  font-size: 11px;
  color: rgba(198, 220, 245, 0.82);
  text-align: right;
}

.desktop-chat-bubble-time-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.desktop-chat-bubble-time-icon {
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(198, 220, 245, 0.88);
  flex: 0 0 auto;
}

.desktop-chat-bubble-time-wrap.is-edited .desktop-chat-bubble-time {
  color: rgba(206, 228, 251, 0.9);
}

.desktop-chat-bubble-time-separator {
  color: rgba(164, 194, 224, 0.72);
  font-size: 11px;
  line-height: 1;
}

.desktop-chat-bubble-time-sent {
  color: rgba(206, 228, 251, 0.9);
  font-size: 11px;
  line-height: 1;
}

.desktop-chat-bubble-foot {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 20px;
}

.desktop-chat-bubble-foot-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  min-width: 16px;
  flex: 0 0 auto;
}

.desktop-chat-bubble-foot.has-menu .desktop-chat-bubble-foot-right {
  overflow: visible;
}

.desktop-chat-bubble.is-in .desktop-chat-bubble-foot-right {
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: 10px;
}

.desktop-chat-bubble-foot .desktop-chat-bubble-action {
  width: 16px;
  height: 16px;
}

.desktop-chat-bubble.is-in .desktop-chat-bubble-foot {
  justify-content: flex-start;
  gap: 10px;
}

.desktop-chat-bubble.is-out .desktop-chat-bubble-foot {
  justify-content: flex-end;
}

.desktop-chat-bubble.is-out .desktop-chat-bubble-text {
  text-align: right;
}

.desktop-chat-bubble.is-inline-meta {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
}

.desktop-chat-bubble.is-inline-meta .desktop-chat-bubble-text {
  flex: 0 1 auto;
  min-width: 0;
}

.desktop-chat-bubble.is-inline-meta .desktop-chat-bubble-foot {
  flex: 0 0 auto;
  margin-top: 0;
  min-height: 16px;
}

.desktop-chat-bubble.is-inline-meta .desktop-chat-bubble-foot-right {
  gap: 6px;
}

.desktop-chat-bubble-meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
}

.desktop-chat-bubble-meta.is-only-time {
  justify-content: flex-end;
}

.desktop-chat-bubble-meta.has-menu {
  gap: 8px;
  overflow: visible;
}

.desktop-chat-bubble-menu-toggle {
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: rgba(198, 220, 245, 0.92);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.desktop-chat-bubble-menu-dots {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.desktop-chat-bubble-menu-dots > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

.desktop-chat-bubble-menu-toggle:hover,
.desktop-chat-bubble-menu-toggle:focus,
.desktop-chat-bubble-menu-toggle:active {
  color: #fff;
  outline: none;
}

.desktop-chat-bubble-user-menu-toggle {
  min-width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: rgba(198, 220, 245, 0.9);
}

.desktop-chat-bubble-actions-panel {
  display: none;
  position: static;
  top: auto;
  right: auto;
  margin-top: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  z-index: auto;
}

.desktop-chat-bubble-row.is-actions-open .desktop-chat-bubble-actions-panel {
  display: inline-flex;
}

.desktop-chat-bubble-private-actions {
  align-items: center;
  white-space: nowrap;
}

.desktop-chat-bubble-row.is-actions-open .desktop-chat-bubble-private-actions::after {
  content: "";
  width: 1px;
  height: 14px;
  margin-left: 2px;
  background: rgba(157, 209, 255, 0.72);
  display: block;
  flex: 0 0 1px;
}

.desktop-chat-bubble-private-actions .desktop-chat-bubble-action {
  width: 16px;
  height: 16px;
}

.desktop-chat-bubble-sender-meta .desktop-chat-bubble-action {
  width: 16px;
  height: 16px;
}

.desktop-chat-bubble-action {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(212, 232, 255, 0.95);
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.desktop-chat-bubble-action.is-text {
  width: auto;
  min-width: 0;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.desktop-chat-bubble-action:hover {
  color: #fff;
}

.desktop-chat-bubble-action:focus,
.desktop-chat-bubble-action:active {
  outline: none;
  color: #fff;
}

.desktop-chat-profile-share-card {
  width: min(92%, 520px);
  max-width: min(92%, 520px);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(72, 154, 255, 0.75);
  background: linear-gradient(165deg, rgba(9, 23, 41, 0.98), rgba(8, 16, 30, 0.98));
  color: #f3f9ff;
}

.desktop-chat-profile-share-card.is-in {
  align-self: flex-start;
}

.desktop-chat-profile-share-card.is-out {
  align-self: flex-end;
  border-color: rgba(88, 166, 255, 0.8);
  background: linear-gradient(165deg, rgba(12, 31, 58, 0.98), rgba(8, 18, 35, 0.98));
}

.desktop-chat-profile-share-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.desktop-chat-profile-share-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(66, 154, 255, 0.95);
  background: radial-gradient(circle at 32% 28%, #94c6ff 0%, #5a83b7 54%, #2f4564 100%);
  flex: 0 0 auto;
}

.desktop-chat-profile-share-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.desktop-chat-profile-share-name {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.desktop-chat-profile-share-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.desktop-chat-profile-share-handle {
  color: rgba(180, 203, 234, 0.92);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.desktop-chat-profile-share-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(49, 68, 97, 0.8);
  color: rgba(224, 239, 255, 0.95);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.desktop-chat-profile-share-bio {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(230, 241, 255, 0.95);
  white-space: pre-wrap;
  word-break: break-word;
}

.desktop-chat-post-share-avatar {
  border-radius: 12px;
}

.desktop-chat-post-share-media.desktop-chat-post-share-single-image.is-single {
  width: auto;
  height: auto;
  max-width: min(180px, 42%);
  max-height: 160px;
  border-radius: 12px;
}

.desktop-chat-post-share-media.desktop-chat-post-share-single-image.is-single .desktop-chat-post-share-media-item {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.desktop-chat-post-share-single-flow {
  min-width: 0;
  display: block;
}

.desktop-chat-post-share-single-flow::after {
  content: "";
  display: block;
  clear: both;
}

.desktop-chat-post-share-card.has-single-media .desktop-chat-post-share-single-image {
  float: left;
  margin: 0 14px 8px 0;
}

.desktop-chat-post-share-card.has-single-media .desktop-chat-profile-share-name {
  padding-top: 2px;
}

.desktop-chat-post-share-card.has-single-media .desktop-chat-post-share-text {
  margin-top: 6px;
}

.desktop-chat-post-share-card.is-text-only .desktop-chat-post-share-avatar {
  border-radius: 50%;
}

.desktop-chat-post-share-card.is-text-only .desktop-chat-profile-share-head {
  align-items: center;
}

.desktop-chat-post-share-card.has-multiple-media .desktop-chat-profile-share-head {
  flex-direction: column;
  gap: 8px;
}

.desktop-chat-post-share-card.has-multiple-media .desktop-chat-profile-share-meta {
  width: 100%;
}

.desktop-chat-post-share-media {
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid rgba(66, 154, 255, 0.95);
  background: rgba(7, 17, 30, 0.92);
}

.desktop-chat-post-share-media.is-single {
  width: 96px;
  height: 96px;
  border-radius: 12px;
}

.desktop-chat-post-share-media.is-grid {
  width: min(252px, 58%);
  height: 72px;
  display: grid;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-chat-post-share-card.has-multiple-media .desktop-chat-post-share-media.is-grid {
  width: 100%;
  max-width: 100%;
}

.desktop-chat-post-share-media.is-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.desktop-chat-post-share-media.is-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.desktop-chat-post-share-media.is-count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.desktop-chat-post-share-media-item {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(66, 154, 255, 0.8);
  object-fit: cover;
  background: rgba(8, 18, 31, 0.96);
}

.desktop-chat-post-share-text {
  margin-top: 8px;
  color: rgba(230, 241, 255, 0.95);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  word-break: break-word;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.desktop-chat-post-share-card.has-media .desktop-chat-post-share-text {
  margin-top: 8px;
}

.desktop-chat-post-share-card.has-media.has-single-media .desktop-chat-post-share-text {
  margin-top: 6px;
}

.desktop-chat-post-share-metrics {
  margin-top: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(62, 127, 208, 0.45);
  border-bottom: 1px solid rgba(62, 127, 208, 0.45);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.desktop-chat-post-share-metric {
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(214, 234, 255, 0.92);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.desktop-chat-post-share-metric svg {
  display: block;
  color: rgba(157, 209, 255, 0.95);
}

.desktop-chat-post-share-card .desktop-chat-bubble-time-wrap {
  justify-content: flex-end;
}

.desktop-chat-profile-share-stats {
  margin-top: 12px;
  border-bottom: 1px solid rgba(62, 127, 208, 0.55);
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
}

.desktop-chat-profile-share-stat {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.desktop-chat-profile-share-stat-actions {
  align-items: stretch;
}

.desktop-chat-profile-share-stat-actions .desktop-chat-profile-share-icons {
  width: 100%;
  min-height: 58px;
  justify-content: flex-end;
  padding: 0 4px 0 10px;
}

.desktop-chat-profile-share-stat-value {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  color: #f3f9ff;
}

.desktop-chat-profile-share-stat-label {
  font-size: 11px;
  line-height: 1.1;
  font-weight: 500;
  color: rgba(188, 213, 242, 0.9);
}

.desktop-chat-profile-share-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.desktop-chat-profile-share-stat-icon svg {
  display: block;
}

.desktop-chat-profile-share-actions {
  margin-top: 12px;
  display: block;
  align-items: center;
}

.desktop-chat-profile-share-actions + .desktop-chat-bubble-time-wrap {
  display: flex;
  margin-top: 12px;
}

.desktop-chat-share-card-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.desktop-chat-share-card-foot .desktop-chat-bubble-time-wrap {
  min-height: 16px;
}

.desktop-chat-share-card-menu {
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.desktop-chat-share-actions-panel {
  gap: 6px;
}

.desktop-chat-share-menu-toggle {
  flex: 0 0 16px;
}

.desktop-chat-profile-share-open {
  width: 100%;
  border: 1px solid rgba(62, 137, 240, 0.9);
  background: linear-gradient(145deg, rgba(37, 128, 245, 0.96), rgba(27, 104, 207, 0.96));
  color: #ffffff;
  border-radius: 10px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.desktop-chat-profile-share-open:hover {
  border-color: rgba(157, 209, 255, 0.96);
  filter: brightness(1.08);
  color: #fff;
}

.desktop-chat-post-invite-preview {
  display: block;
  cursor: pointer;
}

.desktop-chat-post-invite-preview:hover {
  filter: brightness(1.08);
}

.desktop-chat-group-invite-card .desktop-chat-profile-share-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.desktop-chat-group-invite-card .desktop-chat-profile-share-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4px;
}

.desktop-chat-profile-share-icons {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-chat-profile-share-icons .desktop-chat-profile-share-badge {
  min-height: 28px;
  padding: 0 10px;
  white-space: nowrap;
}

.desktop-chat-profile-share-follow-form {
  margin: 0;
  display: inline-flex;
}

.desktop-chat-profile-share-icons .post-follow-button.is-icon {
  padding: 8px;
  border-radius: 7px;
  background: #101824;
}

.desktop-chat-profile-share-icons .post-follow-button.is-icon:hover {
  background: #101824;
}

.desktop-chat-profile-share-follow-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.desktop-chat-profile-share-icons-separator {
  width: 1px;
  height: 22px;
  border-radius: 1px;
  background: rgba(132, 176, 232, 0.46);
  margin: 0 3px;
}

.desktop-chat-empty-state {
  color: rgba(205, 228, 250, 0.84);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.desktop-chat-empty-state.is-share-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.desktop-chat-empty-state-title {
  text-align: center;
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  color: #eef6ff;
}

.desktop-chat-empty-share-preview {
  width: 100%;
  display: flex;
  justify-content: center;
}

.desktop-chat-empty-share-preview .desktop-chat-profile-share-card {
  margin: 0;
  text-align: left;
}

.desktop-chat-profile-share-card.is-preview .desktop-chat-bubble-time-wrap {
  display: none;
}

.desktop-chat-post-share-card.is-preview .desktop-chat-post-share-metrics {
  display: none;
}

.desktop-chat-profile-share-card.is-preview .desktop-chat-profile-share-stat-actions {
  display: none;
}

.desktop-chat-profile-share-card.is-preview .desktop-chat-profile-share-stats {
  grid-template-columns: minmax(110px, 150px);
}

.desktop-chat-group-invite-avatar {
  border-radius: 22px;
}

.desktop-chat-group-invite-actions {
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.desktop-chat-group-invite-action {
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(111, 174, 254, 0.62);
  background: #15253a;
  color: #eef7ff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.desktop-chat-group-invite-action.is-accept {
  border-color: rgba(70, 153, 255, 0.9);
  background: #2476da;
}

.desktop-chat-group-invite-action.is-reject {
  border-color: rgba(150, 172, 205, 0.58);
  background: #101824;
}

.desktop-chat-empty-cancel {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(91, 164, 255, 0.85);
  border-radius: 8px;
  background: rgba(16, 24, 36, 0.92);
  color: #d9ecff;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
}

.desktop-chat-empty-cancel:hover {
  border-color: rgba(157, 209, 255, 0.96);
  color: #ffffff;
}

.desktop-chat-compose {
  position: relative;
  border-top: 0;
  padding-top: 8px;
}

.desktop-chat-compose::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 1px solid rgba(111, 174, 254, 0.62);
  pointer-events: none;
}

.desktop-chat-edit-preview {
  margin: 0 0 8px 4px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.desktop-chat-edit-preview[hidden] {
  display: none;
}

.desktop-chat-edit-preview-box {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(111, 174, 254, 0.5);
  border-radius: 8px;
  background: rgba(20, 33, 49, 0.92);
}

.desktop-chat-edit-preview.is-reply-preview .desktop-chat-edit-preview-box {
  border-color: rgba(157, 209, 255, 0.62);
  background: rgba(18, 32, 49, 0.94);
}

.desktop-chat-edit-preview-label {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(157, 209, 255, 0.95);
  margin-bottom: 4px;
}

.desktop-chat-edit-preview-text {
  font-size: 12px;
  line-height: 1.35;
  max-height: calc(1.35em * 5);
  font-weight: 500;
  color: rgba(226, 240, 255, 0.94);
  white-space: pre-wrap;
  word-break: break-word;
  overflow: hidden;
}

.desktop-chat-edit-preview-close {
  flex: 0 0 40px;
  width: 40px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(212, 232, 255, 0.86);
  padding: 0;
  cursor: pointer;
}

.desktop-chat-edit-preview-close:hover,
.desktop-chat-edit-preview-close:focus,
.desktop-chat-edit-preview-close:active {
  color: #ffffff;
  outline: none;
}

.desktop-chat-shell.is-no-chat-selected .desktop-chat-partner-head,
.desktop-chat-shell.is-no-chat-selected .desktop-chat-compose {
  display: none;
}

.desktop-chat-shell.is-no-chat-selected .desktop-chat-right-content {
  gap: 0;
}

.desktop-chat-shell.is-no-chat-selected .desktop-chat-message-area {
  padding-top: 0;
  align-items: center;
  justify-content: center;
}

.desktop-chat-compose-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.desktop-chat-compose-input {
  flex: 1;
  width: 100%;
  min-height: 28px;
  max-height: calc((1.35em * 5) + 4px);
  box-sizing: border-box;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  padding: 0 2px;
  outline: none;
  resize: none;
  overflow-y: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.desktop-chat-compose-input::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.desktop-chat-compose-input::placeholder {
  color: rgba(198, 220, 245, 0.8);
}

.desktop-chat-compose-input:focus {
  border-bottom-color: transparent;
  box-shadow: none;
}

.desktop-chat-compose-send {
  width: 40px;
  height: 32px;
  align-self: flex-end;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(111, 174, 254, 0.62);
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  margin-right: 4px;
  padding-left: 10px;
  cursor: pointer;
}

.desktop-chat-compose-send svg {
  display: block;
  transition: color 0.15s ease;
}

.desktop-chat-compose-send:hover {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(111, 174, 254, 0.62);
  background: transparent;
  color: #9fd1ff;
}

.desktop-chat-compose-send:focus,
.desktop-chat-compose-send:active {
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(111, 174, 254, 0.62);
  background: transparent;
  color: #9fd1ff;
}

.desktop-chat-list-head {
  font-size: 13px;
  font-weight: 700;
  color: #d7ebff;
  padding: 2px 4px 8px;
}

.desktop-chat-list {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 2px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.desktop-chat-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.desktop-chat-list-row {
  border: 1px solid rgba(124, 181, 235, 0.34);
  border-left: 0;
  background: rgba(22, 36, 52, 0.82);
  border-radius: 8px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  padding: 0 11px 0 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.desktop-chat-list-row.is-active {
  border-color: rgba(74, 188, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(74, 188, 255, 0.28);
}

.desktop-chat-list-row.has-unread {
  border-color: rgba(90, 191, 255, 0.95);
  background: rgba(21, 46, 73, 0.92);
  box-shadow: inset 0 0 0 1px rgba(66, 168, 255, 0.33), 0 0 12px rgba(66, 168, 255, 0.2);
}

.desktop-chat-list-row.has-unread .desktop-chat-list-name {
  color: #ffffff;
}

.desktop-chat-list-row.has-unread .desktop-chat-list-state {
  color: #c9ebff;
  font-weight: 700;
}

.desktop-chat-list-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.desktop-chat-list-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(157, 209, 255, 0.65);
  background: radial-gradient(circle at 32% 28%, #94c6ff 0%, #5a83b7 54%, #2f4564 100%);
  flex: 0 0 auto;
}

.desktop-chat-list-row .desktop-chat-list-avatar {
  width: 48px;
  height: 48px;
}

.desktop-chat-list-name {
  font-size: 13px;
  font-weight: 600;
  color: #f1f8ff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-chat-list-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.desktop-chat-list-subline {
  font-size: 11px;
  line-height: 1.15;
  font-weight: 500;
  color: rgba(193, 221, 249, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-chat-list-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(193, 221, 249, 0.88);
  flex: 0 0 auto;
}

.desktop-chat-group-members-list {
  padding-bottom: 12px;
}

.desktop-chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d05e;
  box-shadow: 0 0 0 1px rgba(16, 24, 36, 0.9);
  flex: 0 0 auto;
}

.desktop-chat-list-row.has-unread .desktop-chat-status-dot {
  background: #58d7ff;
  box-shadow: 0 0 0 1px rgba(12, 24, 40, 0.94), 0 0 10px rgba(88, 215, 255, 0.8);
  animation: chatUnreadDotPulse 1s ease-in-out infinite;
}

@keyframes chatUnreadDotPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.75; }
  100% { transform: scale(1); opacity: 1; }
}

.desktop-chat-left-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.desktop-chat-left-column.is-minecraft-listing .desktop-chat-left-actions {
  grid-template-columns: 1fr;
}

.desktop-chat-left-column.is-minecraft-listing .desktop-chat-left-action[data-action-mode="group"] {
  display: none;
}

.desktop-chat-left-action {
  min-height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(78, 126, 174, 0.5);
  background: #101a26;
  color: #d2e8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.desktop-chat-left-action:hover {
  border-color: rgba(111, 174, 254, 0.72);
  color: #e6f2ff;
  background: #132033;
}

.desktop-chat-left-action.is-active {
  border-color: rgba(111, 174, 254, 0.82);
  color: #eaf5ff;
  background: #17263a;
}

.desktop-chat-minecraft-icon {
  display: block;
}

@media (max-width: 1380px) {
  .desktop-chat-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .desktop-chat-shell.is-compact-layout .desktop-chat-pane-right {
    position: absolute;
    inset: 0;
    z-index: 5;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .desktop-chat-shell.is-compact-chat-active .desktop-chat-pane-right {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .desktop-chat-shell.is-compact-layout .desktop-chat-right-content {
    height: 100%;
    position: relative;
  }

  .desktop-chat-shell.is-compact-chat-active .desktop-chat-mobile-back {
    display: inline-flex;
    position: absolute;
    top: 23px;
    left: 22px;
    z-index: 30;
    margin: 0;
  }

  .desktop-chat-shell.is-compact-chat-active .desktop-chat-partner-head {
    padding-left: 48px;
  }
}

.wrapper-contents,
.wrapper-setting,
.wrapper-log {
  will-change: auto;
}

body.chat-open .desktop-chat-shell {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s, 0s, 0s, 0s;
}

body.chat-open {
  --desktop-chat-gap: var(--desktop-chat-side-pad);
  --desktop-chat-effective-width: calc((100% - var(--desktop-chat-side-pad) - var(--desktop-chat-right-pad) - var(--desktop-chat-gap)) / 2);
  justify-content: center;
  overflow-y: scroll;
  padding-left: calc(var(--desktop-chat-side-pad) + var(--desktop-chat-effective-width) + var(--desktop-chat-gap));
  padding-right: var(--desktop-chat-right-pad);
}

body.chat-open.chat-open-overlay {
  padding-left: 0;
  padding-right: 0;
  justify-content: center;
  overflow: hidden;
  overscroll-behavior: none;
}

body.chat-open.chat-open-overlay .desktop-chat-shell {
  width: min(var(--desktop-chat-width), calc(100vw - (var(--desktop-chat-side-pad) * 2)));
  z-index: 1400;
}

body.chat-open .wrapper-contents {
  width: 100%;
  max-width: min(1000px, var(--desktop-chat-main-open-max));
  margin-left: auto;
  margin-right: 0;
}

body.chat-open .wrapper-setting,
body.chat-open .wrapper-log {
  width: 100%;
  max-width: var(--desktop-chat-main-open-max);
  margin-left: auto;
  margin-right: 0;
}

body.chat-open.chat-open-overlay .wrapper-contents {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

body.chat-open.chat-open-overlay .wrapper-setting {
  width: 100%;
  max-width: min(var(--app-page-max), var(--desktop-chat-main-open-max));
  margin-left: auto;
  margin-right: auto;
}

:root {
  --app-page-max: 1000px;
  --app-form-max: 920px;
  --app-card-radius: 10px;
  --app-control-radius: 8px;
  --app-surface-bg: #333;
  --app-card-bg: rgb(63, 63, 63);
  --app-card-border: rgba(95, 95, 95, 0.72);
}

.wrapper-contents {
  width: 100%;
  max-width: var(--app-page-max);
  border-radius: var(--app-card-radius);
  background-color: var(--app-surface-bg);
}

.wrapper-setting {
  width: 100%;
  max-width: var(--app-page-max);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--app-card-radius);
}

.wrapper-log {
  width: min(100%, 620px);
  max-width: calc(100vw - 40px);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--app-card-radius);
}

.post-create-shell {
  width: 100%;
  max-width: var(--app-form-max);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  background-color: transparent;
}

.post_main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--app-card-radius);
}

.post-empty-card,
.js-notif-empty {
  border: 1px solid rgba(111, 174, 254, 0.72);
  background: rgba(25, 44, 79, 0.45);
  box-shadow: 0 0 12px rgba(63, 140, 255, 0.28);
  color: #dce7f7;
}

.post-upload,
.upload-editor,
.upload-slider-viewport,
.upload-preview-item,
.post-create-text-wrap,
.profile-private-note,
.comment-input-field,
.post-report-modal {
  border-radius: var(--app-card-radius);
}

button,
.support-action-btn,
.support-create-btn,
.profile-search-more-btn,
.post-follow-button,
.comment-send-btn,
.post-option-menu,
.post-option-menu a,
.post-option-menu button {
  border-radius: var(--app-control-radius);
}

.nav-logout-form {
  display: block;
  margin: 0;
}

.nav-logout-button {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.nav-logout-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.form-consent-field {
  margin-top: 8px;
  border-bottom: 0;
}

.form-consent-label {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  transform: none;
  pointer-events: auto;
}

.form-consent-checkbox {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: #3f8cff;
}

.private-follow-action {
  margin-top: 12px;
}

.admin-inline-action-form {
  display: inline;
}

.slider-container {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 20;
}

.slider-btn.prev {
  left: 10px;
  display: none;
}

.slider-btn.next {
  right: 10px;
}

.comment-send-form .comment-input-field {
  margin: 0;
  min-height: 44px;
  padding: 0 44px 0 12px;
  border: 1px solid rgba(111, 174, 254, 0.62);
  background: rgba(16, 24, 39, 0.74);
  box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.12);
}

.comment-send-form .comment-input-field input {
  height: 42px;
  font-size: 14px;
}

.comment-send-form .comment-input-field label {
  left: 12px;
  color: rgba(210, 231, 255, 0.78);
  font-size: 13px;
}

.comment-send-form .comment-input-field input:focus~label,
.comment-send-form .comment-input-field input:valid~label {
  display: none;
}

.post_profile_picture,
.post_profile_picture_comment,
.profile_picture_setting,
.notif-post-preview-image,
.liked-row-media-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.chat-open .wrapper-contents,
body.chat-open.chat-open-overlay .wrapper-contents {
  width: 100%;
  max-width: min(var(--app-page-max), var(--desktop-chat-main-open-max));
}

body.chat-open .wrapper-setting,
body.chat-open .wrapper-log,
body.chat-open.chat-open-overlay .wrapper-setting {
  width: 100%;
  max-width: min(var(--app-page-max), var(--desktop-chat-main-open-max));
}

body.app-context-chat.chat-open {
  --desktop-chat-effective-width: min(var(--app-page-max), calc(100vw - 32px));
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  padding-left: 0;
  padding-right: 0;
}

body.app-context-chat.chat-open .desktop-chat-shell {
  position: relative;
  top: auto;
  left: auto;
  bottom: auto;
  width: min(100%, calc(100vw - 32px));
  max-width: var(--app-page-max);
  height: calc(100vh - var(--app-content-top) - 32px);
  min-height: 640px;
  margin: var(--app-content-top) auto 24px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
  z-index: 1;
}

body.app-context-chat.chat-open .desktop-chat-box {
  height: 100%;
}

body.app-context-chat.chat-open .wrapper-contents,
body.app-context-chat.chat-open.chat-open-overlay .wrapper-contents,
body.app-context-chat.chat-open .wrapper-setting,
body.app-context-chat.chat-open.chat-open-overlay .wrapper-setting {
  max-width: var(--app-page-max);
  margin-left: auto;
  margin-right: auto;
}

@media (max-height: 760px) {
  body.app-context-chat.chat-open .desktop-chat-shell {
    min-height: calc(100vh - var(--app-content-top) - 24px);
  }
}

body.chat-no-anim,
body.chat-no-anim .desktop-chat-shell,
body.chat-no-anim .wrapper-contents,
body.chat-no-anim .wrapper-setting,
body.chat-no-anim .wrapper-log {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html,
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
