body {
  margin: 0;
  font-family: Georgia, serif;
  background-color: #f9f5e8;
  color: #2d1d00;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.navbar,
.navbar-inverse {
  background: #5f2f2a;
  border-color: #4a241f;
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
  color: #fff8fb;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.page-body-container {
  width: auto;
  max-width: calc(1170px - 6cm);
}

.floating-contact-links {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #d9b7c6;
  border-radius: 50%;
  background: #f7dbe6;
  color: #8a3f61;
  box-shadow: 0 10px 22px rgba(118, 65, 90, 0.18);
  text-decoration: none;
}

.floating-mail-link:hover,
.floating-mail-link:focus {
  background: #f4cfdd;
  color: #7a3354;
  text-decoration: none;
}

.floating-mail-link .glyphicon {
  font-size: 19px;
}

.floating-abuse-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #e3b1be;
  border-radius: 999px;
  background: #ffe6ec;
  color: #9a3654;
  box-shadow: 0 10px 22px rgba(118, 65, 90, 0.18);
  text-decoration: none;
}

.floating-abuse-link:hover,
.floating-abuse-link:focus {
  background: #ffd9e4;
  color: #872a47;
  text-decoration: none;
}

.floating-abuse-link .glyphicon {
  font-size: 18px;
}

.floating-abuse-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.navbar-right-controls {
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 2100;
  display: flex;
  align-items: center;
  gap: 3px;
  transform: translateY(-50%);
}

.notification-menu {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.notification-menu-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d9c4ce;
  border-radius: 50%;
  background: #fff6fa;
  color: #8f4060;
  box-shadow: 0 6px 16px rgba(118, 65, 90, 0.12);
}

.notification-menu-trigger:hover,
.notification-menu-trigger:focus {
  color: #7d3151;
  text-decoration: none;
  outline: none;
}

.notification-menu-trigger .glyphicon {
  font-size: 15px;
}

.notification-menu-trigger.has-unseen::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border: 1px solid #fff6fa;
  border-radius: 50%;
  background: #43b85d;
}

.notification-menu-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #d7ccb4;
  border-radius: 10px;
  background: #fffdf7;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  z-index: 2200;
}

.notification-menu-dropdown.is-open {
  display: block;
}

.notification-menu-title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #876c49;
}

.notification-menu-item {
  display: block;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #efe2d6;
  border-radius: 10px;
  background: #fffaf0;
  color: #2d1d00;
  text-decoration: none;
}

.notification-menu-item:last-child {
  margin-bottom: 0;
}

.notification-menu-item:hover,
.notification-menu-item:focus {
  background: #fff5e2;
  color: #2d1d00;
  text-decoration: none;
}

.notification-menu-item.is-new {
  border-color: #d9eecf;
  background: #f4fff1;
}

.notification-menu-item-text {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.notification-menu-item-time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #8a7d69;
}

.notification-menu-empty {
  padding: 8px 4px 2px;
  font-size: 13px;
  color: #7f715f;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0;
}

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

.theme-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d8c9a4;
  cursor: pointer;
}

.theme-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fffdf7;
}

html.theme-toggle-ready .theme-slider {
  transition: background-color 0.25s ease;
}

html.theme-toggle-ready .theme-slider::before {
  transition: transform 0.25s ease;
}

html.theme-toggle-ready .theme-switch {
  opacity: 1;
}

.theme-switch input:checked + .theme-slider {
  background: #7d6be3;
}

.theme-switch input:checked + .theme-slider::before {
  transform: translateX(12px);
}

.profile-menu {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-menu-anonymous {
  position: relative;
}

.profile-top-time {
  min-width: 190px;
  padding-top: 2px;
  text-align: right;
  color: #f3ebd7;
}

.profile-top-time-label {
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d8c9a4;
}

.profile-top-time-value {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
}

.profile-menu-trigger {
  display: block;
  padding: 0;
  line-height: 1;
}

.profile-menu-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d8c9a4;
  object-fit: cover;
}

.profile-avatar-large {
  display: block;
  margin-bottom: 18px;
}

.profile-label-badge {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 6px 12px;
  border: 1px solid #cdbf9d;
  border-radius: 999px;
  background: #fff4c8;
  color: #6f4c00;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.profile-label-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 14px;
}

.profile-label-badges .profile-label-badge {
  margin: 0;
}

.profile-detail-block {
  margin: 12px 0;
}

.profile-detail-label {
  margin-bottom: 4px;
  font-weight: 700;
  color: #5b3b12;
}

