/**
 * JeNNa - Telli Defter Tasarım Stilleri (notebook.css)
 * Gerçekçi ahşap masa, 3D metalik spiral halkalar, kağıt dokusu ve sekmeler
 */

:root {
  --desk-bg: #0b1528;
  --desk-gradient: radial-gradient(circle at 50% 20%, #172d54 0%, #0d1c38 60%, #071021 100%);
  --paper-cream: #fdfbf7;
  --paper-line: rgba(180, 165, 145, 0.22);
  --paper-edge-shadow: rgba(45, 30, 15, 0.12);
  --notebook-leather: #3c2a21;
  --notebook-border: #d7cdbe;
  --spiral-metal-light: #f5f5f5;
  --spiral-metal-mid: #9c9a96;
  --spiral-metal-dark: #3a3836;
  --spiral-shadow: rgba(0, 0, 0, 0.45);
  
  --title-navy: #182e4e;
  --title-navy-hover: #234975;
  
  --text-primary: #2b2520;
  --text-secondary: #63574c;
  --text-muted: #8e8072;
  --brand-terracotta: #b85d38;
  --brand-sage: #52796f;
  --brand-blue: #3d6a85;
  --brand-plum: #7a4f6d;
  
  --tab-width: 48px;
  --tab-height: 110px;
  --font-serif: 'Playfair Display', 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive, handwriting;
}

/* Genel Sayfa & Masa Zemin (Parliament Laciverti) */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--desk-bg) var(--desk-gradient);
  font-family: var(--font-sans);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Masadaki Ambiyans Işığı ve Aksesuarlar */
.desk-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 15%, rgba(65, 125, 220, 0.12) 0%, transparent 80%);
}

/* Üst Masabaşı Başlığı (İnce, Zarif) */
.desk-topbar {
  width: 100%;
  max-width: 1320px;
  padding: 24px 32px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 20;
}

.desk-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}

