/* Live Chat Styles for DLE / Metin2 Theme */

/* ------------ SAĞ PANEL / ÖZET BİLGİLER ------------ */

.lc-sidebar-section {
  padding: 6px 8px 4px;
  border-bottom: 1px solid rgba(255, 140, 66, 0.18);
}

.lc-sidebar-title {
  font-size: 11px;
  font-weight: 600;
  color: #f3cda2;
  margin-bottom: 4px;
}

#lc-general-count,
#lc-private-count {
  color: #ffbe55;
}

/* ------------ TAB BAR ------------ */

.lc-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 140, 66, 0.28);
  background: #20140f;
  width: 100%;
}

.lc-tab {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 6px 4px;
  cursor: pointer;
  color: #cba886;
  border-right: 1px solid rgba(0,0,0,0.7);
    width: 32%;
}

.lc-tab:last-child {
  border-right: none;
}

.lc-tab span {
  color: #ffbe55;
}

.lc-tab-active {
  background: rgba(255, 140, 66, 0.18);
  color: #ffe7c0;
}

/* ------------ TAB PANELLERİ ------------ */

.lc-tab-panels {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lc-tab-panel {
  display: none;
  height: 100%;
  padding: 6px 4px;
  overflow-y: auto;
}

.lc-tab-panel-active {
  display: block;
}

.lc-panel-info {
  font-size: 11px;
  color: #f3cda2;
  opacity: .85;
}

/* ------------ ÖZEL MESAJ LİSTESİ (ESKİ KÜÇÜK LİSTE) ------------ */

#lc-private-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-private-item {
  padding: 4px 4px;
  margin-bottom: 2px;
  cursor: pointer;
  border-radius: 6px;
}

.lc-private-item:last-child {
  margin-bottom: 0;
}

.lc-private-item .lc-user {
  padding: 0;
}

.lc-private-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lc-private-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lc-private-name {
  font-size: 11px;
  font-weight: 600;
  color: #f6dcc0;
}

.lc-private-time {
  font-size: 10px;
  color: #bba38b;
}

.lc-private-rank {
  font-size: 10px;
  color: #d2ae82;
}

/* Okunmamış / okunmuş farklı renkler */

.lc-private-unread {
  background: rgba(46, 84, 52, 0.6);
}

.lc-private-unread .lc-user-avatar {
  background: #2f5f38;
  box-shadow: 0 0 8px rgba(59, 209, 111, 0.8);
}

.lc-private-read {
  background: transparent;
}

.lc-private-read .lc-user-avatar {
  background: #3a2319;
  box-shadow: none;
}

/* ------------ ÖZEL MESAJLARIM – GENİŞ İNBOX LİSTESİ ------------ */

.lc-inbox-section-title {
  font-size: 11px;
  font-weight: 600;
  color: #f3cda2;
  margin: 6px 0 4px;
  padding: 0 2px;
}

.lc-inbox-list {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
}

/* Her sohbet satırı */
.lc-inbox-item {
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Okunmamış sohbet – hafif yeşil */
.lc-inbox-unread {
  background: rgba(33, 68, 40, 0.9);
}

/* Okunmuş sohbet – hafif kahverengi */
.lc-inbox-read {
  background: rgba(60, 34, 24, 0.9);
}

/* Hover efekti */
.lc-inbox-item:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

/* Satır içindeki kullanıcı bloğu */
.lc-inbox-item .lc-user {
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Inbox avatar */
.lc-inbox-item .lc-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #3a2319;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #ffbe55;
}

/* Özel mesaj satırı metni */

.lc-private-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-private-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lc-private-name {
  font-size: 11px;
  font-weight: 600;
  color: #f6dcc0;
}

.lc-private-time {
  font-size: 10px;
  color: #bba38b;
}

.lc-private-rank {
  font-size: 10px;
  color: #d2ae82;
  opacity: .9;
}

.lc-inbox-separator {
  border: 0;
  border-top: 1px dashed rgba(255, 140, 66, 0.5);
  margin: 4px 0;
}

/* ------------ ANA KONTEYNER & BUTON ------------ */

#live-chat-root {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

#live-chat-toggle {
  background: linear-gradient(135deg, #ff8c42, #ffbe55);
  color: #120a07;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease;
}

#live-chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.5);
}

#live-chat-toggle:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

