/* Профиль игрока — макет Figma (HmDoP29Ao26XFtdqdXKoBO) */
.profile-league-page {
  --prof-frame-radius: 15px;
  --prof-frame-radius-sm: 10px;
}

.profile-league-page .lhd-page {
  font-family: 'Exo 2', 'Exo 2', sans-serif;
  color: #bebebe;
}

.profile-league-page .prof-inner {
  padding-top: 24px;
}

.prof-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1cm 20px 80px;
}

@media (max-width: 640px) {
  .prof-inner {
    padding: 0 12px 60px;
  }
}

/* —— Шапка —— */
.prof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 0;
  padding-bottom: 28px;
}

.prof-head-left {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-width: 0;
}

.prof-avatar {
  width: 155px;
  height: 155px;
  flex-shrink: 0;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius);
  object-fit: cover;
  background: #000;
}

.prof-avatar--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Exo 2', 'Exo 2', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: #007315;
}

.prof-id {
  min-width: 0;
  padding-top: 4px;
}

.prof-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.prof-username {
  font-family: 'Exo 2', sans-serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #BEBEBE;
  margin: 0;
}

.prof-role {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #007315;
  border-radius: 4px;
  color: #BEBEBE;
  background: transparent;
}

.prof-role--owner {
  border-color: #d4a017 !important;
  color: #f0c040 !important;
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.25);
}

.prof-role--head_admin {
  border-color: #ff3030 !important;
  color: #ff5555 !important;
}

.prof-role--tech_admin {
  border-color: #00a8e8 !important;
  color: #4dc4ff !important;
}

.prof-role--admin {
  border-color: #ff0000 !important;
  color: #ff0000 !important;
}

.prof-role--moderator {
  border-color: #e67e22 !important;
  color: #f39c12 !important;
}

.prof-role--organizer {
  border-color: #9b59b6 !important;
  color: #bb8fce !important;
}

.prof-role--support {
  border-color: #02b122 !important;
  color: #3ddf5c !important;
}

.prof-role--developer {
  border-color: #00d4ff !important;
  color: #6ee7ff !important;
  background: rgba(0, 212, 255, 0.08) !important;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.18);
}

.prof-role--staff {
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

.prof-role--premium {
  border-color: #d4a017 !important;
  color: #f7d36b !important;
  background: rgba(212, 160, 23, 0.08) !important;
}

.prof-role--vip {
  border-color: #ffd84d !important;
  color: #ffe680 !important;
  background: rgba(255, 216, 77, 0.1) !important;
  box-shadow: 0 0 14px rgba(255, 216, 77, 0.18);
}

.prof-role--login-handle {
  border-color: #424242 !important;
  color: #666 !important;
  font-size: 10px !important;
  padding: 4px 8px !important;
}

.prof-since {
  font-family: 'Exo 2', sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #424242;
  margin: 0 0 8px;
}

.prof-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #BEBEBE;
  margin-bottom: 14px;
}

.prof-country-flag-img {
  width: 22px;
  height: auto;
  border-radius: 1px;
  box-shadow: 0 0 0 1px #424242;
}

.prof-meta-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  color: #424242;
}

.prof-meta-lines span strong,
.prof-meta-lines b {
  color: #bebebe;
  font-weight: 600;
}

.prof-head-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  flex-shrink: 0;
  padding-top: 4px;
  margin-left: auto;
}

.prof-head-stats__row {
  display: flex;
  gap: 48px;
}

.prof-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 320px;
}

.prof-head-actions .ls-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.prof-head-actions .ls-status {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}

.prof-hstat {
  text-align: right;
}

.prof-hstat__label {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #424242;
  margin-bottom: 6px;
}

.prof-hstat__val {
  font-family: 'Exo 2', sans-serif;
  font-size: 23px;
  font-weight: 600;
  color: #007315;
  line-height: 1;
}

.prof-hstat__hint {
  display: block;
  font-size: 14px;
  color: #444;
  margin-top: 4px;
  text-transform: uppercase;
}

.profile-league-page .prof-head-rule {
  display: none;
}

.prof-head-rule {
  border: none;
  border-top: 1px solid #424242;
  margin: 1.65cm 0 24px;
}

/* —— Вкладки (как на странице команды) —— */
.profile-league-page .prof-head {
  padding-bottom: 20px;
}

.profile-league-page .prof-tabs {
  margin-top: 8px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 1px solid #424242;
  width: 100%;
}

.profile-league-page nav.prof-tabs + * {
  margin-top: 12px;
}

