/* Methstreams Template 2 v2.0.11 — all league hub pages.
 * A single consistent presentation for /nba/, /pba/, /mpbl/, /fiba/,
 * /wnba/, /uaap/, /nbl/, /euroleague/ and any other Core league hub.
 * Intentionally loaded AFTER the Template 1 league-hub stylesheet.
 * Never touches another WordPress theme, Core matching, API or page routes.
 */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell{
  --msl-panel:#162332;--msl-raised:#1d3042;--msl-tile:#203348;
  --msl-border:#33475a;--msl-title:#f4faff;--msl-copy:#c1d1e0;
  --msl-muted:#a6bbcf;--msl-mint:var(--mt2-accent,#52e6ad);
  background:transparent!important;color:var(--msl-copy)!important;min-height:0!important;min-width:0;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-main{
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:12px 0 18px!important;gap:16px!important;
  container-type:inline-size;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-breadcrumb,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-breadcrumb :is(a,span){color:#a8bdd0!important;font-size:11px}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-breadcrumb a:hover{color:var(--msl-mint)!important}
/* Header is unique to the Methstreams sports cockpit, without the T1 red ring. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero{
  background:linear-gradient(116deg,#183044 0%,#15332f 60%,#164539 100%)!important;
  border:1px solid #3b6d62!important;border-radius:15px!important;
  box-shadow:none!important;padding:28px 30px!important;
  min-height:184px!important;color:#f6fcff!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero::before,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero::after{content:none!important;display:none!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-kicker{
  color:var(--msl-mint)!important;font-size:10px!important;letter-spacing:.12em!important
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero h1{
  max-width:640px;font-size:clamp(25px,3vw,39px)!important;
  line-height:1.12!important;letter-spacing:-.045em!important;margin:8px 0 12px!important;
  color:#fff!important;overflow-wrap:break-word;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-page-intro{
  max-width:660px!important;color:#c6d9e3!important;font-size:13px!important;line-height:1.75!important
}
/* Route destinations and the existing Core league chips remain clickable and crawlable. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-surface-nav{
  gap:8px!important;padding:3px 0 5px!important;scrollbar-width:thin;
  scrollbar-color:#355746 transparent;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-surface-nav>a{
  box-shadow:none!important;background:var(--msl-panel)!important;color:#d2e2ee!important;
  border:1px solid var(--msl-border)!important;min-height:38px;border-radius:9px!important;
  font-size:11px!important;padding:8px 12px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-surface-nav>a:hover,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-surface-nav>a:focus-visible{
  background:#254639!important;color:#dffff0!important;border-color:#58b990!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-competition-nav{
  background:var(--msl-panel)!important;border:1px solid var(--msl-border)!important;
  box-shadow:none!important;border-radius:11px!important;padding:7px!important;gap:5px!important;
  scrollbar-width:thin;scrollbar-color:#345b55 transparent;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-competition-chip{
  background:transparent!important;color:#c6d9e8!important;border:1px solid transparent!important;
  border-radius:8px!important;min-height:40px!important;padding:7px 11px!important;
  font-size:11px!important;white-space:nowrap;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-competition-chip:hover,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-competition-chip:focus-visible{background:#294457!important;color:#fff!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-competition-chip.is-active{
  color:#fff!important;background:#186b51!important;border-color:#439f7d!important;
}
/* Card shells and section headings. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell :is(.nbl-score-card,.nbl-standings-card,.nbl-seo-card,.nbl-about-section,.nbl-faq-section){
  background:var(--msl-panel)!important;color:var(--msl-copy)!important;
  border:1px solid var(--msl-border)!important;border-radius:13px!important;
  box-shadow:none!important;overflow:hidden!important;min-width:0!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-section-title{
  border-bottom:1px solid var(--msl-border)!important;min-height:62px!important;
  padding:17px 19px!important;color:var(--msl-title)!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-section-title strong{
  color:var(--msl-title)!important;font-size:17px!important;letter-spacing:-.02em;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-section-title a{color:var(--msl-mint)!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-section-title svg{
  color:var(--msl-mint)!important;stroke:var(--msl-mint)!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-empty{
  color:#b4c8d7!important;background:transparent!important;padding:26px 16px!important;
  font-size:12px!important;line-height:1.65!important;
}
/* Fixtures: balanced rows that never inherit the original white backgrounds. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-score-card .nbl-date-tabs{
  background:#223346!important;border:1px solid #32475a!important;margin:14px 19px!important;
  border-radius:9px!important;padding:4px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-score-card .nbl-date-tabs button{
  color:#bed0df!important;background:transparent!important;border-radius:7px!important;
  min-height:34px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-score-card .nbl-date-tabs button.is-active{
  background:#24664e!important;color:#fff!important;box-shadow:none!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-group{
  background:transparent!important;color:#e7f3fd!important;border:0!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-group-head{
  color:#e8f4ff!important;background:#1e3043!important;
  border-top:1px solid var(--msl-border)!important;
  border-bottom:1px solid var(--msl-border)!important;
  padding:10px 18px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-group-head strong{color:#fff!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-row{
  background:transparent!important;color:#e5f1fc!important;
  border-bottom:1px solid #304457!important;gap:11px!important;min-height:72px!important;
  padding:12px 18px!important;
  grid-template-columns:90px minmax(0,1fr) 22px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-row:hover,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-row:focus-within{background:#21364a!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-time{color:var(--msl-mint)!important;font-weight:850;font-size:11px!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-time span{color:var(--msl-muted)!important;font-weight:550;font-size:10px!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-team strong{
  color:#f1f8ff!important;font-size:12px!important;white-space:normal!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-team b{color:#f4faff!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-team-logo,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-team-fallback{background:#e7eff4!important;border-radius:50%;object-fit:contain}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-action{color:#9bedd0!important}
/* Standings: high-contrast table with correct row alignment, even in narrow centre columns. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standings-tabs{
  margin:13px 18px!important;background:#213447!important;border-radius:9px!important;
  padding:4px!important;gap:4px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standings-tabs button{
  color:#bbcede!important;background:transparent!important;border-radius:7px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standings-tabs button.is-active{
  background:#24684e!important;color:#fff!important;box-shadow:none!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standings-list{
  background:var(--msl-panel)!important;overflow-x:auto!important;scrollbar-width:thin;
  scrollbar-color:#476173 #1c3042;-webkit-overflow-scrolling:touch;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standing-row{
  display:grid!important;grid-template-columns:34px 30px minmax(150px,1fr) 42px 42px!important;
  min-width:360px!important;gap:10px!important;
  background:transparent!important;color:#eaf4fc!important;
  border-top:1px solid #314355!important;padding:9px 18px!important;min-height:50px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standing-row:not(.nbl-standing-head):hover{
  background:#22384b!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standing-head{
  background:#203345!important;color:#b9cede!important;min-height:40px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standing-row .nbl-standing-team{
  color:#eaf5ff!important;white-space:normal!important;overflow-wrap:break-word;
  line-height:1.35!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standing-team:hover{color:var(--msl-mint)!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standing-number{color:#f4faff!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-standings-note{
  background:transparent!important;color:#acbed0!important;border-top:1px solid var(--msl-border)!important;
  min-width:360px!important;padding:12px 18px!important;
}
/* Players/rosters: two legible columns instead of miniature 3-column cards. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;padding:16px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-card{
  display:grid!important;grid-template-columns:45px minmax(0,1fr) auto!important;
  background:#1b2d3f!important;border:1px solid #34475b!important;
  color:#eef8ff!important;border-radius:10px!important;padding:11px!important;
  min-height:76px!important;box-shadow:none!important;gap:9px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-card:hover:not(.is-static),
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-card:focus-visible{
  background:#294558!important;border-color:#4f997e!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-card>img,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-fallback{
  background:#2d4558!important;color:#e5f8ff!important;
  border-radius:9px!important;object-fit:cover;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-copy strong{
  color:#f4fbff!important;font-size:12px!important;white-space:normal!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-copy :is(small,em){color:#b2c8db!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-status{
  color:#91e2c5!important;font-weight:750!important;font-size:10px!important;
}
/* Results: dark compact journal rather than Template 1's white tiles. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;padding:16px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid>a{
  display:flex!important;flex-direction:column;justify-content:center;gap:4px;
  min-height:81px!important;background:#1c2d40!important;
  border:1px solid #35495d!important;border-radius:10px!important;padding:13px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid>a:hover,
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid>a:focus-visible{
  background:#284658!important;border-color:#53a58b!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid strong{
  color:#f0f8ff!important;font-size:12px!important;line-height:1.45!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid small{
  color:#a6c8b9!important;font-size:10px!important;line-height:1.5!important;margin:0!important;
}
/* Legacy guide panels are displayed only when no independent T2 guide exists. */
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-seo-copy{
  color:#c5d4e2!important;background:transparent!important;
  font-size:13px!important;line-height:1.8!important;padding:18px 20px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-seo-copy :is(p,li,span){color:#c5d4e2!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-seo-copy :is(h2,h3,h4,strong){color:#f5faff!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-seo-copy a{color:var(--msl-mint)!important;text-decoration:underline;text-underline-offset:3px}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list{padding:0 20px!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list details{
  border-color:var(--msl-border)!important;background:transparent!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list summary{
  color:#f0f8ff!important;font-size:12px!important;line-height:1.6!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list details>div{
  color:#c1d1e0!important;font-size:12px!important;
}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list summary:hover{color:var(--msl-mint)!important}
body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list summary::marker{color:var(--msl-mint)!important}
/* Template 2 CMS own about/FAQ at full width; no second pair of T1 panels. */
body.nbl-template-2 .mt2-app.mt2-competition-hub>.mt2-layout .mt2-content>.mt2-about{
  background:var(--msl-panel,#162332)!important;border-color:#33475a!important;color:#c5d4e2!important;
}
/* Overflow-safe centre column: use container rather than the viewport width. */
@container (max-width:620px){
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-teams{
    grid-template-columns:minmax(0,1fr)!important;gap:7px!important;
  }
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-row{
    grid-template-columns:70px minmax(0,1fr) 18px!important;min-height:99px!important;padding:11px!important;gap:8px!important;
  }
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-grid,
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-related-game-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero{padding:23px 19px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero h1{font-size:30px!important}
}
@media (max-width:767px){
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-main{padding-top:9px!important;gap:13px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero{padding:23px 18px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-hub-hero h1{font-size:29px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-section-title{padding:14px 15px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-score-card .nbl-date-tabs{margin:11px 12px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-faq-list{padding:0 15px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-seo-copy{padding:14px 15px!important}
}
@media (max-width:380px){
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-match-row{grid-template-columns:59px minmax(0,1fr) 14px!important;gap:6px!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-card{grid-template-columns:40px minmax(0,1fr)!important}
  body.nbl-template-2 .mt2-app .nbl-basketball-hub-shell .nbl-player-list-status{display:none!important}
}

/* v2.0.27: identify the source/scope of the single displayed FIBA standings table. */
.nbl-fiba-standings-scope{margin:10px 0 6px;padding:9px 12px;color:var(--mt2-muted,#aeb9bd);background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);border-radius:8px;font-size:13px;line-height:1.5}