/* ------------ PENCERE / HEADER / BODY ------------ */

#live-chat-window {
  position: absolute;
  bottom: 55px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: #221411;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 140, 66, 0.35);
}

.lc-hidden {
  display: none !important;
}

.lc-header {
  background: radial-gradient(circle at top left, #3a1d13, #1c0f0b 55%);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 140, 66, 0.35);
}

.lc-header-info {
  display: flex;
  flex-direction: column;
}

.lc-title {
  color: #ffe7c0;
  font-size: 14px;
  font-weight: 700;
}

.lc-subtitle {
  color: #e2b68b;
  font-size: 11px;
}

.lc-header-close {
  background: transparent;
  border: none;
  color: #f2c49b;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.lc-body {
  display: flex;
  min-height: 260px;
  max-height: 360px;   /* burayı isteğine göre yükselt/azalt */
  background: #1b100d;
  overflow: hidden;    /* gövdenin dışına taşmasın */
}

/* Mesajlar taşmasın, kendi içinde scroll olsun */
.lc-messages {
  flex: 1 1 auto;
  padding: 8px 10px 6px;
  overflow-y: auto;     /* scroll burada */
}

/* İstersen yüksekliği daha da kısıtlayabilirsin */
#lc-message-list {
  max-height: 100%;
}

/* ------------ KULLANICI LİSTESİ (SAĞ KOLON TAMAMEN KAPALI) ------------ */

.lc-users {
  display: none !important;        /* SAĞ TARAFTAKİ LİSTE KAPALI */
}

/* Her durumda sohbet alanı tam genişlik olsun */
.lc-messages {
  flex: 1 1 100% !important;
  border-right: none !important;
}

/* ------------ MESAJ LİSTESİ & KART TASARIMI ------------ */

/* Orta mesaj alanı */
.lc-messages {
  padding: 8px 10px 6px;
  overflow-y: auto;
  display: block !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}

/* UL: mesaj listesi */
#lc-message-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 10px;              /* mesajlar arası boşluk */
}

/* Her mesaj kartı (normal mesajlar) */
.lc-msg {
  position: relative;
  background: rgba(32, 18, 12, 0.98);
  border-radius: 10px;
  border: 1px solid rgba(255, 140, 66, 0.18);
  padding: 6px 9px 7px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease-out,
              box-shadow 0.12s ease-out,
              border-color 0.12s ease-out;
  font-size: 12px;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: stretch !important;
}


/* Özel mesajlarda "Görüldü" etiketi */
.lc-msg-seen {
  margin-top: 2px;
  font-size: 10px;
  text-align: right;
  opacity: 0.9;
  color: #9fd58a; /* hafif yeşilimsi okundu rengi */
}

.lc-msg.self .lc-msg-seen {
  text-align: right;
}

.lc-msg-seen {
  margin-top: 2px;
  font-size: 10px;
  text-align: right;
  opacity: 0.9;
  color: #9fd58a;
}
/* KENDİ MESAJLARIN – koyu turuncu ton + hafif glow */
.lc-msg.self {
  background: rgba(44, 26, 17, 0.98);
  border-color: rgba(255, 190, 100, 0.85);
  box-shadow:
    0 0 10px rgba(255, 152, 69, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.7);
}

/* sol tarafta ince turuncu şerit */
.lc-msg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #ffbe55, #ff8c42);
  opacity: 0.7;
}

/* self için şerit biraz daha parlak */
.lc-msg.self::before {
  background: linear-gradient(
    180deg,
    rgba(255, 206, 120, 0.95),
    rgba(255, 166, 70, 0.95)
  );
}

/* hover efekti: hafif kaldır, gölgeyi artır */
.lc-msg:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 190, 100, 0.75);
}

/* ==== BAŞLIK SATIRI ==== */

