/* Allstar Galaxy V255 — Team page final PC + phone repair */
html body.page-team{--page-accent:#d52cff;--page-accent-rgb:213,44,255;margin-top:0!important;padding-top:0!important}
html body.page-team .site-shell,html body.page-team .site-top{margin-top:0!important}
html body.page-team .site-top{position:sticky!important;top:0!important;z-index:1000!important;background:#05000b!important;border-bottom:1px solid #d52cff!important}

/* Header parity with the locked homepage. */
html body.page-team .hero-bar{display:grid!important;grid-template-columns:clamp(64px,8vw,108px) minmax(0,1fr) clamp(64px,8vw,108px)!important;align-items:center!important;padding:10px clamp(18px,4vw,54px) 4px!important;gap:12px!important}
html body.page-team .hero-title{height:clamp(70px,7.4vw,105px)!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
html body.page-team .hero-title img{display:block!important;width:100%!important;height:88%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:scaleY(1.08)!important;filter:drop-shadow(0 0 10px rgba(213,44,255,.82))!important}
html body.page-team .hero-logo img,html body.page-team .hero-logo-right img{width:100%!important;max-width:92px!important}
html body.page-team .site-top nav>a,html body.page-team .site-top nav.site-nav-v3>a,html body.page-team .site-top nav.site-nav-v3>.site-search-button-desktop{border:1px solid rgba(213,44,255,.76)!important;color:#fff!important;background:#09070f!important;box-shadow:inset 0 0 0 1px rgba(213,44,255,.05)!important}
html body.page-team .site-top nav>a[href="galaxy-shuffle.html"],html body.page-team .site-top nav>a[href="galaxy-shuffle.html"]:hover,html body.page-team .site-top nav>a[href="galaxy-shuffle.html"]:focus,html body.page-team .site-top nav>a[href="galaxy-shuffle.html"]:active{border-color:rgba(213,44,255,.76)!important;background:#09070f!important;box-shadow:inset 0 0 0 1px rgba(213,44,255,.05)!important;text-shadow:none!important;filter:none!important}
html body.page-team .site-top nav>a.active{border-color:#f19cff!important;background:linear-gradient(180deg,rgba(213,44,255,.82),rgba(77,4,105,.92))!important;color:#fff!important;text-shadow:0 0 7px rgba(244,184,255,.9)!important}
html body.page-team .asg-status-ticker{position:relative!important;z-index:2!important;border-top:2px solid #d52cff!important;border-bottom:2px solid #d52cff!important;background:#05000b!important;box-shadow:0 0 10px rgba(213,44,255,.4)!important}
html body.page-team .asg-status-ticker::before,html body.page-team .asg-status-ticker::after{background:linear-gradient(90deg,transparent,#d52cff,transparent)!important}

/* Hero uses the same responsive frame and indicator behavior as Home. */
html body.page-team .hero-image.hero-team{width:100%!important;height:auto!important;aspect-ratio:16/9!important;min-height:0!important;background-size:cover!important;background-position:center!important;overflow:hidden!important}
html body.page-team .hero-rotation-dots{bottom:24px!important}
html body.page-team .hero-rotation-dots button,html body.page-team .hero-rotation-dots .dot{border-color:#d52cff!important;background:rgba(213,44,255,.12)!important;box-shadow:0 0 5px rgba(213,44,255,.34)!important}
html body.page-team .hero-rotation-dots button.active,html body.page-team .hero-rotation-dots .dot.active{background:#d52cff!important;box-shadow:0 0 8px rgba(213,44,255,.78)!important}

/* Section graphics. */
html body.page-team .roster-title-graphic,html body.page-team .team-stats-title-graphic{display:block!important;width:min(78%,900px)!important;height:auto!important;margin:0 auto!important;filter:none!important;box-shadow:none!important}
html body.page-team .team-stats-graphic-heading span,html body.page-team .team-stats-graphic-heading h2{display:none!important}
html body.page-team .team-stats-graphic-heading p{text-align:center!important;margin:8px auto 22px!important}

/* Roster carousel: one stable transform in resting and hover states. */
html body.page-team .team-roster-carousel{height:clamp(430px,45vw,500px)!important;min-height:430px!important;padding:28px 70px 72px!important;overflow:hidden!important}
html body.page-team .team-roster-carousel .carousel-track{height:100%!important;overflow:visible!important}
html body.page-team .team-roster-carousel .team-card-slide{top:45%!important;filter:brightness(.46) saturate(.7)!important;opacity:.55!important}
html body.page-team .team-roster-carousel .team-card-slide.is-neighbor{filter:brightness(.60) saturate(.82)!important;opacity:.70!important}
html body.page-team .team-roster-carousel .team-card-slide.is-active,
html body.page-team .team-roster-carousel .team-card-slide.is-active:hover,
html body.page-team .team-roster-carousel .team-card-slide.is-active:focus-visible{
  top:45%!important;transform:translate(-50%,-50%) translateX(0) scale(1.20)!important;filter:none!important;opacity:1!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.18),0 0 24px rgba(213,44,255,.86),0 16px 45px rgba(0,0,0,.78)!important;
}
html body.page-team .team-roster-carousel .carousel-dots{bottom:17px!important;z-index:20!important}

/* Front card typography and placement. */
html body.page-team .prototype-player-number,html body.page-team .popup-exact-front-card .prototype-player-number{top:5.3%!important;left:5.6%!important}
html body.page-team .prototype-player-name strong,html body.page-team .popup-exact-front-card .prototype-player-name strong{letter-spacing:.055em!important;text-shadow:0 .035em 0 #9da2aa,0 .085em .09em rgba(0,0,0,.96)!important;filter:none!important}
html body.page-team .prototype-player-name em,html body.page-team .popup-exact-front-card .prototype-player-name em{left:12%!important;right:12%!important;bottom:2.6%!important;height:10.2%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;margin:0!important;padding:0!important}

/* Profile card — isolated fixed zones to prevent overlap or clipping. */
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-number{top:5.0%!important;left:8%!important;width:30%!important;text-align:center!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-position{top:15.0%!important;left:7%!important;width:40%!important;height:6%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-name{top:27.0%!important;left:9%!important;right:9%!important;width:auto!important;height:13.2%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:.25cqw!important;text-align:center!important;overflow:hidden!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-name small{align-self:center!important;letter-spacing:.15em!important;line-height:.95!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-name strong{align-self:center!important;max-width:100%!important;white-space:nowrap!important;letter-spacing:.035em!important;line-height:.82!important;text-shadow:0 .035em 0 #9da2aa,0 .085em .09em rgba(0,0,0,.96)!important;filter:none!important;transform-origin:center!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-values{transform:none!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-values b:nth-child(1){top:43.7%!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-values b:nth-child(2){top:50.5%!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-values b:nth-child(3){top:57.3%!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-values b:nth-child(4){top:64.1%!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-values b:nth-child(5){top:70.9%!important}
html body.page-team .ultimate-profile-card.prototype-profile-frame .prototype-profile-quote{left:13%!important;right:13%!important;top:76.6%!important;height:9.0%!important;margin:0!important;padding:0 2%!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1.08!important;overflow:hidden!important}
html body.page-team .galaxy-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

@media(max-width:700px){
  html body.page-team .hero-bar{grid-template-columns:45px minmax(0,1fr) 44px!important;height:57px!important;min-height:57px!important;padding:1px 8px!important;gap:6px!important;overflow:hidden!important}
  html body.page-team .hero-logo,html body.page-team .hero-logo img{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important}
  html body.page-team .hero-title{height:54px!important;min-height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;transform:translateY(-1px)!important}
  html body.page-team .hero-title img{display:block!important;width:100%!important;height:47px!important;min-height:47px!important;max-height:47px!important;object-fit:fill!important;object-position:center!important;transform:scaleY(1.13)!important;transform-origin:center!important}
  html body.page-team .mobile-search-button{transform:translateX(-3px)!important;border-color:#d52cff!important;box-shadow:0 0 10px rgba(213,44,255,.65)!important}
  html body.page-team .site-top nav,html body.page-team .site-top nav.site-nav-v3{width:calc(100% - 20px)!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;padding:0 0 5px!important;margin:0 auto!important}
  html body.page-team .site-top nav>a,html body.page-team .site-top nav.site-nav-v3>a{width:100%!important;min-width:0!important;height:52px!important;padding:0 3px!important;font-size:clamp(10px,2.5vw,13px)!important}
  html body.page-team .hero-image.hero-team{aspect-ratio:16/9!important;background-size:contain!important;background-repeat:no-repeat!important;background-color:#08000e!important}
  html body.page-team .hero-rotation-dots{bottom:16px!important}
  html body.page-team .roster-title-graphic,html body.page-team .team-stats-title-graphic{width:92%!important}
  html body.page-team .team-roster-carousel{height:clamp(350px,75vw,450px)!important;min-height:350px!important;padding:24px 42px 62px!important}
  html body.page-team .team-roster-carousel .team-card-slide.is-active,
  html body.page-team .team-roster-carousel .team-card-slide.is-active:hover,
  html body.page-team .team-roster-carousel .team-card-slide.is-active:focus-visible{top:45%!important;transform:translate(-50%,-50%) translateX(0) scale(1.08)!important}
  html body.page-team .team-roster-carousel .carousel-dots{bottom:15px!important}
  html body.page-team .galaxy-stats-grid{grid-template-columns:1fr!important}
}
