/* V20.10.28: gacha result typography and stat alignment */
#v20917PackResult .pmc-card-frame .pmc-stats,
.v20919-result-card .pmc-card-frame .pmc-stats{
  gap:.16em!important;
  margin-top:.24em!important;
}
#v20917PackResult .pmc-card-frame .pmc-stat,
.v20919-result-card .pmc-card-frame .pmc-stat{
  grid-template-columns:1.7em minmax(0,1fr) 2.05em!important;
  align-items:center!important;
  column-gap:.18em!important;
}
#v20917PackResult .pmc-card-frame .pmc-stat-label,
.v20919-result-card .pmc-card-frame .pmc-stat-label{
  font-size:.56em!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
}
#v20917PackResult .pmc-card-frame .pmc-stat-track,
.v20919-result-card .pmc-card-frame .pmc-stat-track{
  min-width:0!important;
  height:.58em!important;
}
#v20917PackResult .pmc-card-frame .pmc-stat-value,
.v20919-result-card .pmc-card-frame .pmc-stat-value{
  min-width:2.05em!important;
  font-size:.68em!important;
  line-height:1!important;
  letter-spacing:-.02em!important;
  text-align:right!important;
}
#v20917PackResult .pmc-card-frame .pmc-stat-value small,
.v20919-result-card .pmc-card-frame .pmc-stat-value small{
  font-size:.88em!important;
}
#v20917PackResult .pmc-card-frame .pmc-name b,
.v20919-result-card .pmc-card-frame .pmc-name b{
  line-height:1!important;
}
#v20917PackResult .pmc-card-frame .pmc-name span,
.v20919-result-card .pmc-card-frame .pmc-name span{
  line-height:1.02!important;
}
.v20919-result-card>b{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  
  
  margin-top:1px!important;
}
.v20919-result-card>span{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  
  
}
@media (max-width:760px){
  #v20917PackResult>h2{font-size:20px!important;line-height:1.14!important;}
  #v20917PackResult>p{font-size:11px!important;line-height:1.22!important;padding:0 6px!important;}
  .v20919-result-card>b{font-size:10px!important;}
  .v20919-result-card>span{font-size:9px!important;}
  #v20917PackResult .pmc-card-frame .pmc-stat-label,
  .v20919-result-card .pmc-card-frame .pmc-stat-label{font-size:.54em!important;}
  #v20917PackResult .pmc-card-frame .pmc-stat-value,
  .v20919-result-card .pmc-card-frame .pmc-stat-value{font-size:.64em!important;}
}


/* ===== integrated source: v20-10-30-goldenglove-label-hotfix ===== */
@media(max-width:760px){
  /* Small collection/gacha cards already have the top GOLD GLOVE ribbon.
     Hide the second internal type tag on mobile to prevent overlap. */
  #collectionGrid .pmc-card-frame.pmc-type-goldenglove .pmc-type-tag,
  #gachaResults .pmc-card-frame.pmc-type-goldenglove .pmc-type-tag,
  .v145-dex-grid .pmc-card-frame.pmc-type-goldenglove .pmc-type-tag,
  #v20917PackResult .pmc-card-frame.pmc-type-goldenglove .pmc-type-tag,
  .v20919-result-card .pmc-card-frame.pmc-type-goldenglove .pmc-type-tag{
    display:none!important;
  }
  
}


/* ===== integrated source: v20-10-31-goldenglove-ribbon-teammark-hotfix ===== */
@media(max-width:760px){
  /* Compact Gold Glove cards: slightly reduce ribbon typography so it clears the position block more comfortably. */
  #collectionGrid .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon,
  #gachaResults .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon,
  .v145-dex-grid .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon,
  #v20917PackResult .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon,
  .v20919-result-card .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon{
    left:8%!important;right:8%!important;
  }
  #collectionGrid .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon::after,
  #gachaResults .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon::after,
  .v145-dex-grid .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon::after,
  #v20917PackResult .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon::after,
  .v20919-result-card .pmc-card-frame.pmc-type-goldenglove .pmc-type-ribbon::after{
    font-size:6.4px!important;
    letter-spacing:.02em!important;
  }

  /* Player detail: slightly shrink the team emblem so the emblem block feels cleaner on mobile. */
  #v2097PlayerBody .pmc-emblem{
    font-size:1.26em!important;
    padding:.26em!important;
  }
  #v2097PlayerBody .pmc-emblem-mark{
    max-width:3.30em!important;
    border-width:.11em!important;
  }
  #v2097PlayerBody .pmc-emblem-mark b{
    font-size:.90em!important;
    letter-spacing:-.03em!important;
  }
  #v2097PlayerBody .pmc-emblem-mark small{
    margin-top:.12em!important;
    font-size:.29em!important;
    letter-spacing:.10em!important;
  }
}