.lc-msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.lc-msg-header-left {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.lc-msg-username {
  font-weight: 600;
  color: #ffe7c0;
}

.lc-msg-rank {
  font-size: 10px;
  color: #cfa47a;
}

/* Admin rütbesi – parlayan efekt */
.lc-msg-rank-admin {
  color: #ffd369;
  font-weight: 700;
  text-shadow:
    0 0 2px rgba(255, 211, 105, 0.7),
    0 0 6px rgba(255, 140, 0, 0.9);
  animation: lc-rank-glow 1.4s ease-in-out infinite alternate;
}

/* Özel mesaj listesinde admin */
.lc-private-rank-admin {
  color: #ffd369;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(255, 211, 105, 0.8);
}

@keyframes lc-rank-glow {
  0% {
    text-shadow:
      0 0 2px rgba(255, 211, 105, 0.4),
      0 0 4px rgba(255, 140, 0, 0.4);
  }
  100% {
    text-shadow:
      0 0 8px rgba(255, 211, 105, 1),
      0 0 16px rgba(255, 140, 0, 0.9);
  }
}


.lc-msg-header-right {
  font-size: 10px;
  color: #bba38b;
}

/* ==== GÖVDE ALANI ==== */

.lc-msg-body {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

/* Avatar kutusu */

.lc-msg-avatar {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #573324, #24130e);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px !important;
  margin-top: 2px !important;
}

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

.lc-avatar-initials {
  font-size: 13px;
  font-weight: 700;
  color: #ffbe55;
}

/* Mesaj metni */

.lc-msg-content {
  margin-top: 7px;
  font-size: 12px;
  color: #fbe3c8;
  line-height: 1.25;
  word-wrap: break-word;
  white-space: normal;
}

/* Mesaj içi ana metin + görüldü etiketi */
.lc-msg-text-main {
  word-wrap: break-word;
  white-space: normal;
}

/* Gönderen mesajlarında balonun alt kısmında boşluk bırak */
.lc-msg.self .lc-msg-content {
  padding-bottom: 4px;
}

/* "Görüldü" yazısı – sağ altta, ufak ve soluk */
.lc-msg-seen {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1;
  text-align: right;
  opacity: 0.85;
  color: #9fd58a;        /* hafif yeşilimsi okundu rengi */
}

.lc-msg-text-main {
  word-wrap: break-word;
  white-space: normal;
}

/* Gönderen mesajlarında balonun alt kısmında biraz boşluk bırak */
.lc-msg.self .lc-msg-content {
  padding-bottom: 4px;
}

/* "Görüldü" yazısı – balonun sağ altı */
.lc-msg-seen {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1;
  text-align: right;
  opacity: 0.85;
  color: #9fd58a;
}

/* Son mesajın altındaki görüldü/görülmedi satırı */
.lc-msg-status-row {
  list-style: none;
  margin-top: 2px;
}

.lc-msg-status {
  font-size: 11px;
  text-align: right;
  margin: 2px 12px 0;
}

.lc-msg-status-seen {
  color: #9fd58a;      /* yeşilimsi: görüldü */
  opacity: 0.9;
}

.lc-msg-status-unseen {
  color: #d8a36a;      /* turuncumsu: henüz görülmedi */
  opacity: 0.85;
}

/* Boş mesaj / uyarı metinleri */

.lc-msg /* Liste elemanı biraz ortalansın */
.lc-msg-text {
    background: #3b2418;          /* koyu kahverengi – sitenin temasına yakın */
    color: #ffd9a3;               /* açık turuncu/yazı rengi */
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    text-align: center;

    border-left: 3px solid #ff9f1c; /* dikkat çeken turuncu şerit */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    margin: 6px 8px;
}

/* Küçük ikon efekti */
.lc-msg-text::before {
    content: "!";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ff9f1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* Yeni gelen mesaj animasyonu */

.lc-msg-appear {
  animation: lcMsgFadeIn 0.18s ease-out;
}

@keyframes lcMsgFadeIn {
  from {
    transform: translateY(2px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ------------ FOOTER / MESAJ GÖNDERME ------------ */

.lc-footer {
  border-top: 1px solid rgba(255, 140, 66, 0.3);
  padding: 6px 8px;
  background: #1b100d;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lc-footer-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 4px;
}

/* Artık buton yok; sayfada kalsa bile gizle */
.lc-emoji-btn {
  display: none;
}

/* Emojiler satır halinde, her zaman görünür */
.lc-emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.lc-emoji-picker span {
  cursor: pointer;
  font-size: 18px;
}

.lc-footer-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}

#lc-message-input {
  flex: 1;
  resize: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 140, 66, 0.4);
  background: #28120f;
  color: #fce4c3;
  padding: 6px 8px;
  font-size: 12px;
  max-height: 60px;
  overflow-y: auto;
}

#lc-message-input::placeholder {
  color: #b38a6a;
}

.lc-send-btn {
  background: linear-gradient(135deg, #ff8c42, #ffbe55);
  border-radius: 8px;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #1b100d;
}

/* Ziyaretçi uyarısı */

.lc-login-warning {
  font-size: 11px;
  color: #f6dcc0;
  background: #351712;
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 4px;
  border: 1px solid rgba(255, 140, 66, 0.4);
}

.lc-login-warning a {
  color: #ffbe55;
  text-decoration: underline;
}

#lc-message-input.lc-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ------------ SCROLLBAR & MOBİL ------------ */

.lc-messages::-webkit-scrollbar,
#lc-user-list::-webkit-scrollbar,
#lc-message-input::-webkit-scrollbar {
  width: 6px;
}

.lc-messages::-webkit-scrollbar-thumb,
#lc-user-list::-webkit-scrollbar-thumb,
#lc-message-input::-webkit-scrollbar-thumb {
  background: #5a3421;
  border-radius: 10px;
}

@media (max-width: 600px) {
  #live-chat-window {
    width: 100vw;
    right: -10px;
    bottom: 60px;
  }
}

