/* ========================================================================
   ScoutCar - Refaire Dashboard
   Charte : vert ScoutCar, dark navy, arrondis modernes, ombres douces
   ======================================================================== */

.scr-dashboard {
  --scr-green: #3fa065;
  --scr-green-dark: #2f7f4f;
  --scr-green-soft: #e8f5ee;
  --scr-ink: #0f1d2a;
  --scr-ink-2: #33475b;
  --scr-muted: #6b7c8c;
  --scr-line: #e6ecf1;
  --scr-bg: #f5f8fa;
  --scr-white: #ffffff;
  --scr-gold: #f6b93b;
  --scr-silver: #bfc6cc;
  --scr-bronze: #cd7f32;
  --scr-radius: 16px;
  --scr-radius-sm: 10px;
  --scr-shadow: 0 6px 24px rgba(15, 29, 42, .06);
  --scr-shadow-hover: 0 16px 40px rgba(15, 29, 42, .10);

  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--scr-ink);
  background: var(--scr-bg);
  padding: 28px;
  border-radius: var(--scr-radius);
  box-sizing: border-box;
}

.scr-dashboard *,
.scr-dashboard *::before,
.scr-dashboard *::after {
  box-sizing: border-box;
}

/* Header */
.scr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.scr-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: var(--scr-ink);
  letter-spacing: -.01em;
}

.scr-subtitle {
  margin: 4px 0 0;
  color: var(--scr-muted);
  font-size: 14px;
}

.scr-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--scr-white);
  border: 1px solid var(--scr-line);
  font-size: 13px;
  color: var(--scr-ink-2);
  box-shadow: var(--scr-shadow);
}

.scr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scr-green);
  box-shadow: 0 0 0 4px rgba(63, 160, 101, .15);
  animation: scrPulse 2s infinite;
}

@keyframes scrPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

/* Stats */
.scr-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 28px;
}

@media (max-width: 1200px) {
  .scr-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .scr-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scr-card {
  background: var(--scr-white);
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-radius);
  padding: 20px;
  box-shadow: var(--scr-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

.scr-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--scr-green), #7cc99b);
  opacity: 0;
  transition: opacity .25s ease;
}

.scr-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--scr-shadow-hover);
  border-color: rgba(63, 160, 101, .35);
}

.scr-card:hover::before {
  opacity: 1;
}

.scr-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--scr-green-soft);
  color: var(--scr-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}

.scr-card-icon::after {
  content: "";
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.scr-icon-calendar-day::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/><circle cx='12' cy='16' r='2'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/><circle cx='12' cy='16' r='2'/></svg>");
}

.scr-icon-calendar-week::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='14' x2='16' y2='14'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='8' y1='14' x2='16' y2='14'/></svg>");
}

.scr-icon-calendar-month::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='9' y1='4' x2='9' y2='22'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='3' y1='10' x2='21' y2='10'/><line x1='9' y1='4' x2='9' y2='22'/></svg>");
}

.scr-icon-refresh::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='23 4 23 10 17 10'/><polyline points='1 20 1 14 7 14'/><path d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='23 4 23 10 17 10'/><polyline points='1 20 1 14 7 14'/><path d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/></svg>");
}

.scr-icon-users::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/><circle cx='9' cy='7' r='4'/><path d='M23 21v-2a4 4 0 0 0-3-3.87'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>");
}

.scr-icon-chart::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='20' x2='18' y2='10'/><line x1='12' y1='20' x2='12' y2='4'/><line x1='6' y1='20' x2='6' y2='14'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='20' x2='18' y2='10'/><line x1='12' y1='20' x2='12' y2='4'/><line x1='6' y1='20' x2='6' y2='14'/></svg>");
}

.scr-card-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--scr-ink);
  letter-spacing: -.02em;
}

.scr-card-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--scr-ink-2);
}

.scr-card-desc {
  margin-top: 2px;
  font-size: 12px;
  color: var(--scr-muted);
}

/* Section head */
.scr-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 16px;
}

