/* KULLANICI ETKINLIGI (2026-09-17) - static/js/whitoo-etkinlik.js
   Tema bagimsiz: renkler currentColor karisimiyla; kenar seridi YOK. */

/* ---------- isim alti satir ---------- */
.user-status.wet-dolu { display: block; min-width: 0; margin-top: 1px; }
.wet-satir {
  display: flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%;
  font-size: 13px; line-height: 1.35; font-weight: 500;
  color: color-mix(in srgb, currentColor 62%, transparent);
}
.wet-satir .ti { flex: none; font-size: 14.5px; line-height: 1; color: #ff4d6a; }
.wet-satir.wet-spotify .ti { color: #1ed760; }
.wet-satir.wet-steam .ti { color: #66c0f4; }
.wet-satir .wet-yazi { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wet-satir b { font-weight: 650; color: color-mix(in srgb, currentColor 92%, transparent); }
.user-row .channel-user-details { min-width: 0; }
.wxs-arkadas-yazi small .wet-satir { font-size: 13.5px; }

/* ---------- profil: "su an" ---------- */
.wet-profil { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.wet-profil[hidden] { display: none !important; }
.wet-profil-baslik {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: color-mix(in srgb, currentColor 55%, transparent);
}
.wet-kart {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 10px; border-radius: 14px; text-decoration: none !important; color: inherit !important;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  transition: background .15s ease, border-color .15s ease;
}
a.wet-kart:hover { background: color-mix(in srgb, currentColor 10%, transparent); border-color: color-mix(in srgb, currentColor 16%, transparent); }
.wet-gorsel {
  flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center;
  background: color-mix(in srgb, currentColor 9%, transparent);
}
.wet-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wet-gorsel .ti { font-size: 29px; color: #ff4d6a; }
.wet-kart.genis .wet-gorsel { width: 92px; height: 43px; }   /* Steam kapak orani */
.wet-kart.wet-whitoo .wet-gorsel { background: linear-gradient(145deg, #e50f45, #6d0620); }
.wet-kart.wet-whitoo .wet-gorsel .ti { color: #fff; }
.wet-bilgi { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.wet-bilgi small {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: color-mix(in srgb, currentColor 58%, transparent);
}
.wet-bilgi small .ti { font-size: 14.5px; }
.wet-spotify .wet-bilgi small .ti { color: #1ed760; }
.wet-steam .wet-bilgi small .ti { color: #66c0f4; }
.wet-bilgi strong { font-size: 15.5px; font-weight: 700; line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wet-bilgi em { font-style: normal; font-size: 13.5px; color: color-mix(in srgb, currentColor 62%, transparent); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wet-ilerleme { display: block; height: 4px; margin-top: 7px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, currentColor 14%, transparent); }
.wet-ilerleme i { display: block; height: 100%; width: 0; border-radius: inherit; background: #1ed760; transition: width 1s linear; }
.wet-zaman { display: flex; justify-content: space-between; margin-top: 3px; font-size: 11.5px; font-variant-numeric: tabular-nums; color: color-mix(in srgb, currentColor 50%, transparent); }
.wet-dugme {
  flex: none; border: 0; border-radius: 10px; padding: 7px 14px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: #e50f45;
}
.wet-dugme:hover { background: #ff2a5c; }
.wet-profil.wet-popover { margin: 10px 0 2px; }
.wet-profil.wet-tam { margin: 14px 0 6px; }
@media (prefers-reduced-motion: reduce) { .wet-ilerleme i, .wet-kart { transition: none; } }

/* 2026-10-02: kompakt uye listesinde .channel-user-details yatay flex; etkinlik
   adin YANINA dizilip ona biniyordu. Etkinlik varsa satiri sar: ad (+ sessiz
   ikonu) ustte, etkinlik tam genislikte altta. */
html body.incallx .user-row .channel-user-details:has(> .user-status.wet-dolu) {
    flex-wrap: wrap !important;
    align-content: center !important;
    row-gap: 1px !important;
    min-width: 0 !important;
}
html body.incallx .user-row .channel-user-details > .user-status.wet-dolu {
    order: 9 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
}
/* Uzun etkinlik yazisi satiri (grid ogesi, min-width:auto) panelden tasirmasin; "..." ile kisalsin */
html body.incallx .user-row:has(.user-status.wet-dolu) {
    min-width: 0 !important;
    max-width: 100% !important;
}
html body.incallx .user-row:has(.user-status.wet-dolu) > .d-flex {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}
html body.incallx .user-row .channel-user-details:has(> .user-status.wet-dolu) {
    flex: 1 1 0 !important;
}