@media (max-width: 480px) {
  .lc-msg-body {
    gap: 6px !important;
  }
}


/* ===== ÖZEL MESAJLAR & ONLINE ÜYELER – GELİŞMİŞ KARTLAR ===== */

.lc-inbox-item,
.lc-online-item {
  position: relative;
  overflow: hidden;
}

/* Online listede ana satır */
.lc-online-item {
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(35, 20, 14, 0.95);
  cursor: pointer;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.12s ease-out;
}

.lc-online-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  background: rgba(50, 30, 22, 0.98);
}

.lc-online-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0 0, rgba(255, 189, 85, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.15s ease-out;
  pointer-events: none;
}

.lc-online-item:hover::before {
  opacity: 1;
}

/* Ortadaki metin bloğu */
.lc-user-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-user-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.lc-user-name {
  font-size: 11px;
  font-weight: 600;
  color: #f6dcc0;
}

.lc-user-sub {
  font-size: 10px;
  color: #a98a6a;
  opacity: 0.85;
}

/* Rank alanları */
.lc-online-rank,
.lc-private-rank {
  font-size: 10px;
  color: #d2ae82;
  opacity: 0.9;
}

/* Admin rank – parlayan efekt */
.lc-online-rank-admin,
.lc-private-rank-admin,
.lc-msg-rank-admin {
  color: #ffe8a3;
  text-shadow: 0 0 6px rgba(255, 215, 120, 0.85);
  font-weight: 700;
  position: relative;
}

.lc-online-rank-admin::after,
.lc-private-rank-admin::after,
.lc-msg-rank-admin::after {
  content: "";
  position: absolute;
  inset: -1px -4px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 210, 120, 0.25), transparent 70%);
  opacity: 0;
  animation: lc-rank-glow 2s ease-in-out infinite;
}

@keyframes lc-rank-glow {
  0%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

/* Online liste – sağdaki mesaj butonu */
.lc-online-msg-btn {
  border: none;
  background: rgba(0, 0, 0, 0.25);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffbe55;
  cursor: pointer;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.lc-online-msg-btn:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(255, 140, 66, 0.3);
  box-shadow: 0 0 8px rgba(255, 140, 66, 0.7);
}


/* ===== Özel Mesajlar & Online Üyeler – Temiz Kart Tasarımı ===== */

/* Her satır için temel kart */
.lc-inbox-item,
.lc-online-item {
  padding: 6px 10px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition:
    background 0.15s ease-out,
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    transform 0.08s ease-out;
}

.lc-inbox-item:hover,
.lc-online-item:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 188, 120, 0.4);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}

/* Ortak user yapısı */
.lc-user {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.lc-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #f2d5a280, #2a130a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fbe4c2;
}

/* Ortadaki metin kolonu */
.lc-user-main,
.lc-private-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Online / yan panel isim + rank satırı */
.lc-user-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.lc-user-name,
.lc-private-name {
  font-size: 11px;
  font-weight: 600;
  color: #f8e1c3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Alt açıklama satırı (online tabında “Son 5 dakikada aktif” vs.) */
.lc-user-sub {
  font-size: 10px;
  color: #a98763;
  opacity: 0.9;
}

/* Rank – tüm listeler için pill görünüm */
.lc-online-rank,
.lc-private-rank,
.lc-msg-rank {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 204, 128, 0.13);
  color: #f6c37c;
  white-space: nowrap;
}