.profile-detail-value {
  line-height: 1.5;
  color: #2d1d00;
}

.profile-label-selector {
  border: 1px solid #d7ccb4;
  border-radius: 8px;
  background: #fffdf7;
}

.profile-label-selector summary {
  min-height: 46px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
}

.profile-label-selector summary::-webkit-details-marker {
  display: none;
}

.profile-label-selector summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: #8a3f61;
}

.profile-label-selector[open] summary::after {
  content: "-";
}

.profile-label-selector-options {
  padding: 0 14px 12px;
  border-top: 1px solid #e9deca;
}

.profile-label-selector-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  cursor: pointer;
  font-weight: 400;
}

.profile-label-selector-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-label-selector-option span {
  position: relative;
  display: inline-block;
  padding-left: 18px;
}

.profile-label-selector-option span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
}

.profile-label-selector-option input[type="checkbox"]:checked + span::before {
  content: "\2713";
  width: auto;
  height: auto;
  color: #8a3f61;
  font-size: 14px;
  font-weight: 700;
}

.profile-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #d7ccb4;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  z-index: 2000;
}

.profile-menu-dropdown::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -14px;
  right: -14px;
  height: 30px;
}

.profile-menu:hover .profile-menu-dropdown,
.profile-menu:focus-within .profile-menu-dropdown {
  display: block;
}

.profile-menu-dropdown a {
  display: block;
  margin-bottom: 10px;
  color: #2d1d00;
  text-decoration: none;
}

.profile-menu-dropdown a:last-child {
  margin-bottom: 0;
}

.profile-menu-dropdown a:hover {
  text-decoration: underline;
}

.profile-menu-timeout {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3d9c5;
  font-size: 12px;
  color: #6d624e;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.content {
  flex: 1;
  padding: 60px;
}

.sidebar {
  width: 150px;
  border-left: 1px solid #ddd;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;

}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brand {
  font-weight: 600;
  margin-bottom: 30px;
  text-decoration: none;
  color: inherit;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
}

.sidebar nav a {
  margin-bottom: 18px;
  color: #571178;

  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

.sidebar nav a:hover {
  text-decoration-style: solid;
}

/* Aktive Seite dauerhaft durchgezogen */
.sidebar nav a.active {
  text-decoration-style: solid;
  font-weight: 600;
}

.form-control,
.chat-search-form input,
.chat-form input {
  min-height: 46px;
  padding: 12px 14px;
  font-size: 14px;
}

textarea.form-control {
  min-height: 120px;
}

.form-control::placeholder,
.chat-search-form input::placeholder,
.chat-form input::placeholder {
  font-size: 14px;
}

.logo {
  height: 1px;
  width: 1px;
}

.reading-page {
  font-size: 16px;
  line-height: 1.65;
}

.reading-page p {
  margin-bottom: 18px;
}

.sidebar-footer {
  margin-top: auto;
}
/* für Avatar und Profile und Posts */
.posts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ddd;
}

.profile-thumbnail img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}

.post-content {
  flex: 1;
}

.post-author a {
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.post-author a:hover {
  text-decoration: underline;
}

.post-date {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.post-body {
  white-space: pre-wrap;
  line-height: 1.45;
}

.post-side-actions {
  flex: 0 0 220px;
  margin-left: 16px;
}

.post-reply-box {
  min-width: 0;
}

.post-reply-box summary {
  cursor: pointer;
  font-weight: 600;
  color: #6f4c00;
}

.post-reply-box[open] {
  width: 100%;
  max-width: 520px;
}

.post-reply-box form {
  margin-top: 10px;
}

.post-reply-actions {
  margin-top: 10px;
}

.post-thread-link {
  display: inline-block;
  margin-top: 10px;
  color: #8a3f61;
  font-weight: 600;
  text-decoration: none;
}

.post-thread-link:hover {
  text-decoration: underline;
}

.post-thread-row {
  margin-top: 6px;
}

.post-thread-root {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-thread-tree,
.post-thread-children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-thread-item {
  margin-bottom: 12px;
}

.post-thread-reply {
  margin-top: 10px;
}

.post-thread-inline-actions {
  margin-top: 10px;
}

.post-form-wrap {
  margin-bottom: 24px;
}

.post-topic-filter {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid #ddd4bc;
  border-radius: 14px;
  background: #fffdf7;
}

.post-topic-filter summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  color: #5b3b12;
}

.post-topic-filter summary::-webkit-details-marker {
  display: none;
}

.post-topic-filter summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: #8a3f61;
}

.post-topic-filter[open] summary::after {
  content: "-";
}

.post-topic-filter-form {
  margin: 14px 0 0;
}

.post-tag-layout {
  gap: 28px;
}

.post-topic-filter .page-subheader p {
  margin-bottom: 14px;
  color: #6d624e;
}

.post-topic-filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.post-topic-filter-status {
  margin-top: 10px;
}

.profile-recommendations {
  margin: 28px 0 32px;
}

.profile-recommendation-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-recommendation-card {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-recommendation-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  padding: 12px 14px;
  border: 1px solid #ddd4bc;
  border-radius: 14px;
  background: #fffdf7;
  color: #2d1d00;
  text-decoration: none;
}

.profile-recommendation-link:hover {
  text-decoration: none;
  border-color: #cdbf9d;
}

.profile-recommendation-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d9cfbb;
}

