/* v37 – final scoped corrections: team panels, seamless home nav, readable partners and mobile About. */
/* Remove only large Team/Staff group backgrounds. The portrait cards retain their own surfaces. */
html body.notw-universe .compact-staff .staff-block,
html body.notw-universe .compact-staff #founders,
html body.notw-universe .compact-staff #moderation,
html body.notw-universe .staff-view .staff-block,
html body.notw-universe .staff-view .staff-rail,
html body.notw-universe .staff-view .staff-block-head {
  background:transparent!important;
  background-image:none!important;
  background-color:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
html body.notw-universe .staff-view .staff-block::before,
html body.notw-universe .staff-view .staff-block::after{
  background:none!important;
  box-shadow:none!important;
}
/* The HOME header blends into the same continuous space as the hero; no solid strip or seam. */
html body.notw-universe.home-page {
  background:#040914!important;
  background-image:none!important;
}
html body.notw-universe.home-page .home-only-logo-main,
html body.notw-universe.home-page .home-only-logo-hero {
  background:transparent!important;
  background-image:none!important;
  background-color:transparent!important;
}
html body.notw-universe.home-page .header,
html body.notw-universe.home-page .header .container.nav {
  background:transparent!important;
  background-image:none!important;
  background-color:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
/* Sponsor labels are two clean lines, never cut off by fixed-height cells. */
html body.notw-universe.notw-universe.notw-universe:not(:has(.partner-page-list)) > aside.notw-v15-partners{
  width:386px!important;
  min-width:386px!important;
  max-width:386px!important;
  height:auto!important;
  min-height:147px!important;
  max-height:none!important;
  top:119px!important;
  right:clamp(16px,3vw,48px)!important;
  padding:13px 15px 14px!important;
  overflow:visible!important;
}
html body.notw-universe .notw-v15-partner-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
}
html body.notw-universe .notw-v15-partner{
  box-sizing:border-box!important;
  min-width:0!important;
  width:100%!important;
  height:45px!important;
  min-height:45px!important;
  max-height:none!important;
  padding:5px 8px!important;
  overflow:visible!important;
  line-height:1.13!important;
}
html body.notw-universe .brand-bwa{font-size:11px!important;}
html body.notw-universe .brand-bwa > span:last-child{min-width:0!important;}
html body.notw-universe .brand-dvag{
  font-size:10.8px!important;
  gap:4px!important;
  text-align:center!important;
}
html body.notw-universe .brand-dvag .brand-dvag-copy{
  display:inline-block!important;
  white-space:nowrap!important;
  letter-spacing:-.035em!important;
  line-height:1.05!important;
  max-width:100%!important;
}
html body.notw-universe .brand-dvag-icon{
  flex:0 0 12px!important;
  width:12px!important;
  font-size:13px!important;
}
/* Avoid any partner bar on the full-size partner listing page. */
html body.notw-universe:has(.partner-page-list) .notw-v15-partners{display:none!important;}
@media(max-width:1000px){
  /* The partner panel participates in normal document flow before the page content.
     This fixes About where the heading used to start behind the panel. */
  html body.notw-universe.notw-universe.notw-universe:not(:has(.partner-page-list)) > aside.notw-v15-partners{
    position:relative!important;
    display:block!important;
    top:auto!important;
    bottom:auto!important;
    left:auto!important;
    right:auto!important;
    width:min(390px,calc(100vw - 28px))!important;
    min-width:0!important;
    max-width:390px!important;
    min-height:0!important;
    max-height:none!important;
    padding:13px 14px 14px!important;
    margin:14px auto 16px!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    z-index:5!important;
  }
  html body.notw-universe:not(.home-page) > a.notw-v15-back{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    display:inline-flex!important;
    width:max-content!important;
    margin:0 16px 14px!important;
    float:none!important;
    z-index:6!important;
  }
  html body.notw-universe .notw-v15-partner{height:50px!important;min-height:50px!important;}
  html body.notw-universe .brand-dvag{font-size:10.5px!important;}
  html body.notw-universe:has(.about-org-page) .about-org-page{
    position:relative!important;
    clear:both!important;
    margin-top:10px!important;
  }
  html body.notw-universe:has(.about-org-page) .org-hero,
  html body.notw-universe:has(.about-org-page) .org-hero .container{
    padding-top:max(12px,env(safe-area-inset-top))!important;
  }
}
@media(max-width:380px){
  html body.notw-universe .brand-dvag{font-size:9.1px!important;}
  html body.notw-universe .brand-dvag-icon{display:none!important;}
  html body.notw-universe .brand-bwa{font-size:9.5px!important;}
}
/* Staff page: reserve the right-side corner for the sponsor card; never cover game tabs. */
@media (min-width:1001px){
  html body.notw-universe.notw-universe.notw-universe:has(.teams-hub-page) > aside.notw-v15-partners{
    top:95px!important;
    height:135px!important;
    min-height:135px!important;
    max-height:135px!important;
    padding:10px 13px!important;
  }
  html body.notw-universe:has(.teams-hub-page) .notw-v15-partner-kicker{
    margin-bottom:6px!important;
  }
  html body.notw-universe:has(.teams-hub-page) .notw-v15-partner{
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
  }
}