.prof-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px;
  border-bottom: none;
  margin-bottom: 32px;
}

.prof-tabs a {
  position: relative;
  text-align: left;
  padding: 0 0 14px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #424242;
  text-decoration: none;
  border-bottom: none;
  margin-bottom: 0;
  transition: color 0.2s;
}

.prof-tabs a:hover {
  color: #bebebe;
}

.prof-tabs a.is-active {
  color: #BEBEBE;
}

.profile-league-page .prof-tabs a.is-active {
  color: #fff;
}

.prof-tabs a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-width: 48px;
  max-width: 120px;
  height: 2px;
  background: #02b122;
}

.profile-league-page .prof-tabs a.is-active::after {
  bottom: -1px;
  background: #007315;
  z-index: 1;
}

/* —— Обзор: верхняя полоса + команда —— */
.prof-overview-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 227px;
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .prof-overview-top {
    grid-template-columns: 1fr;
  }
}

.profile-league-page .prof-statbar.prof-statbar--hero {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  background: #000000;
  background-color: #000000;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius);
  margin-bottom: 0;
  min-height: 147px;
  align-items: center;
  overflow: hidden;
}

.profile-league-page .prof-statbar.prof-statbar--hero .prof-statbar__cell {
  background: #000000;
  background-color: #000000;
  padding: 20px 10px;
}

@media (max-width: 900px) {
  .prof-statbar--hero {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prof-statbar--hero .prof-statbar__cell {
  padding: 20px 12px;
  text-align: center;
  background: #000000;
  border-right: none;
}

.prof-statbar--hero .prof-statbar__label {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #424242;
  margin-bottom: 12px;
}

.prof-statbar--hero .prof-statbar__val {
  font-family: 'Exo 2', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #BEBEBE;
  line-height: 1;
}

.prof-team-card {
  background: #000;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius);
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  min-height: 147px;
  box-sizing: border-box;
}

.prof-team-card__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #424242;
  margin: 0 0 14px;
}

.prof-team-card__body {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  margin-bottom: 12px;
}

.prof-team-card__logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prof-team-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.prof-team-card__name {
  font-family: 'Exo 2', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #BEBEBE;
  margin: 0 0 4px;
}

.prof-team-card__rank {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  color: #424242;
  text-transform: uppercase;
}

.prof-team-card__rank strong {
  color: #007315;
  font-weight: 600;
}

.prof-team-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 26px;
  padding: 4px 12px;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius-sm);
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bebebe;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.prof-team-card__btn:hover {
  border-color: #007315;
  color: #BEBEBE;
}

/* —— Средний ряд —— */
.prof-overview-mid {
  display: grid;
  grid-template-columns: 273px minmax(0, 1fr) 273px;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 1200px) {
  .prof-overview-mid {
    grid-template-columns: 1fr;
  }
}

.prof-panel {
  background: #000;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius);
  padding: 16px 18px;
  box-sizing: border-box;
  min-height: 291px;
}

.prof-panel__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #BEBEBEfff;
  margin: 0 0 16px;
}

.prof-panel--perf {
  display: flex;
  flex-direction: column;
  padding-bottom: 12px;
}

.prof-panel--perf .prof-panel__title {
  margin-bottom: 4px;
}

.prof-radar {
  position: relative;
  flex: 1;
  min-height: 248px;
  margin: 0 -4px;
}

.prof-radar__chart-wrap {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 248px;
  aspect-ratio: 1;
}

.prof-radar__chart {
  width: 100%;
  height: 100%;
  display: block;
}

.prof-radar__grid {
  fill: none;
  stroke: #2a2a2a;
  stroke-width: 1;
  stroke-linejoin: round;
}

.prof-radar__axes {
  pointer-events: none;
}

.prof-radar__axes path {
  stroke: #4a4a4a;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.prof-radar__fill {
  fill: rgba(0, 115, 21, 0.38);
  stroke: none;
}

.prof-radar__stroke {
  fill: none;
  stroke: #007315;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.prof-radar__labels {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.prof-radar__label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  transform: translate(-50%, -50%);
  min-width: 52px;
}

.prof-radar__label--top {
  left: 50%;
  top: 9%;
}

.prof-radar__label--tr {
  left: 86%;
  top: 25%;
}

.prof-radar__label--br {
  left: 86%;
  top: 75%;
}

.prof-radar__label--bottom {
  left: 50%;
  top: 91%;
}

.prof-radar__label--bl {
  left: 14%;
  top: 75%;
}

.prof-radar__label--tl {
  left: 14%;
  top: 25%;
}