.desk-brand-name {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f7ede2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.desk-brand-motto {
  font-family: var(--font-hand);
  font-size: 24px;
  color: #e5d5c5;
  opacity: 0.95;
  line-height: 1;
}

.desk-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.secret-admin-trigger {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9baa8;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.secret-admin-trigger:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================
   ANA DEFTER TAŞIYICI (NOTEBOOK CONTAINER)
   ========================================================== */
.notebook-viewport {
  width: 100%;
  max-width: 1400px;
  padding: 20px 24px 80px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  z-index: 10;
}

.notebook-container {
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ----------------------------------------------------------
   1. TEK DEFTER MODU (MODE-SINGLE - KAPAK & İLK GÖRÜNÜM)
   ---------------------------------------------------------- */
.notebook-container.mode-single {
  width: 780px;
  max-width: 95vw;
}

.notebook-container.mode-single .open-notebook-wrapper {
  display: none;
}

.notebook-container.mode-single .single-notebook-wrapper {
  display: flex;
  position: relative;
}

.single-cover-book {
  width: 100%;
  min-height: 740px;
  background: var(--paper-cream);
  border-radius: 8px 24px 24px 8px;
  box-shadow: 
    -10px 15px 40px rgba(0, 0, 0, 0.65),
    12px 20px 35px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(195, 175, 145, 0.18);
  border: 1px solid var(--notebook-border);
  position: relative;
  display: flex;
  overflow: visible;
}

/* Sayfa Kenarı Katmanları (Gerçekçi Defter Kalınlığı) */
.single-cover-book::after {
  content: '';
  position: absolute;
  top: 8px;
  right: -10px;
  bottom: 8px;
  width: 12px;
  background: repeating-linear-gradient(
    to right,
    #e8dfd1,
    #e8dfd1 1px,
    #d8cdbc 2px,
    #f2ebd9 3px
  );
  border-radius: 0 4px 4px 0;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* ----------------------------------------------------------
   2. ÇİFT SAYFALI AÇIK DEFTER MODU (MODE-OPEN - GENİŞ OKUMA ALANI)
   ---------------------------------------------------------- */
.notebook-container.mode-open {
  width: 1400px;
  max-width: 96vw;
  margin: 0 auto;
}

/* Açık defter okuma modunda yandaki sohbeti gizle ve tüm masayı deftere aç */
.notebook-container.mode-open ~ .desk-chat-pad {
  display: none !important;
}

.notebook-container.mode-open .single-notebook-wrapper {
  display: none;
}

.notebook-container.mode-open .open-notebook-wrapper {
  display: flex;
  width: 100%;
  min-height: 820px;
  position: relative;
  background: var(--paper-cream);
  border-radius: 16px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 10px 25px rgba(0, 0, 0, 0.35),
    inset 0 0 50px rgba(185, 160, 130, 0.15);
  border: 1px solid var(--notebook-border);
}

/* Çift sayfa altındaki kalınlık katmanları */
.open-notebook-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -8px;
  bottom: 10px;
  width: 9px;
  background: repeating-linear-gradient(to left, #e8dfd1, #e8dfd1 1px, #d8cdbc 2px);
  border-radius: 4px 0 0 4px;
}

.open-notebook-wrapper::after {
  content: '';
  position: absolute;
  top: 10px;
  right: -9px;
  bottom: 10px;
  width: 9px;
  background: repeating-linear-gradient(to right, #e8dfd1, #e8dfd1 1px, #d8cdbc 2px);
  border-radius: 0 4px 4px 0;
}

/* Sol ve Sağ Sayfalar */
.open-book-spread {
  display: flex;
  width: 100%;
  min-height: 820px;
  position: relative;
  z-index: 5;
}

.page-half {
  flex: 1;
  padding: 42px 48px 50px;
  box-sizing: border-box;
  overflow-y: auto;
  max-height: 860px;
  position: relative;
}

/* Özel Şık Kaydırma Çubuğu */
.page-half::-webkit-scrollbar {
  width: 6px;
}
.page-half::-webkit-scrollbar-track {
  background: transparent;
}
.page-half::-webkit-scrollbar-thumb {
  background: rgba(180, 160, 140, 0.4);
  border-radius: 4px;
}
.page-half::-webkit-scrollbar-thumb:hover {
  background: rgba(140, 120, 100, 0.6);
}

.page-left {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  padding-right: 54px;
}

.page-right {
  padding-left: 54px;
}

/* ==========================================================
   3D METALİK SPİRAL MEKANİZMASI (SPIRAL BINDING)
   ========================================================== */
/* Tek Defter Sol Kenar Spirali */
.single-spine-spiral {
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 36px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  pointer-events: none;
}

/* Çift Defter Orta Spirali */
.center-spine-spiral {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 44px;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  pointer-events: none;
}

/* Tek Bir Spiral Halka Ünitesi */
.spiral-coil-loop {
  position: relative;
  width: 100%;
  height: 18px;
  margin: 4px 0;
}

/* Kağıttaki Delikler */
.spiral-coil-loop .hole-left,
.spiral-coil-loop .hole-right {
  position: absolute;
  width: 11px;
  height: 14px;
  background: #25201d;
  border-radius: 4px;
  top: 2px;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.8), 0 0 1px rgba(255,255,255,0.4);
}

.spiral-coil-loop .hole-left {
  left: -2px;
}

.spiral-coil-loop .hole-right {
  right: -2px;
}

/* Metal Tel Halkası (3D Işık ve Gölge) */
.spiral-coil-loop .ring-wire {
  position: absolute;
  top: -2px;
  left: 3px;
  right: 3px;
  height: 18px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    #666666 0%,
    #d8d8d8 25%,
    #ffffff 50%,
    #999999 75%,
    #444444 100%
  );
  box-shadow: 
    0 4px 7px var(--spiral-shadow),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: rotate(-3deg);
}

/* ==========================================================
   KENAR İNDEKS SEKME KULAKÇIKLARI (TABS)
   ========================================================== */
.notebook-tabs-spine {
  position: absolute;
  top: 60px;
  right: -46px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.notebook-tab-btn {
  width: 48px;
  height: 98px;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  box-shadow: 
    4px 4px 10px rgba(0, 0, 0, 0.35),
    inset -1px 0 2px rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  position: relative;
  text-decoration: none;
}

.notebook-tab-btn span.tab-icon {
  font-size: 16px;
  margin-bottom: 4px;
}

.notebook-tab-btn span.tab-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.notebook-tab-btn:hover {
  width: 58px;
  box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.45);
}

.notebook-tab-btn.active {
  width: 62px;
  font-weight: 800;
  box-shadow: 8px 6px 18px rgba(0, 0, 0, 0.5);
  border-left: 3px solid #ffffff;
}

/* Sekme Renkleri */
.tab-articles { background: var(--brand-terracotta); }
.tab-categories { background: var(--brand-sage); }
.tab-notes { background: var(--brand-blue); }
.tab-contact { background: var(--brand-plum); }
.tab-cover-return { 
  background: #4a453f; 
  margin-top: 24px;
  height: 85px;
}

/* ==========================================================
   KAPAK SAYFASI DETAYLARI (SINGLE MODE COVER)
   ========================================================== */
.cover-page-inner {
  width: 100%;
  padding: 50px 50px 45px 95px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover-header-section {
  border-bottom: 2px dashed rgba(180, 160, 140, 0.4);
  padding-bottom: 28px;
}

.cover-badge-top {
  display: inline-block;
  background: rgba(184, 93, 56, 0.12);
  color: var(--brand-terracotta);
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: none;
}

.cover-main-title {
  font-family: var(--font-serif);
  font-size: 52px;
  line-height: 1.1;
  color: var(--title-navy, #182e4e);
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(24, 46, 78, 0.12);
}

.cover-main-subtitle {
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--text-secondary);
  margin: 0;
}

/* Kapak Ortasındaki Kartlar */
.cover-cards-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.cover-featured-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.cover-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cover-post-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--title-navy, #182e4e);
  margin: 10px 0 8px 0;
  transition: color 0.2s ease;
}

.cover-featured-card:hover .cover-post-title {
  color: var(--title-navy-hover, #234975);
}

.cover-post-excerpt {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

.cover-post-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Post-it Not (Kapakta) */
.cover-sticky-note {
  background: #fef08a;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 4px 6px 12px rgba(0,0,0,0.12);
  transform: rotate(2deg);
  position: relative;
  font-family: var(--font-hand);
  font-size: 20px;
  line-height: 1.4;
  color: #422006;
}

.cover-sticky-note::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 45%;
  width: 40px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transform: rotate(-5deg);
}

/* Kapak Alt Bölümü & Defteri Aç Butonu */
.cover-footer-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(180, 160, 140, 0.3);
}

.cover-stats-pill {
  display: flex;
  gap: 20px;
}

.cover-stat-item strong {
  display: block;
  font-size: 20px;
  color: var(--brand-terracotta);
  font-family: var(--font-serif);
}

.cover-stat-item span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn-open-notebook {
  background: var(--brand-terracotta);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sans);
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(184, 93, 56, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-open-notebook:hover {
  background: #a34e2c;
  box-shadow: 0 6px 20px rgba(184, 93, 56, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================
   3. MASADAKİ ÇALIŞMA DÜZENİ (DESK WORKSPACE & CHAT MEMO PAD)
   ========================================================== */
.desk-workspace {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
  max-width: 1720px;
  transition: all 0.4s ease;
  position: relative;
}

/* Üst Bar Sohbet Aç/Kapat Butonu */
.chat-header-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f3ede2;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.chat-header-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ----------------------------------------------------------
   SARI / KREM ÇİZGİLİ NOT KAĞIDI DOKUSU (MEMO PAD)
   ---------------------------------------------------------- */
.desk-chat-pad {
  width: 410px;
  min-width: 360px;
  height: 760px;
  background: #fcf6e8;
  /* Not Kağıdı Çizgi Efekti */
  background-image: 
    linear-gradient(90deg, transparent 52px, #f1a9a0 52px, #f1a9a0 54px, transparent 54px),
    repeating-linear-gradient(transparent, transparent 29px, #e8ddc9 29px, #e8ddc9 30px);
  background-size: 100% 100%, 100% 30px;
  border-radius: 4px 16px 12px 6px;
  box-shadow: 
    -4px 10px 30px rgba(0, 0, 0, 0.4),
    8px 18px 25px rgba(0, 0, 0, 0.3),
    inset 0 0 25px rgba(210, 185, 140, 0.25);
  border: 1px solid #dfd2be;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 26px 22px 18px;
  transform: rotate(0.8deg);
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  z-index: 15;
}

.desk-chat-pad:hover {
  transform: rotate(0deg) translateY(-2px);
}

.desk-chat-pad.pad-hidden {
  display: none !important;
}

/* Not Kağıdı Üstündeki Metalik Ataş / Raptiye */
.pad-pin-clip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 28px;
  z-index: 5;
  pointer-events: none;
}

.pin-head {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 35% 35%, #d9534f, #8b1e1a 70%, #4a0d0a 100%);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0,0,0,0.2);
}

.pin-shadow {
  width: 14px;
  height: 6px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  filter: blur(2px);
  margin: 2px auto 0;
}

/* Başlık Grubu */
.pad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px dashed #d8c7af;
  margin-bottom: 12px;
}

.pad-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pad-icon {
  font-size: 30px;
}

.pad-title {
  font-family: var(--font-hand);
  font-size: 30px;
  font-weight: 700;
  color: #3b2c20;
  margin: 0;
  line-height: 1;
}

.pad-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #7a6857;
  margin: 4px 0 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.pad-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: #8c7b6d;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.pad-close-btn:hover {
  color: #333;
}

/* Mesaj Akış Alanı */
.pad-stream {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 6px 12px 14px;
  scroll-behavior: smooth;
}

.pad-stream::-webkit-scrollbar {
  width: 5px;
}

.pad-stream::-webkit-scrollbar-thumb {
  background: rgba(160, 140, 115, 0.35);
  border-radius: 10px;
}

/* Mesaj Balonları */
.desk-chat-msg {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(220, 205, 185, 0.6);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(45, 30, 15, 0.06);
  animation: fadeInMsg 0.25s ease-out;
}

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

.desk-chat-msg.self-msg {
  background: #fffdf5;
  border-left: 3px solid var(--brand-terracotta);
}

.desk-chat-msg.author-msg {
  background: #fdf5f0;
  border-left: 3px solid #d9534f;
}

.chat-msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.chat-msg-user {
  font-size: 12px;
  font-weight: 700;
  color: #30261f;
}

.author-badge-pill {
  font-size: 10px;
  background: #b85d38;
  color: #fff;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 600;
}

.verified-dot {
  font-size: 11px;
  color: #0284c7;
  font-weight: bold;
}

.chat-msg-time {
  font-size: 10px;
  color: #9c8b7d;
  margin-left: auto;
}

.chat-msg-bubble p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #382e26;
  word-break: break-word;
}

/* Gönderici Durum Barı */
.pad-sender-info {
  font-size: 11px;
  color: #6b5a4d;
  padding: 6px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px dashed rgba(200, 180, 155, 0.6);
}

.pad-sender-info a {
  color: var(--brand-terracotta);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* Hızlı Tepki Emojileri */
.pad-quick-emojis {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.chat-quick-emoji-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #ded2bf;
  border-radius: 14px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.chat-quick-emoji-btn:hover {
  background: #ffffff;
  border-color: #b85d38;
  transform: scale(1.15);
}

/* Mesaj Giriş Formu */
.pad-input-form {
  display: flex;
  gap: 6px;
  position: relative;
}

.pad-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #dcd0bc;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: #2b2520;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pad-input:focus {
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 3px rgba(184, 93, 56, 0.15);
}

.pad-send-btn {
  background: var(--brand-terracotta);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(184, 93, 56, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pad-send-btn:hover {
  background: #a34e2c;
  transform: scale(1.06);
}

/* ----------------------------------------------------------
   MOBİL YÜZEN SOHBET BUTONU (FLOATING ACTION BUTTON)
   ---------------------------------------------------------- */
.mobile-chat-fab {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #fdf5e6;
  color: #3b2c20;
  border: 2px solid #e0cdb2;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  z-index: 100;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.mobile-chat-fab:hover {
  background: #fff;
  transform: translateY(-2px);
}

.mobile-chat-fab.has-unread::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* ===================================================
   CANLI MASADAKİLER (ONLINE USERS) & ÖZEL DM ALANI
   =================================================== */
.pad-online-bar {
  background: rgba(245, 235, 220, 0.7);
  border: 1px solid rgba(210, 190, 165, 0.7);
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pad-online-title {
  font-size: 11px;
  font-weight: 700;
  color: #5c4738;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.online-pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px #22c55e;
  animation: pulse-live 1.8s infinite;
}

.online-users-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 52px;
  overflow-y: auto;
}

.online-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #fff;
  border: 1px solid #dfd2be;
  border-radius: 12px;
  font-size: 11.5px;
  color: #3b2c20;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.online-user-pill:hover {
  background: #fdf2e9;
  border-color: var(--brand-terracotta);
  transform: translateY(-1px);
}

.online-user-pill.is-me {
  background: #fef7ed;
  border-color: #f97316;
  color: #9a3412;
  cursor: default;
}

.online-user-pill .user-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* Özel Mesaj / DM Barı */
.chat-dm-bar {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  animation: fadeInMsg 0.2s ease-out;
}

.chat-dm-bar strong {
  color: #78350f;
}

.dm-cancel-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: bold;
  color: #92400e;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.dm-cancel-btn:hover {
  color: #b91c1c;
}

.dm-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}

/* ===================================================
   ÜST BAR KULLANICI GİRİŞ & ÇIKIŞ WIDGETI
   =================================================== */
.desk-auth-user-badge {
  display: flex;
  align-items: center;
}

.topbar-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  color: #f5efe6;
}

.topbar-username {
  font-weight: 600;
  color: #f7ede2;
}

.btn-topbar-logout {
  background: rgba(220, 38, 38, 0.3);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #fca5a5;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-topbar-logout:hover {
  background: #dc2626;
  color: #fff;
}

.btn-topbar-login {
  background: var(--brand-terracotta);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-topbar-login:hover {
  background: #b54736;
  transform: translateY(-1px);
}

/* ===================================================
   ANA SAYFA (KAPAK) ÜYELİK & OKUR MASASI KARTI
   =================================================== */
.cover-auth-card {
  background: #fdfbf7;
  border: 1px dashed #d8c7af;
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cover-auth-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-terracotta);
  margin-bottom: 6px;
}

.cover-auth-inner h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  margin: 0 0 6px 0;
  color: #3b2c20;
}

.cover-auth-desc {
  font-size: 12.5px;
  color: #6d5d4e;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.cover-auth-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-cover-register {
  background: var(--brand-terracotta);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cover-register:hover {
  background: #b54736;
}

.btn-cover-login {
  background: transparent;
  color: #3b2c20;
  border: 1px solid #c4b49e;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cover-login:hover {
  background: #f3ede2;
}

.btn-cover-chat {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cover-chat:hover {
  background: #1d4ed8;
}

.btn-cover-logout {
  background: transparent;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cover-logout:hover {
  background: #fef2f2;
}

/* ===================================================
   CANLI SOHBET MİSAFİR KİLİTLİ ALAN (GUEST LOCK)
   =================================================== */
.chat-guest-lock-box {
  background: #fdf5e6;
  border: 1.5px dashed #dfcca8;
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-guest-lock-box:hover {
  background: #fcf0da;
  border-color: var(--brand-terracotta);
  transform: translateY(-1px);
}

.lock-box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.lock-box-icon {
  font-size: 24px;
}

.lock-box-info strong {
  font-size: 13px;
  color: #3b2c20;
}

.lock-box-info p {
  font-size: 11.5px;
  color: #7a6857;
  margin: 4px 0 8px 0;
  line-height: 1.35;
}

.btn-chat-guest-login {
  background: var(--brand-terracotta);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-chat-guest-login:hover {
  background: #b54736;
}

/* Giriş yapmış kullanıcı satırı */
.chat-sender-logged {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  padding: 4px 0;
}

.btn-chat-logout {
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #dc2626;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-chat-logout:hover {
  background: #dc2626;
  color: #fff;
}

/* Mesaj Başlığındaki Kolay Fısılda Butonu */
.btn-msg-whisper {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s;
}

.btn-msg-whisper:hover {
  background: #fde68a;
  color: #78350f;
  transform: scale(1.05);
}

.pill-whisper-hint {
  font-size: 9.5px;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 4px;
  border-radius: 4px;
  margin-left: 2px;
}

/* ===================================================
   ÜST BAR VE KAPAKTAKİ ÖZEL MESAJ TETİKLEYİCİLERİ
   =================================================== */
.btn-topbar-pm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(184, 93, 56, 0.12);
  border: 1px solid rgba(184, 93, 56, 0.3);
  color: var(--brand-terracotta);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.btn-topbar-pm:hover {
  background: var(--brand-terracotta);
  color: #ffffff;
  border-color: var(--brand-terracotta);
  transform: translateY(-1px);
}

.topbar-pm-badge {
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.5);
  animation: pulseBadge 1.8s infinite;
}

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

.btn-cover-pm {
  background: #fdfaf4;
  border: 1px solid #d8c7af;
  color: #4a3728;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cover-pm:hover {
  background: #f4eee2;
  border-color: var(--brand-terracotta);
  color: var(--brand-terracotta);
}

/* Canlı Okur Kahvesi Alt Eylem Çubuğu: Özel Mesaj Modalı Butonu */
.pad-subaction-bar {
  padding: 6px 12px;
  background: rgba(238, 223, 203, 0.45);
  border-bottom: 1px dashed #d8c4a9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pad-pm-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fdfaf3;
  color: #5c4331;
  border: 1px solid #d4be9f;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-pad-pm-trigger:hover {
  background: #b85d38;
  color: #ffffff;
  border-color: #b85d38;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(184, 93, 56, 0.25);
}

.btn-pad-pm-trigger .pm-sub-icon {
  font-size: 13px;
}

.pad-pm-unread-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.2;
}

/* Mesaj Başlığındaki Hızlı Özel Mesaj Butonu */
.btn-msg-pm-quick {
  background: none;
  border: none;
  font-size: 11px;
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 4px;
  opacity: 0.65;
  transition: all 0.15s;
}

.btn-msg-pm-quick:hover {
  opacity: 1;
  transform: scale(1.15);
  background: rgba(184, 93, 56, 0.12);
}

/* ===================================================
   ÖZEL MESAJLAŞMA POP-UP MODAL PENCERESİ (SEÇENEK A)
   =================================================== */
.pm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 14, 10, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pm-modal-window {
  background: #faf6ee;
  border: 2px solid #d4c2a5;
  border-radius: 14px;
  width: 100%;
  max-width: 760px;
  height: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  overflow: hidden;
  position: relative;
}

/* Modal Üst Başlık */
.pm-modal-header {
  background: #eedfcb;
  border-bottom: 1px solid #d6c1a1;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-modal-icon {
  font-size: 24px;
}

.pm-modal-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #3b281c;
  margin: 0;
  font-weight: 700;
}

.pm-modal-subtitle {
  font-size: 11.5px;
  color: #7a6452;
  margin: 2px 0 0 0;
}

.pm-modal-close-btn {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #d0bea4;
  color: #5c4535;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.18s;
}

.pm-modal-close-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: scale(1.05);
}

/* Modal İki Kolonlu Gövde */
.pm-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Sol Kolon: Okurlar & Konuşmalar */
.pm-sidebar {
  width: 250px;
  border-right: 1px solid #dfcfba;
  background: #f4ede0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.pm-sidebar-header {
  padding: 10px 14px;
  border-bottom: 1px solid #e0d0bb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #554131;
}

.pm-sidebar-online-count {
  font-size: 10.5px;
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.pm-conversations-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-conversations-list::-webkit-scrollbar {
  width: 5px;
}

.pm-conversations-list::-webkit-scrollbar-thumb {
  background: rgba(180, 160, 135, 0.45);
  border-radius: 6px;
}

.pm-conv-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5d8c3;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.pm-conv-item:hover {
  background: #fdf6ec;
  border-color: var(--brand-terracotta);
  transform: translateX(2px);
}

.pm-conv-item.active {
  background: #eedfcb;
  border-color: var(--brand-terracotta);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pm-conv-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e4d3bc;
  color: #4a3728;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.pm-conv-avatar .status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

.pm-conv-avatar .status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 4px #22c55e;
}

.pm-conv-avatar .status-dot.offline {
  background: #94a3b8;
}

.pm-conv-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.pm-conv-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.pm-conv-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #3b281c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pm-conv-snippet {
  font-size: 10.5px;
  color: #8c7866;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

/* Sağ Kolon: Mesajlaşma Akışı */
.pm-main-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #faf6ee;
  min-width: 0;
}

.pm-chat-partner-bar {
  padding: 10px 16px;
  border-bottom: 1px solid #e3d3bd;
  background: #f8f1e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-partner-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-partner-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.pm-partner-name {
  font-size: 14px;
  font-weight: 700;
  color: #3b281c;
  margin: 0;
}

.pm-partner-status {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.pm-partner-status.offline {
  color: #8c7866;
}

/* Çevrimdışı Temizlik Uyarısı */
.pm-ephemeral-notice {
  background: rgba(243, 233, 218, 0.75);
  border-left: 3px solid #b85d38;
  padding: 7px 12px;
  font-size: 11px;
  color: #6d543e;
  line-height: 1.35;
}

.pm-ephemeral-notice strong {
  color: #8c3b1a;
}

/* Mesaj Akış Alanı */
.pm-messages-stream {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm-messages-stream::-webkit-scrollbar {
  width: 6px;
}

.pm-messages-stream::-webkit-scrollbar-thumb {
  background: rgba(180, 160, 135, 0.45);
  border-radius: 6px;
}

/* Konuşma Balonları */
.dm-msg-wrapper {
  display: flex;
  flex-direction: column;
  animation: fadeInMsg 0.2s ease;
}

.dm-msg-wrapper.is-me {
  align-items: flex-end;
}

.dm-msg-wrapper.is-other {
  align-items: flex-start;
}

.dm-bubble {
  max-width: 75%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dm-msg-wrapper.is-me .dm-bubble {
  background: #3b281c;
  color: #fdfaf3;
  border-bottom-right-radius: 4px;
}

.dm-msg-wrapper.is-other .dm-bubble {
  background: #ffffff;
  color: #2b1d14;
  border: 1px solid #e3d3bd;
  border-bottom-left-radius: 4px;
}

.dm-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #8c7866;
  margin-top: 3px;
  padding: 0 4px;
}

/* Mesaj Yazma Formu */
.pm-input-form {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #e3d3bd;
  background: #f7efe2;
}

.pm-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d4c2a8;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 13px;
  color: #3b281c;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.pm-input:focus {
  border-color: var(--brand-terracotta);
  box-shadow: 0 0 0 2px rgba(184, 93, 56, 0.12);
}

.pm-send-btn {
  background: var(--brand-terracotta);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pm-send-btn:hover {
  background: #a14e2c;
  transform: translateY(-1px);
}

.empty-dm-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: #8c7866;
  gap: 10px;
  margin: auto;
}

.empty-dm-state .empty-icon {
  font-size: 36px;
}

.empty-dm-state p {
  font-size: 13px;
  color: #7a6857;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 680px) {
  .pm-modal-window {
    height: 94vh;
  }
  .pm-sidebar {
    width: 90px;
  }
  .pm-conv-snippet, .pm-sidebar-header span:first-child {
    display: none;
  }
  .pm-conv-name {
    font-size: 11px;
  }
}


/* Netlify Badge & Drawer Gizleme (Sağ alttaki 'Powered by Netlify' rozetini gizler) */
iframe[src*="netlify"],
iframe[id*="netlify"],
iframe[title*="Netlify"],
[data-netlify-drawer],
#netlify-drawer,
.netlify-drawer-container,
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* ==========================================================
   TLK.IO - JENNA SOHBET (NOT KAĞIDI İÇİ ENTEGRASYONU)
   ========================================================== */
.tlkio-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  height: calc(100% - 60px);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.tlkio-iframe-container {
  width: 100%;
  height: 100%;
  flex: 1;
  border: 1px solid #dcd1be;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1c1c;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tlkio-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tlkio-chat-body .chat-guest-lock-box {
  margin: auto 0;
  padding: 40px 20px;
}





