/* =========================================================
   Sport IQ — Components Styles
   أنماط المكونات المتخصصة
   ========================================================= */

/* -------------------------------------------------------
   بطاقة المباراة (Match Card)
   ------------------------------------------------------- */
.match-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.match-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--glow-card-hover);
  transform: translateY(-1px);
}

.match-card--live {
  border-color: rgba(239,68,68,0.4);
  background: linear-gradient(145deg, rgba(239,68,68,0.06) 0%, var(--glass-bg) 100%);
}

.match-card__league {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.match-card__league-logo {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  object-fit: contain;
}

.match-card__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
}

.match-card__team-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.match-card__team-name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-align: center;
  color: var(--color-text-primary);
}

.match-card__score-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  min-width: 90px;
}

.match-card__score {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: var(--color-text-primary);
  letter-spacing: 2px;
}

.match-card__status {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.match-card__time {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.match-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
}

.match-card__ai-bar {
  display: flex;
  gap: 2px;
  height: 4px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex: 1;
  max-width: 140px;
}

.match-card__ai-home {
  background: var(--color-success);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.match-card__ai-draw {
  background: var(--color-warning);
}

.match-card__ai-away {
  background: var(--color-danger);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* -------------------------------------------------------
   بطاقة الترتيب (Leaderboard Row)
   ------------------------------------------------------- */
.lb-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: var(--transition-base);
}

.lb-row:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--color-border);
}

.lb-row--me {
  background: var(--color-primary-light);
  border-color: var(--color-border-strong);
  position: sticky;
  bottom: var(--space-2);
}

.lb-row--top1 {
  background: linear-gradient(135deg, rgba(255,215,0,0.12) 0%, rgba(255,170,0,0.06) 100%);
  border-color: rgba(255,191,0,0.3);
}

.lb-row--top2 {
  background: linear-gradient(135deg, rgba(192,192,192,0.1) 0%, rgba(150,150,150,0.05) 100%);
  border-color: rgba(192,192,192,0.25);
}

.lb-row--top3 {
  background: linear-gradient(135deg, rgba(205,127,50,0.1) 0%, rgba(160,100,40,0.05) 100%);
  border-color: rgba(205,127,50,0.25);
}

.lb-row__rank {
  width: 28px;
  font-size: var(--text-sm);
  font-weight: var(--font-black);
  text-align: center;
  flex-shrink: 0;
}

.lb-row__rank--1 { color: var(--color-gold); }
.lb-row__rank--2 { color: #C0C0C0; }
.lb-row__rank--3 { color: #CD7F32; }

.lb-row__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.lb-row__name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-row__badges {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.lb-row__points {
  font-size: var(--text-base);
  font-weight: var(--font-black);
  color: var(--color-primary-to);
  flex-shrink: 0;
}

.lb-row__change {
  font-size: var(--text-xs);
  flex-shrink: 0;
}

.lb-row__change--up   { color: var(--color-success); }
.lb-row__change--down { color: var(--color-danger); }
.lb-row__change--same { color: var(--color-text-muted); }

/* -------------------------------------------------------
   بطاقة السؤال (Trivia Card)
   ------------------------------------------------------- */
.trivia-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.trivia-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trivia-card__question-num {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.trivia-card__category {
  font-size: var(--text-xs);
  padding: 0.2rem var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  color: var(--color-primary-to);
}

.trivia-card__question {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  text-align: center;
}

.trivia-card__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.trivia-card__media img,
.trivia-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trivia-card__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.trivia-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: right;
}

.trivia-option:hover:not([disabled]) {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateX(-3px);
}

.trivia-option:disabled {
  cursor: not-allowed;
}

.trivia-option__letter {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  flex-shrink: 0;
  transition: var(--transition-base);
}

.trivia-option__text {
  flex: 1;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
}

/* حالة الإجابة الصحيحة */
.trivia-option--correct {
  border-color: var(--color-success) !important;
  background: var(--color-success-light) !important;
  animation: bounce-in 0.4s ease;
}

.trivia-option--correct .trivia-option__letter {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

/* حالة الإجابة الخاطئة */
.trivia-option--wrong {
  border-color: var(--color-danger) !important;
  background: var(--color-danger-light) !important;
  animation: shake 0.4s ease;
}

.trivia-option--wrong .trivia-option__letter {
  background: var(--color-danger);
  border-color: var(--color-danger);
  color: white;
}

/* -------------------------------------------------------
   Modal قفل VIP (Paywall)
   ------------------------------------------------------- */
.paywall-modal {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.paywall-modal__crown {
  font-size: 3.5rem;
  animation: star-spin 3s ease-in-out infinite;
  filter: drop-shadow(0 0 15px var(--color-gold-glow));
}

.paywall-modal__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.paywall-modal__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
  max-width: 280px;
}

.paywall-modal__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  text-align: right;
}

.paywall-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.paywall-feature__icon {
  color: var(--color-gold);
}

.paywall-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.paywall-modal__trial-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-success);
  background: var(--color-success-light);
  padding: 0.2rem var(--space-2);
  border-radius: var(--radius-full);
}

/* -------------------------------------------------------
   Toast الإشعار الفوري
   ------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--header-height) + var(--space-3));
  right: var(--space-4);
  left: var(--space-4);
  max-width: var(--app-max-width);
  margin: 0 auto;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s ease both;
  pointer-events: auto;
  cursor: pointer;
}

.toast--out {
  animation: toast-out 0.3s ease both;
}

.toast__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toast__content {
  flex: 1;
}

.toast__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}

.toast__message {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.toast--success {
  border-color: rgba(34,197,94,0.3);
}

.toast--success .toast__icon {
  background: var(--color-success-light);
  color: var(--color-success);
}

.toast--error {
  border-color: rgba(239,68,68,0.3);
}

.toast--error .toast__icon {
  background: var(--color-danger-light);
  color: var(--color-danger);
}

.toast--points {
  border-color: rgba(155,63,255,0.3);
}

.toast--points .toast__icon {
  background: var(--color-primary-light);
  color: var(--color-primary-to);
}

.toast--diamonds {
  border-color: rgba(255,191,0,0.3);
}

.toast--diamonds .toast__icon {
  background: var(--color-gold-light);
  color: var(--color-gold);
}

/* -------------------------------------------------------
   القصة الدائرية (Story Avatar)
   ------------------------------------------------------- */
.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  flex-shrink: 0;
}

