.ekselen-balon {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #171717;
  color: #f5efe6;
  cursor: pointer;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}

.ekselen-balon:hover {
  transform: scale(1.06);
}

.ekselen-panel {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 460px;
  max-height: calc(100vh - 40px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  z-index: 2147483001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: inherit;
}

.ekselen-gizli {
  display: none !important;
}

.ekselen-baslik {
  background: #171717;
  color: #f5efe6;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ekselen-ad {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ekselen-alt {
  font-size: 11.5px;
  opacity: 0.75;
  margin-top: 1px;
}

.ekselen-kapat {
  background: none;
  border: none;
  color: #f5efe6;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.ekselen-mesajlar {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #faf8f5;
}

.ekselen-mesaj {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.ekselen-musteri {
  align-self: flex-end;
  background: #171717;
  color: #f5efe6;
  border-bottom-right-radius: 4px;
}

.ekselen-selen {
  align-self: flex-start;
  background: #ffffff;
  color: #2b2b2b;
  border: 1px solid #e7e2da;
  border-bottom-left-radius: 4px;
}

.ekselen-selen a {
  color: #8b5a2b;
  text-decoration: underline;
  word-break: break-all;
}

.ekselen-selen a:hover {
  color: #6f4520;
}

.ekselen-yaziyor {
  animation: ekselen-titre 1s infinite;
}

@keyframes ekselen-titre {
  50% { opacity: 0.4; }
}

.ekselen-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #eee7dd;
  background: #ffffff;
}

.ekselen-giris {
  flex: 1;
  border: 1px solid #ddd5c9;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
}

.ekselen-giris:focus {
  border-color: #8b6a4f;
}

.ekselen-gonder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #171717;
  color: #f5efe6;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .ekselen-panel {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    height: 70vh;
  }
}
