﻿:root {
  --bg: #050711;
  --panel: rgba(10, 14, 32, .86);
  --panel-2: rgba(16, 20, 44, .78);
  --line: rgba(142, 78, 255, .32);
  --text: #f7f4ff;
  --muted: rgba(247, 244, 255, .66);
  --purple: #6737ff;
  --pink: #e43abf;
  --danger: #e5183a;
  --green: #12d66f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(109, 55, 255, .28), transparent 26%),
    radial-gradient(circle at 92% 20%, rgba(228, 58, 191, .18), transparent 28%),
    #050711;
  scrollbar-color: #7c3aed #120a2a;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #7c3aed #120a2a;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #120a2a;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c084fc, #6d28d9);
  border-radius: 999px;
  border: 2px solid #120a2a;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

a {
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.furcord-shell {
  height: 100vh;
  padding: 16px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-rows: 1fr;
  gap: 16px;
}

.fc-left,
.fc-main {
  min-height: 0;
}

.fc-left {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.fc-profile-card,
.fc-list-card,
.fc-chat-head,
.fc-chat-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(17, 20, 45, .78), rgba(5, 7, 17, .84));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.fc-profile-card {
  padding: 18px;
}

.fc-profile-link,
.fc-current,
.fc-user-row,
.fc-group-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fc-profile-link strong {
  display: block;
  font-size: 18px;
}

.fc-profile-link small,
.fc-current small,
.fc-user-row small,
.fc-group-row small {
  display: block;
  color: var(--muted);
}

.fc-online {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--green);
}

.fc-online::before,
.fc-status-dot {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px rgba(18, 214, 111, .65);
}

.fc-status-dot.off {
  background: #3b1b78;
  box-shadow: 0 0 14px rgba(126, 87, 255, .28);
}

.fc-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #11d665, #04953e);
  box-shadow: 0 0 26px rgba(18, 214, 111, .38);
}

.fc-user-row.offline .fc-avatar,
.fc-avatar.offline {
  background: linear-gradient(135deg, #21113f, #5630a8);
  box-shadow: 0 0 18px rgba(126, 87, 255, .22);
}

.fc-user-row.offline .fc-avatar img,
.fc-avatar.offline img {
  filter: saturate(.8) brightness(.88);
}

.fc-user-row.offline small {
  color: #c4b5fd;
}

.fc-avatar-lg {
  width: 72px;
  height: 72px;
  font-size: 22px;
}

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

.fc-list-card {
  min-height: 0;
  padding: 12px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 10px;
}

.fc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fc-tab,
.fc-outline-action,
.fc-search,
.fc-compose input {
  border-radius: 8px;
  border: 1px solid rgba(142, 78, 255, .22);
  background: rgba(255, 255, 255, .045);
  color: var(--text);
}

.fc-tab,
.fc-outline-action {
  position: relative;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
}

.fc-tab-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #ff2f6d, #d12fe3);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.fc-tab.active,
.fc-outline-action:hover {
  background: linear-gradient(135deg, var(--purple), #9a33ff);
  box-shadow: 0 14px 34px rgba(103, 55, 255, .32);
}

.fc-tab img,
.fc-outline-action img,
.fc-head-actions img,
.fc-right img,
.fc-attach img,
.fc-record img,
.fc-send img,
.fc-icon-action img,
.fc-gear img,
.fc-kebab img,
.fc-dropdown img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.img-missing {
  display: none !important;
}

.fc-search {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  outline: 0;
}

.fc-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 8px;
}

.fc-icon-action {
  position: relative;
  min-height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(142, 78, 255, .34);
  background: linear-gradient(135deg, rgba(103, 55, 255, .92), rgba(228, 58, 191, .82));
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(103, 55, 255, .25);
}

.fc-icon-action span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 15;
  width: max-content;
  max-width: 210px;
  transform: translate(-50%, 6px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(228, 58, 191, .35);
  background: rgba(10, 10, 22, .96);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  transition: .18s ease;
}

.fc-icon-action:hover span,
.fc-icon-action:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0);
}

.fc-list,
.fc-public-groups {
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.fc-user-row,
.fc-group-row {
  position: relative;
  width: 100%;
  min-height: 74px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(18, 23, 50, .64);
}

.fc-unread-badge,
.fc-menu-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #ff2f6d, #d12fe3);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(229, 24, 58, .34);
}