.scr-section-head h2 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--scr-ink);
}

.scr-section-sub {
  font-size: 13px;
  color: var(--scr-muted);
}

/* Top 5 */
.scr-top5 {
  margin-bottom: 28px;
}

.scr-top5-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .scr-top5-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .scr-top5-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.scr-top-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .75));
  backdrop-filter: blur(10px);
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-radius);
  padding: 18px;
  box-shadow: var(--scr-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.scr-top-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--scr-shadow-hover);
}

.scr-top-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(63, 160, 101, .12), transparent 60%);
}

.scr-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.scr-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--scr-ink);
  color: #fff;
}

.scr-rank-1 .scr-rank {
  background: linear-gradient(135deg, #f6b93b, #e58e26);
}

.scr-rank-2 .scr-rank {
  background: linear-gradient(135deg, #cfd6dc, #a4adb5);
  color: #0f1d2a;
}

.scr-rank-3 .scr-rank {
  background: linear-gradient(135deg, #d99c67, #a76b34);
}

.scr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(15, 29, 42, .10);
  background: var(--scr-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.scr-top-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--scr-ink);
}

.scr-top-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.scr-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--scr-green-soft);
  color: var(--scr-green-dark);
  font-weight: 600;
}

.scr-chip-alt {
  background: #eef2f6;
  color: var(--scr-ink-2);
}

.scr-top-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--scr-ink);
  margin-bottom: 10px;
}

.scr-top-count span {
  font-size: 12px;
  color: var(--scr-muted);
  font-weight: 500;
  margin-left: 4px;
}

.scr-progress {
  height: 6px;
  background: #eef2f6;
  border-radius: 999px;
  overflow: hidden;
}

.scr-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--scr-green), #7cc99b);
  border-radius: 999px;
  transition: width .8s ease;
}

/* Table */
.scr-table-section {
  background: var(--scr-white);
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-radius);
  padding: 20px;
  box-shadow: var(--scr-shadow);
}

.scr-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.scr-search-wrap {
  flex: 1 1 260px;
  min-width: 220px;
}

.scr-input,
.scr-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--scr-line);
  border-radius: var(--scr-radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--scr-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}

.scr-input:focus,
.scr-select:focus {
  outline: none;
  border-color: var(--scr-green);
  box-shadow: 0 0 0 3px rgba(63, 160, 101, .15);
}

.scr-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scr-filters .scr-select {
  min-width: 160px;
}

.scr-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.scr-btn {
  padding: 10px 16px;
  border-radius: var(--scr-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s ease;
  font-family: inherit;
}

.scr-btn-primary {
  background: var(--scr-green);
  color: #fff;
}

.scr-btn-primary:hover {
  background: var(--scr-green-dark);
  transform: translateY(-1px);
}

.scr-btn-ghost {
  background: #fff;
  color: var(--scr-ink-2);
  border-color: var(--scr-line);
}

.scr-btn-ghost:hover {
  border-color: var(--scr-green);
  color: var(--scr-green-dark);
}

.scr-table-wrap {
  overflow-x: auto;
  border-radius: var(--scr-radius-sm);
  border: 1px solid var(--scr-line);
}

.scr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.scr-table thead th {
  background: #fafbfc;
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--scr-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--scr-line);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.scr-table thead th:hover {
  color: var(--scr-green-dark);
}

.scr-table thead th.scr-sort-active {
  color: var(--scr-green-dark);
}

.scr-table thead th.scr-sort-active::after {
  content: " ▾";
  font-size: 10px;
}

.scr-table thead th.scr-sort-asc::after {
  content: " ▴";
  font-size: 10px;
}

.scr-table tbody tr {
  transition: background .15s ease;
}

.scr-table tbody tr:hover {
  background: #fafcfd;
}

.scr-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--scr-line);
  color: var(--scr-ink-2);
  vertical-align: middle;
}

.scr-table tbody tr:last-child td {
  border-bottom: none;
}