/* Admin rank – daha belirgin, ama abartı değil */
.lc-online-rank-admin,
.lc-private-rank-admin,
.lc-msg-rank-admin {
  background: linear-gradient(120deg, #ffdf8a, #ffb347);
  color: #2a130a;
  box-shadow: 0 0 7px rgba(255, 204, 128, 0.85);
  font-weight: 700;
}

/* Mesaj içi rank (üstte parantezli olan) biraz daha küçük */
.lc-msg-rank {
  margin-left: 4px;
}

/* Özel mesaj listesi üst & alt satırlar */
.lc-private-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.lc-private-time {
  font-size: 10px;
  color: #a98763;
}

.lc-private-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.lc-private-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 178, 102, 0.22);
  color: #ffd9a0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* “Son 5 dakikada aktif olan üyeler” başlığı */
.lc-inbox-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #e7caa0;
  margin: 4px 0 2px;
  opacity: 0.9;
}

/* Online üyeler tabındaki satırlar */
.lc-online-item .lc-user {
  align-items: center;
}

/* Sağdaki mesaj butonu (online tabı) */
.lc-online-msg-btn {
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 120, 0.5);
  background: transparent;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffce85;
  cursor: pointer;
  transition:
    background 0.15s ease-out,
    transform 0.1s ease-out,
    box-shadow 0.15s ease-out;
}

.lc-online-msg-btn:hover {
  background: rgba(255, 190, 120, 0.2);
  box-shadow: 0 0 8px rgba(255, 190, 120, 0.7);
  transform: translateY(-1px);
}

