
#level-rewards-modal { position: fixed; inset: 0; z-index: 9200; display: none; align-items: center; justify-content: center; padding: 20px; }
#level-rewards-modal.active { display: flex; }
#level-rewards-modal .lrm-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); }
#level-rewards-modal .lrm-content { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 88vh; background: linear-gradient(180deg, #1a1f28 0%, #0d1117 100%); border-radius: 24px; border: 1px solid rgba(135,116,225,0.45); box-shadow: 0 0 60px rgba(135,116,225,0.35); display: flex; flex-direction: column; overflow: hidden; animation: lrmSlide 0.35s cubic-bezier(0.16,1,0.3,1); }
@keyframes lrmSlide { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#level-rewards-modal .lrm-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid #333; color: #ccc; font-size: 18px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; }
#level-rewards-modal .lrm-close:active { transform: scale(0.92); }
#level-rewards-modal .lrm-header { padding: 24px 20px 14px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.06); }
#level-rewards-modal .lrm-icon { font-size: 44px; margin-bottom: 6px; }
#level-rewards-modal .lrm-title { font-size: 19px; font-weight: 900; color: #fff; margin-bottom: 6px; }
#level-rewards-modal .lrm-sub { font-size: 13px; color: #8b949e; line-height: 1.4; }
#level-rewards-modal .lrm-sub b { color: #ffd700; }
#level-rewards-modal .lrm-list { flex: 1; overflow-y: auto; padding: 12px; scrollbar-width: thin; scrollbar-color: #333 #0d1117; }
#level-rewards-modal .lrm-list::-webkit-scrollbar { width: 6px; }
#level-rewards-modal .lrm-list::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.lrm-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; margin-bottom: 6px; border: 1px solid #2a2f38; background: rgba(28,33,40,0.6); transition: all 0.15s; }
.lrm-row.claimed { border-color: rgba(61,255,158,0.25); background: rgba(61,255,158,0.06); }
.lrm-row.pending { border-color: rgba(255,215,0,0.45); background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,140,0,0.06)); box-shadow: 0 0 12px rgba(255,215,0,0.15); }
.lrm-row.locked { opacity: 0.5; }
.lrm-lv { width: 32px; height: 32px; border-radius: 50%; background: #1c2128; border: 1px solid #333; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: #aaa; flex-shrink: 0; }
.lrm-row.claimed .lrm-lv { background: rgba(61,255,158,0.15); border-color: rgba(61,255,158,0.4); color: #3dff9e; }
.lrm-row.pending .lrm-lv { background: linear-gradient(135deg, #ffd700, #ff8c00); border-color: #ffd700; color: #000; box-shadow: 0 0 10px rgba(255,215,0,0.4); }
.lrm-info { flex: 1; min-width: 0; }
.lrm-name { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrm-tier-icon { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-right: 6px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.lrm-reward { font-size: 12px; color: #3dff9e; font-weight: 900; }
.lrm-row.locked .lrm-reward { color: #888; }
.lrm-status { flex-shrink: 0; font-size: 16px; min-width: 34px; text-align: right; }
.lrm-claim-btn { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #000; border: none; padding: 8px 14px; border-radius: 10px; font-weight: 900; font-size: 12px; cursor: pointer; white-space: nowrap; box-shadow: 0 2px 8px rgba(255,215,0,0.35); }
.lrm-claim-btn:active { transform: scale(0.95); }
.lrm-claim-btn:disabled { opacity: 0.5; cursor: not-allowed; }
#level-rewards-modal .lrm-footer { padding: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
#level-rewards-modal .lrm-claim-all { width: 100%; padding: 13px; border-radius: 12px; border: none; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; font-weight: 900; font-size: 14px; cursor: pointer; box-shadow: 0 4px 14px rgba(34,197,94,0.4); }
#level-rewards-modal .lrm-claim-all:active { transform: scale(0.98); }

/* ===== DUEL RESULT STITCH ===== */
.drs-modal {
  background: #1c2128;
  border-radius: 24px;
  padding: 24px 20px 20px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}
.drs-modal::before {
  content: '';
  position: absolute;
  top: -64px;
  left: 50%;
  transform: translateX(-50%);
  width: 256px;
  height: 256px;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.drs-win::before { background: rgba(245,158,11,0.25); }
.drs-lose::before { background: rgba(239,68,68,0.15); }
.drs-draw::before { background: rgba(74,222,128,0.20); }

.drs-win { border-color: rgba(255,215,0,0.3); }
.drs-lose { border-color: rgba(239,68,68,0.25); }
.drs-draw { border-color: rgba(74,222,128,0.3); }

.drs-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.drs-icon-wrap {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.drs-icon-win { filter: drop-shadow(0 8px 18px rgba(255,193,7,0.45)); }
.drs-icon-lose { filter: drop-shadow(0 6px 16px rgba(239,68,68,0.35)); }
.drs-icon-draw { filter: drop-shadow(0 6px 20px rgba(74,222,128,0.4)); }

.drs-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.1;
}
.drs-title-win { color: #ffd700; text-shadow: 0 2px 12px rgba(255,215,0,0.5); }
.drs-title-lose { color: #8b949e; }
.drs-title-draw { color: #4ade80; text-shadow: 0 2px 10px rgba(74,222,128,0.4); }
.drs-subtitle { font-size: 13px; color: #8b949e; font-weight: 500; margin-top: 4px; }

.drs-middle { margin: 20px 0; }

.drs-prizes-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.drs-prize-card {
  flex: 1;
  background: #0d1117;
  border-radius: 14px;
  padding: 16px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid;
  position: relative;
  max-width: 180px;
  margin-top: 8px;
}
.drs-prize-card.gold { border-color: rgba(245,158,11,0.3); }
.drs-prize-card.green { border-color: rgba(16,185,129,0.3); }
.drs-prize-card.red { border-color: rgba(239,68,68,0.3); }

.drs-prize-label {
  position: relative; /* убрали absolute */
  display: flex;
  justify-content: center; /* центрируем текст */
  align-items: center;
  width: 100%;
  top: 0;
  left: 0;
  padding: 4px 0;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent;
  z-index: 3;
  box-sizing: border-box;
}
.drs-prize-label.gold { background: rgba(245,158,11,0.2); color: #fbbf24; border-color: rgba(245,158,11,0.4); }
.drs-prize-label.green { background: rgba(16,185,129,0.2); color: #34d399; border-color: rgba(16,185,129,0.4); }
.drs-prize-label.red { background: rgba(239,68,68,0.2); color: #f87171; border-color: rgba(239,68,68,0.4); }

.drs-prize-img {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  margin: 6px 0;
}
.drs-prize-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.drs-prize-val {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'SF Mono', ui-monospace, monospace;
}
.drs-coin {
  width: 13px;
  height: 13px;
  background: rgba(245,158,11,0.2);
  color: #fbbf24;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 900;
}

.drs-sep {
  font-size: 24px;
  font-weight: 900;
  padding: 0 4px;
  flex-shrink: 0;
}
.drs-sep-gold { color: #fbbf24; text-shadow: 0 0 8px rgba(255,215,0,0.6); }
.drs-sep-green { color: #4ade80; text-shadow: 0 0 8px rgba(74,222,128,0.5); }

.drs-lose-label {
  text-align: center;
  font-size: 11px;
  color: #8b949e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.drs-bottom { position: relative; z-index: 2; margin-top: auto; }
.drs-banner {
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
  border: 1px solid;
}
.drs-banner-green { background: rgba(16,185,129,0.15); color: #4ade80; border-color: rgba(74,222,128,0.4); }
.drs-banner-gray { background: #161b22; color: #8b949e; border-color: rgba(100,116,139,0.4); }

.drs-buttons { display: flex; gap: 8px; }
.drs-btn-secondary, .drs-btn-primary {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.drs-btn-secondary { background: #2d333b; color: #cbd5e1; border: 1px solid rgba(100,116,139,0.4); }
.drs-btn-primary { background: linear-gradient(90deg, #dc2626, #ff4757); color: #fff; box-shadow: 0 4px 16px rgba(220,38,38,0.4); }
.drs-btn-secondary:active, .drs-btn-primary:active { transform: scale(0.98); }



/* ===== LEADERBOARD STITCH ===== */
#view-leaderboard .case-header {
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(12px);
}

.lb-page { padding: 12px 14px 100px; }











.lb-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: #0d1117;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
.lb-tab {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  background: transparent;
  color: #8b949e;
  border: none;
  cursor: pointer;
}
.lb-tab.active {
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  color: #000;
}

/* PODIUM */
#lb-podium { margin-bottom: 16px; }
.lb-podium-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.lb-pod-place {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 110px;
}
.lb-pod-place.gold { flex: 1.3; margin-bottom: 8px; }
.lb-pod-place.silver { margin-bottom: 0; }
.lb-pod-place.bronze { margin-bottom: 0; }

.lb-pod-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #161b22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  font-size: 18px;
  overflow: hidden;
  position: relative;
  margin-bottom: 4px;
}
.lb-pod-place.gold .lb-pod-avatar {
  width: 76px;
  height: 76px;
  font-size: 22px;
  border: 3px solid #ffd700;
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
}
.lb-pod-place.silver .lb-pod-avatar {
  border: 2px solid #c0c0c0;
  box-shadow: 0 0 12px rgba(192,192,192,0.3);
}
.lb-pod-place.bronze .lb-pod-avatar {
  border: 2px solid #cd7f32;
  box-shadow: 0 0 12px rgba(205,127,50,0.3);
}
.lb-pod-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-pod-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
  color: #000;
  border: 2px solid #1c2128;
}
.lb-pod-place.gold .lb-pod-badge { background: #ffd700; width: 26px; height: 26px; font-size: 13px; }
.lb-pod-place.silver .lb-pod-badge { background: #c0c0c0; }
.lb-pod-place.bronze .lb-pod-badge { background: #cd7f32; }

.lb-pod-name {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-pod-place.gold .lb-pod-name { font-size: 13px; }
.lb-pod-score {
  font-size: 11px;
  font-weight: 800;
  color: #ffd700;
  font-family: 'SF Mono', ui-monospace, monospace;
}
.lb-pod-score span { font-size: 9px; opacity: 0.7; }
.lb-pod-pedestal {
  width: 100%;
  margin-top: 4px;
  background: linear-gradient(180deg, #252c37, #161a20);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: #8b949e;
  letter-spacing: 0.05em;
}
.lb-pod-place.gold .lb-pod-pedestal {
  padding: 20px 4px;
  color: #ffd700;
  background: linear-gradient(180deg, #35352a, #252c37);
}

/* LIST */
#lb-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #1c2128;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}
.lb-row-rank {
  width: 32px;
  font-size: 11px;
  font-weight: 800;
  color: #8b949e;
  flex-shrink: 0;
}
.lb-row-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #252c37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.lb-row-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-row-info { flex: 1; min-width: 0; }
.lb-row-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-row-lv {
  font-size: 10px;
  color: #8b949e;
  margin-top: 1px;
}
.lb-row-score {
  font-size: 12px;
  font-weight: 800;
  color: #ffd700;
  font-family: 'SF Mono', ui-monospace, monospace;
  white-space: nowrap;
}
.lb-row-score span { font-size: 9px; opacity: 0.7; }

/* STICKY YOU */
#lb-you {
  position: sticky;
  bottom: 8px;
  background: linear-gradient(90deg, #1c2128, #252c37);
  border: 1px solid rgba(41,169,235,0.3);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 20px rgba(41,169,235,0.2);
  margin-top: 12px;
}
.lb-you-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-you-rank {
  background: #0d1117;
  color: #8b949e;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
}
.lb-you-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #161b22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  overflow: hidden;
  border: 2px solid #29A9EB;
  box-shadow: 0 0 10px rgba(41,169,235,0.4);
  flex-shrink: 0;
}
.lb-you-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-you-info { flex: 1; min-width: 0; }
.lb-you-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-you-tag {
  font-size: 8px;
  background: #29A9EB;
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 800;
}
.lb-you-sub {
  font-size: 10px;
  color: #8b949e;
  margin-top: 1px;
}
.lb-you-score {
  font-size: 13px;
  font-weight: 900;
  color: #ffd700;
  font-family: 'SF Mono', ui-monospace, monospace;
  white-space: nowrap;
}
.lb-you-score span { font-size: 10px; opacity: 0.7; }



/* ===== FIX DUEL LOSE MODAL - WINNER NAME OVERLAP ===== */
.drs-prize-label {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 6px 8px 6px !important;
  margin: 0 0 6px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  min-height: 22px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
}

.drs-prize-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 10px 8px !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.drs-prize-img {
  margin: 6px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 1 !important;
}

.drs-winner-name-line {
  text-align: center !important;
  font-size: 13px !important;
  color: #f87171 !important;
  font-weight: 800 !important;
  margin-top: 10px !important;
  padding: 6px 12px !important;
  background: rgba(248, 113, 113, 0.1) !important;
  border: 1px solid rgba(248, 113, 113, 0.3) !important;
  border-radius: 10px !important;
  max-width: 100% !important;
  word-break: break-word !important;
  box-sizing: border-box !important;
}

/* Делаем отступы для новой строки с победителем */
.drs-winner-name-line {
  text-align: center !important;
  font-size: 14px !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin: 10px 0 20px 0 !important; /* Отступ снизу до "Выигрыш соперника" */
  padding: 8px 16px !important;
  background: rgba(248, 113, 113, 0.15) !important;
  border: 1px solid rgba(248, 113, 113, 0.4) !important;
  border-radius: 12px !important;
  display: inline-block !important; /* Чтобы плашка была по размеру текста */
  width: auto !important;
  max-width: 90% !important;
  word-break: break-word !important;
}

.drs-winner-name-line b {
  color: #f87171 !important; /* Имя победителя красным/оранжевым */
  font-weight: 900 !important;
}

/* Делаем так, чтобы блок с именем стоял по центру */
.drs-middle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.drs-lose-label {
  margin-top: 5px !important;
  margin-bottom: 12px !important;
}

/* ===== ФИКС КРИВЫХ НАДПИСЕЙ В КАРТОЧКАХ ===== */
.drs-prize-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 8px) !important; /* Чуть уже карточки, чтобы не липло к краям */
  margin: 0 auto 6px auto !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  border-radius: 6px !important;
  line-height: 1.2 !important;
}

/* Цвета для плашек */
.drs-prize-label.gold { background: rgba(255, 215, 0, 0.15) !important; color: #ffd700 !important; border: 1px solid rgba(255, 215, 0, 0.3) !important; }
.drs-prize-label.green { background: rgba(34, 197, 94, 0.15) !important; color: #22c55e !important; border: 1px solid rgba(34, 197, 94, 0.3) !important; }
.drs-prize-label.red { background: rgba(239, 68, 68, 0.15) !important; color: #ef4444 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; }

/* Карточка должна быть чуть шире, чтобы текст помещался */
.drs-prize-card {
  width: 150px !important; /* Было 140, делаем 150 */
  padding: 12px 8px !important;
}


/* ===== ИДЕАЛЬНЫЙ LAYOUT ДЛЯ PVP (V8) ===== */
.drs-middle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 10px 16px 20px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.drs-prizes-row {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important; /* Карточки одинаковой высоты */
  gap: 12px !important;
  width: 100% !important;
  max-width: 340px !important;
  margin: 0 auto !important;
}

.drs-prize-card {
  flex: 1 1 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 12px 10px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  min-width: 0 !important; /* Чтобы flex не раздувался */
}

.drs-prize-label {
  display: block !important;
  width: 100% !important;
  padding: 6px 4px !important;
  margin: 0 0 10px 0 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.drs-prize-label.gold { background: rgba(255, 215, 0, 0.15) !important; color: #ffd700 !important; border: 1px solid rgba(255, 215, 0, 0.3) !important; }
.drs-prize-label.green { background: rgba(34, 197, 94, 0.15) !important; color: #22c55e !important; border: 1px solid rgba(34, 197, 94, 0.3) !important; }
.drs-prize-label.red { background: rgba(239, 68, 68, 0.15) !important; color: #ef4444 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; }

.drs-prize-img {
  flex: 1 !important; /* Картинка занимает всё свободное место */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 70px !important;
  margin-bottom: 8px !important;
}

.drs-prize-name {
  width: 100% !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important; /* Аккуратное троеточие */
  margin-bottom: 6px !important;
  color: #fff !important;
}

.drs-prize-val {
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #ffd700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
}

/* Плашка с ником победителя */
.drs-winner-name-line {
  text-align: center !important;
  font-size: 14px !important;
  color: #fff !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  background: rgba(248, 113, 113, 0.12) !important;
  border: 1px solid rgba(248, 113, 113, 0.3) !important;
  border-radius: 12px !important;
  display: inline-block !important;
  max-width: 100% !important;
}
.drs-winner-name-line b { color: #f87171 !important; margin-left: 4px !important; }

/* ===== ЖЕСТКОЕ ЦЕНТРИРОВАНИЕ ТЕКСТА В ПЛАШКАХ ===== */
.drs-prize-label {
  display: flex !important;
  justify-content: center !important; /* Центр по горизонтали */
  align-items: center !important;     /* Центр по вертикали */
  text-align: center !important;
  width: 100% !important;
  padding: 6px 0 !important;          /* Убрали боковые отступы, чтобы не смещать текст */
  margin: 0 auto 8px auto !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
