/**
 * Methstreams Template 2 v2.0.9 — Teams + Players directory visual closure.
 * Route-scoped to the current Template 2 shell.  Never alters Template 1.
 * Does not affect team/player detail, statistics, snapshots, search or paging.
 */
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell){
  --ms-dir-line:#304457;
  --ms-dir-panel:#182536;
  --ms-dir-raise:#203449;
  --ms-dir-mint:#61eab5;
  --ms-dir-muted:#bdcede;
  color:#edf5fc!important;
}
/* Breadcrumb and compact header — remove the Template 1 red circle. */
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-main{
  padding-top:12px!important;gap:16px!important;min-width:0!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-breadcrumb,
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-breadcrumb :is(a,span){color:#aec1d2!important;font-size:11px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-breadcrumb a:hover{color:var(--ms-dir-mint)!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero{
  display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(245px,.85fr)!important;
  align-items:center!important;gap:20px!important;min-height:206px!important;padding:28px 30px!important;
  background:linear-gradient(119deg,#162d3b 0%,#132b33 52%,#155040 100%)!important;
  border:1px solid #326457!important;border-radius:15px!important;box-shadow:none!important;
  isolation:isolate;overflow:hidden!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero::before,
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero::after{
  content:none!important;display:none!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero .nbl2-eyebrow{
  color:var(--ms-dir-mint)!important;font-size:10px!important;letter-spacing:.13em!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero h1{
  color:#f7fcff!important;max-width:640px!important;font-size:clamp(29px,2.9vw,39px)!important;
  line-height:1.13!important;letter-spacing:-.04em!important;margin:7px 0 12px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero p{
  color:#c8dae7!important;font-size:12px!important;line-height:1.75!important;max-width:490px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-stats{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  min-width:0!important;min-height:102px!important;max-width:100%!important;align-self:center!important;
  background:#173b3e!important;border:1px solid #3b6e63!important;border-radius:12px!important;
  box-shadow:none!important;overflow:hidden!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-stats>div{
  min-width:0!important;align-items:center!important;text-align:center!important;
  padding:16px 8px!important;border-right:1px solid #345e59!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-stats>div:last-child{border-right:0!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-stats b{font-size:clamp(20px,2.5vw,29px)!important;color:#fff!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-stats span{font-size:9px!important;color:#c6e1d8!important;white-space:normal!important}
/* League chips, input/search and pagination: dark, no white/gray mismatches. */
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-league-wrap{
  padding:8px!important;background:#192838!important;border:1px solid var(--ms-dir-line)!important;
  box-shadow:none!important;border-radius:12px!important;margin:0!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-leagues{scrollbar-width:thin;scrollbar-color:#567768 #192838;gap:7px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-league{
  color:#d4e4f0!important;background:#1d3042!important;border:1px solid #30495b!important;
  border-radius:10px!important;min-height:45px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-league:hover,
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-league:focus-visible{
  background:#28463f!important;border-color:#4e947d!important;color:#f8fffd!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-league.is-active{
  background:#42dba6!important;color:#092b24!important;border-color:#42dba6!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-league>span{
  background:#e9f2f9!important;border-radius:8px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-board{
  min-width:0!important;padding:18px!important;background:var(--ms-dir-panel)!important;
  border:1px solid var(--ms-dir-line)!important;border-radius:14px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-section-head{
  padding:1px 1px 18px!important;align-items:center!important;gap:16px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-section-head>div>span{color:var(--ms-dir-mint)!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-section-head h2{color:#f4fbff!important;font-size:21px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-section-head p{color:#b5c8d9!important;font-size:12px!important;line-height:1.6!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-search{min-width:220px!important;max-width:390px!important;gap:8px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-search input{
  min-width:0!important;height:43px!important;border:1px solid #385168!important;
  border-radius:9px!important;background:#112033!important;color:#f1f8ff!important;
  font-size:12px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-search input::placeholder{color:#a9bbcb!important;opacity:1!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-search button{
  height:43px!important;border:1px solid #38826c!important;border-radius:9px!important;
  background:#1d4b40!important;color:#f5fff9!important;font-size:12px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-search button:hover{background:#2a735c!important}
/* Two readable columns instead of four cut-off tiles in the central column. */
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-grid,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;min-width:0!important;
}
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-card,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card{
  display:grid!important;grid-template-columns:62px minmax(0,1fr) 16px!important;
  gap:13px!important;align-items:center!important;min-width:0!important;min-height:102px!important;
  padding:15px!important;background:#172638!important;color:#edf7ff!important;
  border:1px solid #334a5e!important;border-radius:12px!important;
  box-shadow:none!important;transform:none!important;transition:background-color .17s ease,border-color .17s ease!important;
}
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card{min-height:111px!important}
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-card:is(:hover,:focus-visible),
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card:is(:hover,:focus-visible){
  background:#244052!important;border-color:#65b89a!important;color:#fff!important;
}
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-card-logo,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card-photo{
  width:62px!important;height:62px!important;min-width:0!important;
  background:#23394a!important;border:1px solid #395468!important;
  border-radius:12px!important;color:#b5f4dd!important;overflow:hidden!important;
}
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-card-logo img{width:50px!important;height:50px!important;object-fit:contain!important}
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card-photo img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  background:#23394a!important;
}
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-card-logo i,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card-photo i{
  color:#bdf3df!important;font-size:18px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-team-card-copy,.nbl2-player-card-copy){min-width:0!important;gap:2px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-team-card-copy,.nbl2-player-card-copy) small{
  color:var(--ms-dir-mint)!important;font-size:10px!important;letter-spacing:.07em!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-team-card-copy,.nbl2-player-card-copy) strong{
  display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;
  color:#f4faff!important;font-size:14px!important;font-weight:800!important;line-height:1.35!important;
  overflow-wrap:anywhere;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-team-card-copy,.nbl2-player-card-copy) em,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card-copy b{
  color:#b9cbdc!important;font-size:11px!important;line-height:1.4!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-team-card-open,.nbl2-player-card-open){color:#9fdcc5!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-pagination{
  flex-wrap:wrap!important;padding:17px 0 0!important;border-color:var(--ms-dir-line)!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-pagination span{color:#c0d1df!important;font-size:11px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-pagination a{
  background:#223b45!important;border:1px solid #447c6b!important;color:#eafff6!important;font-size:11px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-pagination a:hover{background:#2d6656!important;color:#fff!important}
/* Teams & players guide / FAQ: unify contrast with the new standings pages. */
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-teams-editorial,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-editorial{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:15px!important;padding:0!important;
  margin:8px 0 0!important;border:0!important;min-width:0!important;
}
body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-teams-editorial>article,
body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-editorial>article{
  padding:22px!important;min-width:0!important;background:#1b2a3b!important;
  border:1px solid var(--ms-dir-line)!important;border-radius:13px!important;
  color:#e4f0fa!important;box-shadow:none!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-editorial,.nbl2-player-editorial) article>span{
  color:var(--ms-dir-mint)!important;font-size:10px!important;letter-spacing:.13em!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-editorial,.nbl2-player-editorial) h2{
  font-size:19px!important;line-height:1.35!important;color:#f5fbff!important;margin:8px 0 14px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-guide-copy,.nbl2-player-guide-copy),
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-guide-copy,.nbl2-player-guide-copy) :is(p,li),
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items) details>div,
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items) details>div p{
  color:#c4d4e1!important;font-size:12px!important;line-height:1.8!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-guide-copy,.nbl2-player-guide-copy) :is(h3,h4,strong){color:#f2fbff!important;font-size:13px!important}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-guide-copy,.nbl2-player-guide-copy,.nbl2-teams-faq-items,.nbl2-player-faq-items) a{
  color:#8ef6ce!important;text-decoration:underline!important;text-underline-offset:3px!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items),
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items) details{
  border-color:#374c60!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items) summary{
  color:#f2f9ff!important;font-size:12px!important;min-height:50px!important;
  padding:12px 0!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items) summary::after{
  color:#b7f9de!important;background:#23443e!important;border:1px solid #4b9379!important;
}
body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) :is(.nbl2-teams-faq-items,.nbl2-player-faq-items) summary:focus-visible{outline-color:#61eab5!important}
/* Avoid duplicate About/FAQ if an administrator has published Template 2's own content. */
body.nbl-template-2 .mt2-teams-own-about .nbl2-teams-editorial .nbl2-surface-about,
body.nbl-template-2 .mt2-players-own-about .nbl2-player-editorial .nbl2-player-editorial-about{display:none!important}
body.nbl-template-2 .mt2-teams-own-faq .nbl2-teams-editorial .nbl2-surface-faq,
body.nbl-template-2 .mt2-players-own-faq .nbl2-player-editorial .nbl2-player-editorial-faq{display:none!important}
body.nbl-template-2 .mt2-teams-own-about.mt2-teams-own-faq .nbl2-teams-editorial,
body.nbl-template-2 .mt2-players-own-about.mt2-players-own-faq .nbl2-player-editorial{display:none!important}
@media(max-width:1320px){
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero{grid-template-columns:1fr!important;gap:14px!important}
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-stats{max-width:100%!important;min-height:80px!important}
}
@media(max-width:1080px){
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-section-head{flex-wrap:wrap!important;align-items:flex-start!important}
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-search{min-width:0!important;max-width:none!important;width:100%!important}
}
@media(max-width:860px){
  body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-grid,
  body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-grid{grid-template-columns:1fr!important}
  body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-teams-editorial,
  body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-editorial{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero{padding:20px 18px!important}
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-hero h1{font-size:29px!important}
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-entity-board{padding:13px!important}
  body.nbl-template-2 .mt2-app :is(.nbl2-teams-shell,.nbl2-players-shell) .nbl2-surface-section-head h2{font-size:19px!important}
  body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-team-card,
  body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-card{padding:12px!important;gap:10px!important}
  body.nbl-template-2 .mt2-app .nbl2-teams-shell .nbl2-teams-editorial>article,
  body.nbl-template-2 .mt2-app .nbl2-players-shell .nbl2-player-editorial>article{padding:19px 16px!important}
}