.prof-radar__name {
  font-family: 'Exo 2', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #424242;
  line-height: 1.2;
}

.prof-radar__val {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.prof-panel--stats-wide {
  min-height: 293px;
  padding-bottom: 14px;
}

.prof-stats-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 20px;
  align-items: start;
}

.prof-stats-split__left {
  min-width: 0;
}

.prof-stats-split__right {
  border-left: 1px solid #424242;
  padding-left: 20px;
  min-width: 0;
  min-height: 220px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .prof-stats-split {
    grid-template-columns: 1fr;
  }

  .prof-stats-split__right {
    border-left: none;
    padding-left: 0;
    padding-top: 16px;
    border-top: 1px solid #424242;
  }
}

.prof-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

@media (max-width: 700px) {
  .prof-detail-grid {
    grid-template-columns: 1fr;
  }
}

.prof-detail-col__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #BEBEBEfff;
  margin: 0 0 14px;
}

.prof-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #424242;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
}

.prof-detail-row:last-child {
  border-bottom: none;
}

.prof-detail-row span:first-child {
  color: #bebebe;
}

.prof-detail-row span:last-child {
  color: #BEBEBE;
  font-weight: 600;
  font-size: 14px;
}

.prof-empty--left {
  text-align: left;
  padding: 8px 0;
}

.prof-maps-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
}

.prof-maps-col {
  width: 20%;
}

.prof-maps-table th,
.prof-maps-table td {
  padding: 7px 5px;
  vertical-align: middle;
}

.prof-maps-table th {
  text-align: left;
  color: #424242;
  font-weight: 600;
  text-transform: uppercase;
  padding-top: 6px;
  padding-bottom: 10px;
  font-size: 14px;
  white-space: nowrap;
}

.prof-maps-table th:nth-child(1),
.prof-maps-table td:nth-child(1) {
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prof-maps-table th:nth-child(2),
.prof-maps-table td:nth-child(2) {
  text-align: center;
}

.prof-maps-table th:nth-child(3),
.prof-maps-table th:nth-child(4),
.prof-maps-table th:nth-child(5),
.prof-maps-table td:nth-child(3),
.prof-maps-table td:nth-child(4),
.prof-maps-table td:nth-child(5) {
  text-align: right;
}

.prof-maps-table td {
  color: #bebebe;
  white-space: nowrap;
}

.prof-maps-table td:nth-child(1) {
  color: #BEBEBE;
  font-weight: 600;
}

.prof-maps-table td:last-child {
  color: #BEBEBE;
  font-weight: 600;
}

.prof-ach-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prof-ach-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #424242;
}

.prof-ach-list li:last-child {
  border-bottom: none;
}

.prof-ach-trophy {
  --prof-trophy-mask: url('../league/figma/icon-trophy-outline-mask.png');
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  display: block;
  background-color: #bebebe;
  -webkit-mask-image: var(--prof-trophy-mask);
  mask-image: var(--prof-trophy-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.prof-ach-trophy--gold {
  background-color: #e8b84a;
}

.prof-ach-trophy--silver {
  background-color: #c4c4c4;
}

.prof-ach-trophy--bronze {
  background-color: #c98a4b;
}

.prof-ach-trophy--muted {
  background-color: #424242;
}

.prof-ach-place {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #BEBEBE;
  margin-bottom: 4px;
}

.prof-ach-event {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  color: #424242;
}

/* —— Нижний ряд —— */
.prof-overview-bottom {
  display: grid;
  grid-template-columns: 273px minmax(0, 1fr) 366px;
  gap: 16px;
}

@media (max-width: 1200px) {
  .prof-overview-bottom {
    grid-template-columns: 1fr;
  }
}

.prof-panel--short {
  min-height: 221px;
}

.prof-bests-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prof-bests-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  color: #bebebe;
}

.prof-bests-list strong {
  color: #007315;
  font-size: 14px;
  font-weight: 600;
}

.prof-form-chart {
  position: relative;
  height: 140px;
  margin-top: 8px;
  padding-left: 36px;
  padding-bottom: 24px;
}

.prof-form-chart__y {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: #424242;
  width: 28px;
}

.prof-form-chart__plot {
  position: relative;
  height: 100%;
  border-left: 1px solid #424242;
  border-bottom: 1px solid #424242;
}

.prof-form-chart__line {
  position: absolute;
  inset: 8px 8px 0 0;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.prof-form-chart__x {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  padding-left: 36px;
  font-size: 10px;
  color: #424242;
}

.prof-form-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #424242;
}

.prof-form-legend span::before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 2px;
  background: #007315;
  margin-right: 6px;
  vertical-align: middle;
}

