/* KKÜ Gruplar — Instagram /links tarzı, mobil öncelikli */
.page-kku-gruplar {
  --kg-kku: #8b1e2d;
  --kg-gold: #c9a227;
  --kg-soft: #f8edef;
  --kg-card: #fff;
  --kg-ink: #1a1a1e;
  --kg-muted: #6b6b76;
  --kg-line: #ececef;
  background: #f4f4f6;
}
.page-kku-gruplar #main-content {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 24px;
}
.kg-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 18px 16px 40px;
}
.kg-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 8px 18px;
}
.kg-profile__top {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.kg-profile__top .kg-av {
  margin-bottom: 0;
}

/* Sponsor logosu — KKÜ avatarsı ile aynı boyut */
.kg-av--sponsor {
  position: relative;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .22);
}
.kg-av--sponsor img {
  object-fit: contain;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

/* Sponsor sohbet tetikleyici */
.kg-sponsor-chat {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.kg-sponsor-chat__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, .35);
  animation: kgSponsorRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes kgSponsorRing {
  0% { transform: scale(.94); opacity: .85; }
  70% { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}
.kg-sponsor-chat__live {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  animation: kgSponsorLive 1.6s ease-in-out infinite;
  z-index: 2;
}
@keyframes kgSponsorLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}
.kg-sponsor-chat__hint {
  position: absolute;
  left: calc(100% + 10px);
  bottom: 8px;
  transform: translateX(-6px) scale(.94);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(52vw, 190px);
  padding: 8px 11px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  border: 1px solid #e5e7ef;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
  white-space: nowrap;
  z-index: 3;
}
.kg-sponsor-chat__hint em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kg-sponsor-chat__hint-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  flex: 0 0 auto;
}
.kg-sponsor-chat__hint-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #64748b;
  animation: kgSponsorHintDot 1.2s ease-in-out infinite;
}
.kg-sponsor-chat__hint-dots span:nth-child(2) { animation-delay: .15s; }
.kg-sponsor-chat__hint-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes kgSponsorHintDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-3px); opacity: 1; }
}
.kg-sponsor-chat.is-teasing .kg-sponsor-chat__hint,
.kg-sponsor-chat:focus-visible .kg-sponsor-chat__hint {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}
@media (min-width: 1080px) {
  .page-kku-gruplar .kg-sponsor-chat {
    display: none;
  }
}
@media (max-width: 380px) {
  .kg-profile__top { gap: 10px; }
  .kg-av, .kg-av--sponsor { width: 78px; height: 78px; }
  .kg-sponsor-chat__hint { max-width: 42vw; }
}
.kg-av {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #8b1e2d, #5c101c);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(139, 30, 45, .28);
  margin-bottom: 12px;
}
.kg-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #5c101c;
}
.kg-profile h1 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--kg-ink);
  line-height: 1.2;
}
.kg-handle {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--kg-muted);
}
.kg-bio {
  margin: 0;
  font-size: .86rem;
  line-height: 1.5;
  color: #3a3a42;
  max-width: 36ch;
}
.kg-share {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--kg-line);
  background: #fff;
  color: var(--kg-ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.kg-share:active { transform: scale(.98); }
.kg-search {
  position: relative;
  margin: 4px 0 12px;
}
.kg-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9aa6;
  font-size: .85rem;
  pointer-events: none;
}
.kg-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px 13px 40px;
  border: 1px solid var(--kg-line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--kg-ink);
}
.kg-search input:focus {
  outline: none;
  border-color: #c9a8ae;
  box-shadow: 0 0 0 3px rgba(139, 30, 45, .12);
}
.kg-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  margin: 0 -4px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.kg-chips::-webkit-scrollbar { display: none; }
.kg-chip {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--kg-line);
  background: #fff;
  color: #333;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.kg-chip.is-on {
  background: var(--kg-kku);
  border-color: var(--kg-kku);
  color: #fff;
}
.kg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.kg-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--kg-card);
  border: 1px solid var(--kg-line);
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  min-height: 64px;
  -webkit-tap-highlight-color: transparent;
}
.kg-card:active { transform: scale(.985); }
.kg-card.is-pin {
  border-color: #e8d48a;
  background: linear-gradient(180deg, #fffdf6, #fff);
}
.kg-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
  overflow: hidden;
}
.kg-ico--foto { background: #eee; padding: 0; position: relative; overflow: visible; }
.kg-ico--foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.kg-ico--foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kg-plat {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .55rem;
  border: 2px solid #fff;
}
.kg-txt { flex: 1; min-width: 0; text-align: left; }
.kg-ad {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--kg-ink);
}
.kg-meta {
  display: block;
  margin-top: 3px;
  font-size: .72rem;
  color: var(--kg-muted);
  line-height: 1.3;
}
.kg-go {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--kg-soft);
  color: var(--kg-kku);
  flex-shrink: 0;
  font-size: .8rem;
}
.kg-actions {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  align-items: center;
}
.kg-act {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .95rem;
  text-decoration: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.kg-act:active { transform: scale(.94); }
.kg-act--wa { background: #25D366; }
.kg-act--forum { background: #7E57C2; }
.kg-act--share { background: var(--kg-kku); }
.kg-empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--kg-muted);
  font-size: .88rem;
  line-height: 1.5;
}
.kg-foot {
  margin-top: 22px;
  text-align: center;
  font-size: .74rem;
  color: var(--kg-muted);
}
.kg-foot a { color: var(--kg-kku); font-weight: 700; text-decoration: none; }
.kg-hidden { display: none !important; }
@media (min-width: 768px) {
  .kg-wrap { padding-top: 28px; padding-bottom: 56px; }
  .kg-card:hover { border-color: #d8b4b8; box-shadow: 0 6px 18px rgba(139, 30, 45, .08); }
}
