.hcd-launcher,
.hcd-panel {
  font-family: Inter, Gilroy, "Segoe UI", sans-serif;
  z-index: 2147483000;
}
.hcd-launcher {
  position: fixed;
  right: 20px;
  bottom: 0;
  box-sizing: border-box;
  width: 255px;
  height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px 6px 0 0;
  background: #2000ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.4px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 4px 8px rgba(24, 24, 27, .1), 0 0 1px rgba(24, 24, 27, .3);
  cursor: pointer;
  transition: opacity .2s ease, transform .28s cubic-bezier(.16, 1, .3, 1), visibility 0s;
}
.hcd-launcher:active { transform: scale(.94); }
.hcd-launcher.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .2s ease, visibility 0s linear .2s;
}
.hcd-rozet {
  position: absolute;
  top: -7px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4454;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
  box-shadow: 0 0 0 2px #101218;
  z-index: 2;
  pointer-events: none;
}
.hcd-rozet[hidden] { display: none !important; }
.hcd-launcher svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex: none;
}
.hcd-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(360px, calc(100vw - 24px));
  height: min(600px, calc(100vh - 36px));
  background: #202020;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .64), 0 0 0 1px rgba(212, 212, 216, .08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(.12);
  transform-origin: right bottom;
  transition: opacity .18s ease, transform .36s cubic-bezier(.16, 1, .3, 1), border-radius .36s ease, visibility 0s linear .36s;
}
.hcd-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity .16s ease, transform .4s cubic-bezier(.16, 1, .3, 1), border-radius .4s ease, visibility 0s;
}
.hcd-head {
  height: 54px;
  background: #202020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  flex: none;
  min-height: 54px;
  position: relative;
}
.hcd-who {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  max-width: 62%;
  pointer-events: none;
}
.hcd-logo {
  width: 25px;
  height: 25px;
  margin-right: 4px;
  border-radius: 9999px;
  overflow: hidden;
  flex: none;
  background: #111;
}
.hcd-logo img { width: 25px; height: 25px; display: block; object-fit: cover; }
.hcd-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hcd-icon {
  width: 40px;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.hcd-icon svg { width: 20px; height: 20px; display: block; }
.hcd-head-tools { display: flex; align-items: center; margin-left: auto; }
.hcd-thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  background: #191919;
}
.hcd-day { display: flex; justify-content: center; margin: 12px 0; }
.hcd-day span {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  padding: 4px 12px;
  border-radius: 23px;
}
.hcd-error { color: #f87171; font-size: 12px; min-height: 0; margin: 0; padding: 0 12px 6px; background: #191919; }
.hcd-error:empty { display: none; }
.hcd-msg { max-width: 100%; margin: 4px 0; display: flex; flex-direction: column; }
.hcd-msg.is-ziyaretci { align-items: flex-end; }
.hcd-msg.is-admin { align-items: flex-start; }
.hcd-bubble {
  max-width: 85%;
  padding: 8px 16px;
  font-size: 14.4px;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
  white-space: normal;
  word-break: break-word;
}
.hcd-msg.is-ziyaretci .hcd-bubble { background: #2000ff; border-radius: 16px; }
.hcd-msg.is-admin .hcd-bubble { background: rgba(255, 255, 255, .1); border-radius: 16px 16px 16px 0; }
.hcd-text.is-kapali { display: block; max-height: 45px; overflow: hidden; }
.hcd-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: .85;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.hcd-more svg { width: 12px; height: 12px; }
.hcd-read {
  width: 100%;
  text-align: right;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  line-height: 14px;
  margin: 2px 2px 6px;
}
.hcd-msg.is-admin .hcd-read { display: none; }
.hcd-stack { width: 100%; }
.hcd-cards { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; }
.hcd-card {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
  color: #fff;
}
.hcd-card strong { display: block; font-size: 14px; font-weight: 600; }
.hcd-card span { display: block; margin-top: 4px; color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 400; }
.hcd-msg .hcd-bubble.is-gorsel {
  padding: 0;
  background: transparent;
  border-radius: 12px;
}
.hcd-bubble .hcd-gorsel {
  width: auto;
  max-width: 180px;
  max-height: 180px;
  height: auto;
  margin: 0;
  border-radius: 12px;
  display: block;
  cursor: zoom-in;
  object-fit: contain;
}
.hcd-bubble .hcd-text + .hcd-gorsel { margin-top: 6px; }
.hcd-msg .hcd-bubble.is-video,
.hcd-msg .hcd-bubble.is-gorsel { padding: 0; background: transparent; }
.hcd-video {
  position: relative;
  width: min(240px, 72vw);
  border-radius: 16px;
  overflow: hidden;
  background: #0c0c0e;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.hcd-video video {
  display: block;
  width: 100%;
  max-height: 280px;
  background: #000;
  object-fit: contain;
  cursor: pointer;
}
.hcd-video-oynat {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 54px;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #2000ff;
  color: #fff;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(32, 0, 255, .45);
}
.hcd-video-oynat svg { width: 22px; height: 22px; margin-left: 2px; }
.hcd-video.is-oynuyor .hcd-video-oynat { opacity: 0; pointer-events: none; }
.hcd-video-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78));
}
.hcd-video-sure {
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}
.hcd-video-seek {
  flex: 1;
  height: 4px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  appearance: none;
  cursor: pointer;
}
.hcd-video-seek::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #2000ff;
}
.hcd-video.is-yok {
  width: auto;
  padding: 12px 14px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  box-shadow: none;
}
.hcd-bekliyor { opacity: .72; }
.hcd-compose { flex: none; }
.hcd-buyut {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .82);
}
.hcd-buyut.is-acik { display: flex; }
.hcd-buyut img {
  max-width: min(920px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}
.hcd-buyut-kapat {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.hcd-compose {
  display: flex;
  align-items: center;
  height: 53px;
  padding: 8px;
  background: #202020;
  box-sizing: border-box;
  position: relative;
}
.hcd-ekle {
  display: none;
  position: absolute;
  left: 8px;
  bottom: 48px;
  width: max-content;
  min-width: 171px;
  background: #202020;
  color: #fafafa;
  border-radius: 6px;
  padding: 6px;
  z-index: 4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .64), inset 0 0 1px rgba(212, 212, 216, .3);
}
.hcd-ekle.is-acik { display: block; }
.hcd-ekle-item {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #fafafa;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.hcd-ekle-item:hover { background: rgba(255, 255, 255, .08); }
.hcd-ekle-item svg { width: 16px; height: 16px; flex: none; }
.hcd-compose input[type="text"] {
  flex: 1;
  height: 36px;
  min-width: 0;
  margin-right: 8px;
  border-radius: 4px;
  border: 1px solid #27272a;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding: 0 10px;
  font: inherit;
  font-size: 14px;
}
.hcd-compose input::placeholder { color: #a1a1aa; }
.hcd-file, .hcd-send {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
}
.hcd-file {
  margin-right: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
}
.hcd-send {
  border: 0;
  border-radius: 6px;
  background: #3f3f46;
  color: #71717a;
}
.hcd-send.is-dolu {
  background: #2000ff;
  color: #fff;
}
.hcd-file svg, .hcd-send svg { width: 16px; height: 16px; }
.hcd-menu {
  display: none;
  position: absolute;
  top: 46px;
  left: 8px;
  width: max-content;
  min-width: 177px;
  background: #202020;
  color: #fafafa;
  border-radius: 6px;
  padding: 6px;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .64), 0 0 1px rgba(212, 212, 216, .3);
}
.hcd-menu.is-open { display: block; }
.hcd-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fafafa;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}
.hcd-menu-item:hover { background: rgba(255, 255, 255, .08); }
.hcd-menu-item svg { width: 16px; height: 16px; flex: none; }
.hcd-bayrak { width: 16px; font-size: 14px; line-height: 16px; text-align: center; }
.hcd-panel.is-aydinlik,
.hcd-panel.is-aydinlik .hcd-head,
.hcd-panel.is-aydinlik .hcd-compose { background: #fff; color: #18181b; }
.hcd-panel.is-aydinlik .hcd-thread { background: #f4f4f5; }
.hcd-panel.is-aydinlik .hcd-title,
.hcd-panel.is-aydinlik .hcd-icon,
.hcd-panel.is-aydinlik .hcd-menu-item { color: #18181b; }
.hcd-panel.is-aydinlik .hcd-menu { background: #fff; }
.hcd-panel.is-aydinlik .hcd-menu-item:hover { background: rgba(0, 0, 0, .06); }
.hcd-panel.is-aydinlik .hcd-msg.is-admin .hcd-bubble { background: rgba(0, 0, 0, .06); color: #18181b; }
.hcd-panel.is-aydinlik .hcd-compose input { background: #fff; color: #18181b; border-color: #e4e4e7; }
.hcd-panel.is-aydinlik .hcd-ekle { background: #fff; color: #18181b; }
.hcd-panel.is-aydinlik .hcd-ekle-item { color: #18181b; }
.hcd-panel.is-aydinlik .hcd-ekle-item:hover { background: rgba(0, 0, 0, .06); }
.hcd-panel.is-aydinlik .hcd-day span { background: rgba(0, 0, 0, .08); color: #18181b; }
html.hcd-yuzen body > *:not(#hesapCanliDestek) { display: none !important; }
html.hcd-yuzen .hcd-launcher { display: none !important; }
html.hcd-yuzen .hcd-panel {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  right: 0;
  bottom: 0;
  border-radius: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .hcd-launcher,
  .hcd-panel { transition: none; }
}
@keyframes hcd-blob {
  0%, 100% { border-radius: 65% 35% 50% 50% / 35% 65% 50% 50%; }
  50% { border-radius: 35% 65% 55% 45% / 65% 35% 45% 55%; }
}
@media (max-width: 991.98px) {
  .hcd-launcher {
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 65% 35% 50% 50% / 35% 65% 50% 50%;
    justify-content: center;
    background: #4a3ff5;
    overflow: visible;
    box-shadow: none;
    animation: hcd-blob 4.5s ease-in-out infinite;
  }
  .hcd-launcher::before {
    content: "";
    position: absolute;
    inset: -8px;
    background: rgba(74, 63, 245, .3);
    box-shadow: 0 0 24px rgba(74, 63, 245, .42), 0 0 10px rgba(74, 63, 245, .22);
    animation: hcd-blob 4.5s ease-in-out infinite reverse;
    z-index: -1;
  }
  .hcd-launcher > span:not(.hcd-rozet) { display: none; }
  .hcd-rozet { top: -4px; right: -4px; display: inline-block; }
  .hcd-launcher svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
    stroke: none;
    position: relative;
    z-index: 1;
  }
  .hcd-launcher.is-hidden { transform: scale(.4); }
  .hcd-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    border-radius: 28px;
    box-shadow: none;
    transform-origin: calc(100% - 40px) calc(100% - 120px);
  }
  .hcd-panel.is-open { border-radius: 0; }
}
