
/* HOME-V11F1-CORRECTIVE */


/* =========================================================
   1. NO ROW MOVEMENT
   ========================================================= */

#tab-home .home-run-row-v3,
#tab-home .home-run-row-v3:hover,

#tab-home .home-jump-row-v11f,
#tab-home .home-jump-row-v11f:hover,

#tab-home .home-leader-row-v3,
#tab-home .home-leader-row-v3:hover{
  transform:none!important;
}


#tab-home .home-run-row-v3,
#tab-home .home-jump-row-v11f,
#tab-home .home-leader-row-v3{
  transition:
    background .14s ease,
    border-color .14s ease,
    opacity .14s ease!important;
}


/* =========================================================
   2. JUMP TYPE — FULL NAME, NO BIG BOX
   ========================================================= */

#tab-home .home-jump-kind-v11f1{
  min-width:96px;
  max-width:112px;

  flex:
    0 0 96px;

  display:flex;

  align-items:center;

  gap:7px;

  color:#8c98a2;

  font-family:
    'Inter',
    system-ui,
    sans-serif;

  font-size:10px;
  font-weight:650;

  line-height:1.2;

  white-space:nowrap;
}


#tab-home .home-jump-kind-dot-v11f1{
  width:5px;
  height:5px;

  flex:
    0 0 5px;

  border-radius:50%;

  background:currentColor;

  box-shadow:
    0 0 7px currentColor;

  opacity:.85;
}


#tab-home .home-jump-kind-v11f1.jump-tone-lj{
  color:#6fb8dd;
}


#tab-home .home-jump-kind-v11f1.jump-tone-cj{
  color:#b39bd9;
}


#tab-home .home-jump-kind-v11f1.jump-tone-wj{
  color:#d1a06f;
}


#tab-home .home-jump-kind-v11f1.jump-tone-bhop{
  color:#82b99f;
}


#tab-home .home-jump-kind-v11f1.jump-tone-duck{
  color:#97aad1;
}


#tab-home .home-jump-kind-v11f1.jump-tone-ladder{
  color:#76b8b6;
}


#tab-home .home-jump-kind-v11f1.jump-tone-up{
  color:#c2aa70;
}


/* =========================================================
   3 + 4. PLAYER NAME SIZE + REAL ROLE/VIP GLOW
   ========================================================= */

#tab-home
.home-run-row-v3
.home-player-link-v3,

#tab-home
.home-jump-row-v11f
.home-player-link-v3,

#tab-home
.home-leader-row-v3
.home-player-link-v3{
  font-size:13px!important;
  line-height:1.2!important;
}


#tab-home
.home-run-row-v3
.home-player-link-v3
>
span:first-child,

#tab-home
.home-jump-row-v11f
.home-player-link-v3
>
span:first-child,

#tab-home
.home-leader-row-v3
.home-player-link-v3
>
span:first-child{
  font-size:13px!important;
  line-height:1.2!important;
}


/*
 * The class is set only for a role/VIP that is supposed
 * to glow. This makes the canonical effect visible even
 * when older Home CSS contains text-shadow:none.
 */

#tab-home
.home-player-link-v3.is-glow
>
span:first-child{
  text-shadow:
    0 0 4px currentColor!important;
}


/* =========================================================
   5. RESTORE LEADERS GEOMETRY FROM PRE-V11F
   ========================================================= */

#tab-home .home-leader-row-v3{
  height:57px!important;
  min-height:57px!important;

  padding:
    8px 2px!important;

  grid-template-columns:
    24px minmax(0,1fr) auto!important;

  gap:8px!important;
}


/*
 * POINTS and LEVEL deliberately receive no V11F.1
 * metric override. Their canonical helpers:
 *
 *   pointsBadge()
 *   levelBadge()
 *
 * own the styling again.
 */


/* =========================================================
   6. ELO STYLE IS THE METRIC REFERENCE
   ========================================================= */

/*
 * RUN TIME and jump distance now literally use the existing
 * home-elo-metric-v1 component instead of imitating it.
 */

#tab-home
.home-elo-metric-v1.home-home-metric-v11f1{
  min-width:72px;
}


#tab-home
.home-elo-metric-v1.home-jump-distance-v11f1{
  min-width:74px;
}


/* old dark V11F metric is not used anymore */

#tab-home .home-metric-pill-v11f{
  box-shadow:none;
}


/* =========================================================
   7. KILL THE OLD #1 RECTANGLE AT THE SOURCE
   ========================================================= */

/*
 * Older CSS uses:
 *
 * .home-leader-row-v3[data-home-rank="1"] > div:first-child
 *
 * and adds a background + border to rank #1.
 * Same selector path, later in cascade, removes it.
 */

#tab-home
.home-leader-row-v3[data-home-rank="1"]
>
div:first-child,

#tab-home
.home-leader-row-v3[data-home-rank="2"]
>
div:first-child,

#tab-home
.home-leader-row-v3[data-home-rank="3"]
>
div:first-child{
  width:24px!important;
  min-width:24px!important;

  height:auto!important;

  margin:0!important;
  padding:0!important;

  border:0!important;
  outline:0!important;

  border-radius:0!important;

  background:
    transparent!important;

  background-color:
    transparent!important;

  background-image:
    none!important;

  box-shadow:
    none!important;

  filter:none!important;
}


/*
 * Keep podium text colour only.
 */

#tab-home
.home-leader-row-v3[data-home-rank="1"]
>
div:first-child{
  color:#d4b15c!important;
}


#tab-home
.home-leader-row-v3[data-home-rank="2"]
>
div:first-child{
  color:#b2bbc2!important;
}


#tab-home
.home-leader-row-v3[data-home-rank="3"]
>
div:first-child{
  color:#ad7955!important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:760px){

  #tab-home .home-jump-kind-v11f1{
    min-width:78px;
    max-width:88px;

    flex-basis:78px;

    gap:6px;

    font-size:9px;
  }


  #tab-home
  .home-run-row-v3
  .home-player-link-v3,

  #tab-home
  .home-jump-row-v11f
  .home-player-link-v3,

  #tab-home
  .home-leader-row-v3
  .home-player-link-v3,

  #tab-home
  .home-run-row-v3
  .home-player-link-v3
  >
  span:first-child,

  #tab-home
  .home-jump-row-v11f
  .home-player-link-v3
  >
  span:first-child,

  #tab-home
  .home-leader-row-v3
  .home-player-link-v3
  >
  span:first-child{
    font-size:12px!important;
  }


  #tab-home
  .home-elo-metric-v1.home-home-metric-v11f1,

  #tab-home
  .home-elo-metric-v1.home-jump-distance-v11f1{
    min-width:62px;
  }

}

