/* =========================================================
   08 RUN Battle - Top RED/BLUE Share Bar Only
   ========================================================= */

.battle-share-section {
  margin: 18px 0 22px !important;
  padding: 18px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  background:
    radial-gradient(circle at left, rgba(239, 68, 68, 0.16), transparent 34%),
    radial-gradient(circle at right, rgba(59, 130, 246, 0.16), transparent 34%),
    rgba(15, 23, 42, 0.56) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20) !important;
}

.battle-share-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 14px !important;
  margin-bottom: 13px !important;
}

.battle-share-label {
  display: block !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

.battle-share-head strong {
  display: block !important;
  color: var(--text) !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

.battle-share-gap {
  flex: 0 0 auto !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: var(--text) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums !important;
  white-space: nowrap !important;
}

.battle-share-bar {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  height: 34px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(2, 6, 23, 0.60) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.battle-share-red,
.battle-share-blue {
  height: 100% !important;
  transition: width 0.35s ease !important;
}

.battle-share-red {
  background: linear-gradient(90deg, #991b1b, #ef4444) !important;
}

.battle-share-blue {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
}

.battle-share-center {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 2px !important;
  background: rgba(255, 255, 255, 0.55) !important;
  transform: translateX(-1px) !important;
  pointer-events: none !important;
}

.battle-share-foot {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  margin-top: 12px !important;
}

.battle-share-team {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.battle-share-team b {
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  color: var(--text) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.battle-share-team span {
  font-size: 12px !important;
  color: var(--muted) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums !important;
}

.red-side {
  text-align: left !important;
}

.blue-side {
  text-align: right !important;
}

@media (max-width: 640px) {
  .battle-share-section {
    padding: 15px !important;
  }

  .battle-share-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .battle-share-head strong {
    font-size: 19px !important;
  }

  .battle-share-bar {
    height: 30px !important;
  }

  .battle-share-foot {
    gap: 8px !important;
  }

  .battle-share-team b {
    font-size: 13px !important;
  }

  .battle-share-team span {
    font-size: 11px !important;
  }
}
