/* NOTW v63 · one authoritative card system. Older v60/v61/v62 rules are NOT loaded. */
html body.notw-universe .teams-hub-page {
  --notw-card-width:274px;
  --notw-photo-size:342px;
  --notw-footer-height:98px;
  --notw-card-height:calc(var(--notw-photo-size) + var(--notw-footer-height));
  --notw-card-role:#adb6c4;
}
/* Uniform card width, height and border; never stretch to fill tall rows. */
html body.notw-universe .teams-hub-page :is(
  #founders .staff-person,
  #moderation .staff-person,
  #notwLeadershipGrid .notw-v56-leader-single,
  .notw-v53-cards .notw-v53-card,
  .notw-v57-hc-roster .notw-v57-hc-poster
) {
  display:flex!important;flex-direction:column!important;
  flex:0 0 var(--notw-card-width)!important;
  box-sizing:border-box!important;
  width:var(--notw-card-width)!important;min-width:var(--notw-card-width)!important;max-width:var(--notw-card-width)!important;
  height:var(--notw-card-height)!important;min-height:var(--notw-card-height)!important;max-height:var(--notw-card-height)!important;
  overflow:hidden!important;border:1px solid rgba(95,177,255,.40)!important;border-radius:12px!important;
  background:none!important;background-image:none!important;box-shadow:none!important;
  margin:0!important;padding:0!important;
}
/* Portraits use their native vertical ratio; the full source image remains visible. */
html body.notw-universe .teams-hub-page :is(
  #founders .staff-media,#moderation .staff-media,
  #notwLeadershipGrid .notw-v56-leader-image,
  #notwLeadershipGrid .notw-v56-hc-photo,
  .notw-v53-card .notw-v53-photo,
  .notw-v57-hc-poster .notw-v57-hc-poster-media
) {
  box-sizing:border-box!important;display:block!important;position:relative!important;
  flex:0 0 var(--notw-photo-size)!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:var(--notw-photo-size)!important;min-height:var(--notw-photo-size)!important;max-height:var(--notw-photo-size)!important;
  aspect-ratio:auto!important;overflow:hidden!important;margin:0!important;padding:0!important;
  border:0!important;background:none!important;background-image:none!important;
}
html body.notw-universe .teams-hub-page :is(
  #founders .staff-media img,#moderation .staff-media img,
  #notwLeadershipGrid .notw-v56-leader-image img,
  #notwLeadershipGrid .notw-v56-hc-photo img,
  .notw-v53-card .notw-v53-photo img,
  .notw-v57-hc-poster .notw-v57-hc-poster-media img
) {
  display:block!important;position:relative!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  opacity:1!important;transform:none!important;filter:none!important;
  background:none!important;
}
/* Full original HC artwork including the printed name and bottom caption is now preserved. */
/* No tinted square, halo overlay or pseudo layer behind the HC-leadership photos. */
html body.notw-universe .teams-hub-page :is(
  #notwLeadershipGrid .notw-v56-hc-unit,
  #notwLeadershipGrid .notw-v56-hc-member,
  #notwLeadershipGrid .notw-v56-hc-duo,
  #notwLeadershipGrid .notw-v56-hc-footer,
  #notwLeadershipGrid .notw-v56-hc-names,
  #notwLeadershipGrid .notw-v56-hc-name,
  #notwLeadershipGrid .notw-v56-hc-photo,
  #notwLeadershipGrid .notw-v56-leader-image,
  #notwLeadershipGrid .notw-v56-leader-footer
){background:none!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.notw-universe .teams-hub-page :is(
  #notwLeadershipGrid .notw-v56-hc-photo,
  #notwLeadershipGrid .notw-v56-leader-image,
  .notw-v57-hc-poster .notw-v57-hc-poster-media
)::after {content:none!important;display:none!important;background:none!important}
html body.notw-universe .teams-hub-page :is(
  #notwLeadershipGrid .notw-v56-hc-unit,
  #notwLeadershipGrid .notw-v56-hc-member
)::before,
html body.notw-universe .teams-hub-page :is(
  #notwLeadershipGrid .notw-v56-hc-unit,
  #notwLeadershipGrid .notw-v56-hc-member
)::after{content:none!important;display:none!important;background:none!important}
/* Uniform footer: truly see-through and shorter to eliminate dead space. */
html body.notw-universe .teams-hub-page :is(
  #founders .staff-person-meta,#moderation .staff-person-meta,
  #notwLeadershipGrid .notw-v56-leader-footer,
  #notwLeadershipGrid .notw-v56-hc-footer,
  .notw-v53-card .notw-v53-person,
  .notw-v57-hc-poster .notw-v57-hc-poster-copy
) {
  display:flex!important;flex-direction:column!important;
  box-sizing:border-box!important;flex:0 0 var(--notw-footer-height)!important;
  width:100%!important;min-width:0!important;
  height:var(--notw-footer-height)!important;min-height:var(--notw-footer-height)!important;max-height:var(--notw-footer-height)!important;
  padding:9px 12px!important;margin:0!important;gap:3px!important;
  overflow:hidden!important;background:none!important;background-image:none!important;
  background-color:transparent!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
/* Typography and greys identical in Founders, Staff, Leadership, HC and Warzone. */
html body.notw-universe .teams-hub-page :is(
  #founders .staff-person-meta small,#moderation .staff-person-meta small,
  #notwLeadershipGrid .notw-v56-role-label,
  .notw-v53-person-role,.notw-v57-hc-poster-role
){font-family:Arial,Helvetica,sans-serif!important;font-size:10px!important;line-height:1.3!important;
  letter-spacing:.1em!important;font-weight:800!important;text-transform:uppercase!important;
  color:var(--notw-card-role)!important;margin:0!important}
html body.notw-universe .teams-hub-page :is(
  #founders .staff-person-meta h3,#moderation .staff-person-meta h3,
  #notwLeadershipGrid .notw-v56-leader-footer strong,
  #notwLeadershipGrid .notw-v56-hc-name strong,
  .notw-v53-person h4,.notw-v57-hc-poster-name
){font-family:'Arial Black',Arial,Helvetica,sans-serif!important;
  font-size:clamp(18px,1.65vw,24px)!important;line-height:1.08!important;
  letter-spacing:-.028em!important;font-weight:900!important;
  color:#f4f8ff!important;margin:1px 0 0!important;overflow-wrap:anywhere!important}
/* Shared HC duo: two portrait images, one transparent footer, as tall as other cards. */
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-unit{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  flex:0 0 calc(var(--notw-card-width) * 2)!important;
  width:calc(var(--notw-card-width) * 2)!important;min-width:calc(var(--notw-card-width) * 2)!important;
  max-width:calc(var(--notw-card-width) * 2)!important;
  height:var(--notw-card-height)!important;min-height:var(--notw-card-height)!important;max-height:var(--notw-card-height)!important;
  padding:0!important;overflow:hidden!important;background:none!important;
  border:1px solid rgba(95,177,255,.45)!important;border-radius:12px!important;
}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-duo{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;flex:0 0 var(--notw-photo-size)!important;
  height:var(--notw-photo-size)!important;min-height:var(--notw-photo-size)!important;max-height:var(--notw-photo-size)!important;
  background:none!important;gap:0!important;
}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-member{min-width:0!important;height:var(--notw-photo-size)!important;border:0!important;background:none!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-member+.notw-v56-hc-member{border-left:1px solid rgba(95,177,255,.25)!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-footer{align-items:stretch!important;text-align:center!important;border-top:1px solid rgba(95,177,255,.24)!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-names{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:0!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-name{min-width:0!important;padding:0 5px!important;border:0!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-name+.notw-v56-hc-name{border-left:1px solid rgba(95,177,255,.19)!important}
/* All grids use the same card sizes and don't stretch their children. */
html body.notw-universe .teams-hub-page :is(
  #founders .staff-rail,#moderation .staff-rail,
  #notwLeadershipGrid,.notw-v53-cards,.notw-v57-hc-roster
){display:flex!important;flex-flow:row wrap!important;justify-content:center!important;
  align-items:flex-start!important;gap:18px!important;overflow:visible!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid{max-width:calc(var(--notw-card-width) * 3 + 36px)!important;margin-inline:auto!important}
html body.notw-universe .teams-hub-page .notw-v53-squad{max-width:calc(var(--notw-card-width) * 3 + 36px)!important;margin-inline:auto!important}
html body.notw-universe .teams-hub-page .notw-v53-squad-heading{max-width:100%!important;width:100%!important}
/* Preserve v62 functioning social icons, positioned at bottom of every footer. */
html body.notw-universe .teams-hub-page .person-socials{
  display:flex!important;flex-flow:row wrap!important;align-items:center!important;gap:5px!important;
  position:relative!important;z-index:12!important;width:auto!important;height:auto!important;min-height:0!important;
  max-width:100%!important;margin-top:auto!important;padding:0!important
}
html body.notw-universe .teams-hub-page .person-socials:empty{display:none!important}
html body.notw-universe .teams-hub-page .person-socials .person-social{
  display:grid!important;place-items:center!important;width:25px!important;min-width:25px!important;
  height:25px!important;border-radius:50%!important;background:rgba(69,122,190,.08)!important;
  border:1px solid rgba(150,199,247,.35)!important;color:#dcecff!important;opacity:1!important;
  pointer-events:auto!important
}
html body.notw-universe .teams-hub-page .person-socials .person-social svg{
 width:14px!important;height:14px!important;fill:none;stroke:currentColor;
 stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;
}
html body.notw-universe .teams-hub-page .notw-v61-card-actions{
  width:100%!important;margin-top:auto!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;flex-wrap:wrap!important;gap:4px!important
}
html body.notw-universe .teams-hub-page .notw-v61-card-actions .person-socials{margin:0!important}
html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-name .person-socials{justify-content:center!important}
@media(max-width:720px){
 html body.notw-universe .teams-hub-page{--notw-card-width:min(76vw,274px);--notw-photo-size:calc(var(--notw-card-width) * 1.24818)}
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-unit{
  min-width:0!important;max-width:100%!important;width:min(100%,calc(var(--notw-card-width)*2))!important;
  flex-basis:min(100%,calc(var(--notw-card-width)*2))!important
 }
}
@media(max-width:470px){
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-unit{
  height:auto!important;min-height:0!important;max-height:none!important;
  width:var(--notw-card-width)!important;max-width:var(--notw-card-width)!important;
  flex-basis:var(--notw-card-width)!important
 }
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-duo{
  height:auto!important;min-height:0!important;max-height:none!important;
  display:grid!important;grid-template-columns:1fr!important;flex-basis:auto!important
 }
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-member{
  height:var(--notw-photo-size)!important;border:0!important
 }
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-photo{height:var(--notw-photo-size)!important}
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-footer{
  height:auto!important;min-height:var(--notw-footer-height)!important;max-height:none!important;flex-basis:auto!important
 }
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-names{grid-template-columns:1fr!important}
 html body.notw-universe .teams-hub-page #notwLeadershipGrid .notw-v56-hc-name+.notw-v56-hc-name{border-left:0!important;border-top:1px solid rgba(95,177,255,.18)!important;padding-top:5px!important}
}

/* v64: Pro player detail links must be visibly readable and easy to tap. */
html body.notw-universe .teams-hub-page .notw-v53-person .notw-v53-profile{
 font-size:14px!important;line-height:1.3!important;font-weight:900!important;
 letter-spacing:.015em!important;padding:3px 0!important;
 text-decoration:none!important;color:#a4d5ff!important;
}
html body.notw-universe .teams-hub-page .notw-v53-person .notw-v53-profile:hover{text-decoration:underline!important}