.scr-user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scr-user-cell .scr-avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.scr-user-name {
  font-weight: 600;
  color: var(--scr-ink);
}

.scr-refaire-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--scr-green-soft);
  color: var(--scr-green-dark);
  font-weight: 700;
  font-size: 13px;
}

.scr-empty {
  padding: 40px;
  text-align: center;
  color: var(--scr-muted);
}

.scr-pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.scr-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--scr-line);
  background: #fff;
  color: var(--scr-ink-2);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: all .2s ease;
}

.scr-page-btn:hover {
  border-color: var(--scr-green);
  color: var(--scr-green-dark);
}

.scr-page-btn.is-active {
  background: var(--scr-green);
  color: #fff;
  border-color: var(--scr-green);
}

.scr-page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .scr-dashboard {
    padding: 16px;
  }

  .scr-title {
    font-size: 22px;
  }

  .scr-actions {
    width: 100%;
  }

  .scr-actions .scr-btn {
    flex: 1;
  }
}

/* ============ Gaming Podium ============ */
.scr-podium {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: end;
  padding: 24px 12px 8px;
  background: linear-gradient(180deg, rgba(63, 160, 101, .05), transparent 70%);
  border-radius: var(--scr-radius);
  position: relative;
}

@media (max-width: 900px) {
  .scr-podium {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .scr-podium {
    grid-template-columns: 1fr 1fr;
  }
}

.scr-podium-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f4f8fb 100%);
  border: 1px solid var(--scr-line);
  border-radius: 18px;
  padding: 18px 14px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 29, 42, .08);
  overflow: hidden;
  isolation: isolate;
}