.story-ring {
  padding: 2px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
}

.story-ring--viewed {
  background: rgba(255,255,255,0.15);
}

.story-ring--vip {
  background: var(--gradient-gold);
}

.story-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  border: 2.5px solid var(--color-bg-primary);
  object-fit: cover;
  display: block;
}

.story-label {
  font-size: 10px;
  color: var(--color-text-secondary);
  max-width: 60px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------------------------------------------------------
   رادار القوة (AI Power Radar)
   ------------------------------------------------------- */
.power-radar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.power-radar__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.power-radar__score {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
}

.power-radar__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  width: 100%;
}

.power-radar__bar {
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
}

/* -------------------------------------------------------
   الرصيد في الهيدر
   ------------------------------------------------------- */
.header-balance {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* -------------------------------------------------------
   زر الإشعارات مع Badge
   ------------------------------------------------------- */
.notif-btn {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  color: var(--color-text-secondary);
  transition: var(--transition-base);
}

.notif-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-text-primary);
}

.notif-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: var(--color-danger);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-bg-primary);
  animation: pulse-badge 1.5s ease-in-out infinite;
}

/* -------------------------------------------------------
   قسم الكرات / الحياة (Lives)
   ------------------------------------------------------- */
.lives-display {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.life-ball {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  box-shadow: 0 0 6px var(--color-primary-glow);
  transition: var(--transition-base);
}

.life-ball--empty {
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}

/* -------------------------------------------------------
   بطاقة اللاعب (Player Card — Guess Player Game)
   ------------------------------------------------------- */
.player-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.player-card__history {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.player-transfer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
}

.player-transfer::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 20px;
  height: calc(100% + var(--space-3));
  width: 1px;
  background: var(--color-border);
}

.player-transfer:last-child::before {
  display: none;
}

.player-transfer__club {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
  border: 1px solid var(--color-border);
}

.player-transfer__club img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.player-transfer__info {
  flex: 1;
}

.player-transfer__club-name {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}

.player-transfer__year {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* -------------------------------------------------------
   VIP Badge الشارة الذهبية
   ------------------------------------------------------- */
.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px var(--space-2);
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: var(--font-black);
  color: #1A0F2E;
  letter-spacing: 0.5px;
}

/* -------------------------------------------------------
   Leaderboard Trophy Icons
   ------------------------------------------------------- */
.trophy {
  display: inline-block;
  font-size: 1.2rem;
}

/* -------------------------------------------------------
   شريط التنبؤ (Prediction Bar)
   ------------------------------------------------------- */
.prediction-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
}

.prediction-bar__home-pct,
.prediction-bar__away-pct {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  width: 36px;
  text-align: center;
}

