﻿/* === الأساس === */

.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: #f4f6f9;
    color: #ff7043;
    border-radius: 10px;
    margin-bottom: 3px;
}
.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';
    color: #e65100;
    border-bottom: 2px solid #f0e3d3;
}

/* === بطاقات الرتب === */
.ulist_label {
    display: table;
    width: 100%;
    height: 40px;
    table-layout: fixed;
    border-radius: 14px;
    border: none;
    box-shadow: 0 3px 10px rgba(25, 35, 55, 0.18);
    overflow: hidden;
    font-family: Tahoma, Arial, sans-serif;
    margin-top: 6px;
}
.ulist_label_icon {
    display: table-cell;
    width: 50px;
    vertical-align: middle;
    text-align: center;
    font-size: 13px;
    opacity: .85;
}
.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;
    letter-spacing: .3px;
}

/* === ألوان الرُتب — لوحة 2026 الفاخرة === */

/* DJ مباشر — بنفسجي ملكي */
.ulist_onairdj {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
/* Owner — ذهبي فاخر */
.ulist_owner {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(120, 80, 0, 0.45);
}
/* Superadmin — قرمزي ناري */
.ulist_sadmin {
    background: linear-gradient(135deg, #cb2d3e 0%, #ef473a 100%);
    color: #fff;
}
/* Admin — أزرق فولاذي عميق */
.ulist_admin {
    background: linear-gradient(135deg, #16222a 0%, #3a6073 100%);
    color: #fff;
}
/* Moderator — فحمي أنيق */
.ulist_mod {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #e8eaed;
}
/* VIP ذكور — أزرق ملكي */
.ulist_vip {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,20,60,0.35);
}
/* VIP2 إناث — وردي دافئ */
.ulist_vip2 {
    background: linear-gradient(135deg, #ec6f66 0%, #f3a183 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(140, 40, 30, 0.35);
}
/* Bot — زمردي */
.ulist_bot {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,90,60,0.35);
}
/* User — رمادي معدني ناعم */
.ulist_user {
    background: linear-gradient(135deg, #3c4858 0%, #54606c 100%);
    color: #eceff1;
}
/* Guest — كهرماني */
.ulist_guest {
    background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    color: #5a3e00;
    text-shadow: none;
    font-weight: 700;
}
/* Offline — ليلي هادئ */
.ulist_offline {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
    color: #ff8a80;
}

/* === أيقونة الجناح === */
.wing_icon {
    height: 20px;
    vertical-align: text-top;
    border-radius: 50%;
}
.user_item_data > .wing_icon {
    direction: rtl;
}

/* === الجوال === */
@media (max-width: 480px) {
  .winner-row { gap: 12px; }
  .winner-box { width: 72px; }
  .winner-avatar { max-width: 72px; height: auto; }
  .winner-name { font-size: 12px; }
  .winner-medal { font-size: 18px; top: -10px; padding: 2px 5px; }
  .winner-box.first { width: 96px; margin-top: -10px; }
  .winner-box.first .winner-avatar { max-width: 96px; }
  .ulist_label { height: 36px; }
  .ulist_label_data { font-size: 13.5px; }
  .ulist_label_icon { width: 38px; }
}
