.drawer-kisi {
  display: flex; flex-direction: column; height: 100%;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  img { -webkit-user-drag: none; pointer-events: none; }
  input, textarea { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
}
.drawer-kisi-header {
  position: relative; padding: 32px 24px 20px; text-align: center;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  overflow: hidden; flex-shrink: 0;
  &.kadin { background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%); }
}
.drawer-header-dekor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.drawer-header-orb {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08);
  animation: drawerOrbFloat 8s ease-in-out infinite;
}
.drawer-header-orb-1 { width: 120px; height: 120px; top: -40px; right: -20px; }
.drawer-header-orb-2 { width: 80px; height: 80px; bottom: -20px; left: -10px; animation-delay: -4s; }
@keyframes drawerOrbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-8px,8px) scale(1.1); }
}
.drawer-kisi-avatar-wrap {
  position: relative; width: 104px; height: 104px; margin: 0 auto 12px;
  border-radius: 50%; border: 4px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25); overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
  ::ng-deep avatar-fallback, ::ng-deep universal-avatar { width: 100% !important; height: 100% !important; display: flex; }
}
.drawer-avatar-vefat-badge {
  position: absolute; bottom: 2px; right: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: #475569; border: 2px solid #fff; display: flex; align-items: center;
  justify-content: center; font-size: 12px; color: #fff; z-index: 2;
}
.drawer-kisi-isim {
  margin: 0 0 4px; font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: -0.3px; text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.drawer-kizlik-soyadi {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: rgba(255,255,255,0.8); font-style: italic; margin-bottom: 8px;
  .anticon { font-size: 11px; }
}
.drawer-kisi-etiketler { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.drawer-etiket {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.2); color: #fff;
  backdrop-filter: blur(4px);
  .anticon { font-size: 11px; }
  &.vefat { background: rgba(0,0,0,0.2); }
  &.meslek { background: rgba(255,255,255,0.25); }
}
.drawer-hizli-istatistik {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 20px; background: #fff; border-bottom: 1px solid #f1f5f9;
  animation: drawerStatsGir 0.4s ease-out both 0.2s;
}
@keyframes drawerStatsGir { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.drawer-hi-item { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.drawer-hi-sayi { font-size: 20px; font-weight: 800; color: #1e293b; line-height: 1.1; }
.drawer-hi-etiket { font-size: 10px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.drawer-hi-ayirici { width: 1px; height: 28px; background: #e2e8f0; }
.drawer-profil { padding: 16px 20px; }
.drawer-bilgi-kartlar { display: flex; flex-direction: column; gap: 10px; }
.drawer-bilgi-kart {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px;
  background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 12px;
  transition: all 0.2s; animation: drawerKartGir 0.4s ease-out both;
  &:nth-child(1) { animation-delay: 0.1s; } &:nth-child(2) { animation-delay: 0.15s; }
  &:nth-child(3) { animation-delay: 0.2s; } &:nth-child(4) { animation-delay: 0.25s; }
  &:hover { background: #f1f5f9; border-color: #e2e8f0; transform: translateX(2px); }
}
@keyframes drawerKartGir { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.drawer-bk-ikon {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
  &.dogum { background: #d1fae5; color: #059669; }
  &.vefat { background: #e2e8f0; color: #475569; }
  &.medeni { background: #fce7f3; color: #db2777; }
  &.cinsiyet { background: #dbeafe; color: #2563eb; }
}
.drawer-bk-icerik { display: flex; flex-direction: column; gap: 1px; }
.drawer-bk-etiket { font-size: 11px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.drawer-bk-deger { font-size: 14px; color: #1e293b; font-weight: 600; }
.drawer-bk-alt { font-size: 12px; color: #64748b; }
.drawer-biyografi-panel {
  margin-top: 14px; padding: 14px; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 12px;
  &.drawer-en-kisa-yol {
    .drawer-biyografi-baslik { .anticon { color: #8b5cf6; } }
    .en-kisa-aciklama { font-weight: 600; color: #1e293b; }
    .drawer-by-alt-mesafe { background: #e2e8f0; color: #475569; border-color: #e2e8f0; font-weight: 600; margin-left: 8px; }
  }
}
.drawer-biyografi-baslik {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
  .anticon { font-size: 13px; color: #94a3b8; }
}
.drawer-biyografi { margin: 0; font-size: 13px; color: #475569; line-height: 1.7; white-space: pre-wrap; }
.drawer-aksiyonlar {
  display: flex; gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #f1f5f9; flex-wrap: wrap;
}
.drawer-aksiyon-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid #e2e8f0;
  background: #fff; color: #475569; transition: all 0.2s;
  .anticon { font-size: 14px; }
  &:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
  &.duzenle:hover { color: #3b82f6; border-color: #93c5fd; }
  &.sil { color: #ef4444; border-color: #fecaca; &:hover { background: #fef2f2; } }
  &.odakla:hover { color: #10b981; border-color: #6ee7b7; }
  &.kisi-sayfasi:hover { color: #8b5cf6; border-color: #c4b5fd; }
}
.drawer-iliskiler { padding: 8px 0; }
.drawer-iliski-ekle-bar { padding: 0 20px 12px; }
.drawer-iliski-bos {
  display: flex; flex-direction: column; align-items: center; padding: 40px 24px; color: #94a3b8;
  .anticon { font-size: 32px; margin-bottom: 8px; }
  p { margin: 0; font-size: 13px; }
}
.drawer-iliski-satir {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; transition: background 0.15s ease; animation: drawerIliskiGir 0.3s ease-out both;
  &:hover { background: #f8fafc; }
  &.drawer-alt-satir { padding: 6px 12px; }
}
.drawer-alt-baglar {
  margin-left: 28px; padding: 2px 0 2px 8px; border-left: 2px solid #e2e8f0;
  animation: drawerAltBaglarAcil 0.15s ease;
  &.drawer-alt2 { margin-left: 24px; }
}
@keyframes drawerAltBaglarAcil { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 500px; } }
@keyframes drawerIliskiGir { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.drawer-iliski-sol { display: flex; align-items: center; gap: 12px; cursor: pointer; flex: 1; min-width: 0; }
.drawer-iliski-bilgi { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.drawer-iliski-isim { font-size: 14px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-iliski-tur-wrap { display: flex; align-items: center; gap: 4px; }
.drawer-iliski-simge { font-size: 14px; }
.drawer-iliski-tur { font-size: 11px !important; line-height: 1.4 !important; padding: 0 6px !important; border-radius: 4px !important; }
.drawer-iliski-sag { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.drawer-ozet { padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.drawer-ozet-kart { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; }
.drawer-ozet-baslik {
  display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: #475569; margin-bottom: 14px;
  .anticon { font-size: 15px; color: #3b82f6; }
}
.drawer-konum-grid { display: flex; flex-direction: column; gap: 10px; }
.drawer-konum-item { display: flex; align-items: center; gap: 10px; }
.drawer-konum-ikon {
  width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; flex-shrink: 0;
  &.ebeveyn { background: #e0e7ff; color: #4f46e5; }
  &.es { background: #fce7f3; color: #db2777; }
  &.cocuk { background: #d1fae5; color: #059669; }
}
.drawer-konum-sayi { font-size: 18px; font-weight: 800; color: #1e293b; margin-right: 4px; }
.drawer-konum-etiket { font-size: 13px; color: #64748b; font-weight: 500; }
.drawer-bag-yolu { padding: 16px 20px; }
.drawer-by-header {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid #6ee7b7;
  border-radius: 14px; margin-bottom: 16px; animation: drawerKartGir 0.4s ease-out both;
  h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #1e293b; }
}
.drawer-by-ikon {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
  &.basarili { background: #10b981; color: #fff; box-shadow: 0 3px 10px rgba(16,185,129,0.3); }
}
.drawer-by-aciklama { margin: 0; font-size: 14px; font-weight: 600; color: #059669; }
.drawer-by-yol { display: flex; flex-direction: column; align-items: flex-start; padding: 4px 0 8px 4px; }
.drawer-by-adim {
  display: flex; align-items: center; gap: 10px; position: relative;
  animation: drawerByAdimGir 0.4s ease-out both;
}
.drawer-by-adim + .drawer-by-adim { margin-top: 6px; }
@keyframes drawerByAdimGir { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.drawer-by-nokta { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,255,255,0.8); z-index: 1; }
.drawer-by-etiket {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; background: #fff;
  border: 2px solid; border-radius: 8px; font-size: 12px; font-weight: 600; color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.drawer-by-simge { font-size: 14px; }
.drawer-by-cizgi { position: absolute; left: 5px; top: 12px; width: 2px; height: calc(100% + 6px); opacity: 0.35; }
.drawer-by-mesafe {
  display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid #f1f5f9; font-size: 12px; font-weight: 600; color: #64748b;
  .anticon { font-size: 13px; color: #8b5cf6; }
}
.drawer-by-bos {
  display: flex; flex-direction: column; align-items: center; padding: 32px 20px;
  text-align: center; color: #94a3b8;
  .anticon { font-size: 28px; margin-bottom: 8px; }
  p { margin: 0; font-size: 13px; line-height: 1.6; }
}
.drawer-by-alternatifler { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.drawer-by-alt-baslik {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 10px;
  .anticon { font-size: 14px; color: #8b5cf6; }
}
.drawer-by-alt-satir {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 12px;
  margin-bottom: 6px; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 8px;
  animation: drawerKartGir 0.3s ease-out both;
}
.drawer-by-alt-aciklama { font-size: 13px; font-weight: 600; color: #475569; flex: 1; min-width: 0; }
.drawer-by-alt-mesafe { flex-shrink: 0; margin-left: 8px; }
.drawer-fotograflar { display: flex; flex-direction: column; gap: 12px; padding: 8px 20px; }
.drawer-foto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drawer-foto-thumb {
  position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  cursor: pointer; background: #f3f4f6; border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s;
  img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; pointer-events: auto; }
  &:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    img { transform: scale(1.05); }
  }
}
.drawer-foto-daha {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 700;
}
.drawer-foto-tumu { text-align: center; }
.drawer-adres-liste { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.drawer-adres-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 10px; border-radius: 8px; background: #fafafa; border: 1px solid #f1f5f9;
  transition: background 0.15s;
  &:hover { background: #f0f7ff; }
}
.drawer-adres-dot {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.drawer-adres-icerik { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drawer-adres-ust { display: flex; align-items: center; gap: 6px; }
.drawer-adres-baslik { font-size: 13px; font-weight: 600; color: #1e293b; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-adres-mevcut {
  font-size: 10px; font-weight: 600; color: #10b981; background: #ecfdf5;
  padding: 1px 6px; border-radius: 6px; flex-shrink: 0;
}
.drawer-adres-tarih { font-size: 11px; color: #9ca3af; }
.drawer-adres-not { font-size: 11px; color: #6b7280; font-style: italic; }
.drawer-adres-harita {
  font-size: 11px; color: #3b82f6; cursor: pointer; font-weight: 500;
  &:hover { text-decoration: underline; }
}
.drawer-anilar { display: flex; flex-direction: column; gap: 12px; padding: 8px 20px; }
.drawer-ani-satir {
  padding: 14px; background: #fafafa; border: 1px solid #e5e7eb; border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px; animation: slideInRight 0.3s ease both;
  transition: transform 0.2s, box-shadow 0.2s;
  &:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
}
@keyframes slideInRight { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.drawer-ani-baslik { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #1f2937; }
.drawer-ani-ses-ikon { color: #10b981; font-size: 14px; }
.drawer-ani-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9ca3af; }
.drawer-ani-ayirici { color: #d1d5db; }
.drawer-ani-aciklama { font-size: 13px; color: #4b5563; line-height: 1.6; margin: 0; white-space: pre-wrap; }
.drawer-ani-player { width: 100%; height: 36px; border-radius: 6px; }
.drawer-ani-aksiyonlar { display: flex; justify-content: flex-end; margin-top: 4px; }
@media (max-width: 576px) {
  .drawer-kisi { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
  .drawer-kisi-header { padding: 24px 16px 16px; }
  .drawer-kisi-avatar-wrap { width: 80px; height: 80px; border-width: 3px; }
  .drawer-kisi-isim { font-size: 18px; }
  .drawer-etiket { padding: 2px 8px; font-size: 10px; }
  .drawer-hizli-istatistik { padding: 10px 12px; flex-wrap: wrap; gap: 4px; }
  .drawer-hi-item { padding: 4px 12px; }
  .drawer-hi-sayi { font-size: 16px; }
  .drawer-hi-etiket { font-size: 9px; }
  .drawer-profil, .drawer-bag-yolu, .drawer-ozet { padding: 12px 14px; }
  .drawer-bilgi-kart { padding: 10px 12px; }
  .drawer-bk-ikon { width: 30px; height: 30px; border-radius: 8px; font-size: 13px; }
  .drawer-aksiyonlar { gap: 6px; flex-wrap: wrap; }
  .drawer-aksiyon-btn { padding: 8px 12px; font-size: 12px; min-height: 44px; border-radius: 8px; }
  .drawer-iliski-satir { padding: 10px 14px; min-height: 44px; }
  .drawer-foto-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .drawer-header-orb-1 { width: 80px; height: 80px; }
  .drawer-header-orb-2 { width: 50px; height: 50px; }
}
@media (max-width: 400px) {
  .drawer-kisi-header { padding: 20px 12px 14px; }
  .drawer-kisi-avatar-wrap { width: 64px; height: 64px; margin-bottom: 8px; }
  .drawer-kisi-isim { font-size: 16px; }
  .drawer-hizli-istatistik { padding: 8px 10px; flex-wrap: wrap; }
  .drawer-hi-sayi { font-size: 14px; }
  .drawer-aksiyonlar { flex-direction: column; }
  .drawer-aksiyon-btn { width: 100%; justify-content: center; }
}