.fc-unread-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.fc-user-row.active,
.fc-group-row.active {
  border-color: rgba(156, 70, 255, .9);
  background: linear-gradient(135deg, rgba(103, 55, 255, .28), rgba(228, 58, 191, .12));
}

.fc-outline-action {
  width: 100%;
  background: rgba(255, 255, 255, .025);
  border-color: rgba(228, 58, 191, .55);
}

.fc-main {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-width: 0;
}

.fc-main::after {
  display: none;
}

.fc-chat-head {
  min-height: 125px;
  padding: 20px 92px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.fc-current h1 {
  margin: 0;
  font-size: 25px;
}

.fc-head-actions {
  position: relative;
  padding-right: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.fc-user-menu-wrap {
  position: relative;
}

.fc-gear {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 78, 255, .38);
  background: linear-gradient(135deg, #25165f, #8d29ff);
  box-shadow: 0 16px 36px rgba(103, 55, 255, .28);
}

.fc-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 230px;
  padding: 10px;
  display: grid;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(142, 78, 255, .34);
  background: rgba(8, 10, 24, .98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.fc-dropdown .fc-danger {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 14px;
  font-size: 14px;
}

.fc-purple,
.fc-danger,
.fc-cancel,
.fc-side-action,
.fc-side-title {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  font-weight: 950;
}

.fc-purple,
.fc-side-action {
  background: linear-gradient(135deg, #1f22b8, var(--pink));
  box-shadow: 0 15px 36px rgba(126, 53, 255, .25);
}

.fc-danger {
  background: linear-gradient(135deg, #9d061a, #e5193e);
  box-shadow: 0 15px 36px rgba(229, 24, 58, .25);
}

.fc-cancel {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .035);
}

.fc-chat-panel {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background-size: cover;
  background-position: center;
}

.fc-chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .09;
  background-image:
    url("/img/furcord/wallpaper.png"),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.15), transparent 20%);
  background-size: 480px auto, cover;
  background-repeat: repeat;
}

.fc-members,
.fc-messages,
.fc-compose {
  position: relative;
  z-index: 1;
}

.fc-members {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px 0;
}

.fc-member-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
}

.fc-member-pill button {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(229, 24, 58, .8);
  color: #fff;
  font-weight: 800;
}

.fc-messages {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 28px 124px;
  scroll-behavior: smooth;
}

.fc-message-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
}

.fc-load-more {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217, 70, 239, .45);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(139, 92, 246, .16);
}

.fc-load-more:hover {
  background: linear-gradient(135deg, #6d28d9, #d946ef);
}

.fc-message-line.mine {
  justify-content: flex-end;
}

.fc-message-line.mine .fc-avatar {
  order: 2;
}

.fc-bubble {
  position: relative;
  max-width: min(700px, 74%);
  padding: 18px 58px 18px 22px;
  border-radius: 8px 18px 18px 18px;
  background: rgba(20, 24, 52, .86);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .25);
}

.fc-message-line.mine .fc-bubble {
  border-radius: 18px 8px 18px 18px;
  background: linear-gradient(135deg, rgba(37, 57, 255, .95), rgba(224, 44, 166, .95));
}

.fc-bubble b {
  color: #a05dff;
}

.fc-bubble small {
  color: var(--muted);
  margin-left: 8px;
}

.fc-bubble p {
  margin: 10px 0 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.chat-media-open {
  position: relative;
  display: block;
  padding: 0;
  margin-top: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
}

.chat-media-img,
.chat-media-video {
  display: block;
  width: min(520px, 100%);
  max-height: 420px;
  object-fit: contain;
}

.chat-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(20, 24, 52, .82);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 24px;
}