/* Okunmamış özel mesaj satırı biraz daha parlak olsun */
.lc-inbox-unread {
  border-color: rgba(255, 200, 120, 0.5);
  background: radial-gradient(circle at 0 0, rgba(255, 206, 140, 0.25), rgba(0, 0, 0, 0.35));
}
.lc-user-sub {
  font-size: 10px;
  color: #a98763;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lc-private-badge {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 178, 102, 0.22);
  color: #ffd9a0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}


/* ---------- ADMIN BUTTON / HEADER ACTIONS ---------- */

.lc-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lc-header-admin {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 2px 4px;
  opacity: 0.85;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lc-header-admin:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ---------- DUYURU ÇUBUĞU ---------- */

.lc-announcement {
  background: linear-gradient(90deg, rgba(255, 196, 120, 0.28), rgba(255, 145, 80, 0.1));
  border-bottom: 1px solid rgba(255, 168, 92, 0.5);
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.lc-ann-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.lc-ann-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-ann-title {
  font-weight: 600;
  color: #ffe3c2;
}

.lc-ann-text {
  color: #ffcfaa;
}

/* ---------- BAN BİLGİ ÇUBUĞU ---------- */

.lc-ban-info {
  background: rgba(180, 40, 40, 0.2);
  border-top: 1px solid rgba(220, 70, 70, 0.7);
  padding: 6px 10px;
  font-size: 11px;
  color: #ffe0d6;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-ban-info strong {
  font-weight: 600;
}

/* ---------- ADMIN PANEL ---------- */
/* ==========================
   ADMİN OVERLAY & POPUP PANEL
   ========================== */
/* ==========================
   ADMİN OVERLAY & POPUP PANEL
   ========================== */

.lc-admin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ortalanmış büyük popup */
.lc-admin-panel {
  position: relative;
  width: min(1000px, 94vw);   /* büyük ekranda max 1000px, küçükte %94 */
  max-height: 88vh;           /* içerik taşarsa içinde scroll */
  background: transparent;  border-radius: 18px;
  border: 1px solid rgba(255, 160, 90, 0.65);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  padding: 18px 22px;
  z-index: 1000;
  overflow-y: auto;
}

/* Başlık alanı */
.lc-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  background: #1a1010;
  padding-bottom: 8px;
  z-index: 5;
}

.lc-admin-header h3,
.lc-admin-header span {
  font-weight: 600;
  color: #ffe6c8;
  font-size: 18px;
}

.lc-admin-close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #ffb48a;
}

/* Bölümler */
.lc-admin-section {
  border-top: 1px solid rgba(255, 184, 120, 0.2);
  padding-top: 10px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-admin-section h4 {
  font-size: 13px;
  color: #ffe3c2;
  margin: 0;
}

.lc-admin-section p {
  margin: 0;
  color: #d9b09d;
  font-size: 11px;
}

.lc-admin-section label {
  font-size: 11px;
  color: #ffcfaa;
}

/* Form elemanları */
.lc-admin-section input,
.lc-admin-section textarea,
.lc-admin-section select {
  width: 100%;
  background: #241513;
  border-radius: 8px;
  border: 1px solid rgba(255, 180, 120, 0.4);
  padding: 6px 8px;
  font-size: 11px;
  color: #ffe6d2;
  outline: none;
}

.lc-admin-section textarea {
  resize: vertical;
  min-height: 60px;
}

/* Butonlar */
.lc-admin-button,
.lc-admin-button-danger {
  margin-top: 6px;
  border-radius: 999px;
  border: none;
  padding: 7px 14px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
}

.lc-admin-button {
  background: linear-gradient(90deg, #ff9f5c, #ffb870);
  color: #3b1c10;
}

.lc-admin-button-danger {
  background: linear-gradient(90deg, #ff4b3c, #ff874f);
  color: #fff;
  width: 100%;
}

.lc-admin-button:hover,
.lc-admin-button-danger:hover {
  filter: brightness(1.05);
}

/* Status mesajı */
.lc-admin-status {
  margin-top: 6px;
  font-size: 11px;
  min-height: 14px;
}

.lc-admin-status-ok {
  color: #7fffb3;
}

.lc-admin-status-error {
  color: #ff8f8f;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .lc-admin-panel {
    width: 96vw;
    max-height: 90vh;
    padding: 14px 12px;
  }
}

/* --- Admin tabları --- */
.lc-admin-tabs {
  display: flex;
  gap: 6px;
  margin: 6px 0 4px;
  border-bottom: 1px solid rgba(255, 184, 120, 0.25);
  padding-bottom: 4px;
}

.lc-admin-tab {
  flex: 1;
  font-size: 12px;
  padding: 6px 8px;
  background: #2c1b13;
  border-radius: 6px 6px 0 0;
  border: 1px solid transparent;
  color: #ffd7a0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.lc-admin-tab-active {
  background: #ff8f3c;
  color: #1b0d08;
  border-color: #ffb878;
  font-weight: 600;
}

.lc-admin-tab-panel {
  display: none;
  margin-top: 4px;
}

.lc-admin-tab-panel-active {
  display: block;
}

/* --- Duyuru listesi --- */
.lc-admin-ann-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-admin-ann-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}

.lc-admin-ann-main {
  display: flex;
  gap: 8px;
}

.lc-admin-ann-icon {
  font-size: 18px;
}

.lc-admin-ann-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lc-admin-ann-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffe3c2;
}

.lc-admin-ann-body {
  font-size: 12px;
  color: #f1d0ad;
  white-space: pre-wrap;
}

.lc-admin-ann-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* --- Ban tablosu --- */
.lc-admin-table-wrapper {
  max-height: 230px;
  overflow: auto;
}

.lc-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.lc-admin-table th,
.lc-admin-table td {
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 184, 120, 0.25);
  text-align: left;
}

.lc-admin-table th {
  color: #ffe3c2;
  font-weight: 600;
}

.lc-admin-muted {
  font-size: 11px;
  opacity: 0.8;
}

.lc-admin-table-btn {
  border: none;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 11px;
  cursor: pointer;
  background: #ff8f3c;
  color: #1b0d08;
}

.lc-admin-table-btn:hover {
  filter: brightness(1.08);
}

/* === ADMIN POPUP FIX === */

/* Arka plan (arkadaki tıklamaları bloklayan katman) */
.lc-admin-overlay {
  position: fixed;
  inset: 0;
  background: transparent;      /* Siyah yerine tamamen şeffaf */
  z-index: 999;
}

/* Popup paneli – ekranın tam ortasına sabitle */
.lc-admin-panel {
  position: fixed;              /* relative yerine fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, 94vw);
  max-height: 88vh;
  background: #1a1010;          /* İstersen burayı da değişebilirsin */
  border-radius: 18px;
  border: 1px solid rgba(255, 160, 90, 0.65);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  padding: 18px 22px;
  z-index: 1000;
  overflow-y: auto;
}