.profile-recommendation-meta {
  flex: 1;
  min-width: 0;
}

.profile-recommendation-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.profile-recommendation-name {
  font-weight: 700;
}

.profile-recommendation-section {
  margin-top: 10px;
}

.profile-recommendation-section-label {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 700;
  color: #5b3b12;
}

.profile-recommendation-section-value {
  font-size: 13px;
  line-height: 1.45;
  color: #2d1d00;
}

.profile-recommendation-labels {
  max-width: 140px;
  text-align: right;
  font-size: 11px;
  line-height: 1.3;
  color: #8a3f61;
}

.profile-recommendation-hint {
  font-size: 13px;
  color: #6d624e;
}

.profile-recommendation-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

.tag-two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 28px;
  align-items: start;
}

.tag-main-column {
  min-width: 0;
}

.tag-side-column {
  padding: 18px 20px;
  border: 1px solid #ddd4bc;
  border-radius: 10px;
  background: #fffdf7;
}

.tag-side-column h4,
.tag-side-column h5 {
  margin-top: 0;
}

.tag-list {
  margin-bottom: 18px;
}

.tag-existing-match {
  background-color: #d9f0ff;
  border: 1px solid #97d0f3;
  color: #1a5778;
}

.tag-match-users {
  margin-top: 6px;
}

.tag-match-users-label {
  display: block;
  margin-bottom: 4px;
}

.tag-match-users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-match-user-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-match-user-link {
  display: inline-block;
  white-space: nowrap;
}

.tag-match-chat-button {
  padding: 6px 10px;
}

.profile-inline-request-compose,
.tagsearch-inline-request-compose {
  margin: 20px 0 28px;
}

@media (max-width: 900px) {
  .floating-contact-links {
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-end;
  }

  .page-body-container {
    max-width: none;
  }

  .tag-two-column-layout {
    grid-template-columns: 1fr;
  }

  .tag-side-column {
    order: 2;
  }
}

.chat-page {
  max-width: 860px;
  margin: 0 auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-load-older {
  font-size: 13px;
}

.chat-block-state {
  margin: 6px 0 0;
  color: #8a5b00;
  font-size: 14px;
}

.chat-messages {
  list-style: none;
  margin: 0;
  padding: 16px;
  border: 1px solid #402e02;
  border-radius: 12px;
  background: #ffffff;
  max-height: 62vh;
  overflow-y: auto;
}

.chat-message {
  display: flex;
  margin-bottom: 12px;
  scroll-margin-top: 12px;
}

.chat-message-own {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 78%;
  background: #b97b7b;
  border: 1px solid #c4a45a;
  border-radius: 12px;
  padding: 10px 12px;
}

.chat-message-own .chat-bubble {
  background: #d0c4fa;
  border-color: #d8cff8;
}

.chat-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.chat-author {
  font-size: 13px;
  font-weight: 700;
  color: #2e1958;
}

.chat-time {
  margin-left: auto;
  font-size: 10px;
  color: #20008a;
  white-space: nowrap;
}

.chat-body {
  white-space: pre-wrap;
  word-break: break-word;
  color: #210051;
}

.chat-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.chat-form input {
  flex: 1;
  border: 1px solid #d5cfc1;
  border-radius: 10px;
  padding: 10px 12px;
}

.chat-form button {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: #7459aa;
  color: #fff;
}

.chat-list a {
  color: #250662;
}

.chat-index-header {
  margin-bottom: 18px;
}

.chat-index-header p {
  color: #6d624e;
}

.chat-conversation-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.chat-conversation-card {
  margin-bottom: 12px;
}

.chat-conversation-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 50%;
  min-width: 420px;
  padding: 10px 12px;
  border: 1px solid #ddd4bc;
  border-radius: 12px;
  background: #fffdf7;
  color: #250662;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(64, 46, 2, 0.06);
}

