/* === الأساس === */

.frame_top_list {
    width: 105px;
    position: absolute;
    top: -23px;
    left: -7px;
}
.frame_top {
    width: 127px;
    position: absolute;
    top: -24px;
    left: -7px;
}
.winner-title {
  font-family: 'Changa', sans-serif;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #444;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}
.winner-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  direction: rtl;
}
.winner-box {
  width: 90px;
  text-align: center;
  position: relative;
  font-family: 'Tajawal', sans-serif;
}
.winner-box.first {
  width: 110px;
}
.winner-avatar {
  width: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background-color: #f1f1f1;
}
.winner-name {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.winner-medal {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  background: #fff;
  border-radius: 25px;
  padding: 2px 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.gold { color: #c6a700; }
.silver { color: #a0a0a0; }
.bronze { color: #b86e00; }
@media (max-width: 480px) {
  .winner-box { width: 80px; }
  .winner-box.first { width: 95px; }
  .winner-name { font-size: 13px; }
  .winner-medal { font-size: 18px; }
}
@media (max-width: 480px) {
  .winner-row {
    gap: 12px;
  }

  .winner-box {
    width: 70px;
  }

  .winner-box.first {
    width: 90px;
  }

  .winner-avatar {
    width: 100%;
    max-width: 70px;
    height: auto;
  }

  .winner-name {
    font-size: 12px;
  }

  .winner-medal {
    font-size: 18px;
    top: -10px;
    padding: 2px 5px;
  }
  .winner-box.first {
  width: 110px;
  margin-top: -10px;
}

.winner-box.first .winner-avatar {
  max-width: 110px;
}

.winner-box.first .winner-name {
  font-size: 10px;
  line-height: 0;
}

}

.score_lm {
    display: table-cell;
    vertical-align: middle;
    width: 70px;
    text-align: CENTER;
    font-weight: 700;
    padding: 0 5px;
}
.ulist_name {
    display: table-cell;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 5px;
}
.ranking_lm {
    display: table-cell;
    vertical-align: middle;
    width: 30px;
    text-align: center;
    font-weight: 700;
}
.ulist_item {
    background: #f3f3f3;
    color: #ff5722;
}
.title_Store {
    color: #ff5722;
    border-bottom: 1px solid #d1dee8;
}
.title_Store {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 0 1px 10px 1px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
    direction: rtl;
    font-family: 'Changa';
}
.ulist_label {
    display: table;
    width: 100%;
    height: 38px; /* قابل للتعديل حسب ارتفاع التصميم */
    table-layout: fixed;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25); /* ظل أنعم */
    overflow: hidden;
    font-family: Tahoma, Arial, sans-serif;
}

/* === الأيقونة === */
.ulist_label_icon {
    display: table-cell;
    width: 50px;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
}
.ulist_label_icon img {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

/* === النص === */
.ulist_label_data {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 8px;
    color: #fff;
}

/* === ألوان الرُتب (ستايل احترافي) === */

/* DJ */
.ulist_onairdj {
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* بنفسجي → أزرق */
    color: #fff;
}

/* Owner */
.ulist_owner {
    background: linear-gradient(135deg, #f7971e, #ffd200); /* برتقالي ذهبي */
    color: #fff;
}

/* Superadmin */
.ulist_sadmin {
    background: linear-gradient(135deg, #ff416c, #ff4b2b); /* أحمر قوي متدرج */
    color: #fff;
}

/* Admin */
.ulist_admin {
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* أزرق داكن أنيق */
    color: #fff;
}

/* Moderator */
.ulist_mod {
    background: linear-gradient(135deg, #434343, #000000); /* رمادي → أسود */
    color: #fff;
}

/* VIP (ذكور) */
.ulist_vip {
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* أزرق ملكي فاخر */
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* VIP2 (إناث) */
.user_item_data, .user_item_name {
}  
  /* Default styling for .wing_icon */
.wing_icon {
    height: 20px;
    vertical-align: text-top;
    border-radius: 50%;
}

/* Apply direction: rtl only when body is LTR */
.user_item_data>.wing_icon {
    direction: rtl;
}
.ulist_vip2 {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4); /* وردي فاتح → زهري ناعم */
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* Bot */
.ulist_bot {
    background: linear-gradient(135deg, #11998e, #38ef7d); /* أخضر زمردي */
    color: #fff;
}

/* User */
.ulist_user {
    background: linear-gradient(135deg, #485563, #29323c); /* رمادي معدني */
    color: #fff;
}
/* Guest */
.ulist_guest {
    background: linear-gradient(135deg, #f7971e, #ffd200); /* أصفر ذهبي */
    color: #fff;
}

/* Offline */
.ulist_offline {
    background: linear-gradient(135deg, #141e30, #243b55); /* أزرق غامق → رمادي */
    color: #ff6b6b; /* نص أحمر مميز */
}