/* =========================================================
   Cookie Notice — KVKK/GDPR consent banner
   Sağ altta kompakt kart (Q float button'un üstünde)
   Mobil: alt tam genişlikte bar
   Cam soket dili + marka DNA (magenta accent)
   2 buton: Kabul et (magenta) + Reddet (outline)
   ========================================================= */

.ck-notice {
  position: fixed;
  right: 20px;
  bottom: 96px;  /* Q float button (bottom:20px, ~60px yüksek) üstüne */
  max-width: 460px;
  z-index: 9998;
  background: rgba(15, 15, 22, 0.88);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

.ck-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ck-notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.ck-notice__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--brand-magenta-soft, #ff4a93);
  margin-top: 2px;
}
.ck-notice__icon svg { width: 100%; height: 100%; display: block; }

.ck-notice__body {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
}
.ck-notice__title {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
  color: #fff;
}
.ck-notice__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
}
.ck-notice__text a {
  color: var(--brand-magenta-soft, #ff4a93);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 74, 147, 0.4);
  transition: border-color .18s ease;
}
.ck-notice__text a:hover { border-bottom-color: var(--brand-magenta-soft, #ff4a93); }

.ck-notice__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.ck-notice__btn {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  font-family: inherit;
  letter-spacing: -0.005em;
  white-space: nowrap;
  line-height: 1.2;
}

.ck-notice__btn--accept {
  background: var(--brand-magenta, #e61673);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(230, 22, 115, 0.35);
}
.ck-notice__btn--accept:hover {
  background: var(--brand-magenta-deep, #c4145f);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -4px rgba(230, 22, 115, 0.45);
}
.ck-notice__btn--accept:active { transform: translateY(0); }

.ck-notice__btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 15px; /* border yüzünden 1px eksilt */
}
.ck-notice__btn--reject:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

/* Mobil — alt genişletilmiş bar */
@media (max-width: 640px) {
  .ck-notice {
    left: 12px;
    right: 12px;
    bottom: 84px;
    max-width: none;
    padding: 14px 16px;
    border-radius: 14px;
  }
  .ck-notice__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ck-notice__actions {
    justify-content: flex-end;
  }
  .ck-notice__btn {
    flex: 1 1 auto;
    max-width: 50%;
  }
}

/* Reduce-motion — fade sadece, translate yok */
@media (prefers-reduced-motion: reduce) {
  .ck-notice {
    transform: none;
    transition: opacity .3s ease;
  }
}