.chat-conversation-link:hover {
  text-decoration: none;
  border-color: #cdbf9d;
  box-shadow: 0 10px 24px rgba(64, 46, 2, 0.12);
}

.chat-conversation-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d9cfbb;
}

.chat-conversation-meta {
  min-width: 74px;
}

.chat-conversation-name {
  font-weight: 700;
  color: #2d1d00;
}

.chat-conversation-last-time {
  margin-top: 2px;
  font-size: 11px;
  color: #6d624e;
  white-space: nowrap;
}

.chat-conversation-matching-tags {
  margin-top: 4px;
  max-width: 180px;
  font-size: 11px;
  line-height: 1.35;
  color: #5b4a1a;
}

.chat-conversation-message-count {
  margin-top: 4px;
  max-width: 180px;
  font-size: 11px;
  line-height: 1.35;
  color: #5b4a1a;
}

.chat-conversation-bubble {
  position: relative;
  flex: 1;
  padding: 9px 11px;
  border-radius: 12px;
  background: #f1ecff;
  color: #35226b;
  line-height: 1.3;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conversation-bubble::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: #f1ecff;
  transform: rotate(45deg);
}

.chat-search-panel {
  margin-top: 24px;
}

.chat-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
  margin-top: 14px;
}

.chat-search-results-column {
  min-width: 0;
}

.chat-request-compose {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #ddd4bc;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 8px 18px rgba(64, 46, 2, 0.06);
}

.chat-request-compose-help {
  margin-bottom: 10px;
  color: #6d624e;
}

.chat-request-compose textarea {
  width: 100%;
  resize: vertical;
}

.chat-request-compose-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.chat-search-form {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 0;
}

.chat-search-form input {
  flex: 1;
  border: 1px solid #d5cfc1;
  border-radius: 12px;
  padding: 10px 12px;
}

.chat-search-form button,
.chat-start-button {
  border: 0;
}

.chat-search-form button {
  border-radius: 12px;
  padding: 10px 16px;
  background: #7459aa;
  color: #fff;
}

.chat-start-button {
  text-align: left;
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.chat-search-result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 50%;
  min-width: 420px;
}

.chat-request-card {
  width: 50%;
  min-width: 420px;
}

.chat-search-profile-link {
  flex: 1;
  min-width: 0;
}

.chat-search-start-form {
  margin: 0;
  flex: 0 0 auto;
}