.prof-tour-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prof-tour-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 85px minmax(72px, auto);
  gap: 8px 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #424242;
  font-family: 'Exo 2', sans-serif;
}

.prof-tour-item:last-child {
  border-bottom: none;
}

.prof-tour-item__name {
  font-size: 14px;
  font-weight: 600;
  color: #BEBEBE;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prof-tour-slot {
  display: flex;
  justify-content: center;
  min-width: 85px;
}

.prof-tour-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 85px;
  height: 21px;
  padding: 0 8px;
  border-radius: 3.6px;
  border: 1px solid #424242;
  background: transparent;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  text-transform: lowercase;
  color: #424242;
  white-space: nowrap;
}

.prof-tour-pill--gold {
  border-color: #eab34f;
  color: #eab34f;
}

.prof-tour-pill--silver {
  border-color: #bebebe;
  color: #bebebe;
}

.prof-tour-pill--bronze {
  border-color: #c98a4b;
  color: #c98a4b;
}

.prof-tour-pill--open,
.prof-tour-pill--muted {
  border-color: #424242;
  color: #424242;
}

.prof-tour-pill--live {
  border-color: #007315;
  color: #007315;
}

.prof-tour-item__date {
  font-size: 11.5px;
  font-weight: 600;
  color: #424242;
  white-space: nowrap;
  text-align: right;
  font-style: normal;
}

/* —— Общие карточки (другие вкладки) —— */
.prof-card {
  background: #000;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius);
  padding: 22px;
}

.prof-card__title {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #424242;
  margin-bottom: 18px;
}

.prof-empty {
  text-align: center;
  color: #424242;
  font-size: 13px;
  padding: 24px 12px;
}

.prof-grid2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  margin-bottom: 20px;
}

.prof-grid-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .prof-grid2,
  .prof-grid-bottom {
    grid-template-columns: 1fr;
  }
}

.prof-statbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #424242;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.prof-statbar__cell {
  background: #000;
  padding: 22px 16px;
  text-align: center;
}

.prof-statbar__label {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #424242;
  margin-bottom: 8px;
}

.prof-statbar__val {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #BEBEBE;
}

.prof-statbar--kda {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}

.prof-match-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #424242;
  text-decoration: none;
  color: inherit;
}

.prof-match-row:last-child {
  border-bottom: none;
}

.prof-match-vs {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ddd;
}

.prof-match-res--win {
  color: #007315;
}

.prof-match-res--loss {
  color: #424242;
}

.prof-match-arr {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.prof-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  padding: 10px 18px;
  border: 1px solid #02b122;
  border-radius: 6px;
  background: rgba(2, 177, 34, 0.1);
  color: #bebebe;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  box-sizing: border-box;
}

.prof-btn:hover {
  background: rgba(2, 177, 34, 0.2);
  border-color: #17e105;
  color: #bebebe;
}

.prof-btn--solid,
.prof-btn--primary {
  background: rgba(2, 177, 34, 0.14);
  border-color: #02b122;
  color: #bebebe;
}

.prof-btn--solid:hover,
.prof-btn--primary:hover {
  background: rgba(2, 177, 34, 0.24);
  border-color: #17e105;
  color: #bebebe;
}

.prof-btn--ghost {
  background: transparent;
  border-color: #424242;
  color: #6c6c6c;
}

.prof-btn--ghost:hover {
  border-color: #02b122;
  color: #bebebe;
  background: rgba(2, 177, 34, 0.08);
}

.prof-btn--danger {
  background: rgba(244, 63, 94, 0.12);
  border-color: #f43f5e;
  color: #bebebe;
}

.prof-btn--danger:hover {
  background: rgba(244, 63, 94, 0.22);
  border-color: #fb7185;
  color: #bebebe;
}