.prediction-bar__home-pct { color: var(--color-success); }
.prediction-bar__draw-pct { color: var(--color-warning); font-size: var(--text-xs); text-align: center; flex-shrink: 0; }
.prediction-bar__away-pct { color: var(--color-danger); }

.prediction-bar__track {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}

.prediction-bar__track-home {
  height: 100%;
  background: var(--color-success);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.prediction-bar__track-draw {
  height: 100%;
  background: var(--color-warning);
}

.prediction-bar__track-away {
  height: 100%;
  background: var(--color-danger);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* -------------------------------------------------------
   Day Streak Calendar (مكافأة الدخول اليومي)
   ------------------------------------------------------- */
.streak-calendar {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
}

.streak-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
}

.streak-day__box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-base);
}

.streak-day--done .streak-day__box {
  background: var(--color-success-light);
  border-color: var(--color-success);
}

.streak-day--today .streak-day__box {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: var(--glow-primary);
  animation: pulse-glow 2s ease-in-out infinite;
}

.streak-day--locked .streak-day__box {
  opacity: 0.4;
}

.streak-day__label {
  font-size: 9px;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------
   Team Lineup Field (ملعب التشكيلة)
   ------------------------------------------------------- */
.lineup-field {
  background: linear-gradient(180deg, #1a5c2a 0%, #1e7232 50%, #1a5c2a 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.7;
}

/* خطوط الملعب */
.lineup-field::before {
  content: '';
  position: absolute;
  inset: var(--space-4);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  pointer-events: none;
}

.lineup-field::after {
  content: '';
  position: absolute;
  top: 50%;
  left: var(--space-4);
  right: var(--space-4);
  height: 1.5px;
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%);
  pointer-events: none;
}

.player-dot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transform: translate(-50%, -50%);
  cursor: default;
}

.player-dot__circle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  border: 2px solid white;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: var(--font-bold);
  color: #1a5c2a;
}

.player-dot__name {
  font-size: 8px;
  color: white;
  font-weight: var(--font-semibold);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  white-space: nowrap;
  max-width: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* -------------------------------------------------------
   إحصائيات المباراة (Match Stats Bars)
   ------------------------------------------------------- */
.stat-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.stat-row__value-home,
.stat-row__value-away {
  width: 40px;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-align: center;
}

.stat-row__value-home { color: var(--color-success); text-align: right; }
.stat-row__value-away { color: var(--color-danger); text-align: left; }

.stat-row__bars {
  flex: 1;
  display: flex;
  gap: 4px;
  height: 6px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.stat-row__bar-home {
  background: var(--color-success);
  border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.stat-row__bar-away {
  background: var(--color-danger);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  margin-right: auto;
}

.stat-row__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* -------------------------------------------------------
   بطاقة الخبر (News Card)
   ------------------------------------------------------- */
.news-card {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  cursor: pointer;
  transition: var(--transition-fast);
}

.news-card:last-child {
  border-bottom: none;
}

.news-card:hover {
  background: rgba(255,255,255,0.03);
}

.news-card__img {
  width: 80px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-tertiary);
}

.news-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.news-card__title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  line-height: var(--leading-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.news-card--breaking {
  border-right: 3px solid var(--color-danger);
}

/* -------------------------------------------------------
   Skeleton Loaders
   ------------------------------------------------------- */
.skeleton-match-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.skeleton-line {
  height: 12px;
  border-radius: var(--radius-full);
}

.skeleton-circle {
  border-radius: var(--radius-full);
}

/* -------------------------------------------------------
   XP / Level Bar
   ------------------------------------------------------- */
.level-bar-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.level-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--font-black);
  color: white;
  flex-shrink: 0;
  box-shadow: var(--glow-primary);
}

.level-bar-info {
  flex: 1;
}

.level-xp-text {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

/* -------------------------------------------------------
   Standing Table
   ------------------------------------------------------- */
.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table th {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--font-medium);
  padding: var(--space-2) var(--space-2);
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
}

.standings-table th:first-child {
  text-align: right;
}

.standings-table td {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  padding: var(--space-3) var(--space-2);
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
}

.standings-table td:first-child {
  text-align: right;
}

.standings-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.standings-table tr.highlighted td {
  background: var(--color-primary-light);
}

.st-position {
  width: 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.st-team {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-right: var(--space-2);
}

.st-team-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.st-form {
  display: flex;
  gap: 2px;
}

.st-form-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
}

.st-form-dot--w { background: var(--color-success); }
.st-form-dot--d { background: var(--color-warning); }
.st-form-dot--l { background: var(--color-danger); }