.scr-podium-card.scr-rank-1 {
  transform-origin: bottom;
  background: linear-gradient(160deg, #fff8e1 0%, #fff2c4 60%, #ffe38a 100%);
  border-color: #f6b93b;
  box-shadow: 0 20px 50px rgba(246, 185, 59, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
  padding: 26px 14px 22px;
}

.scr-podium-card.scr-rank-2 {
  background: linear-gradient(160deg, #f5f7fa 0%, #e2e8ee 100%);
  border-color: #bfc6cc;
  box-shadow: 0 14px 34px rgba(15, 29, 42, .12);
}

.scr-podium-card.scr-rank-3 {
  background: linear-gradient(160deg, #fbeee2 0%, #f2d5b3 100%);
  border-color: #d99c67;
  box-shadow: 0 14px 34px rgba(205, 127, 50, .25);
}

.scr-podium-glow {
  position: absolute;
  inset: -50% -20% auto -20%;
  height: 180%;
  background: radial-gradient(ellipse at center top, rgba(255, 255, 255, .6), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.scr-podium-card.scr-rank-1 .scr-podium-glow {
  background: radial-gradient(ellipse at center top, rgba(255, 220, 120, .9), transparent 65%);
  animation: scrGlowPulse 2.5s ease-in-out infinite;
}

@keyframes scrGlowPulse {

  0%,
  100% {
    opacity: .6;
  }

  50% {
    opacity: 1;
  }
}

.scr-podium-medal {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .15));
  animation: scrMedalBounce 2.4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.scr-podium-card.scr-rank-1 .scr-podium-medal {
  font-size: 44px;
}

@keyframes scrMedalBounce {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-6px) rotate(4deg);
  }
}

.scr-podium-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--scr-ink);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.scr-podium-card.scr-rank-1 .scr-podium-rank {
  background: linear-gradient(135deg, #f6b93b, #e58e26);
  box-shadow: 0 4px 12px rgba(246, 185, 59, .5);
}

.scr-podium-card.scr-rank-2 .scr-podium-rank {
  background: linear-gradient(135deg, #cfd6dc, #8a929a);
  color: #0f1d2a;
}

.scr-podium-card.scr-rank-3 .scr-podium-rank {
  background: linear-gradient(135deg, #d99c67, #a76b34);
}

.scr-podium-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(15, 29, 42, .2);
  margin: 4px auto 10px;
  position: relative;
  z-index: 1;
}

.scr-podium-card.scr-rank-1 .scr-podium-avatar {
  width: 78px;
  height: 78px;
  font-size: 24px;
  border-color: #ffdd7a;
  box-shadow: 0 0 0 4px rgba(246, 185, 59, .35), 0 8px 24px rgba(246, 185, 59, .5);
}

.scr-podium-name {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--scr-ink);
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scr-podium-card.scr-rank-1 .scr-podium-name {
  font-size: 16px;
}

.scr-podium-score {
  font-size: 26px;
  font-weight: 800;
  color: var(--scr-ink);
  letter-spacing: -.02em;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.scr-podium-card.scr-rank-1 .scr-podium-score {
  font-size: 34px;
  background: linear-gradient(135deg, #b8801a, #e58e26);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scr-podium-label {
  font-size: 11px;
  color: var(--scr-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 2px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.scr-podium-bar {
  margin-top: 12px;
  height: 6px;
  background: rgba(15, 29, 42, .08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.scr-podium-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--scr-green), #7cc99b);
  border-radius: 999px;
  animation: scrBarGrow 1.2s ease-out .3s forwards;
}

.scr-podium-card.scr-rank-1 .scr-podium-bar-fill {
  background: linear-gradient(90deg, #f6b93b, #e58e26);
}

@keyframes scrBarGrow {
  from {
    width: 0;
  }

  to {
    width: var(--w);
  }
}

.scr-podium-winner {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f6b93b, #e58e26);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(246, 185, 59, .5);
  z-index: 3;
  animation: scrWinnerFloat 2s ease-in-out infinite;
}

@keyframes scrWinnerFloat {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}

.scr-podium-move {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 3;
  animation: scrMoveIn .6s ease-out .4s both;
}

.scr-podium-move.up {
  background: #d4f7e0;
  color: #1a7a3f;
}

.scr-podium-move.down {
  background: #fde2e2;
  color: #a83232;
}

@keyframes scrMoveIn {
  from {
    transform: translateY(-10px) scale(.6);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.scr-podium-flash {
  animation: scrCrown 1.5s ease-out;
}

@keyframes scrCrown {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 185, 59, .9);
  }

  50% {
    box-shadow: 0 0 0 22px rgba(246, 185, 59, 0);
    transform: scale(1.04);
  }

  100% {
    box-shadow: 0 20px 50px rgba(246, 185, 59, .35);
  }
}

/* Rank badges in table */
.scr-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: #eef2f6;
  color: var(--scr-ink-2);
}

.scr-rank-badge.is-gold {
  background: linear-gradient(135deg, #ffe38a, #f6b93b);
  color: #6b4b0d;
  box-shadow: 0 2px 8px rgba(246, 185, 59, .4);
}

.scr-rank-badge.is-silver {
  background: linear-gradient(135deg, #eef1f4, #bfc6cc);
  color: #2a333c;
}

.scr-rank-badge.is-bronze {
  background: linear-gradient(135deg, #f2d5b3, #d99c67);
  color: #5c2f0d;
}

/* ============================================================
   Champions Podium — Stitch DARK redesign
   Scoped under .scr-champions-podium-standalone so the rest
   of the admin dashboard is unaffected.
   Palette : dark surface + primary blue #adc6ff + gold #ffdb3c
   ============================================================ */

.scr-champions-podium-standalone {
  --scp-bg: #0A0A0C;
  --scp-surface: #131315;
  --scp-surface-1: #1b1b1d;
  --scp-surface-2: #201f21;
  --scp-surface-3: #2a2a2c;
  --scp-surface-4: #353437;
  --scp-on-surface: #e5e1e4;
  --scp-on-variant: #c1c6d7;
  --scp-outline: #414755;
  --scp-outline-2: #8b90a0;
  --scp-primary: #adc6ff;
  --scp-primary-c: #4b8eff;
  --scp-gold: #ffdb3c;
  --scp-gold-soft: #ffe16d;
  --scp-bronze: #ef6719;
  --scp-bronze-soft: #ffb595;
  --scp-error: #ffb4ab;
  --scp-error-dot: #ef4444;

  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 24px 28px;
  background: radial-gradient(120% 80% at 50% -10%, rgba(75, 142, 255, .14), transparent 60%), var(--scp-bg);
  color: var(--scp-on-surface);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow: hidden;
  isolation: isolate;
}

.scr-champions-podium-standalone::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(500px 220px at 15% 0%, rgba(173, 198, 255, .10), transparent 60%),
    radial-gradient(500px 220px at 85% 0%, rgba(255, 219, 60, .08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.scr-champions-podium-standalone>* {
  position: relative;
  z-index: 1;
}

/* ── Header ───────────────────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-header {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.scr-champions-podium-standalone .scr-stitch-header-left {
  text-align: center;
  min-width: 0;
}

.scr-champions-podium-standalone .scr-stitch-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--scp-surface-3);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--scp-error);
  margin-bottom: 14px;
  box-shadow: none;
  width: auto;
}

.scr-champions-podium-standalone .scr-stitch-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scp-error-dot);
  box-shadow: 0 0 12px var(--scp-error-dot);
  animation: scpPulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
  flex-shrink: 0;
}

@keyframes scpPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.15);
  }
}

.scr-champions-podium-standalone .scr-stitch-live-text {
  color: var(--scp-error);
}

.scr-champions-podium-standalone .scr-stitch-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--scp-primary);
  margin: 0 0 6px;
  white-space: normal;
  text-shadow: 0 0 24px rgba(173, 198, 255, .25);
}

.scr-champions-podium-standalone .scr-stitch-subtitle {
  font-size: 13px;
  color: var(--scp-on-variant);
  margin: 0;
  white-space: normal;
}

/* ── Podium stage ─────────────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 32px;
  padding: 0 4px;
  min-height: 300px;
}

.scr-champions-podium-standalone .scr-stitch-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 {
  transform: translateY(-16px);
  z-index: 3;
}

.scr-champions-podium-standalone .scr-stitch-slot--2 {
  transform: translateY(24px);
  z-index: 1;
}

.scr-champions-podium-standalone .scr-stitch-slot--3 {
  transform: translateY(32px);
  z-index: 1;
}

/* ── Avatar + halo ─────────────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-av-wrap {
  position: relative;
  margin-bottom: 14px;
}

.scr-champions-podium-standalone .scr-stitch-av-halo {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  filter: blur(22px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-av-halo {
  background: rgba(255, 219, 60, .35);
  inset: -20px;
  filter: blur(28px);
}

.scr-champions-podium-standalone .scr-stitch-slot--2 .scr-stitch-av-halo {
  background: rgba(139, 144, 160, .35);
}

.scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-av-halo {
  background: rgba(239, 103, 25, .35);
}

.scr-champions-podium-standalone .scr-stitch-avatar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid var(--scp-outline);
  transition: transform .25s ease;
  width: 84px;
  height: 84px;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-avatar {
  width: 116px;
  height: 116px;
  font-size: 32px;
  border: 3px solid var(--scp-gold);
  box-shadow:
    0 0 0 4px rgba(255, 219, 60, .15),
    0 0 40px rgba(255, 219, 60, .35),
    0 12px 32px rgba(0, 0, 0, .45);
}

.scr-champions-podium-standalone .scr-stitch-slot--2 .scr-stitch-avatar {
  width: 90px;
  height: 90px;
  font-size: 24px;
  border-color: var(--scp-outline-2);
}

.scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-avatar {
  width: 84px;
  height: 84px;
  font-size: 22px;
  border-color: var(--scp-bronze-soft);
}

.scr-champions-podium-standalone .scr-stitch-avatar:hover {
  transform: scale(1.05);
}

/* ── Rank badges ──────────────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-rank-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-rank-badge {
  background: var(--scp-gold);
  color: #3d2100;
  border: 1px solid var(--scp-gold-soft);
  padding: 4px 14px;
  font-size: 13px;
}

.scr-champions-podium-standalone .scr-stitch-slot--2 .scr-stitch-rank-badge {
  background: var(--scp-outline);
  color: var(--scp-on-surface);
}

.scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-rank-badge {
  background: var(--scp-bronze);
  color: #fff;
}

/* ── Name + shares ───────────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-name {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--scp-on-surface);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0 6px;
  line-height: 1.25;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-name {
  font-size: 18px;
  color: var(--scp-gold-soft);
}

.scr-champions-podium-standalone .scr-stitch-shares {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--scp-primary);
  margin-bottom: 14px;
  line-height: 1;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-shares {
  color: var(--scp-gold);
  font-size: 14px;
}

.scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-shares {
  color: var(--scp-bronze-soft);
}

.scr-champions-podium-standalone .scr-stitch-shares-icon {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-size: 16px;
  line-height: 1;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.scr-champions-podium-standalone .scr-stitch-count {
  font-weight: 700;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-count {
  font-size: 16px;
}

.scr-champions-podium-standalone .scr-stitch-shares-label {
  opacity: .85;
}

/* ── Podium step ─────────────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-step {
  width: 100%;
  border-radius: 14px 14px 0 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--scp-surface-3);
  transition: box-shadow .25s;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-step {
  height: 140px;
  background:
    linear-gradient(180deg, rgba(255, 219, 60, .22) 0%, rgba(255, 219, 60, 0) 100%),
    var(--scp-surface-2);
  border-top: 2px solid rgba(255, 219, 60, .35);
  border-left-color: rgba(255, 219, 60, .20);
  border-right-color: rgba(255, 219, 60, .20);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 50px rgba(255, 219, 60, .18), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.scr-champions-podium-standalone .scr-stitch-slot--2 .scr-stitch-step {
  height: 104px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, 0) 100%), var(--scp-surface-3);
}

.scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-step {
  height: 88px;
  background: linear-gradient(180deg, rgba(239, 103, 25, .15) 0%, rgba(239, 103, 25, 0) 100%), var(--scp-surface-3);
}

.scr-champions-podium-standalone .scr-stitch-step-icon {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-size: 44px;
  line-height: 1;
  opacity: .55;
  user-select: none;
  pointer-events: none;
  color: var(--scp-outline-2);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-step-icon {
  color: var(--scp-gold);
  font-size: 64px;
  opacity: .95;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 48;
  filter: drop-shadow(0 0 18px rgba(255, 219, 60, .5));
}

.scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-step-icon {
  color: var(--scp-bronze-soft);
  opacity: .75;
}

/* ── Current Standings ───────────────────────────────────────── */
.scr-champions-podium-standalone .scr-stitch-standings {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scr-champions-podium-standalone .scr-stitch-standings-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--scp-on-variant);
  margin: 0 0 4px;
  padding: 2px 2px;
}

.scr-champions-podium-standalone .scr-stitch-row-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(28, 28, 30, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
  min-width: 0;
  margin: 0;
}

.scr-champions-podium-standalone .scr-stitch-row-card:hover {
  transform: translateY(-1px) scale(.995);
  border-color: rgba(173, 198, 255, .20);
  background: rgba(40, 40, 44, .7);
}

.scr-champions-podium-standalone .scr-stitch-row-rank {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--scp-on-variant);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.scr-champions-podium-standalone .scr-stitch-row-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

.scr-champions-podium-standalone .scr-stitch-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scr-champions-podium-standalone .scr-stitch-row-name {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--scp-on-surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.scr-champions-podium-standalone .scr-stitch-row-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--scp-on-variant);
  line-height: 1;
}

.scr-champions-podium-standalone .scr-stitch-row-count {
  font-weight: 500;
}

.scr-champions-podium-standalone .scr-stitch-trend {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.scr-champions-podium-standalone .scr-stitch-trend--up {
  color: #6ee7a7;
}

.scr-champions-podium-standalone .scr-stitch-trend--down {
  color: var(--scp-error);
}

.scr-champions-podium-standalone .scr-stitch-pill {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--scp-surface-4);
  color: var(--scp-on-variant);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .06);
}

/* Empty state */
.scr-champions-podium-standalone .scr-empty {
  color: var(--scp-on-variant);
  text-align: center;
  padding: 40px 20px;
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .scr-champions-podium-standalone {
    padding: 20px 8px 20px;
    border-radius: 20px;
    width: 386px;

  }

  .scr-champions-podium-standalone .scr-stitch-header {
    margin-bottom: 22px;
  }

  .scr-champions-podium-standalone .scr-stitch-title {
    font-size: 22px;
  }

  .scr-champions-podium-standalone .scr-stitch-subtitle {
    font-size: 12px;
  }

  .scr-champions-podium-standalone .scr-stitch-stage {
    gap: 6px;
    padding: 0;
    min-height: 240px;
    margin-bottom: 26px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 {
    transform: translateY(-6px);
  }

  .scr-champions-podium-standalone .scr-stitch-slot--2 {
    transform: translateY(20px);
  }

  .scr-champions-podium-standalone .scr-stitch-slot--3 {
    transform: translateY(28px);
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-avatar {
    width: 88px;
    height: 88px;
    font-size: 26px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--2 .scr-stitch-avatar {
    width: 66px;
    height: 66px;
    font-size: 18px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-avatar {
    width: 62px;
    height: 62px;
    font-size: 17px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-step {
    height: 104px;
    border-radius: 14px 14px 0 0;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--2 .scr-stitch-step {
    height: 72px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--3 .scr-stitch-step {
    height: 60px;
  }

  .scr-champions-podium-standalone .scr-stitch-step-icon {
    font-size: 30px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-step-icon {
    font-size: 44px;
  }

  .scr-champions-podium-standalone .scr-stitch-name {
    font-size: 12px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-name {
    font-size: 14px;
  }

  .scr-champions-podium-standalone .scr-stitch-shares {
    font-size: 10px;
    gap: 3px;
    margin-bottom: 10px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-shares {
    font-size: 12px;
  }

  .scr-champions-podium-standalone .scr-stitch-shares-icon {
    font-size: 13px;
  }

  .scr-champions-podium-standalone .scr-stitch-rank-badge {
    font-size: 10px;
    padding: 2px 8px;
  }

  .scr-champions-podium-standalone .scr-stitch-slot--1 .scr-stitch-rank-badge {
    font-size: 11px;
    padding: 3px 10px;
  }

  .scr-champions-podium-standalone .scr-stitch-row-card {
    padding: 12px 12px;
    gap: 10px;
  }

  .scr-champions-podium-standalone .scr-stitch-row-rank {
    font-size: 18px;
    width: 22px;
  }

  .scr-champions-podium-standalone .scr-stitch-row-av {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .scr-champions-podium-standalone .scr-stitch-row-name {
    font-size: 14px;
  }

  .scr-champions-podium-standalone .scr-stitch-pill {
    font-size: 10px;
    padding: 4px 9px;
  }

}

@media (max-width: 395px) {
  .scr-champions-podium-standalone {
    padding: 20px 8px 20px;
    border-radius: 20px;
    width: 330px;
  }
}

@media (max-width: 330px) {
  .scr-champions-podium-standalone {
    padding: 20px 8px 20px;
    border-radius: 20px;
    width: 280px;
  }
}

@media (max-width: 340px) {
  .scr-champions-podium-standalone {
    padding: 20px 8px 20px;
    border-radius: 20px;
    width: 290px;
  }
}

@media (max-width: 365px) {
  .scr-champions-podium-standalone {
    padding: 20px 8px 20px;
    border-radius: 20px;
    width: 310px;
  }
}

@media (max-width: 393px) {
  .scr-champions-podium-standalone {
    padding: 20px 8px 20px;
    border-radius: 20px;
    width: 320px;
  }
}

/* ============================================================
   Responsive Table — Mobile Participant List
   Desktop (> 768px): normal table shown, mobile list hidden
   Mobile (<= 768px): table hidden, mobile list shown
   ============================================================ */

/* Desktop: show table, hide mobile list */
.scr-desktop-table {
  display: block;
}

.scr-mobile-list {
  display: none;
}

/* Mobile: hide table, show mobile list */
@media (max-width: 768px) {
  .scr-desktop-table {
    display: none !important;
  }

  .scr-mobile-list {
    display: block;
  }

  /* ---- Mobile list container ---- */
  .scr-mobile-list {
    border: 1px solid var(--scr-line);
    border-radius: var(--scr-radius-sm);
    overflow: hidden;
    background: var(--scr-white);
  }

  /* ---- One participant = one row ---- */
  .scr-mobile-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--scr-line);
    background: var(--scr-white);
    transition: background .15s ease;
    min-height: 0;
  }

  .scr-mobile-row:last-child {
    border-bottom: none;
  }

  .scr-mobile-row:hover {
    background: #fafcfd;
  }

  /* ---- Rank (emoji + number) ---- */
  .scr-mobile-rank {
    flex: 0 0 auto;
    min-width: 46px;
    font-size: 12px;
    font-weight: 800;
    color: var(--scr-ink);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
  }

  /* ---- Avatar ---- */
  .scr-mobile-avatar {
    flex: 0 0 auto;
  }

  .scr-mobile-avatar .scr-avatar {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
    border-width: 1px !important;
  }

  /* ---- Info block (name, email, phone) ---- */
  .scr-mobile-info {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }

  .scr-mobile-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--scr-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .scr-mobile-email {
    font-size: 11px;
    color: var(--scr-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .scr-mobile-phone {
    font-size: 11px;
    color: var(--scr-ink-2);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  /* ---- Share count ---- */
  .scr-mobile-count {
    flex: 0 0 auto;
    text-align: right;
  }

  .scr-mobile-count .scr-refaire-badge {
    font-size: 12px;
    padding: 3px 8px;
    white-space: nowrap;
  }
}
/* ── Countdown 30 jours (Podium des champions) ────────────────── */
.scr-champions-podium-standalone .scr-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 22px;
  padding: 10px 18px;
  width: fit-content;
  max-width: 92%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 219, 60, 0.08), rgba(255, 219, 60, 0.02));
  border: 1px solid rgba(255, 219, 60, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 219, 60, 0.06) inset,
    0 6px 24px rgba(255, 195, 40, 0.18),
    0 0 32px rgba(255, 219, 60, 0.12);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  color: #fff;
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
}

.scr-champions-podium-standalone .scr-countdown-hourglass {
  color: var(--scp-gold, #ffdb3c);
  font-size: 22px;
  filter: drop-shadow(0 0 6px rgba(255, 219, 60, 0.55));
  margin-right: 4px;
}

.scr-champions-podium-standalone .scr-countdown-group {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.scr-champions-podium-standalone .scr-countdown-num {
  font-family: 'JetBrains Mono', 'Sora', monospace;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--scp-gold, #ffdb3c);
  text-shadow: 0 0 12px rgba(255, 219, 60, 0.5);
  font-variant-numeric: tabular-nums;
  min-width: 1.6ch;
  text-align: center;
}

.scr-champions-podium-standalone .scr-countdown-unit {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.scr-champions-podium-standalone .scr-countdown-sep {
  color: rgba(255, 219, 60, 0.55);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .scr-champions-podium-standalone .scr-countdown {
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
  }
  .scr-champions-podium-standalone .scr-countdown-hourglass { font-size: 18px; margin-right: 2px; }
  .scr-champions-podium-standalone .scr-countdown-num { font-size: 16px; }
  .scr-champions-podium-standalone .scr-countdown-unit { font-size: 10px; }
  .scr-champions-podium-standalone .scr-countdown-sep { font-size: 14px; }
}
