/* Elbrus squad: preserve full reference layout without overlapping text and players. */
@media (min-width: 901px) {
  body.elbrus-squad-real-style-page .el-squad-real,
  body.elbrus-squad-real-style-page .el-squad-real__inner {
    min-height: max(760px, calc(100svh - 90px));
  }
  .el-squad-real__info {
    top: 165px !important;
    left: clamp(24px, 2.2vw, 44px) !important;
    max-width: min(48%, 770px) !important;
    max-height: 350px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
  }
  .el-squad-real__name {font-size:clamp(29px, 2.8vw, 53px) !important;line-height:1.02 !important;}
  .el-squad-real__summary {font-size:clamp(16px, 1.3vw, 23px) !important;line-height:1.27 !important;}
  .el-squad-real__bio {font-size:clamp(13px, .96vw, 18px) !important;line-height:1.33 !important;}
  .el-squad-real__meta {margin:12px 0 9px !important;font-size:17px !important;}
  .el-squad-real__number {min-width:46px !important;height:46px !important;font-size:22px !important;}
  .el-squad-real__lineup {
    left: 22px !important;
    right: max(43%, 520px) !important;
    height: clamp(145px, 21vh, 205px) !important;
    gap: clamp(5px, 1vw, 20px) !important;
    bottom: 2px !important;
    justify-content:flex-start !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width:none;
  }
  .el-squad-real__lineup::-webkit-scrollbar{display:none}
  .el-squad-real__thumb {width:clamp(76px, 6.2vw, 112px) !important;flex:0 0 clamp(76px,6.2vw,112px) !important;}
  .el-squad-real__thumb img {max-height:clamp(145px,21vh,205px) !important;object-fit:contain;object-position:bottom;}
  .el-squad-real__stage {
    width:clamp(410px, 41vw, 680px) !important;
    right: min(8vw, 115px) !important;
    height: min(77vh, 760px) !important;
  }
  .el-squad-real__swipe-hint {display:none !important;}
}
/* Strict one-way transition: enter from left, exit to right. */
.el-squad-real__stage{overflow:visible !important;}
.el-squad-real__player-large {
  opacity:0 !important;
  transform:translate3d(-90%, 0, 0) scale(.91) !important;
  transform-origin:right bottom !important;
  transition: transform 650ms cubic-bezier(.22,.68,.12,1),opacity 390ms ease !important;
  will-change:transform,opacity;
  pointer-events:none;
  z-index:1;
}
.el-squad-real__player-large.is-active {
  opacity:1 !important;
  transform:translate3d(0,0,0) scale(1) !important;
  z-index:3;
}
.el-squad-real__player-large.is-exiting {
  opacity:0 !important;
  transform:translate3d(110%,0,0) scale(.93) !important;
  z-index:4;
}
.el-squad-real__player-large.is-pre-enter {
  opacity:0 !important;
  transform:translate3d(-90%,0,0) scale(.91) !important;
  transition:none !important;
  z-index:2;
}
@media (max-width:900px) {
  .el-squad-real__info {max-height:none !important;overflow:visible !important;}
  .el-squad-real__lineup {height:170px !important;bottom:0 !important;}
  .el-squad-real__thumb {width:80px !important;flex-basis:80px !important;}
  .el-squad-real__thumb img {max-height:170px !important;object-fit:contain !important;object-position:bottom;}
  .el-squad-real__stage {height:350px !important;}
  .el-squad-real__inner {padding-bottom:180px !important;}
  .el-squad-real__swipe-hint {display:none !important;}
}
@media (prefers-reduced-motion:reduce) {
  .el-squad-real__player-large {transition-duration:0.01ms !important;}
}