.chat-request-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-start-action-button {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid #d5cfc1;
  border-radius: 10px;
  background: #7459aa;
  color: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.chat-start-action-button:hover {
  background: #644a9e;
}

.chat-request-withdraw-button {
  width: 100%;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .chat-search-layout {
    grid-template-columns: 1fr;
  }

  .chat-conversation-link {
    width: 100%;
    min-width: 0;
  }

  .chat-search-result-card {
    width: 100%;
    min-width: 0;
    align-items: stretch;
    flex-direction: column;
  }

  .chat-request-card {
    width: 100%;
    min-width: 0;
  }

  .chat-request-compose {
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }

  .chat-search-start-form {
    width: 100%;
  }

  .chat-start-action-button {
    width: 100%;
  }
}

.chat-empty-state {
  color: #6d624e;
}

html.dark-mode body {
  background-color: #1f1a16;
  color: #f1ebdd;
}

html.dark-mode .navbar,
html.dark-mode .navbar-inverse {
  background: #5f2f2a;
  border-color: #4a241f;
}

html.dark-mode .navbar-inverse .navbar-brand,
html.dark-mode .navbar-inverse .navbar-nav > li > a,
html.dark-mode .chat-conversation-link,
html.dark-mode .chat-conversation-name,
html.dark-mode .notification-menu-item,
html.dark-mode .profile-menu-dropdown a,
html.dark-mode .post-author a {
  color: #f1ebdd;
}

html.dark-mode .profile-top-time,
html.dark-mode .profile-top-time-label,
html.dark-mode .profile-top-time-value,
html.dark-mode .notification-menu-empty,
html.dark-mode .notification-menu-item-time,
html.dark-mode .chat-index-header p,
html.dark-mode .chat-empty-state,
html.dark-mode .chat-block-state,
html.dark-mode .chat-load-older,
html.dark-mode .chat-time,
html.dark-mode .chat-conversation-last-time,
html.dark-mode .chat-conversation-matching-tags,
html.dark-mode .chat-conversation-message-count,
html.dark-mode .post-date,
html.dark-mode .profile-preview-username {
  color: #cbbfa8;
}

html.dark-mode .profile-menu-dropdown,
html.dark-mode .notification-menu-dropdown,
html.dark-mode .tag-side-column,
html.dark-mode .post-topic-filter,
html.dark-mode .chat-messages,
html.dark-mode .chat-bubble,
html.dark-mode .chat-form input,
html.dark-mode .chat-conversation-link,
html.dark-mode .chat-request-compose,
html.dark-mode .chat-search-form input,
html.dark-mode .form-control,
html.dark-mode .profile-preview-card,
html.dark-mode .profile-label-selector {
  background: #2c261f;
  border-color: #4c4134;
  color: #f1ebdd;
}

html.dark-mode .notification-menu-trigger {
  border-color: #6d5060;
  background: #3c3037;
  color: #f0dce6;
}

html.dark-mode .notification-menu-trigger.has-unseen::after {
  border-color: #3c3037;
}

html.dark-mode .notification-menu-title {
  color: #d8c9a4;
}

html.dark-mode .notification-menu-item {
  border-color: #5a4b43;
  background: #352b25;
}

html.dark-mode .notification-menu-item:hover,
html.dark-mode .notification-menu-item:focus {
  background: #40342d;
}

html.dark-mode .notification-menu-item.is-new {
  border-color: #4e7056;
  background: #253228;
}

html.dark-mode .floating-mail-link {
  background: #5b2f42;
  border-color: #8a5670;
  color: #ffe5ef;
}

html.dark-mode .floating-mail-link:hover,
html.dark-mode .floating-mail-link:focus {
  background: #6c3950;
  color: #fff0f6;
}

html.dark-mode .floating-abuse-link {
  background: #6a2c3f;
  border-color: #a35f77;
  color: #ffe5ef;
}

html.dark-mode .floating-abuse-link:hover,
html.dark-mode .floating-abuse-link:focus {
  background: #7a3349;
  color: #fff0f6;
}

html.dark-mode .chat-request-compose-help {
  color: #cbbfa8;
}

html.dark-mode .chat-header h3,
html.dark-mode .chat-author,
html.dark-mode .chat-body,
html.dark-mode .chat-list a {
  color: #f1ebdd;
}

html.dark-mode .profile-label-badge {
  background: #5b4b1e;
  border-color: #8e7a45;
  color: #f7ebbf;
}

html.dark-mode .profile-label-selector-options {
  border-top-color: #4c4134;
}

html.dark-mode .profile-label-selector summary::after {
  color: #f0dce6;
}

html.dark-mode .chat-conversation-bubble,
html.dark-mode .chat-conversation-bubble::before {
  background: #3b3257;
  color: #f1ebdd;
}

html.dark-mode .chat-messages {
  border-color: #4c4134;
}

html.dark-mode .chat-bubble {
  background: #5b3c3c;
  border-color: #7a5757;
}

html.dark-mode .chat-message-own .chat-bubble {
  background: #433c67;
  border-color: #5c5586;
}

html.dark-mode .chat-search-form button,
html.dark-mode .chat-form button,
html.dark-mode .btn-primary {
  background: #6e5ab7;
  border-color: #6e5ab7;
  color: #f1ebdd;
}

html.dark-mode .chat-start-action-button {
  background: #6e5ab7;
  border-color: #6e5ab7;
  color: #f1ebdd;
}

html.dark-mode .posts,
html.dark-mode .post,
html.dark-mode .profile-menu-timeout {
  border-color: #43382c;
}

.profile-preview-card {
  position: fixed;
  z-index: 1500;
  width: 290px;
  background: #fffdf7;
  border: 1px solid #d7ccb4;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  padding: 10px 12px;
  color: #2d1d00;
  pointer-events: none;
}

.profile-preview-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.profile-preview-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d9cfbb;
}

.profile-preview-heading {
  flex: 1;
  min-width: 0;
}

.profile-preview-name {
  font-weight: 700;
  line-height: 1.1;
}

.profile-preview-reason,
.profile-preview-location,
.profile-preview-about,
.profile-preview-tags {
  font-size: 12px;
  line-height: 1.35;
}

.profile-preview-section {
  margin-top: 8px;
}

.profile-preview-section-label {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #5b3b12;
}

.profile-preview-header-labels {
  max-width: 120px;
  text-align: right;
  font-size: 11px;
  line-height: 1.3;
  color: #8a3f61;
}

.profile-preview-reason {
  color: #3f2f10;
}
