/* Sidebar VRS card. Loaded after the remaining legacy stylesheet. */
.vrs-card__titles {
  min-width: 0;
}

.vrs-card__regions {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.vrs-card__region {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  min-height: 22px;
  padding: 0 5px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 0.60rem;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.vrs-card__region.is-empty:not(.is-active) {
  opacity: 0.5;
}

.vrs-card__item {
  border-radius: var(--radius-sm);
}

.vrs-card__rank {
  border-color: color-mix(in srgb, var(--accent) 12%, var(--line));
}

.vrs-card__points {
  border-radius: var(--radius-sm);
  text-align: right;
}

.vrs-card__panel[hidden] {
  display: none;
}

.vrs-card__panel {
  display: flex;
  flex-direction: column;
}

.vrs-card__rank {
  width: 20px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--accent) 68%, var(--text));
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: flex-start;
}


.vrs-card__points {
  padding: 0;
  background: transparent;
  color: color-mix(in srgb, var(--text) 78%, var(--text-soft));
  font-weight: 820;
}

.vrs-card__empty {
  padding: 10px 2px 6px;
  color: color-mix(in srgb, var(--text-soft) 76%, var(--surface-strong));
  font-size: 0.68rem;
  font-weight: 620;
  text-align: center;
}

.home-left-sidebar .vrs-card__item {
  min-height: 40px;
}

.home-left-sidebar .vrs-card__logo[alt="Логотип Vitality"],
.home-left-sidebar .vrs-card__logo[alt="Логотип Team Vitality"] {
  transform: scale(1.34);
}

.vrs-card__name {
  font-size: 0.81rem;
}

.vrs-card__roster {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: color-mix(in srgb, var(--text-soft) 84%, var(--text));
  font-size: 0.61rem;
  font-weight: 600;
  line-height: 1.05;
  text-overflow: clip;
  white-space: nowrap;
}

.vrs-card__separator {
  margin-inline: 0;
}

/* Sidebar block polish: single-line headers after subtitle removal. */
.home-left-sidebar .vrs-card {
  order: 1;
  background: color-mix(in srgb, var(--surface-strong) 86%, var(--surface-muted));
}

.home-left-sidebar .vrs-card__title {
  font-size: 0.84rem;
}

.home-left-sidebar .vrs-card__item {
  padding-left: 3px;
  padding-right: 4px;
}

.home-left-sidebar .vrs-card__rank {
  width: 16px;
}

.home-left-sidebar .vrs-card__logo {
  justify-self: start;
}

.home-left-sidebar .vrs-card__titles {
  max-width: calc(100% - 132px);
}

.home-left-sidebar .vrs-card__region {
  min-width: 24px;
  padding-inline: 6px;
  font-size: 0.58rem;
}

.vrs-card__logo[alt="Логотип Vitality"],
.vrs-card__logo[alt="Логотип Team Vitality"] {
  border-radius: 0;
  background: transparent;
}

.home-left-sidebar .vrs-card__item {
  grid-template-columns: 14px 24px minmax(0, 1fr) 32px;
  gap: 4px;
}

.home-left-sidebar .vrs-card__rank {
  justify-content: flex-start;
}

.home-left-sidebar .vrs-card__logo {
  width: 24px;
  height: 24px;
}

.vrs-card__points {
  min-width: 32px;
  font-size: 0.70rem;
}

.vrs-card__roster {
  max-width: 100%;
}
