/* ══════════════════════════════════════════════
   Registered Teams — Shared Styles
   ══════════════════════════════════════════════ */

/* ── Page ── */
body { min-height: 100vh; }

/* ── Header ── */
.rt-header {
  padding: 110px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* GPU-accelerated rendering for sharpest background image output */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}
.rt-header::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(123,47,255,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(0,200,255,.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 90%, rgba(204,0,255,.08) 0%, transparent 60%);
}
/* All direct children sit above the overlay */
.rt-header > * { position: relative; z-index: 2; }
.rt-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  margin-bottom: 28px;
}
.rt-back:hover { border-color: rgba(255,255,255,.5); color: #fff; transform: translateX(-2px); background: rgba(0,0,0,.6); }
.rt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(123,47,255,.1);
  border: 1px solid rgba(123,47,255,.3);
  font-size: 11px;
  font-weight: 700;
  color: #a855f7;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.rt-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #a855f7;
  animation: rt-blink 1.2s ease-in-out infinite;
}
@keyframes rt-blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.rt-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0,0,0,.9), 0 0 60px rgba(0,0,0,.6);
}
.rt-header h1 span {
  background: linear-gradient(90deg, #00ffff, #7b2fff, #cc00ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.rt-header p {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0,0,0,.85);
}

/* ── Stats bar ── */
.rt-stats {
  display: inline-flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.rt-stat {
  padding: 14px 26px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.rt-stat:last-child { border-right: none; }
.rt-stat-num {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(90deg, #00ffff, #7b2fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 8px rgba(0,200,255,.4));
}
.rt-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}

/* ── Filters / Search bar ── */
.rt-toolbar {
  max-width: 900px;
  margin: 0 auto 36px;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.rt-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.rt-search-icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.rt-search {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px 10px 38px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.rt-search::placeholder { color: rgba(132,148,171,.45); }
.rt-search:focus { border-color: rgba(123,47,255,.5); box-shadow: 0 0 0 3px rgba(123,47,255,.1); }
.rt-game-filter {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 34px 10px 14px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238494ab' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--input-bg);
  transition: border-color .2s;
}
.rt-game-filter:focus { border-color: rgba(123,47,255,.5); }
.rt-game-filter option { background: #0a0d20; }

/* ── Main content area ── */
.rt-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ── Team Grid ── */
.rt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
}
@media (max-width: 480px) {
  .rt-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ── Team Card ── */
.rt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  animation: rt-fadein .4s ease both;
}
@keyframes rt-fadein { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* Square logo box */
.rt-logo-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.rt-card:hover .rt-logo-box {
  border-color: var(--card-accent, rgba(123,47,255,.5));
  box-shadow: 0 0 0 1px var(--card-accent, rgba(123,47,255,.25)),
              0 8px 28px rgba(0,0,0,.35);
  transform: translateY(-4px);
}
.rt-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder — initials on gradient */
.rt-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: .02em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
/* Game number badge — top-right corner */
.rt-game-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.5));
}
/* Registered-at shimmer line */
.rt-logo-shine {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
  border-radius: 0 0 16px 16px;
  pointer-events: none;
}

/* Rectangular name box */
.rt-name-box {
  width: 100%;
  margin-top: 8px;
  padding: 9px 12px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  text-align: center;
  transition: border-color .25s, background .25s;
}
.rt-card:hover .rt-name-box {
  border-color: var(--card-accent, rgba(123,47,255,.3));
  background: rgba(255,255,255,0.04);
}
.rt-team-name {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.rt-game-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── Empty state ── */
.rt-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.rt-empty-icon { font-size: 56px; margin-bottom: 16px; display: block; opacity: .7; }
.rt-empty h3 {
  font-family: 'Orbitron', monospace;
  font-size: 18px; font-weight: 800;
  color: var(--text); margin-bottom: 10px;
}
.rt-empty p { font-size: 14px; max-width: 340px; margin: 0 auto 24px; line-height: 1.6; }
.rt-register-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #7b2fff, #00c8ff);
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(123,47,255,.4);
}
.rt-register-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,47,255,.55); }

/* ── Detail modal ── */
.rt-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rt-modal-overlay.open { display: flex; }
.rt-modal {
  background: var(--bg2, #060819);
  border: 1px solid var(--border);
  border-radius: 22px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  animation: rt-modal-in .25s ease;
}
@keyframes rt-modal-in { from{opacity:0;transform:scale(.94)} to{opacity:1;transform:scale(1)} }
.rt-modal-top {
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #7b2fff, #cc00ff);
}
.rt-modal-body { padding: 28px 28px 24px; }
.rt-modal-logo {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-modal-logo img { width: 100%; height: 100%; object-fit: cover; }
.rt-modal-logo .rt-logo-placeholder { font-size: 2.4rem; }
.rt-modal-name {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.rt-modal-game { text-align: center; margin-bottom: 20px; }
.rt-modal-rows { display: flex; flex-direction: column; gap: 10px; }
.rt-modal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.rt-modal-row-icon { font-size: 16px; flex-shrink: 0; }
.rt-modal-row-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.rt-modal-row-val { font-size: 13px; font-weight: 600; color: var(--text); word-break: break-all; }
.rt-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.rt-modal-close:hover { background: rgba(255,71,87,.12); border-color: rgba(255,71,87,.3); color: #ff6b7a; }
.rt-modal-time { text-align: center; font-size: 10px; color: var(--muted); margin-top: 16px; opacity: .7; }

/* ── Empty slot placeholders ── */
.rt-slot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  opacity: .35;
}
.rt-slot-empty .rt-logo-box {
  border-style: dashed;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.015);
}
.rt-slot-empty-num {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,.22);
}
.rt-slot-empty .rt-name-box {
  border-style: dashed;
  border-color: rgba(255,255,255,.1);
  background: transparent;
}
.rt-slot-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.22);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── "YOU" owner badge ── */
.rt-my-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: linear-gradient(135deg, #7b2fff, #00c8ff);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(123,47,255,.5);
}

/* ── Edit / Delete action buttons ── */
.rt-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}
.rt-action-btn {
  flex: 1;
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.rt-action-btn.edit:hover { border-color: rgba(0,200,255,.4); color: #00c8ff; background: rgba(0,200,255,.07); }
.rt-action-btn.del:hover  { border-color: rgba(255,71,87,.4);  color: #ff6b7a; background: rgba(255,71,87,.07); }

/* ── Edit registration modal ── */
.rt-edit-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rt-edit-overlay.open { display: flex; }
.rt-edit-modal {
  background: var(--bg2, #060819);
  border: 1px solid var(--border);
  border-radius: 22px;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  animation: rt-modal-in .25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.rt-edit-modal-top {
  height: 3px;
  background: linear-gradient(90deg, #7b2fff, #00c8ff);
  position: sticky; top: 0;
}
.rt-edit-modal-body { padding: 28px 28px 24px; }
.rt-edit-title {
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
  text-align: center;
}
.rt-edit-field { margin-bottom: 14px; }
.rt-edit-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.rt-edit-input, .rt-edit-select, .rt-edit-textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.rt-edit-input:focus, .rt-edit-select:focus, .rt-edit-textarea:focus { border-color: rgba(123,47,255,.5); }
.rt-edit-textarea { resize: vertical; min-height: 72px; }
.rt-edit-select option { background: #0a0d20; }
.rt-edit-file-label {
  display: block;
  padding: 10px 14px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s, color .2s;
}
.rt-edit-file-label:hover { border-color: rgba(123,47,255,.5); color: var(--text); }
.rt-edit-actions { display: flex; gap: 10px; margin-top: 20px; }
.rt-edit-save {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #7b2fff, #00c8ff);
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.rt-edit-save:hover { opacity: .88; }
.rt-edit-cancel {
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.rt-edit-cancel:hover { border-color: var(--border-h); color: var(--text); }

/* ── Game-specific page links bar ── */
.rt-game-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.rt-game-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.rt-game-link:hover {
  border-color: rgba(255,255,255,.4);
  color: #fff;
  background: rgba(0,0,0,.6);
  transform: translateY(-1px);
}
.rt-game-link.active {
  border-color: rgba(123,47,255,.6);
  color: #fff;
  background: rgba(123,47,255,.25);
  box-shadow: 0 0 18px rgba(123,47,255,.3);
}

/* ══════════════════════════════════════════════
   Tournament Leaderboard
   ══════════════════════════════════════════════ */
.rt-leaderboard {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.rt-lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.rt-lb-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rt-lb-title h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 900;
  color: var(--text);
  margin: 0;
}
.rt-lb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(245,197,24,.1);
  border: 1px solid rgba(245,197,24,.3);
  color: #f5c518;
}
.rt-lb-badge.live { background: rgba(255,71,87,.12); border-color: rgba(255,71,87,.35); color: #ff6b7a; }
.rt-lb-badge.live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff6b7a;
  animation: rt-blink 1s ease-in-out infinite;
}
.rt-lb-badge.soon { background: rgba(245,197,24,.1); border-color: rgba(245,197,24,.3); color: #f5c518; }
.rt-lb-badge.done { background: rgba(0,200,100,.1); border-color: rgba(0,200,100,.3); color: #00c878; }

/* Podium — top 3 */
.rt-lb-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
  align-items: end;
}
@media (max-width: 540px) {
  .rt-lb-podium { grid-template-columns: 1fr; align-items: stretch; }
}
.rt-lb-pod {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  text-align: center;
  padding: 20px 14px 16px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.rt-lb-pod:hover { transform: translateY(-4px); }
.rt-lb-pod.rank-1 {
  border-color: rgba(255,215,0,.35);
  background: rgba(255,215,0,.05);
  box-shadow: 0 0 30px rgba(255,215,0,.12), inset 0 1px 0 rgba(255,215,0,.1);
  padding-top: 28px;
}
.rt-lb-pod.rank-2 {
  border-color: rgba(192,192,192,.3);
  background: rgba(192,192,192,.04);
  box-shadow: 0 0 20px rgba(192,192,192,.08);
}
.rt-lb-pod.rank-3 {
  border-color: rgba(205,127,50,.3);
  background: rgba(205,127,50,.04);
  box-shadow: 0 0 20px rgba(205,127,50,.08);
}
.rt-lb-pod-crown {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255,215,0,.7));
}
.rt-lb-pod-rank {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rank-1 .rt-lb-pod-rank { color: #ffd700; }
.rank-2 .rt-lb-pod-rank { color: #c0c0c0; }
.rank-3 .rt-lb-pod-rank { color: #cd7f32; }
.rt-lb-pod-avatar {
  width: 60px; height: 60px;
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
}
.rank-1 .rt-lb-pod-avatar { border: 2px solid rgba(255,215,0,.5); box-shadow: 0 0 16px rgba(255,215,0,.25); }
.rank-2 .rt-lb-pod-avatar { border: 2px solid rgba(192,192,192,.4); }
.rank-3 .rt-lb-pod-avatar { border: 2px solid rgba(205,127,50,.4); }
.rt-lb-pod-name {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}
.rt-lb-pod-pts {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2px;
}
.rank-1 .rt-lb-pod-pts { color: #ffd700; filter: drop-shadow(0 0 8px rgba(255,215,0,.5)); }
.rank-2 .rt-lb-pod-pts { color: #c0c0c0; }
.rank-3 .rt-lb-pod-pts { color: #cd7f32; }
.rt-lb-pod-pts-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.rt-lb-pod-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.rt-lb-pod-stat {
  font-size: 10px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}

/* Ranking table */
.rt-lb-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
}
.rt-lb-table-head {
  display: grid;
  grid-template-columns: 48px 1fr 80px 70px 70px 80px;
  padding: 10px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
@media (max-width: 600px) {
  .rt-lb-table-head { grid-template-columns: 40px 1fr 70px 60px; }
  .rt-lb-table-head .lb-col-kills,
  .rt-lb-table-head .lb-col-status { display: none; }
  .rt-lb-row { grid-template-columns: 40px 1fr 70px 60px !important; }
  .rt-lb-row .lb-col-kills,
  .rt-lb-row .lb-col-status { display: none; }
}
.rt-lb-row {
  display: grid;
  grid-template-columns: 48px 1fr 80px 70px 70px 80px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background .15s;
  cursor: default;
}
.rt-lb-row:last-child { border-bottom: none; }
.rt-lb-row:hover { background: rgba(255,255,255,.03); }
.rt-lb-row.top3 { background: rgba(255,255,255,.015); }
.lb-col-rank {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
  text-align: center;
}
.lb-col-rank.gold   { color: #ffd700; filter: drop-shadow(0 0 6px rgba(255,215,0,.5)); }
.lb-col-rank.silver { color: #c0c0c0; }
.lb-col-rank.bronze { color: #cd7f32; }
.lb-col-team {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.lb-team-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
}
.lb-team-name {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-col-pts {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  color: var(--text);
}
.lb-col-wins, .lb-col-kills {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}
.lb-col-status { text-align: center; }
.lb-status-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.lb-status-pill.active   { background: rgba(0,200,100,.12); border: 1px solid rgba(0,200,100,.3); color: #00c878; }
.lb-status-pill.elim     { background: rgba(255,71,87,.1);  border: 1px solid rgba(255,71,87,.25); color: #ff6b7a; }
.lb-status-pill.pending  { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--muted); }

/* Pending / empty leaderboard state */
.rt-lb-pending {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
}
.rt-lb-pending-icon { font-size: 44px; margin-bottom: 12px; opacity: .6; display: block; }
.rt-lb-pending h3 {
  font-family: 'Orbitron', monospace;
  font-size: 15px; font-weight: 800;
  color: var(--text); margin-bottom: 8px;
}
.rt-lb-pending p { font-size: 13px; max-width: 320px; margin: 0 auto; line-height: 1.6; }