.media-download-mini {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fc-bubble audio {
  width: min(360px, 100%);
  margin-top: 12px;
}

.fc-message-menu {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  z-index: 2;
}

.msg-more {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 17, .18);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.msg-more:hover,
.fc-message-menu.open .msg-more {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.msg-menu-pop {
  position: absolute;
  top: 34px;
  right: 0;
  display: none;
  padding: 6px;
  border-radius: 12px;
  background: rgba(10, 13, 30, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
}

.fc-message-menu.open .msg-menu-pop {
  display: block;
}

.msg-delete {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(229, 24, 58, .9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fc-compose {
  align-self: end;
  margin: 0 16px 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 56px 56px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 10px;
  min-height: 86px;
  max-height: 98px;
  border-radius: 10px;
  background: rgba(11, 15, 34, .92);
  border: 1px solid rgba(142, 78, 255, .18);
}

.fc-compose input {
  height: 56px;
  min-height: 56px;
  padding: 0 18px;
  outline: 0;
}

.fc-attach,
.fc-record,
.fc-send {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3d158f, #7d22e7);
  display: grid;
  place-items: center;
}

.fc-send {
  width: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3827ff, #e43abf);
}

.fc-record {
  position: relative;
  background: linear-gradient(135deg, #17224f, #7b20c9);
}

.fc-record.recording {
  background: linear-gradient(135deg, #c40d2f, #ff4568);
  box-shadow: 0 0 0 0 rgba(255, 69, 104, .48);
  animation: recordPulse 1.15s ease-in-out infinite;
}

.fc-record.recording::after {
  content: attr(data-time);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 69, 104, .95);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.fc-record-status {
  position: relative;
  z-index: 1;
  margin: 0 18px 12px;
  color: var(--muted);
  font-size: 13px;
}

.fc-attachment-preview {
  margin: 0 16px 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid rgba(142, 78, 255, .32);
  background: rgba(16, 20, 45, .96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
}

.fc-attachment-thumb {
  width: 64px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #4420c8, #d436bd);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.fc-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-attachment-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.fc-attachment-info strong,
.fc-attachment-info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-attachment-info span {
  color: var(--muted);
  font-size: 13px;
}

.fc-attachment-info audio {
  width: min(420px, 100%);
  height: 34px;
}

.fc-attachment-cancel {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b70b25, #ef3b64);
  color: #fff;
  font-weight: 950;
}

@keyframes recordPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 69, 104, .46); }
  70% { box-shadow: 0 0 0 12px rgba(255, 69, 104, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 69, 104, 0); }
}

.fc-media-dialog::backdrop {
  background: rgba(0, 0, 0, .72);
}

.fc-media-dialog {
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  background: transparent;
}

dialog.fc-media-dialog[open] {
  display: block;
  width: 100vw;
  height: 100dvh;
}

.fc-media-card {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 14px;
  border-radius: 0;
  border: 1px solid rgba(142, 78, 255, .45);
  background: rgba(8, 10, 24, .98);
  color: #fff;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
}

.fc-media-preview-body {
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.fc-media-preview-body img,
.fc-media-preview-body video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.fc-media-preview-body img {
  min-width: 0;
}

.fc-media-preview-body.zoomed {
  align-items: flex-start;
  justify-content: flex-start;
  cursor: zoom-out;
}

.fc-media-preview-body.zoomed img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  min-width: 0;
}

.fc-media-card > .fc-dialog-close {
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 4;
}

.fc-media-card > .fc-dialog-actions {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  width: min(560px, calc(100vw - 24px));
  transform: translateX(-50%);
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  background: rgba(8, 10, 24, .82);
  border: 1px solid rgba(142, 78, 255, .28);
  backdrop-filter: blur(10px);
}

.fc-right {
  position: fixed;
  top: 31px;
  right: 31px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
  width: auto;
  height: 58px;
  padding: 5px;
  border-radius: 18px;
  border: 1px solid rgba(142, 78, 255, .34);
  background: rgba(12, 14, 31, .92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.fc-kebab,
.fc-notify-btn {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(142, 78, 255, .35);
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
  gap: 3px;
}

.fc-notify-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.fc-notify-menu {
  position: absolute;
  top: 68px;
  right: 64px;
  width: min(360px, calc(100vw - 28px));
  max-height: min(440px, 70vh);
  overflow-y: auto;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(142, 78, 255, .35);
  background: rgba(8, 10, 24, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  z-index: 22;
}

.fc-notify-item {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 12px;
  padding-right: 42px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
}

.fc-notify-item.unread {
  border: 1px solid rgba(228, 58, 191, .4);
}

.fc-notify-item p {
  margin: 0;
  color: var(--muted);
}

.fc-notify-close {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.fc-notify-close:hover {
  background: rgba(244, 63, 94, .85);
}

.fc-menu-badge {
  position: absolute;
  right: -6px;
  top: -7px;
}

.fc-kebab span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.fc-side-menu {
  position: absolute;
  top: 68px;
  right: 0;
  width: min(320px, calc(100vw - 28px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(142, 78, 255, .35);
  background: rgba(8, 10, 24, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
  z-index: 20;
}

.fc-side-menu.hidden {
  display: none !important;
}

.fc-side-title {
  justify-content: flex-start;
  min-height: 64px;
  background: rgba(255, 255, 255, .035);
  font-size: 24px;
}

.fc-side-action {
  width: 100%;
  justify-content: flex-start;
  min-height: 74px;
  padding: 0 22px;
  font-size: 18px;
}

.fc-side-action span {
  display: grid;
  gap: 4px;
  text-align: left;
  line-height: 1.15;
}

.fc-side-action span b {
  font: inherit;
}

.fc-side-action span small {
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  font-weight: 700;
}

.fc-side-danger {
  background: linear-gradient(135deg, #9d061a, #e5193e);
}

.fc-side-list {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}

.fc-more-link {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, .18);
  border: 1px solid rgba(217, 70, 239, .35);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fc-supporter-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--badge-color, #f59e0b) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge-color, #f59e0b) 62%, transparent);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  vertical-align: middle;
}

.fc-supporter-badge img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.fc-avatar-button,
.fc-name-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.fc-avatar-button {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 50%;
}

.fc-avatar-button:hover .fc-avatar,
.fc-name-button:hover {
  filter: brightness(1.12);
}

.fc-name-button {
  color: #a05dff;
  font-weight: 950;
}

.fc-user-card-pop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(142, 78, 255, .28);
  background: rgba(255, 255, 255, .045);
}

.fc-user-card-pop h3,
.fc-user-card-pop p {
  margin: 0;
}

.fc-request-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1300;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  width: min(360px, calc(100vw - 24px));
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(217, 70, 239, .45);
  background: rgba(9, 11, 28, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.fc-request-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fc-request-toast p {
  margin: 4px 0 10px;
  color: var(--muted);
}

.fc-request-toast button,
.fc-info-actions button,
.fc-info-member button {
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 900;
}

.fc-group-info-head,
.fc-info-member,
.fc-info-member a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fc-group-info-head {
  margin-bottom: 14px;
}

.fc-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.fc-info-members {
  display: grid;
  gap: 10px;
  max-height: min(46vh, 420px);
  overflow-y: auto;
}

.fc-info-member {
  justify-content: space-between;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}

.fc-info-member > div {
  display: flex;
  gap: 8px;
}

.fc-danger-mini {
  background: linear-gradient(135deg, #ef123c, #be123c) !important;
}

.fc-side-mini,
.fc-public-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin: 8px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}

.fc-side-mini button,
.fc-public-row button {
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 850;
}

.fc-side-mini button {
  grid-column: span 1;
}

.fc-public-row {
  grid-template-columns: auto 1fr auto;
}

.fc-public-groups h3 {
  margin: 14px 4px 10px;
}

.fc-public-list {
  max-height: 166px;
  overflow-y: auto;
  padding-right: 4px;
}

.fc-public-groups {
  max-height: 216px;
  overflow-y: auto;
  padding-right: 6px;
}

.muted {
  color: var(--muted);
}

.floating-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  max-width: min(520px, calc(100% - 24px));
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(229, 24, 58, .95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.floating-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.floating-toast.ok {
  background: rgba(18, 214, 111, .95);
}

.fc-dialog {
  width: min(540px, calc(100% - 28px));
  border: 1px solid rgba(228, 58, 191, .5);
  border-radius: 18px;
  padding: 0;
  color: var(--text);
  background: transparent;
}

.fc-dialog::backdrop {
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(7px);
}

.fc-dialog-card {
  position: relative;
  padding: 34px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(228, 58, 191, .16), transparent 42%),
    #090d1f;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .55);
}

.fc-dialog-card input {
  width: 100%;
  min-height: 52px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.fc-field-error {
  margin: -4px 0 8px;
  color: #ff7a9a;
  font-size: 13px;
  font-weight: 900;
}

.fc-dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 24px;
}

.fc-file-label,
.fc-check {
  display: block;
  margin: 12px 0;
  color: var(--muted);
}

.fc-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-dialog-card .fc-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: #d946ef;
}

.fc-confirm-card {
  text-align: center;
}

.fc-confirm-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 34px;
  background: linear-gradient(135deg, #ff3369, #e5183a);
  box-shadow: 0 0 42px rgba(229, 24, 58, .5);
}

.fc-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.fc-info-body {
  max-height: min(58vh, 520px);
  overflow-y: auto;
  margin: 18px 0;
}

.fc-info-body .fc-side-mini {
  grid-template-columns: auto 1fr auto auto;
}

#textInputValue[readonly] {
  user-select: all;
  color: #fff;
  border-color: rgba(228, 58, 191, .5);
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .furcord-shell {
    height: auto;
    min-height: 100vh;
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .fc-side-action,
  .fc-side-title {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .furcord-shell {
    padding: 10px;
    grid-template-columns: 1fr;
  }

  .fc-list-card {
    max-height: 42vh;
  }

  .fc-chat-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .fc-head-actions {
    justify-content: stretch;
    width: 100%;
  }

  .fc-head-actions > a,
  .fc-head-actions > button {
    flex: 1 1 140px;
  }

  .fc-user-menu-wrap {
    flex: 0 0 auto;
  }

  .fc-messages {
    min-height: 52vh;
    padding: 18px 12px;
  }

  .fc-bubble {
    max-width: 84%;
    padding-right: 56px;
  }

  .fc-compose {
    margin: 0 10px 10px;
    grid-template-columns: 48px 48px minmax(0, 1fr) 54px;
    min-height: 78px;
    padding: 10px;
    gap: 8px;
  }

  .fc-compose input,
  .fc-attach,
  .fc-record {
    height: 48px;
    min-height: 48px;
  }

  .fc-attach,
  .fc-record {
    width: 48px;
  }

  .fc-send {
    width: 54px;
    height: 54px;
  }

  .fc-record-status {
    margin: 0 12px 10px;
  }

  .fc-right {
    top: auto;
    right: 14px;
    bottom: 14px;
    width: auto;
    height: 56px;
    border-radius: 50%;
    z-index: 120;
    background: linear-gradient(135deg, rgba(103, 55, 255, .96), rgba(228, 58, 191, .92));
    box-shadow: 0 18px 42px rgba(103, 55, 255, .36);
  }

  .fc-notify-menu {
    right: 0;
    bottom: 68px;
    top: auto;
  }

  .fc-kebab {
    width: 48px;
    height: 48px;
    background: rgba(5, 7, 17, .22);
    border-color: rgba(255, 255, 255, .18);
  }

  .fc-side-menu {
    top: auto;
    right: 0;
    bottom: 66px;
  }
}

/* ========================= */
/* FurSync ORGANIZADO E FOFO */
/* ========================= */

@media (min-width: 761px) {
  .furcord-shell {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .fc-chat-head {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    align-items: center;
    min-height: 116px;
    padding: 18px 88px 18px 20px;
  }

  .fc-head-actions {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: end;
    gap: 12px;
  }

  .fc-head-actions .fc-purple {
    min-width: 190px;
  }

  .fc-user-menu-wrap {
    justify-self: end;
  }

  .fc-right {
    top: 47px;
    right: 33px;
  }

  .fc-chat-panel {
    min-height: 0;
  }

  .fc-messages {
    padding: 22px 30px 118px;
  }
}

.fc-profile-card,
.fc-list-card,
.fc-chat-head,
.fc-chat-panel {
  border-radius: 16px;
}

.fc-profile-card {
  min-height: 132px;
}

.fc-current {
  min-width: 0;
}

.fc-current h1,
.fc-profile-link strong,
.fc-user-row strong,
.fc-group-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-head-actions .fc-purple,
.fc-head-actions .fc-danger {
  min-height: 54px;
  border-radius: 12px;
}

.fc-gear {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.fc-chat-panel {
  border-radius: 16px;
}

.fc-compose {
  position: sticky;
  bottom: 10px;
  z-index: 4;
  backdrop-filter: blur(14px);
}

.fc-bubble {
  border: 1px solid rgba(255, 255, 255, .06);
}

.fc-right {
  transition: transform .18s ease, box-shadow .18s ease;
}

.fc-right:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(103, 55, 255, .28);
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .furcord-shell {
    padding: 10px;
    gap: 10px;
    min-height: 100dvh;
  }

  .fc-left {
    gap: 10px;
  }

  .fc-profile-card {
    min-height: auto;
    padding: 12px;
    border-radius: 14px;
  }

  .fc-profile-link {
    gap: 10px;
  }

  .fc-profile-link strong {
    font-size: 15px;
  }

  .fc-avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

  .fc-online {
    margin-top: 8px;
    font-size: 14px;
  }

  .fc-list-card {
    max-height: 38vh;
    padding: 10px;
    border-radius: 14px;
  }

  .fc-tab,
  .fc-outline-action,
  .fc-search,
  .fc-icon-action {
    min-height: 46px;
    border-radius: 12px;
  }

  .fc-search-row {
    grid-template-columns: minmax(0, 1fr) 46px;
  }

  .fc-user-row,
  .fc-group-row {
    min-height: 64px;
    padding: 10px;
    border-radius: 12px;
  }

  .fc-main {
    gap: 10px;
  }

  .fc-chat-head {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px;
    border-radius: 14px;
    gap: 12px;
  }

  .fc-current h1 {
    font-size: 20px;
  }

  .fc-head-actions {
    display: grid;
    grid-template-columns: 48px 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .fc-user-menu-wrap {
    grid-column: 1;
  }

  .fc-gear {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .fc-head-actions .fc-purple,
  .fc-head-actions .fc-danger,
  .fc-head-actions > a,
  .fc-head-actions > button {
    min-height: 48px;
    flex: initial;
    padding: 0 10px;
    border-radius: 13px;
    font-size: 13px;
  }

  #leaveGroupBtn {
    grid-column: 1 / -1;
  }

  .fc-chat-panel {
    min-height: 62vh;
    border-radius: 14px;
  }

  .fc-messages {
    min-height: 52vh;
    padding: 14px 10px 96px;
  }

  .fc-message-line {
    gap: 8px;
    margin-bottom: 16px;
  }

  .fc-message-line .fc-avatar {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .fc-bubble {
    max-width: calc(100% - 54px);
    padding: 14px 52px 14px 16px;
    border-radius: 14px;
  }

  .fc-message-line.mine .fc-bubble {
    max-width: calc(100% - 54px);
  }

  .chat-media-img,
  .chat-media-video {
    width: min(100%, 320px);
    max-height: 360px;
  }

  .fc-compose {
    margin: 0 8px 8px;
    grid-template-columns: 44px 44px minmax(0, 1fr) 50px;
    min-height: 70px;
    max-height: none;
    padding: 8px;
    border-radius: 14px;
  }

  .fc-compose input,
  .fc-attach,
  .fc-record {
    height: 44px;
    min-height: 44px;
  }

  .fc-attach,
  .fc-record {
    width: 44px;
    border-radius: 12px;
  }

  .fc-send {
    width: 50px;
    height: 50px;
  }

  .fc-right {
    right: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
  }

  .fc-kebab {
    width: 46px;
    height: 46px;
  }

  .fc-side-menu {
    width: min(300px, calc(100vw - 24px));
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 12px;
    gap: 10px;
    border-radius: 18px;
  }

  .fc-side-action {
    min-height: 58px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 15px;
  }

  .fc-dialog-card {
    padding: 24px 18px;
  }
}

/* ========================= */
/* AJUSTE FINAL DO MENU DE TRES PONTOS */
/* ========================= */

.fc-chat-head {
  position: relative !important;
  padding-right: 150px !important;
}

.fc-head-actions {
  flex-wrap: nowrap !important;
  margin-right: 132px !important;
}

.fc-right {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  bottom: auto !important;
  width: auto !important;
  height: 58px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.fc-right .fc-notify-btn,
.fc-right .fc-kebab {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 54px !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(142, 78, 255, .34) !important;
  background: rgba(12, 14, 31, .94) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28) !important;
}

.fc-right-old {
  display: none !important;
}

.fc-side-menu {
  top: 68px !important;
  right: 0 !important;
  bottom: auto !important;
}

@media (max-width: 760px) {
  .fc-chat-head {
    padding: 12px 116px 12px 12px !important;
  }

  .fc-head-actions {
    margin-right: 0 !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .fc-user-menu-wrap {
    grid-column: 1 / -1;
    width: 48px;
  }

  .fc-right {
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
    height: 54px !important;
    gap: 7px !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .fc-right .fc-notify-btn,
  .fc-right .fc-kebab {
    flex-basis: 48px !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(103, 55, 255, .96), rgba(228, 58, 191, .92)) !important;
  }

  .fc-side-menu {
    top: 62px !important;
    right: 0 !important;
    width: min(300px, calc(100vw - 24px)) !important;
  }
}

@media (max-width: 760px) {
  .fc-main {
    transform: none !important;
    pointer-events: none;
    background: transparent;
  }

  body.fc-chat-open .fc-main {
    pointer-events: auto;
    background: #0b1220;
  }

  .fc-mobile-back,
  .fc-current,
  .fc-chat-panel {
    display: none;
  }

  body.fc-chat-open .fc-mobile-back {
    display: grid;
  }

  body.fc-chat-open .fc-current {
    display: grid;
  }

  body.fc-chat-open .fc-chat-panel {
    display: block;
  }

  .fc-chat-head {
    pointer-events: none;
    background: transparent !important;
  }

  body.fc-chat-open .fc-chat-head {
    pointer-events: auto;
    background: rgba(9, 13, 29, .92) !important;
  }

  .fc-right,
  .fc-right * {
    pointer-events: auto;
  }
}

/* ========================= */
/* FurSync mobile app polish */
/* ========================= */

@media (max-width: 760px) {
  body {
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 0%, rgba(103, 55, 255, .22), transparent 26%),
      radial-gradient(circle at 90% 10%, rgba(228, 58, 191, .14), transparent 30%),
      #0b1220;
  }

  .furcord-shell {
    height: 100dvh;
    min-height: 100dvh;
    padding: 10px 10px 74px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .fc-left {
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .fc-profile-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 8px 112px 8px 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .fc-profile-card::after {
    content: "FurSync";
    position: absolute;
    left: 62px;
    top: 13px;
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
    color: #f4ecff;
    text-shadow: 0 2px 18px rgba(167, 139, 250, .45);
  }

  .fc-profile-link {
    width: 48px;
    height: 48px;
    overflow: visible;
  }

  .fc-profile-link span:not(.fc-avatar) {
    display: none;
  }

  .fc-profile-card .fc-avatar {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(167, 139, 250, .5);
  }

  .fc-online {
    display: none;
  }

  .fc-list-card {
    min-height: 0;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  }

  .fc-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    order: 2;
    margin: 8px 0;
  }

  .fc-tab {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .08);
    font-size: 13px;
  }

  .fc-tab.active {
    background: rgba(124, 58, 237, .28);
    border-color: rgba(167, 139, 250, .42);
    box-shadow: inset 0 0 0 1px rgba(216, 180, 254, .12);
  }

  .fc-search-row,
  #groupSearch {
    order: 1;
    margin-top: 0;
  }

  .fc-search {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .065);
    border-color: rgba(255, 255, 255, .08);
  }

  .fc-icon-action {
    width: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .fc-icon-action span {
    display: none;
  }

  .fc-list,
  .fc-public-groups {
    min-height: 0;
    overflow-y: auto;
    padding: 2px 2px 82px;
  }

  .fc-user-row,
  .fc-group-row,
  .fc-public-row {
    min-height: 68px;
    margin: 2px 0;
    padding: 8px 6px;
    border-radius: 14px;
    border: 0;
    background: transparent;
  }

  .fc-user-row.active,
  .fc-group-row.active {
    background: rgba(124, 58, 237, .18);
  }

  .fc-user-row .fc-avatar,
  .fc-group-row .fc-avatar,
  .fc-public-row .fc-avatar {
    width: 52px;
    height: 52px;
  }

  .fc-user-row b,
  .fc-group-row b {
    font-size: 15px;
  }

  .fc-user-row small,
  .fc-group-row small {
    font-size: 12px;
  }

  .fc-unread-badge,
  .fc-tab-badge,
  .fc-menu-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
  }

  .fc-outline-action {
    position: fixed;
    left: 10px;
    bottom: 10px;
    width: calc(25% - 12px);
    min-height: 54px;
    padding: 0;
    border-radius: 18px;
    font-size: 0;
    z-index: 130;
    background: rgba(13, 18, 37, .96);
    border-color: rgba(167, 139, 250, .18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .38);
  }

  .fc-outline-action::after {
    content: "Chats";
    display: block;
    margin-top: 2px;
    font-size: 11px;
  }

  .fc-outline-action img {
    width: 24px;
    height: 24px;
    margin: 0;
  }

  .fc-main {
    position: fixed;
    inset: 0;
    display: grid;
    padding: 10px 10px 74px;
    background: #0b1220;
    z-index: 100;
    transform: translateX(105%);
    transition: transform .2s ease;
  }

  body.fc-chat-open .fc-main {
    transform: translateX(0);
  }

  .fc-mobile-back {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
  }

  .fc-chat-head {
    min-height: 76px;
    padding: 10px 106px 10px 10px !important;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: rgba(9, 13, 29, .92);
    box-shadow: none;
  }

  .fc-current {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  .fc-current .fc-avatar {
    width: 52px;
    height: 52px;
  }

  .fc-current h1 {
    font-size: 18px;
  }

  .fc-current small {
    max-width: 185px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fc-head-actions {
    display: none !important;
  }

  .fc-right {
    position: fixed !important;
    top: 14px !important;
    right: 10px !important;
    height: 48px !important;
    gap: 7px !important;
    z-index: 170 !important;
  }

  .fc-right .fc-notify-btn,
  .fc-right .fc-kebab {
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .055) !important;
    border-color: rgba(167, 139, 250, .26) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .28) !important;
  }

  .fc-notify-menu,
  .fc-side-menu {
    position: fixed !important;
    top: 66px !important;
    right: 10px !important;
    bottom: auto !important;
    width: min(330px, calc(100vw - 20px)) !important;
    max-height: min(72vh, 560px);
    border-radius: 20px;
    background: rgba(9, 13, 29, .98);
  }

  .fc-chat-panel {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
  }

  .fc-messages {
    min-height: 0;
    height: calc(100dvh - 160px);
    padding: 12px 4px 96px;
  }

  .fc-compose {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    margin: 0;
    grid-template-columns: 44px 44px minmax(0, 1fr) 52px;
    min-height: 64px;
    border-radius: 20px;
    background: rgba(13, 18, 37, .96);
  }

  .fc-attachment-preview {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 82px;
    z-index: 160;
  }
}

/* Hotfix mobile FurSync: keep existing actions doing only their real jobs. */
.fc-mobile-back {
  display: none;
}

@media (max-width: 760px) {
  .fc-outline-action {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 14px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    z-index: auto !important;
    margin-top: 8px !important;
  }

  .fc-outline-action::after {
    content: none !important;
    display: none !important;
  }

  body:not(.fc-chat-open) .fc-main {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    background: transparent !important;
    z-index: 140 !important;
  }

  body:not(.fc-chat-open) .fc-chat-head {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  body:not(.fc-chat-open) .fc-mobile-back,
  body:not(.fc-chat-open) .fc-current,
  body:not(.fc-chat-open) .fc-head-actions,
  body:not(.fc-chat-open) .fc-chat-panel {
    display: none !important;
  }

  body:not(.fc-chat-open) .fc-right {
    display: flex !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: 14px !important;
    right: 10px !important;
    z-index: 180 !important;
  }

  body.fc-chat-open .fc-main {
    display: grid !important;
    pointer-events: auto !important;
    background: #0b1220 !important;
    z-index: 150 !important;
  }

  body.fc-chat-open .fc-mobile-back {
    display: grid !important;
  }
}

/* FurSync mobile polish: compact lists and tappable conversation details. */
.fc-current {
  cursor: pointer;
  border-radius: 18px;
}

.fc-current:hover {
  background: rgba(255, 255, 255, .025);
}

@media (max-width: 760px) {
  .fc-outline-action {
    height: 54px !important;
    min-height: 0 !important;
    max-height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 10px 0 0 !important;
  }

  .fc-outline-action img {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .fc-current {
    min-width: 0;
  }

  .fc-current:active {
    transform: scale(.99);
  }

  .fc-dialog {
    width: min(430px, calc(100vw - 18px));
  }

  .fc-dialog-card {
    padding: 24px 18px 18px;
    border-radius: 20px;
  }

  .fc-user-card-pop,
  .fc-group-info-head {
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
  }

  .fc-info-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .fc-info-actions .btn,
  .fc-info-actions button,
  .fc-info-actions span {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  .fc-info-member {
    align-items: flex-start;
    gap: 10px;
  }

  .fc-info-member > div {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .fc-public-groups {
    max-height: 188px;
  }
}

/* FurSync mobile final order: lists, search, tabs, create group. */
@media (max-width: 760px) {
  .fc-list-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    gap: 10px !important;
  }

  .fc-list,
  .fc-public-groups {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 2px !important;
  }

  .fc-public-groups {
    flex: 0 0 auto !important;
    max-height: 188px !important;
    overflow-y: auto !important;
  }

  .fc-search-row,
  #groupSearch {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  #groupSearch {
    display: block !important;
  }

  #groupSearch.hidden {
    display: none !important;
  }

  .fc-search {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 14px !important;
    line-height: 44px !important;
    resize: none !important;
  }

  .fc-icon-action {
    width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 14px !important;
  }

  .fc-tabs {
    order: 3 !important;
    margin: 0 !important;
  }

  .fc-outline-action {
    order: 4 !important;
    width: 100% !important;
    height: 54px !important;
    margin: 0 !important;
    flex: 0 0 54px !important;
  }
}