.prof-team-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.prof-team-logo {
  width: 72px;
  height: 72px;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prof-team-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.prof-logout-btn {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(190, 190, 190, 0.72);
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.prof-statbar--hero .prof-statbar__label {
  text-transform: uppercase;
  font-size: 14px;;
}

.prof-team-meta,
.prof-team-invite,
.prof-team-actions,
.prof-roster-row,
.prof-settings,
.prof-settings__block,
.prof-form-label,
.prof-input,
.prof-textarea,
.place-pill,
.prof-ach-item,
.prof-tour-row,
.prof-section-title {
  font-family: 'Exo 2', 'Exo 2', sans-serif;
}

.prof-roster-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #424242;
}

.prof-roster-row:last-child {
  border-bottom: none;
}

.prof-form-label {
  display: block;
  color: #424242;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.prof-input,
.prof-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #424242;
  background: #000;
  color: #bebebe;
  border-radius: var(--prof-frame-radius-sm);
  font-size: 14px;
  box-sizing: border-box;
  font-family: 'Exo 2', sans-serif;
  transition: border-color 0.2s;
}

.prof-input:focus,
.prof-textarea:focus {
  outline: none;
  border-color: #02b122;
}

.prof-textarea {
  resize: vertical;
  min-height: 100px;
}

.place-pill {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid #424242;
  border-radius: var(--prof-frame-radius-sm);
  color: #bebebe;
}

.place-pill--gold {
  border-color: #007315;
  color: #007315;
}

/* —— Настройки профиля (в стиле дашборда) —— */
.prof-settings {
  padding: 24px 26px 28px;
}

.prof-settings__lead {
  margin: -10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6c6c6c;
  max-width: 52rem;
}

.prof-settings__block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #424242;
}

.prof-settings__block:first-of-type {
  margin-top: 22px;
  padding-top: 0;
  border-top: none;
}

.prof-settings__block-title {
  margin: 0 0 20px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #424242;
}

.prof-settings__avatar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.prof-settings__avatar-preview {
  width: 96px;
  height: 96px;
  border: 1px solid #424242;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  flex-shrink: 0;
}

.prof-settings__avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-settings__avatar-title {
  margin: 0 0 6px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bebebe;
}

.prof-settings__avatar-hint {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #6c6c6c;
  max-width: 28rem;
}

.prof-settings__avatar-file {
  display: inline-flex;
  cursor: pointer;
}

.prof-settings__avatar-file input {
  display: none;
}

.prof-settings__avatar-filename {
  margin-left: 12px;
  font-size: 12px;
  color: #6c6c6c;
}

.prof-settings__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 24px;
}

.prof-settings__field--full {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .prof-settings__fields {
    grid-template-columns: 1fr;
  }
}

.prof-settings__preview-banner,
.prof-settings__faceit-banner {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.prof-settings__preview-banner,
.prof-settings__faceit-banner--ok {
  border: 1px solid rgba(23, 225, 5, 0.35);
  background: rgba(23, 225, 5, 0.06);
  color: #17e105;
}

.prof-settings__faceit-banner--err {
  border: 1px solid rgba(255, 92, 92, 0.45);
  background: rgba(255, 92, 92, 0.08);
  color: #ff8a8a;
}

.prof-settings__connect {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .prof-settings__connect {
    grid-template-columns: 1fr;
  }
}

.prof-settings__connect-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 100%;
  padding: 18px 18px 16px;
  border: 1px solid #424242;
  border-radius: 10px;
  background: #000;
  box-sizing: border-box;
}

.prof-settings__connect-name {
  margin: 0 0 10px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #bebebe;
}

.prof-settings__status {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #6c6c6c;
}

.prof-settings__status--ok {
  color: #17e105;
  font-weight: 600;
}

.prof-settings__status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prof-settings__hint {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.45;
  color: #6c6c6c;
  flex: 1;
}

.prof-settings__hint--faceit-flow {
  color: #f0c96a;
  border-left: 2px solid rgba(240, 201, 106, 0.55);
  padding-left: 10px;
}

.prof-faceit-fallback {
  margin-top: 14px;
}

.prof-faceit-fallback__summary {
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  color: #888;
  list-style: none;
}

.prof-faceit-fallback__summary::-webkit-details-marker {
  display: none;
}

.prof-faceit-nick-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.prof-faceit-nick-form__input {
  flex: 1 1 160px;
  min-width: 0;
  max-width: 220px;
}

.prof-settings__hint--locked {
  margin-bottom: 0;
  color: #424242;
  font-size: 11px;
}

.prof-settings__connect-card .prof-btn {
  margin-top: auto;
}

.prof-faceit-bound {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
  flex: 1;
}

.prof-faceit-bound__nick {
  font-family: 'Exo 2', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
  word-break: break-word;
}

.prof-faceit-bound__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.prof-faceit-bound__elo {
  font-family: 'Russo One', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: #17e105;
}

.prof-faceit-bound__elo-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6c6c6c;
}

.prof-faceit-bound__level {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bebebe;
  padding: 4px 8px;
  border: 1px solid #424242;
  border-radius: 4px;
}

.prof-settings__submit {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.prof-settings__note {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #6c6c6c;
  max-width: 40rem;
}

.prof-settings__logout {
  margin-top: 4px;
}
