/* NBALive Data Engine - Template 2 (scores-portal)
 * Presentation-only stylesheet. All selectors are scoped to .nbl-template-2 / .nbl-t2-*.
 */
:root { color-scheme: light; }
body.nbl-t2-page { margin: 0; background: var(--nbl-t2-bg, #f8fafc); }
body.nbl-t2-page, body.nbl-t2-page * { box-sizing: border-box; }
body.nbl-t2-page img, body.nbl-t2-page video, body.nbl-t2-page iframe { max-width: 100%; }
body.nbl-t2-page { overflow-x: clip; }
.nbl-template-2 {
  --nbl-t2-shadow: 0 14px 36px rgba(15, 23, 42, .08);
  --nbl-t2-shadow-soft: 0 5px 18px rgba(15, 23, 42, .06);
  --nbl-t2-header: var(--nbl-t2-dark);
  --nbl-t2-header-text: var(--nbl-t2-on-dark, #fff);
  --nbl-t2-nav-selected: var(--nbl-t2-primary);
  --nbl-t2-nav-hover: var(--nbl-t2-live);
  --nbl-t2-surface-soft: color-mix(in srgb, var(--nbl-t2-bg) 72%, var(--nbl-t2-card));
  --nbl-t2-live-soft: color-mix(in srgb, var(--nbl-t2-live) 8%, var(--nbl-t2-card));
  --nbl-t2-gap: clamp(14px, 1.6vw, 24px);
  min-height: 100vh;
  width: 100%;
  background: var(--nbl-t2-bg);
  color: var(--nbl-t2-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color-scheme: var(--nbl-t2-color-scheme, light);
}
.nbl-template-2 a { color: inherit; text-decoration: none; }
.nbl-template-2 button, .nbl-template-2 input { font: inherit; }
.nbl-template-2 button, .nbl-template-2 a { -webkit-tap-highlight-color: transparent; }
.nbl-template-2 h1, .nbl-template-2 h2, .nbl-template-2 h3, .nbl-template-2 p, .nbl-template-2 figure { margin-top: 0; }
.nbl-template-2 [hidden] { display: none !important; }
.nbl-t2-main { width: min(100%, var(--nbl-t2-width)); margin: 0 auto; padding: 24px clamp(14px, 2.4vw, 30px) 48px; }

.nbl-t2-header { position: sticky; top: 0; z-index: 50; background: var(--nbl-t2-header); color: var(--nbl-t2-header-text); box-shadow: 0 1px 0 color-mix(in srgb,var(--nbl-t2-header-text) 8%,transparent); }
.nbl-t2-header-inner { width: min(100%, var(--nbl-t2-width)); min-height: 68px; margin: 0 auto; padding: 0 clamp(14px, 2.4vw, 30px); display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.nbl-t2-brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.02em; }
.nbl-t2-brand img { display: block; width: auto; max-width: 180px; height: 38px; object-fit: contain; }
.nbl-t2-brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--nbl-t2-primary); color: var(--nbl-t2-on-primary); font-weight: 900; }
.nbl-t2-nav { min-width: 0; display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.3vw, 22px); }
.nbl-t2-nav a { position: relative; padding: 24px 0 21px; color: color-mix(in srgb, var(--nbl-t2-header-text) 78%, transparent); font-size: 14px; font-weight: 750; white-space: nowrap; }
.nbl-t2-nav a:hover, .nbl-t2-nav a:focus-visible { color: var(--nbl-t2-nav-hover); }
.nbl-t2-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 16px; height: 2px; border-radius: 99px; background: var(--nbl-t2-primary); transition: right .2s ease; }
.nbl-t2-nav a:hover::after, .nbl-t2-nav a:focus-visible::after { right: 0; }
.nbl-t2-nav .nbl-t2-nav-app-cta { min-height:38px; padding:0 14px; border:1px solid color-mix(in srgb,var(--nbl-t2-app-cta-bg,#E31B23) 84%,#fff 16%); border-radius:10px; background:var(--nbl-t2-app-cta-bg,#E31B23); color:var(--nbl-t2-app-cta-text,#FFFFFF); box-shadow:0 5px 14px color-mix(in srgb,var(--nbl-t2-app-cta-bg,#E31B23) 24%,transparent); }
.nbl-t2-nav .nbl-t2-nav-app-cta::after { display:none; }
.nbl-t2-nav .nbl-t2-nav-app-cta:hover, .nbl-t2-nav .nbl-t2-nav-app-cta:focus-visible { color:var(--nbl-t2-app-cta-text,#FFFFFF); filter:brightness(.92); }
.nbl-t2-header-actions { display: flex; align-items: center; gap: 8px; }
.nbl-t2-mobile-app-btn { display:none; }
.nbl-t2-icon-btn, .nbl-t2-menu-btn { width: 40px; height: 40px; border: 1px solid color-mix(in srgb,var(--nbl-t2-header-text) 14%,transparent); border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb,var(--nbl-t2-header-text) 6%,transparent); color: var(--nbl-t2-header-text); cursor: pointer; }
.nbl-t2-icon-btn:hover, .nbl-t2-menu-btn:hover { background: color-mix(in srgb,var(--nbl-t2-header-text) 12%,transparent); }
.nbl-t2-menu-btn { display: none; }
.nbl-t2-mobile-nav { display: none; border-top: 1px solid color-mix(in srgb,var(--nbl-t2-header-text) 9%,transparent); padding: 10px 14px 16px; }
.nbl-t2-mobile-nav.is-open { display: grid; }
.nbl-t2-mobile-nav a { padding: 12px 8px; border-bottom: 1px solid color-mix(in srgb,var(--nbl-t2-header-text) 8%,transparent); font-weight: 700; }

.nbl-t2-league-strip { background: var(--nbl-t2-card); border-bottom: 1px solid var(--nbl-t2-border); }
.nbl-t2-league-strip > div { width: min(100%, var(--nbl-t2-width)); margin: 0 auto; padding: 0 clamp(14px, 2.4vw, 30px); display: flex; align-items: center; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
.nbl-t2-league-strip > div::-webkit-scrollbar { display: none; }
.nbl-t2-league-strip a { flex: 0 0 auto; padding: 10px 12px; border-bottom: 1px solid transparent; color: var(--nbl-t2-muted); font-size: 13px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.nbl-t2-league-strip a:hover { color: var(--nbl-t2-primary); border-color: var(--nbl-t2-primary); }
.nbl-t2-breadcrumb { display: flex; align-items: center; gap: 7px; min-width: 0; margin: 2px 0 18px; color: var(--nbl-t2-muted); font-size: 13px; }
.nbl-t2-breadcrumb a:hover { color: var(--nbl-t2-primary); }
.nbl-t2-breadcrumb span, .nbl-t2-breadcrumb a { min-width: 0; }
.nbl-t2-breadcrumb span[aria-current="page"] { max-width: min(60vw, 560px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nbl-t2-card, .nbl-t2-match, .nbl-t2-entity-card, .nbl-t2-editorial-card { background: var(--nbl-t2-card); border: 1px solid var(--nbl-t2-border); border-radius: var(--nbl-t2-radius); box-shadow: var(--nbl-t2-shadow-soft); }
.nbl-t2-card { padding: clamp(15px, 2vw, 24px); margin: 0 0 var(--nbl-t2-gap); }
.nbl-t2-section { margin: 0 0 clamp(26px, 3.2vw, 42px); }
.nbl-t2-section-head { min-width: 0; display: flex; justify-content: space-between; align-items: end; gap: 14px; margin: 0 0 16px; }
.nbl-t2-section-head > div { min-width: 0; }
.nbl-t2-section-head small, .nbl-t2-page-head > small, .nbl-t2-league-hero > small, .nbl-t2-profile-hero small, .nbl-t2-game-head small { display: block; margin-bottom: 4px; color: var(--nbl-t2-primary); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.nbl-t2-section-head h2 { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.12; letter-spacing: -.025em; }
.nbl-t2-section-head > a { flex: 0 0 auto; color: var(--nbl-t2-primary); font-size: 13px; font-weight: 850; }
.nbl-t2-empty { padding: 28px 18px; border: 1px dashed var(--nbl-t2-border); border-radius: var(--nbl-t2-radius); color: var(--nbl-t2-muted); text-align: center; background: color-mix(in srgb, var(--nbl-t2-card) 78%, transparent); }

.nbl-t2-page-head, .nbl-t2-league-hero, .nbl-t2-game-head { margin: 8px 0 24px; padding: clamp(22px, 3.8vw, 48px); border-radius: calc(var(--nbl-t2-radius) + 5px); background: linear-gradient(135deg, var(--nbl-t2-dark), color-mix(in srgb, var(--nbl-t2-primary) 42%, var(--nbl-t2-dark))); color: var(--nbl-t2-on-dark); box-shadow: var(--nbl-t2-shadow); overflow: hidden; }
.nbl-t2-page-head h1, .nbl-t2-league-hero h1, .nbl-t2-game-head h1 { max-width: 900px; margin: 0; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -.045em; overflow-wrap: normal; word-break: normal; }
.nbl-t2-page-head p, .nbl-t2-league-hero p, .nbl-t2-game-head p { max-width: 760px; margin: 12px 0 0; color: color-mix(in srgb,var(--nbl-t2-on-dark) 72%,transparent); }
.nbl-t2-game-head span { display: inline-flex; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb,var(--nbl-t2-on-dark) 12%,transparent); font-size: 12px; font-weight: 900; }
.nbl-t2-game-head span.is-live { background: var(--nbl-t2-live); color: var(--nbl-t2-on-live); }

.nbl-t2-match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nbl-t2-match { position: relative; min-width: 0; padding: 16px; transition: transform .16s ease, box-shadow .16s ease; }
.nbl-t2-match:hover { transform: translateY(-2px); box-shadow: var(--nbl-t2-shadow); }
.nbl-t2-match-meta { min-width: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 26px; margin-bottom: 12px; }
.nbl-t2-match-meta span { min-width: 0; color: var(--nbl-t2-muted); font-size: 11px; font-weight: 900; letter-spacing: .035em; white-space: nowrap; }
.nbl-t2-match-meta span.is-live { color: var(--nbl-t2-live); }
.nbl-t2-match-meta small { min-width: 0; color: var(--nbl-t2-muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbl-t2-match-team { min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 48px; border-top: 1px solid color-mix(in srgb, var(--nbl-t2-border) 75%, transparent); }
.nbl-t2-match-team:first-of-type { border-top: 0; }
.nbl-t2-match-team strong { min-width: 0; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbl-t2-match-team b { min-width: 24px; font-size: 22px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.nbl-t2-team-logo, .nbl-t2-team-fallback { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; object-fit: contain; }
.nbl-t2-team-logo { background: #fff; }
.nbl-t2-team-fallback { display: inline-grid; place-items: center; background: var(--nbl-t2-primary-light); color: var(--nbl-t2-primary); font-size: 10px; font-weight: 900; }
.nbl-t2-match-link { display: inline-flex; margin-top: 12px; color: var(--nbl-t2-primary); font-size: 12px; font-weight: 900; white-space: nowrap; }

.nbl-t2-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nbl-t2-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 13px; }
.nbl-t2-table th, .nbl-t2-table td { padding: 11px 10px; border-bottom: 1px solid var(--nbl-t2-border); text-align: right; white-space: nowrap; }
.nbl-t2-table th { color: var(--nbl-t2-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.nbl-t2-table th:nth-child(2), .nbl-t2-table td:nth-child(2) { text-align: left; }
.nbl-t2-table tbody tr:last-child td { border-bottom: 0; }
.nbl-t2-table-team { display: inline-flex; align-items: center; gap: 8px; min-width: 150px; }
.nbl-t2-table-team .nbl-t2-team-logo, .nbl-t2-table-team .nbl-t2-team-fallback { width: 26px; height: 26px; flex-basis: 26px; }
.nbl-t2-table-team a:hover { color: var(--nbl-t2-primary); }

.nbl-t2-entity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 28px; }
.nbl-t2-entity-card { min-width: 0; min-height: 82px; padding: 14px; display: flex; align-items: center; gap: 12px; transition: border-color .16s ease, transform .16s ease; }
.nbl-t2-entity-card:hover { border-color: color-mix(in srgb, var(--nbl-t2-primary) 55%, var(--nbl-t2-border)); transform: translateY(-1px); }
.nbl-t2-entity-card .nbl-t2-team-logo, .nbl-t2-entity-card .nbl-t2-team-fallback { width: 44px; height: 44px; flex-basis: 44px; }
.nbl-t2-entity-card > span:last-child { min-width: 0; }
.nbl-t2-entity-card strong { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbl-t2-entity-card small { display: block; margin-top: 3px; color: var(--nbl-t2-muted); font-size: 11px; line-height: 1.35; }

.nbl-t2-profile-hero { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); margin: 8px 0 18px; padding: clamp(22px, 3.5vw, 38px); border: 1px solid var(--nbl-t2-border); border-radius: calc(var(--nbl-t2-radius) + 5px); background: var(--nbl-t2-card); box-shadow: var(--nbl-t2-shadow); }
.nbl-t2-profile-hero .nbl-t2-team-logo, .nbl-t2-profile-hero .nbl-t2-team-fallback { width: clamp(72px, 9vw, 112px); height: clamp(72px, 9vw, 112px); flex-basis: clamp(72px, 9vw, 112px); }
.nbl-t2-profile-hero > div { min-width: 0; }
.nbl-t2-profile-hero h1 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.04; letter-spacing: -.04em; }
.nbl-t2-profile-hero p { margin: 8px 0 0; color: var(--nbl-t2-muted); }
.nbl-t2-stat-strip { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 1px; margin: 0 0 24px; border: 1px solid var(--nbl-t2-border); border-radius: var(--nbl-t2-radius); background: var(--nbl-t2-border); overflow: hidden; }
.nbl-t2-stat-strip span { min-width: 0; padding: 14px 10px; background: var(--nbl-t2-card); text-align: center; }
.nbl-t2-stat-strip small { display: block; color: var(--nbl-t2-muted); font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.nbl-t2-stat-strip strong { display: block; margin-top: 3px; font-size: clamp(18px, 2.1vw, 25px); font-variant-numeric: tabular-nums; }
.nbl-t2-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.nbl-t2-facts span { min-width: 0; padding: 12px; border-radius: 10px; background: var(--nbl-t2-bg); }
.nbl-t2-facts small { display: block; color: var(--nbl-t2-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.nbl-t2-facts strong { display: block; margin-top: 3px; overflow-wrap: normal; word-break: normal; }

.nbl-t2-video-card { overflow: hidden; }
.nbl-t2-video-badge { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--nbl-t2-bg); color: var(--nbl-t2-muted); font-size: 10px; font-weight: 900; }
.nbl-t2-video-badge.is-live { background: var(--nbl-t2-live); color: var(--nbl-t2-on-live); }
.nbl-t2-video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: calc(var(--nbl-t2-radius) - 2px); overflow: hidden; background: #05070b; }
.nbl-t2-video-stage video, .nbl-t2-video-stage iframe { display:block; width:100%; height:100%; border:0; background:#05070b; }
.nbl-t2-video-stage video { object-fit:contain!important; object-position:center center; }
.nbl-t2-video-cover { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; border:0; border-radius:inherit; background:#05070b; isolation:isolate; }
.nbl-t2-video-cover img { position:relative; z-index:0; display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center center; border:0; outline:0; box-shadow:none; }
.nbl-t2-video-cover::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg,rgba(5,7,11,.08),rgba(5,7,11,.24) 54%,rgba(5,7,11,.36)); box-shadow:inset 0 0 48px rgba(0,0,0,.22); }
.nbl-t2-video-cover-live { position:absolute; left:50%; top:50%; z-index:2; transform:translate(-50%,-50%); min-height:52px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:11px 18px; border:1px solid rgba(255,255,255,.52); border-radius:999px; background:rgba(8,15,24,.48); color:#fff; box-shadow:0 10px 30px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.12); -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px); pointer-events:none; }
.nbl-t2-video-cover-live i { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:rgba(225,29,72,.82); color:#fff; font-size:12px; font-style:normal; line-height:1; padding-left:2px; }
.nbl-t2-video-cover-live strong { color:#fff; font-size:13px; font-weight:900; letter-spacing:.08em; line-height:1; }
.nbl-t2-video-cover-live[data-nbl-t2-video-refresh] { pointer-events:auto; cursor:pointer; appearance:none; -webkit-appearance:none; font:inherit; }
.nbl-t2-video-cover-live[data-nbl-t2-video-refresh]:disabled { cursor:wait; opacity:.82; }
.nbl-t2-video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: #fff; text-align: center; background: radial-gradient(circle at center, color-mix(in srgb,var(--nbl-t2-primary) 32%,transparent), transparent 56%), #05070b; }
.nbl-t2-video-placeholder span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 22px; }
.nbl-t2-video-placeholder strong { font-size: 12px; letter-spacing: .08em; }
.nbl-t2-home-play-trigger { position:absolute; inset:0; z-index:2; width:100%; height:100%; overflow:hidden; border:0; margin:0; padding:20px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; cursor:pointer; color:#fff; text-align:center; background:radial-gradient(circle at center,color-mix(in srgb,var(--nbl-t2-primary) 28%,transparent),transparent 58%),#05070b; font:inherit; }
.nbl-t2-home-play-trigger.has-poster::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.18) 48%,rgba(0,0,0,.52)); }
.nbl-t2-home-play-poster { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; transform:scale(1.002); transition:opacity .18s ease; background:#05070b; }
.nbl-t2-home-play-poster.is-loaded { opacity:1; }
.nbl-t2-home-play-trigger > span { position:relative; z-index:2; width:64px; height:64px; display:grid; place-items:center; border-radius:50%; background:rgba(0,0,0,.44); border:1px solid rgba(255,255,255,.68); box-shadow:0 10px 30px rgba(0,0,0,.35); font-size:25px; line-height:1; padding-left:3px; }
.nbl-t2-home-play-trigger > strong { position:relative; z-index:2; font-size:14px; font-weight:900; letter-spacing:.04em; text-shadow:0 2px 10px rgba(0,0,0,.72); }
.nbl-t2-home-play-trigger > small { position:relative; z-index:2; font-size:11px; color:rgba(255,255,255,.88); text-shadow:0 2px 8px rgba(0,0,0,.72); }
.nbl-t2-home-player .nbl-t2-video-cover img[data-nbl-t2-home-poster] { opacity:0; transition:opacity .18s ease; }
.nbl-t2-home-player .nbl-t2-video-cover img[data-nbl-t2-home-poster].is-loaded { opacity:1; }
.nbl-t2-home-play-trigger:hover > span, .nbl-t2-home-play-trigger:focus-visible > span { transform:scale(1.05); background:rgba(255,255,255,.18); }
.nbl-t2-home-play-trigger:focus-visible { outline:3px solid color-mix(in srgb,var(--nbl-t2-primary) 72%,#fff); outline-offset:-3px; }
.nbl-t2-video-message { margin: 12px 0 0; color: var(--nbl-t2-muted); font-size: 13px; }
.nbl-t2-watch-lines { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: -8px 0 var(--nbl-t2-gap); }
.nbl-t2-watch-line { min-width: 0; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: var(--nbl-t2-radius); background: var(--nbl-t2-dark); color: var(--nbl-t2-on-dark); box-shadow: var(--nbl-t2-shadow-soft); }
.nbl-t2-watch-line.is-promo { background: var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); }
.nbl-t2-watch-line.is-disabled { opacity: 1; cursor: default; background: color-mix(in srgb,var(--nbl-t2-dark) 72%,var(--nbl-t2-card)); color: #fff; }
.nbl-t2-watch-line.is-disabled small, .nbl-t2-watch-line.is-disabled b { color: #fff; }
.nbl-t2-watch-line span { min-width: 0; }
.nbl-t2-watch-line strong, .nbl-t2-watch-line small { display: block; }
.nbl-t2-watch-line small { color: color-mix(in srgb,var(--nbl-t2-on-dark) 70%,transparent); }
.nbl-t2-scoreboard { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 16px; align-items: center; }
.nbl-t2-scoreboard > div { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; }
.nbl-t2-scoreboard > div:last-child { grid-template-columns: auto minmax(0,1fr) 44px; text-align: right; }
.nbl-t2-scoreboard .nbl-t2-team-logo, .nbl-t2-scoreboard .nbl-t2-team-fallback { width: 44px; height: 44px; flex-basis: 44px; }
.nbl-t2-scoreboard strong { min-width: 0; font-size: clamp(14px, 1.5vw, 18px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbl-t2-scoreboard b { font-size: clamp(28px, 4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.nbl-t2-scoreboard > span { color: var(--nbl-t2-muted); font-size: 10px; font-weight: 900; }
.nbl-t2-stat-compare > div, .nbl-t2-play-list > div, .nbl-t2-list > div { display: grid; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--nbl-t2-border); }
.nbl-t2-stat-compare > div { grid-template-columns: 70px minmax(0,1fr) 70px; text-align: center; }
.nbl-t2-stat-compare > div:last-child, .nbl-t2-play-list > div:last-child, .nbl-t2-list > div:last-child { border-bottom: 0; }
.nbl-t2-stat-compare span { color: var(--nbl-t2-muted); }
.nbl-t2-play-list > div { grid-template-columns: 58px minmax(0,1fr) auto; }
.nbl-t2-play-list time, .nbl-t2-play-list b { font-size: 12px; font-variant-numeric: tabular-nums; }
.nbl-t2-play-list time { color: var(--nbl-t2-muted); }
.nbl-t2-list > div { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.nbl-t2-list span { color: var(--nbl-t2-muted); }

.nbl-template-2 .nbl-chat-card { min-width:0; overflow:visible; border:1px solid var(--nbl-t2-border); border-radius:var(--nbl-t2-radius); background:var(--nbl-t2-card); box-shadow:var(--nbl-t2-shadow-soft); }
.nbl-template-2 .nbl-chat-head { min-height:52px; padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:10px; border-bottom:1px solid var(--nbl-t2-border); }
.nbl-template-2 .nbl-chat-head > div { min-width:0; display:flex; align-items:center; gap:8px; }
.nbl-template-2 .nbl-chat-head > div > div { min-width:0; display:grid; gap:1px; }
.nbl-template-2 .nbl-chat-head strong { font-size:15px; line-height:1.2; color:var(--nbl-t2-text); }
.nbl-template-2 .nbl-chat-head small { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--nbl-t2-muted); font-size:10px; font-weight:500; }
.nbl-template-2 .nbl-chat-head > span { flex:0 0 auto; color:var(--nbl-t2-muted); font-size:11px; white-space:nowrap; }
.nbl-template-2 .nbl-online-dot { width:9px; height:9px; flex:0 0 9px; border-radius:50%; background:var(--nbl-t2-success); display:inline-block; }
.nbl-template-2 .nbl-chat-body { min-height:150px; max-height:300px; padding:8px 14px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.nbl-template-2 .nbl-chat-empty { min-height:110px; display:flex; align-items:center; justify-content:center; gap:12px; color:var(--nbl-t2-text); }
.nbl-template-2 .nbl-chat-empty strong { display:block; }
.nbl-template-2 .nbl-chat-icon { width:38px; height:38px; flex:0 0 38px; border-radius:50%; display:grid; place-items:center; background:var(--nbl-t2-primary-light); color:var(--nbl-t2-primary); }
.nbl-template-2 .nbl-chat-icon svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.6; }
.nbl-template-2 .nbl-chat-empty-text { min-height:110px; display:grid; place-items:center; padding:18px; text-align:center; color:var(--nbl-t2-muted); font-size:12px; }
.nbl-template-2 .nbl-chat-message { display:flex; align-items:flex-start; gap:10px; padding:6px 0; border-bottom:1px solid color-mix(in srgb,var(--nbl-t2-border) 72%,transparent); }
.nbl-template-2 .nbl-chat-message:last-child { border-bottom:0; }
.nbl-template-2 .nbl-chat-avatar { width:30px; height:30px; flex:0 0 30px; border-radius:50%; display:grid; place-items:center; color:#fff; font-size:9px; font-weight:900; letter-spacing:.01em; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); }
.nbl-template-2 .nbl-chat-avatar.tone-1 { background:#1d4ed8; }.nbl-template-2 .nbl-chat-avatar.tone-2 { background:#047857; }.nbl-template-2 .nbl-chat-avatar.tone-3 { background:#92400e; }.nbl-template-2 .nbl-chat-avatar.tone-4 { background:#6d28d9; }
.nbl-template-2 .nbl-chat-avatar.tone-5 { background:#b91c1c; }.nbl-template-2 .nbl-chat-avatar.tone-6 { background:#0e7490; }.nbl-template-2 .nbl-chat-avatar.tone-7 { background:#a21caf; }.nbl-template-2 .nbl-chat-avatar.tone-8 { background:var(--nbl-t2-dark); }
.nbl-template-2 .nbl-chat-avatar.is-mono { background:var(--nbl-t2-dark); }
.nbl-template-2 .nbl-chat-avatar.has-image { padding:0; overflow:hidden; background:transparent!important; }
.nbl-template-2 .nbl-chat-avatar.has-image img { display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.nbl-template-2 .nbl-chat-message-copy { min-width:0; flex:1; }
.nbl-template-2 .nbl-chat-message-copy > div { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.nbl-template-2 .nbl-chat-name { display:inline-flex; min-width:0; align-items:center; gap:6px; }
.nbl-template-2 .nbl-chat-message-copy strong { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--nbl-t2-text); font-size:12px; }
.nbl-template-2 .nbl-chat-message.is-self .nbl-chat-message-copy strong { color:var(--nbl-t2-primary); }
.nbl-template-2 .nbl-chat-message-copy time { flex:0 0 auto; color:var(--nbl-t2-muted); font-size:10px; white-space:nowrap; }
.nbl-template-2 .nbl-chat-message-copy p { margin:1px 0 0; color:var(--nbl-t2-text); font-size:12px; line-height:1.35; overflow-wrap:anywhere; }
.nbl-template-2 .nbl-chat-compose { position:relative; padding:10px 14px 14px; border-top:1px solid var(--nbl-t2-border); border-radius:0 0 var(--nbl-t2-radius) var(--nbl-t2-radius); background:var(--nbl-t2-card); background-clip:padding-box; }
.nbl-template-2 .nbl-chat-compose[hidden] { display:none!important; }
.nbl-template-2 .nbl-chat-status-row { display:none; min-height:0; margin:0 0 6px; color:var(--nbl-t2-muted); font-size:10px; }
.nbl-template-2 .nbl-chat-status-row.has-message { display:block; }
.nbl-template-2 .nbl-chat-status-row [data-nbl-chat-status].is-error { color:var(--nbl-t2-live); }
.nbl-template-2 .nbl-chat-input { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 46px; gap:8px; padding:0; }
.nbl-template-2 .nbl-chat-entry { position:relative; min-width:0; height:46px; display:grid; grid-template-columns:minmax(0,1fr) 42px; overflow:visible; border:1px solid var(--nbl-t2-border); border-radius:12px; background:var(--nbl-t2-card); }
.nbl-template-2 .nbl-chat-entry input { width:100%; min-width:0; height:44px; padding:0 4px 0 14px; border:0!important; border-radius:12px 0 0 12px; outline:none; box-shadow:none!important; background:transparent!important; color:var(--nbl-t2-text); font-size:13px; }
.nbl-template-2 .nbl-chat-entry input::placeholder { color:color-mix(in srgb,var(--nbl-t2-muted) 75%,transparent); }
.nbl-template-2 .nbl-chat-entry input:focus { outline:none; box-shadow:none!important; }
.nbl-template-2 .nbl-chat-emoji-toggle, .nbl-template-2 .nbl-chat-send { height:46px; border:0; border-radius:12px; cursor:pointer; }
.nbl-template-2 .nbl-chat-emoji-toggle { width:42px; border-radius:0 12px 12px 0; background:transparent; color:var(--nbl-t2-text); font-size:22px; }
.nbl-template-2 .nbl-chat-send { width:46px; display:grid; place-items:center; background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); }
.nbl-template-2 .nbl-chat-send svg { width:19px; height:19px; fill:currentColor; }
.nbl-template-2 .nbl-chat-send:disabled { opacity:.55; cursor:not-allowed; }
.nbl-template-2 .nlt-emoji-pop { position:absolute; right:0; bottom:calc(100% + 8px); z-index:40; width:222px; max-width:calc(100vw - 40px); display:grid; grid-template-columns:repeat(5,1fr); gap:6px; padding:10px; border:1px solid var(--nbl-t2-border); border-radius:14px; background:var(--nbl-t2-card); box-shadow:0 14px 38px rgba(15,23,42,.16); }
.nbl-template-2 .nlt-emoji-pop[hidden] { display:none!important; }
.nbl-template-2 .nlt-emoji-pop button { width:34px; height:34px; padding:0; border:0; border-radius:8px; background:transparent; font-size:20px; line-height:1; cursor:pointer; }
.nbl-template-2 .nlt-emoji-pop button:hover, .nbl-template-2 .nlt-emoji-pop button:focus-visible { outline:none; background:var(--nbl-t2-primary-light); }


.nbl-t2-editorial-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.nbl-t2-editorial-card { min-width: 0; overflow: hidden; }
.nbl-t2-editorial-card > a { display: block; height: 100%; }
.nbl-t2-editorial-card figure { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; background: var(--nbl-t2-bg); }
.nbl-t2-editorial-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.nbl-t2-editorial-card:hover figure img { transform: scale(1.025); }
.nbl-t2-editorial-card > a > div { padding: 14px; }
.nbl-t2-editorial-card small { color: var(--nbl-t2-muted); font-size: 10px; }
.nbl-t2-editorial-card h3 { margin: 5px 0 7px; font-size: 17px; line-height: 1.22; letter-spacing: -.02em; }
.nbl-t2-editorial-card p { margin: 0; color: var(--nbl-t2-muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nbl-t2-article { width: min(100%, 920px); margin: 10px auto 40px; }
.nbl-t2-article > header { margin: 0 0 24px; }
.nbl-t2-article > header small { color: var(--nbl-t2-primary); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.nbl-t2-article > header h1 { margin: 7px 0 10px; font-size: clamp(32px, 5vw, 56px); line-height: 1.03; letter-spacing: -.045em; overflow-wrap: normal; word-break: normal; }
.nbl-t2-article > header p { color: var(--nbl-t2-muted); font-size: clamp(16px, 2vw, 20px); }
.nbl-t2-article > header > div { color: var(--nbl-t2-muted); font-size: 12px; }
.nbl-t2-article-hero { border-radius: var(--nbl-t2-radius); overflow: hidden; }
.nbl-t2-article-hero img { display: block; width: 100%; height: auto; }
.nbl-t2-article-body { font-size: 17px; line-height: 1.75; }
.nbl-t2-article-body > * { max-width: 100%; }
.nbl-t2-article-body h2, .nbl-t2-article-body h3 { margin-top: 1.6em; line-height: 1.2; letter-spacing: -.025em; }
.nbl-t2-article-body a { color: var(--nbl-t2-primary); text-decoration: underline; text-underline-offset: 2px; }
.nbl-t2-article-body img { height: auto; border-radius: 10px; }
.nbl-t2-article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.nbl-t2-article-body th, .nbl-t2-article-body td { padding: 8px 10px; border: 1px solid var(--nbl-t2-border); }
.nbl-t2-pagination { margin: 24px 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.nbl-t2-pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--nbl-t2-border); border-radius: 9px; display: grid; place-items: center; background: var(--nbl-t2-card); }
.nbl-t2-pagination .current { background: var(--nbl-t2-primary); color: var(--nbl-t2-on-primary); border-color: var(--nbl-t2-primary); }

.nbl-t2-ad { width: 100%; margin: 0 0 var(--nbl-t2-gap); overflow: hidden; border-radius: var(--nbl-t2-radius); }
.nbl-t2-ad > a, .nbl-t2-ad picture { display: block; width: 100%; }
.nbl-t2-ad img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.nbl-t2-ad-content { min-height: 92px; padding: 18px clamp(16px,3vw,34px); display: flex; align-items: center; gap: 16px; background: var(--nbl-t2-dark) center / cover no-repeat; color: var(--nbl-t2-on-dark); }
.nbl-t2-ad-content small { flex: 0 0 auto; color: color-mix(in srgb,var(--nbl-t2-on-dark) 70%,transparent); font-weight: 900; }
.nbl-t2-ad-content strong { font-size: clamp(17px,2vw,24px); }
.nbl-t2-ad-content p { flex: 1 1 auto; margin: 0; color: color-mix(in srgb,var(--nbl-t2-on-dark) 76%,transparent); }
.nbl-t2-ad-content span { flex: 0 0 auto; padding: 9px 12px; border-radius: 9px; background: var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); font-weight: 850; }

.nbl-t2-search-field { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px; }
.nbl-t2-search-field > span { color: var(--nbl-t2-muted); font-size: 18px; }
.nbl-t2-search-field input { height: 48px; padding: 0 13px; }
.nbl-t2-search-results { margin-top: 13px; }
.nbl-t2-search-results > p { margin: 0; padding: 14px 2px; color: var(--nbl-t2-muted); }
.nbl-t2-search-result { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 10px; align-items: center; min-width: 0; padding: 10px 4px; border-bottom: 1px solid var(--nbl-t2-border); }
.nbl-t2-search-result:last-child { border-bottom: 0; }
.nbl-t2-search-result img, .nbl-t2-search-result-icon { width: 38px; height: 38px; border-radius: 9px; object-fit: contain; background: var(--nbl-t2-bg); }
.nbl-t2-search-result-icon { display: grid; place-items: center; color: var(--nbl-t2-primary); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.nbl-t2-search-result > span { min-width: 0; }
.nbl-t2-search-result strong, .nbl-t2-search-result small { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbl-t2-search-result small { margin-top: 2px; color: var(--nbl-t2-muted); font-size: 11px; }
.nbl-t2-search-result > b { color: var(--nbl-t2-primary); }
.nbl-t2-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: min(12vh, 110px) 14px 20px; }
.nbl-t2-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,6,23,.72); cursor: default; }
.nbl-t2-modal-panel { position: relative; width: min(100%, 680px); max-height: min(74vh, 650px); padding: 16px; border-radius: calc(var(--nbl-t2-radius) + 4px); background: var(--nbl-t2-card); box-shadow: 0 30px 80px rgba(2,6,23,.35); overflow-y: auto; }
.nbl-t2-modal-panel > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.nbl-t2-modal-panel > header strong { font-size: 19px; }
.nbl-t2-modal-panel > header button { width: 36px; height: 36px; border: 0; border-radius: 9px; background: var(--nbl-t2-bg); color: var(--nbl-t2-text); cursor: pointer; font-size: 22px; }
body.nbl-t2-modal-open { overflow: hidden; }

.nbl-t2-footer { margin-top: 28px; background: var(--nbl-t2-header); color: var(--nbl-t2-header-text); }
.nbl-t2-footer-grid { width: min(100%, var(--nbl-t2-width)); margin: 0 auto; padding: 34px clamp(14px, 2.4vw, 30px); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.nbl-t2-footer-grid strong { font-size: 20px; }
.nbl-t2-footer-grid p { max-width: 500px; margin: 9px 0 0; color: color-mix(in srgb,var(--nbl-t2-header-text) 62%,transparent); font-size: 13px; }
.nbl-t2-footer-grid nav { display: grid; align-content: start; gap: 8px; }
.nbl-t2-footer-grid nav a { color: color-mix(in srgb,var(--nbl-t2-header-text) 70%,transparent); font-size: 13px; }
.nbl-t2-footer-grid nav a:hover { color: var(--nbl-t2-primary); }
.nbl-t2-footer-bottom { width: min(100%, var(--nbl-t2-width)); margin: 0 auto; padding: 14px clamp(14px,2.4vw,30px) 24px; border-top: 1px solid color-mix(in srgb,var(--nbl-t2-header-text) 8%,transparent); color: color-mix(in srgb,var(--nbl-t2-header-text) 45%,transparent); font-size: 11px; }
.nbl-t2-404 { min-height: 54vh; display: grid; place-items: center; align-content: center; text-align: center; }
.nbl-t2-404 > strong { color: var(--nbl-t2-primary); font-size: clamp(54px, 11vw, 120px); line-height: 1; }
.nbl-t2-404 h1 { margin: 5px 0; }
.nbl-t2-404 p { color: var(--nbl-t2-muted); }
.nbl-t2-404 > div { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nbl-t2-404 a { padding: 10px 14px; border-radius: 9px; background: var(--nbl-t2-primary); color: var(--nbl-t2-on-primary); font-weight: 800; }

@media (max-width: 1180px) {
  .nbl-t2-nav { gap: 13px; }
  .nbl-t2-nav a { font-size: 13px; }
  .nbl-t2-match-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nbl-t2-entity-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .nbl-t2-editorial-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1024px) {
  .nbl-t2-header-inner { min-height: 62px; grid-template-columns: minmax(0,1fr) auto; }
  .nbl-t2-nav { display: none; }
  .nbl-t2-menu-btn { display: grid; }
  .nbl-t2-header-actions { justify-self: end; }
  .nbl-t2-main { padding-top: 18px; }
  .nbl-t2-stat-strip { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .nbl-t2-facts { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .nbl-t2-ad-content { flex-wrap: wrap; }
  .nbl-t2-ad-content p { flex-basis: 55%; }
}
@media (max-width: 768px) {
  .nbl-t2-main { padding-left: 14px; padding-right: 14px; padding-bottom: 34px; }
  .nbl-t2-match-grid { grid-template-columns: 1fr; }
  .nbl-t2-entity-grid, .nbl-t2-editorial-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nbl-t2-page-head, .nbl-t2-league-hero, .nbl-t2-game-head { padding: 24px 20px; }
  .nbl-t2-watch-lines { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .nbl-t2-watch-line { min-height: 62px; padding: 10px 12px; gap: 8px; }
  .nbl-t2-watch-line strong { font-size: 15px; }
  .nbl-t2-watch-line small { font-size: 12px; white-space: nowrap; }
  .nbl-t2-scoreboard { gap: 9px; }
  .nbl-t2-scoreboard > div { grid-template-columns: 36px minmax(0,1fr) auto; gap: 8px; }
  .nbl-t2-scoreboard > div:last-child { grid-template-columns: auto minmax(0,1fr) 36px; }
  .nbl-t2-scoreboard .nbl-t2-team-logo, .nbl-t2-scoreboard .nbl-t2-team-fallback { width: 36px; height: 36px; flex-basis: 36px; }
  .nbl-t2-profile-hero { align-items: flex-start; }
  .nbl-t2-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nbl-t2-footer-grid { grid-template-columns: 1fr 1fr; }
  .nbl-t2-footer-grid > div { grid-column: 1 / -1; }
  .nbl-t2-ad-content { display: block; }
  .nbl-t2-ad-content > * { margin-right: 10px; margin-bottom: 8px; }
  .nbl-t2-ad-content p { margin-top: 7px; }
  .nbl-t2-ad-content span { display: inline-block; margin-top: 5px; }
}
@media (max-width: 540px) {
  .nbl-t2-brand img { max-width: 145px; height: 34px; }
  .nbl-t2-header-inner { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .nbl-t2-icon-btn, .nbl-t2-menu-btn { width: 38px; height: 38px; }
  .nbl-t2-entity-grid, .nbl-t2-editorial-grid { grid-template-columns: 1fr; }
  .nbl-t2-entity-card { min-height: 72px; }
  .nbl-t2-profile-hero { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 14px; padding: 18px 15px; }
  .nbl-t2-profile-hero .nbl-t2-team-logo, .nbl-t2-profile-hero .nbl-t2-team-fallback { width: 68px; height: 68px; flex-basis: 68px; }
  .nbl-t2-profile-hero h1 { font-size: clamp(26px, 9vw, 38px); }
  .nbl-t2-stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nbl-t2-scoreboard { grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); padding: 14px 10px; }
  .nbl-t2-scoreboard > div, .nbl-t2-scoreboard > div:last-child { display: flex; flex-direction: column; gap: 6px; text-align: center; }
  .nbl-t2-scoreboard > div:first-child b { order: 3; }
  .nbl-t2-scoreboard > div:last-child b { order: 3; }
  .nbl-t2-scoreboard strong { width: 100%; max-width: 120px; }
  .nbl-t2-scoreboard b { font-size: 32px; }
  .nbl-t2-stat-compare > div { grid-template-columns: 52px minmax(0,1fr) 52px; gap: 7px; }
  .nbl-t2-play-list > div { grid-template-columns: 48px minmax(0,1fr); }
  .nbl-t2-play-list > div b { grid-column: 2; }
  .nbl-t2-list > div { grid-template-columns: 1fr; gap: 2px; }
  .nbl-t2-footer-grid { grid-template-columns: 1fr; }
  .nbl-t2-footer-grid > div { grid-column: auto; }
}
@media (max-width: 430px) {
  .nbl-template-2 { --nbl-t2-gap: 13px; font-size: 15px; }
  .nbl-t2-main { padding-left: 11px; padding-right: 11px; }
  .nbl-t2-brand img { max-width: 126px; }
  .nbl-t2-card { padding: 14px 12px; }
  .nbl-t2-page-head, .nbl-t2-league-hero, .nbl-t2-game-head { margin-top: 4px; padding: 21px 16px; }
  .nbl-t2-page-head h1, .nbl-t2-league-hero h1, .nbl-t2-game-head h1 { font-size: clamp(28px, 10vw, 40px); }
  .nbl-t2-match { padding: 13px 12px; }
  .nbl-t2-match-team { grid-template-columns: 30px minmax(0,1fr) auto; gap: 7px; }
  .nbl-t2-match-team .nbl-t2-team-logo, .nbl-t2-match-team .nbl-t2-team-fallback { width: 30px; height: 30px; flex-basis: 30px; }
  .nbl-t2-match-team strong { font-size: 13px; }
  .nbl-t2-match-team b { font-size: 21px; }
  .nbl-t2-video-stage { border-radius: 9px; }
  .nbl-t2-facts { grid-template-columns: 1fr 1fr; gap: 7px; }
  .nbl-t2-search-result { grid-template-columns: 34px minmax(0,1fr) auto; }
  .nbl-t2-search-result img, .nbl-t2-search-result-icon { width: 34px; height: 34px; }
}
@media (max-width: 360px) {
  .nbl-t2-header-inner { padding-left: 9px; padding-right: 9px; }
  .nbl-t2-brand img { max-width: 108px; height: 31px; }
  .nbl-t2-icon-btn, .nbl-t2-menu-btn { width: 36px; height: 36px; border-radius: 10px; }
  .nbl-t2-header-actions { gap: 5px; }
  .nbl-t2-main { padding-left: 9px; padding-right: 9px; }
  .nbl-t2-match-team strong { font-size: 12px; }
  .nbl-t2-scoreboard { grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); }
  .nbl-t2-scoreboard strong { max-width: 96px; font-size: 12px; }
  .nbl-t2-scoreboard b { font-size: 29px; }
  .nbl-t2-facts { grid-template-columns: 1fr; }
  .nbl-t2-chat-form { grid-template-columns: 1fr; }
  .nbl-t2-chat-form button { height: 42px; }
}
@media (max-width: 320px) {
  .nbl-t2-brand img { max-width: 94px; }
  .nbl-t2-main { padding-left: 7px; padding-right: 7px; }
  .nbl-t2-page-head, .nbl-t2-league-hero, .nbl-t2-game-head { padding-left: 13px; padding-right: 13px; }
  .nbl-t2-card, .nbl-t2-match { border-radius: 10px; }
  .nbl-t2-section-head { align-items: start; }
  .nbl-t2-section-head > a { font-size: 11px; }
  .nbl-t2-scoreboard { grid-template-columns: minmax(0,1fr) 18px minmax(0,1fr); gap: 4px; }
  .nbl-t2-scoreboard > span { font-size: 8px; }
  .nbl-t2-scoreboard strong { max-width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .nbl-template-2 *, .nbl-template-2 *::before, .nbl-template-2 *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Template 2 home-only composition. */
.nbl-t2-hero { margin: 8px 0 clamp(28px,4vw,52px); padding: clamp(26px,4.2vw,56px); display: grid; grid-template-columns: minmax(0,1.8fr) minmax(220px,.7fr); gap: 28px; align-items: end; border-radius: calc(var(--nbl-t2-radius) + 7px); background: linear-gradient(128deg, var(--nbl-t2-dark), color-mix(in srgb, var(--nbl-t2-primary) 54%, var(--nbl-t2-dark))); color: var(--nbl-t2-on-dark); box-shadow: var(--nbl-t2-shadow); }
.nbl-t2-hero small { color: color-mix(in srgb,var(--nbl-t2-on-dark) 66%,transparent); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.nbl-t2-hero h1 { max-width: 850px; margin: 7px 0 12px; font-size: clamp(34px,5.2vw,66px); line-height: .98; letter-spacing: -.052em; overflow-wrap: normal; word-break: normal; }
.nbl-t2-hero p { max-width: 690px; margin: 0; color: color-mix(in srgb,var(--nbl-t2-on-dark) 72%,transparent); font-size: clamp(14px,1.5vw,18px); }
.nbl-t2-hero-actions { display: grid; gap: 9px; }
.nbl-t2-hero-actions a { min-height: 46px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid color-mix(in srgb,var(--nbl-t2-on-dark) 16%,transparent); border-radius: 11px; background: color-mix(in srgb,var(--nbl-t2-on-dark) 8%,transparent); font-size: 13px; font-weight: 900; text-align: center; }
.nbl-t2-hero-actions a:first-child { border-color: var(--nbl-t2-primary); background: var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); }
.nbl-t2-hero-actions a:hover { background: color-mix(in srgb,var(--nbl-t2-on-dark) 15%,transparent); }
.nbl-t2-hero-actions a:first-child:hover { background: var(--nbl-t2-primary-hover); }
.nbl-t2-home-editorial { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(22px,3vw,36px); margin-top: 34px; }
.nbl-t2-home-editorial-col { min-width: 0; }
.nbl-t2-home-editorial .nbl-t2-editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 1024px) {
  .nbl-t2-hero { grid-template-columns: minmax(0,1fr) 210px; }
  .nbl-t2-home-editorial { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nbl-t2-hero { grid-template-columns: 1fr; gap: 20px; padding: 26px 19px; }
  .nbl-t2-hero-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 430px) {
  .nbl-t2-hero { padding: 23px 15px; }
  .nbl-t2-hero h1 { font-size: clamp(31px,12vw,48px); }
  .nbl-t2-hero-actions { grid-template-columns: 1fr; }
  .nbl-t2-home-editorial .nbl-t2-editorial-grid { grid-template-columns: 1fr; }
}


/* v0.5.94 - Template 2 complete homepage/navigation runtime. */
.nbl-t2-seo-h1 { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.nbl-t2-nav { gap: clamp(8px, 1vw, 16px); overflow: visible; }
.nbl-t2-nav-link, .nbl-t2-nav-parent { position:relative; display:inline-flex; align-items:center; min-height:68px; padding:0; color:color-mix(in srgb,var(--nbl-t2-header-text) 82%,transparent); font-size:13px; font-weight:800; white-space:nowrap; }
.nbl-t2-nav-link:hover, .nbl-t2-nav-parent:hover { color:var(--nbl-t2-nav-hover); }
.nbl-t2-nav-group { position:relative; display:flex; align-items:center; min-height:68px; }
.nbl-t2-nav-toggle { width:20px; height:28px; margin-left:1px; padding:0; border:0; background:transparent; color:color-mix(in srgb,var(--nbl-t2-header-text) 64%,transparent); cursor:pointer; font-size:15px; }
.nbl-t2-nav-dropdown { position:absolute; left:50%; top:calc(100% - 6px); z-index:70; width:210px; padding:8px; border:1px solid var(--nbl-t2-border); border-radius:12px; background:var(--nbl-t2-card); box-shadow:0 20px 52px rgba(2,6,23,.22); opacity:0; visibility:hidden; transform:translate(-50%,8px); transition:opacity .15s ease,transform .15s ease,visibility .15s; }
.nbl-t2-nav-dropdown::before { content:""; position:absolute; left:0; right:0; top:-12px; height:12px; }
.nbl-t2-nav-dropdown a { display:block; padding:10px 11px; border-radius:8px; color:var(--nbl-t2-text); font-size:13px; font-weight:750; }
.nbl-t2-nav-dropdown a:hover, .nbl-t2-nav-dropdown a:focus-visible { background:var(--nbl-t2-primary-light); color:var(--nbl-t2-primary); }
.nbl-t2-nav-group:hover .nbl-t2-nav-dropdown, .nbl-t2-nav-group:focus-within .nbl-t2-nav-dropdown, .nbl-t2-nav-group.is-open .nbl-t2-nav-dropdown { opacity:1; visibility:visible; transform:translate(-50%,0); }
.nbl-t2-mobile-group { border-bottom:1px solid color-mix(in srgb,var(--nbl-t2-header-text) 8%,transparent); }
.nbl-t2-mobile-group summary { min-height:46px; padding:0 8px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; font-weight:800; }
.nbl-t2-mobile-group summary::-webkit-details-marker { display:none; }
.nbl-t2-mobile-group[open] summary span { transform:rotate(45deg); }
.nbl-t2-mobile-group > div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:0 8px 10px; }
.nbl-t2-mobile-group > div a { padding:9px 10px; border:1px solid color-mix(in srgb,var(--nbl-t2-header-text) 8%,transparent); border-radius:8px; color:color-mix(in srgb,var(--nbl-t2-header-text) 80%,transparent); font-size:12px; }

.nbl-t2-home-live-grid { display:grid; grid-template-columns:minmax(0,3fr) minmax(250px,1fr); gap:var(--nbl-t2-gap); margin:4px 0 var(--nbl-t2-gap); align-items:start; }
.nbl-t2-home-live-left, .nbl-t2-home-live-right { min-width:0; }
.nbl-t2-home-live-left { display:flex; flex-direction:column; gap:12px; }
.nbl-t2-home-live-ad { margin:0; }
.nbl-t2-home-live-grid.is-player-only, .nbl-t2-home-live-grid.is-chat-only { grid-template-columns:1fr; }
.nbl-t2-home-player { position:relative; width:100%; height:auto; min-height:0; aspect-ratio:16/9; border-radius:var(--nbl-t2-radius); overflow:hidden; background:#05070b; box-shadow:var(--nbl-t2-shadow); }
.nbl-t2-home-player-stage { width:100%; height:100%; min-height:0; aspect-ratio:16/9; border-radius:0; }
.nbl-t2-home-player-overlay { position:absolute; left:0; right:0; bottom:0; z-index:3; display:flex; align-items:center; gap:10px; padding:48px 18px 16px; background:linear-gradient(to top,rgba(0,0,0,.84),rgba(0,0,0,0)); color:#fff; pointer-events:none; }
.nbl-t2-home-player-overlay span { flex:0 0 auto; padding:5px 8px; border-radius:999px; background:rgba(255,255,255,.16); font-size:10px; font-weight:900; }
.nbl-t2-home-player-overlay span.is-live { background:var(--nbl-t2-live); }
.nbl-t2-home-player-overlay strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
.nbl-t2-home-live-right .nbl-chat-card { height:420px; min-height:0; max-height:560px; margin:0; display:flex; flex-direction:column; overflow:hidden; }
.nbl-t2-home-live-right .nbl-chat-body { flex:1 1 auto; min-height:0; max-height:none; overflow-y:auto; }
.nbl-t2-home-live-right .nbl-chat-compose { flex:0 0 auto; }

.nbl-t2-home-ad { margin-top:0; margin-bottom:clamp(26px,3vw,38px); }
.nbl-t2-home-scoreboard { scroll-margin-top:92px; }
.nbl-t2-date-tabs { display:inline-flex; align-items:center; gap:4px; margin:0 0 10px; padding:4px; border:1px solid var(--nbl-t2-border); border-radius:10px; background:var(--nbl-t2-card); }
.nbl-t2-date-tabs button { min-height:34px; padding:6px 12px; border:0; border-radius:7px; background:transparent; color:var(--nbl-t2-muted); cursor:pointer; font-size:12px; font-weight:850; }
.nbl-t2-date-tabs button.is-active { background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); }
.nbl-t2-league-filter { display:flex; align-items:center; gap:8px; margin:-2px 0 14px; padding-bottom:2px; overflow-x:auto; scrollbar-width:none; }
.nbl-t2-league-filter::-webkit-scrollbar { display:none; }
.nbl-t2-league-filter button { flex:0 0 auto; min-height:36px; padding:7px 12px; border:1px solid var(--nbl-t2-border); border-radius:999px; background:var(--nbl-t2-card); color:var(--nbl-t2-muted); cursor:pointer; font-size:12px; font-weight:800; white-space:nowrap; }
.nbl-t2-league-filter button.is-active { border-color:var(--nbl-t2-primary); background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); }
.nbl-t2-home-score-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.nbl-t2-home-score-list > div { min-width:0; }
.nbl-t2-home-score-list .nbl-t2-match { height:100%; }
.nbl-t2-home-score-list [hidden] { display:none!important; }
.nbl-t2-view-more { display:flex; justify-content:center; margin-top:14px; }
.nbl-t2-view-more a { min-height:40px; padding:9px 16px; border:1px solid var(--nbl-t2-border); border-radius:10px; background:var(--nbl-t2-card); color:var(--nbl-t2-primary); font-size:12px; font-weight:900; }
.nbl-t2-home-players { scroll-margin-top:92px; }
.nbl-t2-home-about, .nbl-t2-home-faq { margin-top:clamp(24px,3vw,38px); }
.nbl-t2-rich-copy { color:var(--nbl-t2-muted); }
.nbl-t2-rich-copy a { color:var(--nbl-t2-primary); font-weight:800; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px; }
.nbl-t2-rich-copy a:hover { color:var(--nbl-t2-primary-hover); }
.nbl-t2-rich-copy a:focus-visible { outline:2px solid var(--nbl-t2-primary); outline-offset:2px; border-radius:3px; }
.nbl-t2-rich-copy h2, .nbl-t2-rich-copy h3 { margin:22px 0 8px; color:var(--nbl-t2-text); }
.nbl-t2-rich-copy h2:first-child, .nbl-t2-rich-copy h3:first-child { margin-top:0; }
.nbl-t2-rich-copy p:last-child { margin-bottom:0; }
.nbl-t2-faq-list { display:grid; gap:8px; }
.nbl-t2-faq-list details { border:1px solid var(--nbl-t2-border); border-radius:10px; background:var(--nbl-t2-bg); overflow:hidden; }
.nbl-t2-faq-list summary { min-height:48px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; list-style:none; font-weight:800; }
.nbl-t2-faq-list summary::-webkit-details-marker { display:none; }
.nbl-t2-faq-list summary span { color:var(--nbl-t2-primary); font-size:20px; transition:transform .15s ease; }
.nbl-t2-faq-list details[open] summary span { transform:rotate(45deg); }
.nbl-t2-faq-list details > div { padding:0 14px 14px; color:var(--nbl-t2-muted); font-size:14px; }

.nbl-t2-bottom-nav { position:fixed; left:50%; bottom:max(10px,env(safe-area-inset-bottom)); z-index:80; width:min(calc(100% - 20px),640px); min-height:62px; padding:6px; display:grid; grid-template-columns:repeat(var(--nbl-t2-bottom-cols-desktop,4),minmax(0,1fr)); gap:4px; transform:translateX(-50%); border:1px solid var(--nbl-t2-border); border-radius:16px; background:color-mix(in srgb,var(--nbl-t2-card) 94%,transparent); box-shadow:0 18px 48px rgba(2,6,23,.18); backdrop-filter:blur(14px); }
.nbl-t2-bottom-nav > a { min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:6px 4px; border-radius:11px; color:var(--nbl-t2-muted); font-size:10px; font-weight:850; text-align:center; }
.nbl-t2-bottom-nav svg { width:20px; height:20px; flex:0 0 20px; }
.nbl-t2-bottom-nav > a:hover { background:var(--nbl-t2-primary-light); color:var(--nbl-t2-primary); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta { color:var(--nbl-t2-on-live); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta.nbl-t2-cta-style-primary { background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta.nbl-t2-cta-style-primary:hover { background:var(--nbl-t2-primary-hover); color:var(--nbl-t2-on-primary); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta.nbl-t2-cta-style-live { background:var(--nbl-t2-live); color:var(--nbl-t2-on-live); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta.nbl-t2-cta-style-live:hover { filter:brightness(.92); color:var(--nbl-t2-on-live); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta.nbl-t2-cta-style-dark { background:var(--nbl-t2-dark); color:var(--nbl-t2-on-dark); }
.nbl-t2-bottom-nav .nbl-t2-bottom-cta.nbl-t2-cta-style-dark:hover { filter:brightness(1.18); color:var(--nbl-t2-on-dark); }
.nbl-t2-footer { padding-bottom:84px; }
@media (min-width: 1025px) { .nbl-t2-hide-desktop { display:none!important; } .nbl-t2-home-live-grid.nbl-t2-grid-no-chat-desktop { grid-template-columns:1fr; } }
@media (min-width: 768px) and (max-width: 1024px) { .nbl-t2-hide-tablet { display:none!important; } .nbl-t2-home-live-grid.nbl-t2-grid-no-chat-tablet { grid-template-columns:1fr; } }
@media (max-width: 767px) { .nbl-t2-hide-mobile { display:none!important; } .nbl-t2-home-live-grid.nbl-t2-grid-no-chat-mobile { grid-template-columns:1fr; } }

@media (max-width: 1180px) {
  .nbl-t2-nav { display:none; }
  .nbl-t2-menu-btn { display:grid; }
  .nbl-t2-header-inner { grid-template-columns:minmax(0,1fr) auto; }
}
@media (max-width: 1024px) {
  .nbl-t2-home-live-grid { grid-template-columns:minmax(0,2fr) minmax(230px,1fr); }
  .nbl-t2-home-live-grid.nbl-t2-grid-no-chat-tablet { grid-template-columns:1fr; }
  .nbl-t2-bottom-nav { grid-template-columns:repeat(var(--nbl-t2-bottom-cols-tablet,4),minmax(0,1fr)); }
  .nbl-t2-home-live-right .nbl-chat-card { height:360px; min-height:0; max-height:500px; }
  .nbl-t2-hide-tablet { display:none!important; }
  .nbl-t2-bottom-nav:not(.nbl-t2-hide-tablet) { display:grid!important; }
}
@media (max-width: 767px) {
  .nbl-t2-home-live-grid { grid-template-columns:1fr; }
  .nbl-t2-bottom-nav { grid-template-columns:repeat(var(--nbl-t2-bottom-cols-mobile,4),minmax(0,1fr)); }
  .nbl-t2-home-player, .nbl-t2-home-player-stage { min-height:0; aspect-ratio:16/9; }
  .nbl-t2-home-live-right .nbl-chat-card { height:320px; min-height:320px; max-height:320px; }
  .nbl-t2-home-score-list { grid-template-columns:1fr; }
  .nbl-t2-date-tabs { display:flex; width:100%; }
  .nbl-t2-date-tabs button { flex:1 1 0; min-width:0; padding-inline:6px; }
  .nbl-t2-hide-mobile { display:none!important; }
  .nbl-t2-bottom-nav:not(.nbl-t2-hide-mobile) { display:grid!important; }
  .nbl-t2-footer { padding-bottom:86px; }
}
@media (max-width: 430px) {
  .nbl-t2-bottom-nav { width:calc(100% - 12px); bottom:max(6px,env(safe-area-inset-bottom)); min-height:58px; padding:5px 4px; gap:2px; border-radius:14px; }
  .nbl-t2-bottom-nav > a { padding:5px 2px; font-size:9px; }
  .nbl-t2-bottom-nav svg { width:18px; height:18px; }
  .nbl-t2-mobile-group > div { grid-template-columns:1fr 1fr; }
}
@media (max-width: 360px) {
  .nbl-t2-bottom-nav > a { font-size:8px; }
  .nbl-t2-bottom-nav svg { width:17px; height:17px; }
}

/* v0.5.95 - Template 2 direct category navigation + Template 1 Live Now surface parity */
@media (min-width:1025px) {
  .nbl-t2-home-live-grid { grid-template-columns:minmax(0,7fr) minmax(280px,3fr); }
  .nbl-t2-back-to-top { bottom:24px; }
}

/* Template 1 advertisement content order, kept inside the Template 2 namespace. */
.nbl-t2-ad { position:relative; isolation:isolate; min-height:118px; background:var(--nbl-t2-dark); color:var(--nbl-t2-on-dark); box-shadow:var(--nbl-t2-shadow-soft); }
.nbl-t2-ad.nbl-t2-ad-mode-image { min-height:0; background:transparent; }
.nbl-t2-ad.nbl-t2-ad-mode-content_image,
.nbl-t2-ad.nbl-t2-ad-mode-content { padding:18px 20px; background-image:var(--nbl-t2-ad-bg,none); background-position:center; background-size:cover; background-repeat:no-repeat; }
.nbl-t2-ad.nbl-t2-ad-mode-content_image::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(2,6,23,.86),rgba(15,23,42,.3)); }
.nbl-t2-ad-link { display:block; color:inherit; text-decoration:none!important; }
.nbl-t2-ad-image { display:block; width:100%; height:auto; object-fit:cover; }
.nbl-t2-ad[data-nbl-t2-deferred-ad] .nbl-t2-ad-image:not([src]) { min-height:72px; background:color-mix(in srgb,var(--nbl-t2-border) 42%,var(--nbl-t2-card)); }
.nbl-t2-ad[data-nbl-t2-deferred-ad].nbl-t2-ad-mode-content_image { background-image:none; }
.nbl-t2-ad[data-nbl-t2-deferred-ad].is-media-hydrated.nbl-t2-ad-mode-content_image { background-image:var(--nbl-t2-ad-bg,none); }
.nbl-t2-ad-copy { max-width:70%; min-height:82px; display:grid; align-content:center; gap:5px; }
.nbl-t2-ad-eyebrow { font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.nbl-t2-ad-copy strong { font-size:20px; line-height:1.15; }
.nbl-t2-ad-copy p { margin:0; color:color-mix(in srgb,var(--nbl-t2-on-dark) 85%,transparent); font-size:12px; line-height:1.5; }
.nbl-t2-ad-button { display:inline-flex; justify-self:start; align-items:center; min-height:34px; margin-top:6px; padding:0 13px; border-radius:8px; background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); font-size:12px; font-weight:800; }

/* Generic category league rail: no header dropdowns, league drill-down happens inside the destination page. */
.nbl-t2-category-leagues { display:flex; align-items:center; gap:8px; margin:-8px 0 24px; padding:8px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; border:1px solid var(--nbl-t2-border); border-radius:12px; background:var(--nbl-t2-card); }
.nbl-t2-category-leagues::-webkit-scrollbar { display:none; }
.nbl-t2-category-leagues a { flex:0 0 auto; min-height:36px; padding:7px 12px; display:inline-flex; align-items:center; border:1px solid var(--nbl-t2-border); border-radius:999px; background:var(--nbl-t2-card); color:var(--nbl-t2-muted); font-size:12px; font-weight:800; white-space:nowrap; }
.nbl-t2-category-leagues a:hover, .nbl-t2-category-leagues a:focus-visible { border-color:var(--nbl-t2-primary); color:var(--nbl-t2-primary); background:var(--nbl-t2-primary-light); outline:none; }
.nbl-t2-category-leagues a.is-active { border-color:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); background:var(--nbl-t2-primary); }

/* Template 1 Live Now / Scores visual contract, copied 1:1 in proportions but T2-namespaced. */
.nbl-t2-score-card { margin:0 0 clamp(26px,3.2vw,42px); padding:0 0 10px; overflow:hidden; border:1px solid var(--nbl-t2-border); border-radius:var(--nbl-t2-radius); background:var(--nbl-t2-card); box-shadow:var(--nbl-t2-shadow-soft); }
.nbl-t2-live-score-title { height:54px; padding:0 16px; display:flex; align-items:center; justify-content:space-between; }
.nbl-t2-live-score-title > div { display:flex; align-items:center; gap:8px; }
.nbl-t2-live-score-title svg { width:20px; height:20px; color:var(--nbl-t2-primary); }
.nbl-t2-live-score-title strong { font-size:16px; }
.nbl-t2-home-data-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:0 10px 10px; padding:0 6px; border-bottom:1px solid var(--nbl-t2-border); background:var(--nbl-t2-card); }
.nbl-t2-home-data-tabs button { position:relative; min-height:40px; border:0; border-radius:0; background:transparent; color:var(--nbl-t2-muted); font:inherit; font-weight:750; cursor:pointer; }
.nbl-t2-home-data-tabs button.is-active { color:var(--nbl-t2-primary); }
.nbl-t2-home-data-tabs button.is-active::after { content:""; position:absolute; left:18%; right:18%; bottom:-1px; height:3px; border-radius:3px 3px 0 0; background:var(--nbl-t2-primary); }
.nbl-t2-home-data-panel[hidden] { display:none!important; }
.nbl-t2-home-data-panel > .nbl-t2-date-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; width:auto; margin:0 16px 12px; padding:4px; border:0; border-radius:10px; background:var(--nbl-t2-surface-soft); }
.nbl-t2-home-data-panel > .nbl-t2-date-tabs button { height:34px; min-height:34px; padding:0 8px; border:0; border-radius:8px; background:transparent; color:var(--nbl-t2-muted); }
.nbl-t2-home-data-panel > .nbl-t2-date-tabs button.is-active { background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary); font-weight:700; box-shadow:0 2px 8px color-mix(in srgb,var(--nbl-t2-primary) 18%,transparent); }
.nbl-t2-competition-nav { display:flex; gap:8px; margin:0 10px 10px; padding:8px 10px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; border:1px solid var(--nbl-t2-border); border-radius:12px; background:var(--nbl-t2-card); }
.nbl-t2-competition-nav::-webkit-scrollbar { display:none; }
.nbl-t2-competition-chip { flex:0 0 auto; min-height:38px; padding:0 12px; display:inline-flex; align-items:center; gap:7px; border:1px solid var(--nbl-t2-border); border-radius:999px; background:var(--nbl-t2-card); color:var(--nbl-t2-text); font:inherit; font-size:12px; font-weight:750; cursor:pointer; white-space:nowrap; box-shadow:0 1px 4px rgba(15,23,42,.04); }
.nbl-t2-competition-chip img { width:24px; height:24px; flex:0 0 24px; border:1px solid color-mix(in srgb,var(--nbl-t2-border) 75%,transparent); border-radius:7px; object-fit:cover; background:#fff; pointer-events:none; }
.nbl-t2-competition-chip:hover, .nbl-t2-competition-chip:focus-visible { border-color:var(--nbl-t2-primary); color:var(--nbl-t2-primary); background:var(--nbl-t2-primary-light); outline:none; }
.nbl-t2-competition-chip.is-active { border-color:var(--nbl-t2-primary); color:var(--nbl-t2-primary); background:var(--nbl-t2-primary-light); box-shadow:0 0 0 1px color-mix(in srgb,var(--nbl-t2-primary) 20%,transparent); }
.nbl-t2-live-now-list { display:grid; gap:10px; padding:10px; }
.nbl-t2-live-now-empty { min-height:86px; display:grid; place-items:center; }
.nbl-t2-live-now-card { display:grid; grid-template-columns:124px minmax(0,1fr) 154px; min-height:120px; overflow:hidden; border:1px solid var(--nbl-t2-border); border-radius:14px; background:var(--nbl-t2-card); box-shadow:0 1px 4px rgba(15,23,42,.03); }
.nbl-t2-live-now-visual { position:relative; min-width:0; display:grid; place-items:center; background:color-mix(in srgb,var(--nbl-t2-primary) 26%,var(--nbl-t2-dark)); }
.nbl-t2-live-now-visual > img { width:68px; height:68px; padding:9px; box-sizing:border-box; object-fit:contain; border-radius:50%; background:#fff; }
.nbl-t2-live-now-badge { position:absolute; top:10px; left:10px; min-height:28px; padding:0 10px; display:inline-flex; align-items:center; border-radius:8px; background:var(--nbl-t2-live); color:var(--nbl-t2-on-live); font-size:12px; font-weight:850; letter-spacing:.02em; }
.nbl-t2-live-now-card.is-final .nbl-t2-live-now-badge { background:var(--nbl-t2-dark); }

.nbl-t2-live-now-card.is-upcoming .nbl-t2-live-now-badge { white-space:nowrap; font-size:10px; letter-spacing:0; }
.nbl-t2-live-now-card.is-final .nbl-t2-live-now-kicker strong, .nbl-t2-live-now-card.is-final .nbl-t2-live-now-meta { color:var(--nbl-t2-muted); }
.nbl-t2-live-now-main { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 112px; align-items:stretch; }
.nbl-t2-live-now-copy { min-width:0; padding:14px 18px; }
.nbl-t2-live-now-kicker { display:flex; align-items:center; gap:6px; margin-bottom:10px; font-size:12px; }
.nbl-t2-live-now-kicker strong { color:var(--nbl-t2-live); font-weight:850; }
.nbl-t2-live-now-kicker span { color:var(--nbl-t2-muted); font-weight:700; }
.nbl-t2-live-now-teams { display:grid; gap:8px; }
.nbl-t2-live-now-team { min-width:0; display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:8px; }
.nbl-t2-live-now-team .nbl-t2-team-logo, .nbl-t2-live-now-team .nbl-t2-team-fallback { width:24px; height:24px; flex-basis:24px; }
.nbl-t2-live-now-team strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:650; }
.nbl-t2-live-now-team b { font-size:15px; font-weight:850; }
.nbl-t2-live-now-meta { padding:14px 12px; display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:5px; text-align:right; color:var(--nbl-t2-live); }
.nbl-t2-live-now-meta strong { font-size:12px; }
.nbl-t2-live-now-meta span { font-size:12px; font-weight:850; }
.nbl-t2-live-now-meta small { max-width:100%; color:var(--nbl-t2-muted); font-size:10px; line-height:1.25; }
.nbl-t2-live-now-actions { padding:10px; display:grid; align-content:center; gap:8px; border-left:1px solid var(--nbl-t2-border); background:var(--nbl-t2-card); }
.nbl-t2-live-now-action { min-height:43px; padding:7px 9px; display:grid; grid-template-columns:minmax(0,1fr) 28px; align-items:center; gap:8px; border:1px solid var(--nbl-t2-border); border-radius:11px; color:var(--nbl-t2-text); background:var(--nbl-t2-card); text-decoration:none; text-align:left; font:inherit; cursor:pointer; }
.nbl-t2-live-now-action:hover { border-color:var(--nbl-t2-live); background:var(--nbl-t2-live-soft); }
.nbl-t2-live-now-action.is-pending { opacity:.62; cursor:not-allowed; }
.nbl-t2-live-action-copy { min-width:0; display:grid; gap:1px; }
.nbl-t2-live-action-copy strong { color:var(--nbl-t2-text); font-size:12px; }
.nbl-t2-live-action-copy small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--nbl-t2-muted); font-size:10px; }
.nbl-t2-live-action-play { width:28px; height:28px; display:grid; place-items:center; border:1px solid color-mix(in srgb,var(--nbl-t2-live) 55%,var(--nbl-t2-border)); border-radius:7px; color:var(--nbl-t2-live); background:var(--nbl-t2-live-soft); }
.nbl-t2-live-action-play svg { width:14px; height:14px; fill:currentColor; stroke:none; }
.nbl-t2-home-league-more { padding:0 10px 10px; display:flex; justify-content:center; }
.nbl-t2-home-league-more a { min-width:180px; min-height:42px; padding:0 18px; display:inline-flex; align-items:center; justify-content:center; gap:7px; border:1px solid var(--nbl-t2-border); border-radius:11px; background:var(--nbl-t2-card); color:var(--nbl-t2-primary); font-size:13px; font-weight:800; }
.nbl-t2-home-league-more a:hover, .nbl-t2-home-league-more a:focus-visible { border-color:var(--nbl-t2-primary); background:var(--nbl-t2-primary-light); outline:none; }
.nbl-t2-home-scores-list { display:grid; gap:10px; padding:10px; }
.nbl-t2-home-score-result { overflow:hidden; border:1px solid var(--nbl-t2-border); border-radius:12px; background:var(--nbl-t2-card); }
.nbl-t2-home-score-result-main { min-width:0; }
.nbl-t2-home-score-head, .nbl-t2-home-score-foot { padding:10px 12px; display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--nbl-t2-surface-soft); }
.nbl-t2-home-score-head { border-bottom:1px solid var(--nbl-t2-border); }
.nbl-t2-home-score-head strong { color:var(--nbl-t2-text); font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.nbl-t2-home-score-head span, .nbl-t2-home-score-foot span { color:var(--nbl-t2-muted); font-size:12px; }
.nbl-t2-home-score-teams { display:grid; gap:8px; padding:10px 12px; }
.nbl-t2-home-score-team { min-height:38px; display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:10px; }
.nbl-t2-home-score-team .nbl-t2-team-logo, .nbl-t2-home-score-team .nbl-t2-team-fallback { width:32px; height:32px; flex-basis:32px; }
.nbl-t2-home-score-team strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.nbl-t2-home-score-team b { font-size:20px; font-variant-numeric:tabular-nums; }
.nbl-t2-home-score-foot { border-top:1px solid var(--nbl-t2-border); }

/* Bottom-right utility stays above the fixed five-slot bottom navigation. */
.nbl-t2-back-to-top { position:fixed; right:max(18px,env(safe-area-inset-right)); bottom:92px; z-index:82; width:44px; height:44px; padding:0; display:grid; place-items:center; border:1px solid var(--nbl-t2-border); border-radius:50%; background:var(--nbl-t2-card); color:var(--nbl-t2-primary); box-shadow:0 12px 30px rgba(2,6,23,.18); cursor:pointer; opacity:0; visibility:hidden; transform:translateY(8px); transition:opacity .16s ease,transform .16s ease,visibility .16s ease; }
.nbl-t2-back-to-top.is-visible { opacity:1; visibility:visible; transform:translateY(0); }
.nbl-t2-back-to-top svg { width:22px; height:22px; }
.nbl-t2-back-to-top:hover, .nbl-t2-back-to-top:focus-visible { border-color:var(--nbl-t2-primary); background:var(--nbl-t2-primary-light); outline:none; }

@media (min-width:768px) {
  .nbl-t2-home-score-result { display:grid; grid-template-columns:minmax(0,1fr) max-content; align-items:stretch; }
  .nbl-t2-home-score-actions { min-width:166px; border-left:1px solid var(--nbl-t2-border); border-top:0; }
  .nbl-t2-home-score-detail-action .nbl-t2-live-action-copy strong { white-space:nowrap; }
}
@media (max-width:767px) {
  .nbl-t2-ad.nbl-t2-ad-mode-content_image, .nbl-t2-ad.nbl-t2-ad-mode-content { padding:15px; }
  .nbl-t2-ad-copy { max-width:80%; }
  .nbl-t2-ad-copy strong { font-size:17px; }
  .nbl-t2-live-now-card { grid-template-columns:86px minmax(0,1fr); }
  .nbl-t2-live-now-visual > img { width:56px; height:56px; padding:7px; }
  .nbl-t2-live-now-badge { top:8px; left:8px; min-height:24px; padding:0 7px; font-size:10px; }
  .nbl-t2-live-now-card.is-upcoming .nbl-t2-live-now-badge { font-size:9px; padding:0 5px; }
  .nbl-t2-live-now-main { grid-template-columns:minmax(0,1fr) 92px; }
  .nbl-t2-live-now-copy { padding:12px; }
  .nbl-t2-live-now-meta { padding:12px 9px; }
  .nbl-t2-live-now-actions { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); padding:8px; border-left:0; border-top:1px solid var(--nbl-t2-border); }
  .nbl-t2-live-now-action { min-height:42px; }
  .nbl-t2-home-score-result { display:grid; grid-template-columns:1fr; }
  .nbl-t2-home-score-actions { grid-column:1/-1; }
  .nbl-t2-home-league-more { padding:0 8px 8px; }
  .nbl-t2-home-league-more a { width:100%; }
  .nbl-t2-back-to-top { right:14px; bottom:82px; width:42px; height:42px; }
}
@media (max-width:430px) {
  .nbl-t2-home-data-tabs { margin-left:8px; margin-right:8px; }
  .nbl-t2-competition-nav { margin-left:8px; margin-right:8px; padding-left:8px; padding-right:8px; }
  .nbl-t2-live-now-list, .nbl-t2-home-scores-list { padding:8px; }
  .nbl-t2-live-now-card { grid-template-columns:72px minmax(0,1fr); }
  .nbl-t2-live-now-main { grid-template-columns:1fr; }
  .nbl-t2-live-now-meta { padding:0 12px 12px; display:grid; grid-template-columns:auto auto minmax(0,1fr); justify-content:start; gap:6px; align-items:center; text-align:left; }
  .nbl-t2-live-now-team strong { font-size:13px; }
  .nbl-t2-live-now-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nbl-t2-home-score-head, .nbl-t2-home-score-foot, .nbl-t2-home-score-teams { padding-left:10px; padding-right:10px; }
  .nbl-t2-home-score-foot { align-items:flex-start; flex-direction:column; gap:5px; }
  .nbl-t2-category-leagues { margin-left:0; margin-right:0; }
}


/* v0.5.96 - deferred shared ads + mature chat + click-only score navigation */
@media (max-width:767px) {
  .nbl-template-2 .nbl-chat-body { min-height:132px; max-height:270px; padding:6px 10px; }
  .nbl-template-2 .nbl-chat-message { gap:9px; padding:5px 0; }
  .nbl-template-2 .nbl-chat-avatar { width:28px; height:28px; flex-basis:28px; }
  .nbl-template-2 .nbl-chat-compose { padding:9px 10px 10px; }
  .nbl-template-2 .nbl-chat-input { grid-template-columns:minmax(0,1fr) 44px; gap:6px; }
  .nbl-template-2 .nbl-chat-entry { grid-template-columns:minmax(0,1fr) 40px; height:44px; }
  .nbl-template-2 .nbl-chat-entry input { height:42px; padding-left:12px; }
  .nbl-template-2 .nbl-chat-emoji-toggle, .nbl-template-2 .nbl-chat-send { height:44px; }
  .nbl-template-2 .nbl-chat-emoji-toggle { width:40px; }
  .nbl-template-2 .nbl-chat-send { width:44px; }
  .nbl-template-2 .nlt-emoji-pop { width:210px; max-width:calc(100vw - 32px); padding:8px; gap:5px; }
}

/* v0.5.97 - mobile live-player floor + all-basketball bottom navigation */
@media (max-width:767px) {
  /* Keep the homepage player as a real 16:9 box on mobile. The previous
     height:100%/min-height:0 combination could collapse inside the grid/flex pair. */
  .nbl-template-2 .nbl-t2-home-live-left { display:flex!important; width:100%; order:1; }
  .nbl-template-2 .nbl-t2-home-live-right { width:100%; order:2; }
  .nbl-template-2 .nbl-t2-home-player {
    display:block!important;
    width:100%;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9;
    flex:0 0 auto;
  }
  .nbl-template-2 .nbl-t2-home-player-stage {
    display:block!important;
    width:100%;
    height:100%!important;
    min-height:0!important;
    aspect-ratio:auto;
  }
}

/* v0.5.98: shared detail banner and StreamEast brand polish. */
.nbl-template-2 .nbl-t2-detail-ad { margin-bottom:18px; }


/* v0.6.02 - Template 2 navigation states inherit the active Theme Center palette.
 * selected = palette primary; hover = palette live/accent. */
.nbl-t2-nav .nbl-t2-nav-link {
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 9px;
  color: color-mix(in srgb,var(--nbl-t2-header-text) 78%,transparent);
  transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.nbl-t2-nav .nbl-t2-nav-link::after {
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  opacity: 0;
  background: currentColor;
  transition: opacity .16s ease;
}
.nbl-t2-nav .nbl-t2-nav-link:not(.is-current):hover,
.nbl-t2-nav .nbl-t2-nav-link:not(.is-current):focus-visible {
  color: var(--nbl-t2-nav-hover);
  background: color-mix(in srgb, var(--nbl-t2-nav-hover) 14%, transparent);
  outline: none;
}
.nbl-t2-nav .nbl-t2-nav-link:not(.is-current):hover::after,
.nbl-t2-nav .nbl-t2-nav-link:not(.is-current):focus-visible::after {
  right: 10px;
  opacity: 1;
}
.nbl-t2-nav .nbl-t2-nav-link.is-current {
  color: var(--nbl-t2-nav-selected);
  background: color-mix(in srgb, var(--nbl-t2-nav-selected) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nbl-t2-nav-selected) 20%, transparent);
}
.nbl-t2-nav .nbl-t2-nav-link.is-current::after {
  right: 10px;
  opacity: 1;
}
.nbl-t2-mobile-nav a {
  border-radius: 8px;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.nbl-t2-mobile-nav a:not(.is-current):hover,
.nbl-t2-mobile-nav a:not(.is-current):focus-visible {
  color: var(--nbl-t2-nav-hover);
  background: color-mix(in srgb, var(--nbl-t2-nav-hover) 14%, transparent);
}
.nbl-t2-mobile-nav a.is-current {
  color: var(--nbl-t2-nav-selected);
  background: color-mix(in srgb, var(--nbl-t2-nav-selected) 14%, transparent);
  border-color: color-mix(in srgb, var(--nbl-t2-nav-selected) 32%, transparent);
}

/* v0.6.03: Template Center page-copy consumers. */
.nbl-template-2 .nbl-t2-page-intro{margin-top:8px;color:var(--nbl-t2-muted);font-size:14px;line-height:1.7;max-width:820px}
.nbl-template-2 .nbl-t2-page-intro p{margin:0 0 8px}
.nbl-template-2 .nbl-t2-page-intro p:last-child{margin-bottom:0}
.nbl-template-2 .nbl-t2-home-intro{margin:0 0 16px}
.nbl-template-2 .nbl-t2-subsection-title{margin:18px 0 10px;font-size:13px;font-weight:800;color:var(--nbl-t2-text);text-transform:uppercase;letter-spacing:.04em}
.nbl-template-2 .nbl-t2-player-heading{margin-bottom:12px}
.nbl-template-2 .nbl-t2-profile-hero.is-inline{min-height:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none;display:flex;align-items:center;gap:14px}
.nbl-template-2 .nbl-t2-profile-hero.is-inline .nbl-t2-team-logo,.nbl-template-2 .nbl-t2-profile-hero.is-inline .nbl-t2-team-fallback{width:72px;height:72px;flex:0 0 72px}
.nbl-template-2 .nbl-t2-profile-hero.is-inline strong{font-size:18px;color:var(--nbl-t2-text)}
.nbl-template-2 .nbl-t2-stat-strip.is-contained{margin:0;box-shadow:none;border:0;background:transparent;padding:0}
@media(max-width:767px){.nbl-template-2 .nbl-t2-page-intro{font-size:13px;line-height:1.65}.nbl-template-2 .nbl-t2-profile-hero.is-inline .nbl-t2-team-logo,.nbl-template-2 .nbl-t2-profile-hero.is-inline .nbl-t2-team-fallback{width:56px;height:56px;flex-basis:56px}}


/* v0.6.03: Template Center footer rows are real Template 2 frontend consumers. */
.nbl-template-2 .nbl-t2-footer-rows{width:min(100%,var(--nbl-t2-width));margin:0 auto;padding:26px clamp(14px,2.4vw,30px)}
.nbl-template-2 .nbl-t2-footer-row{display:grid;grid-template-columns:repeat(var(--nbl-t2-footer-cols,1),minmax(0,1fr));gap:24px;padding:18px 0;border-bottom:1px solid color-mix(in srgb,var(--nbl-t2-header-text) 9%,transparent)}
.nbl-template-2 .nbl-t2-footer-row:last-child{border-bottom:0}
.nbl-template-2 .nbl-t2-footer-component{min-width:0;display:grid;align-content:start;gap:8px;color:color-mix(in srgb,var(--nbl-t2-header-text) 72%,transparent);font-size:13px;line-height:1.65}
.nbl-template-2 .nbl-t2-footer-component>strong{color:var(--nbl-t2-header-text);font-size:14px}
.nbl-template-2 .nbl-t2-footer-component a{color:color-mix(in srgb,var(--nbl-t2-header-text) 72%,transparent)}
.nbl-template-2 .nbl-t2-footer-component a:hover{color:var(--nbl-t2-primary)}
.nbl-template-2 .nbl-t2-footer-logo img{display:block;width:min(230px,100%);height:auto}
.nbl-template-2 .nbl-t2-footer-image img{display:block;max-width:100%;height:auto;border-radius:calc(var(--nbl-t2-radius) * .75)}
.nbl-template-2 .nbl-t2-footer-copy{font-size:11px;color:color-mix(in srgb,var(--nbl-t2-header-text) 48%,transparent)}
@media(max-width:767px){.nbl-template-2 .nbl-t2-footer-row{grid-template-columns:repeat(var(--nbl-t2-footer-mobile-cols,1),minmax(0,1fr));gap:18px}.nbl-template-2 .nbl-t2-footer-rows{padding-left:14px;padding-right:14px}}


/* v0.6.05: editable league-first header + league hub controls. */
.nbl-template-2 .nbl-t2-nav { gap: clamp(7px, .85vw, 14px); }
.nbl-template-2 .nbl-t2-nav .nbl-t2-nav-link { padding-inline: 7px; font-size: 12.5px; }
.nbl-template-2 .nbl-t2-league-controls { display: grid; gap: 10px; margin: -8px 0 24px; }
.nbl-template-2 .nbl-t2-league-date-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: min(100%, 460px); margin: 0; }
.nbl-template-2 .nbl-t2-date-tabs a { min-height: 34px; padding: 6px 12px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: transparent; color: var(--nbl-t2-muted); font-size: 12px; font-weight: 850; white-space: nowrap; }
.nbl-template-2 .nbl-t2-date-tabs a:hover, .nbl-template-2 .nbl-t2-date-tabs a:focus-visible { color: var(--nbl-t2-primary); background: var(--nbl-t2-primary-light); outline: none; }
.nbl-template-2 .nbl-t2-date-tabs a.is-active { background: var(--nbl-t2-primary); color: var(--nbl-t2-on-primary); }
.nbl-template-2 .nbl-t2-league-section-nav { display: flex; align-items: center; gap: 8px; padding: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border: 1px solid var(--nbl-t2-border); border-radius: 12px; background: var(--nbl-t2-card); }
.nbl-template-2 .nbl-t2-league-section-nav::-webkit-scrollbar { display: none; }
.nbl-template-2 .nbl-t2-league-section-nav a { flex: 0 0 auto; min-height: 36px; padding: 7px 13px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--nbl-t2-text); font-size: 12px; font-weight: 850; white-space: nowrap; }
.nbl-template-2 .nbl-t2-league-section-nav a:hover, .nbl-template-2 .nbl-t2-league-section-nav a:focus-visible { color: var(--nbl-t2-on-primary); background: var(--nbl-t2-primary); outline: none; }
.nbl-template-2 .nbl-t2-section[id], .nbl-template-2 #standings { scroll-margin-top: 86px; }
@media (max-width: 1180px) and (min-width: 1025px) {
  .nbl-template-2 .nbl-t2-header-inner { gap: 14px; }
  .nbl-template-2 .nbl-t2-brand img { max-width: 170px; }
  .nbl-template-2 .nbl-t2-nav { gap: 5px; }
  .nbl-template-2 .nbl-t2-nav .nbl-t2-nav-link { padding-inline: 5px; font-size: 11.5px; }
}
@media (max-width: 540px) {
  .nbl-template-2 .nbl-t2-league-date-tabs { width: 100%; }
  .nbl-template-2 .nbl-t2-date-tabs a { padding-inline: 6px; }
}

/* v0.6.06: native-shell centering guard.
 * The active WordPress theme still loads through wp_head(); some themes apply generic body/main
 * width, float, translate or margin rules even though Template 2 uses its own native shell.
 * Keep the Theme Center content_width authority, but force every Template 2 layout rail to center. */
html:has(body.nbl-t2-page) { width:100%; max-width:none; padding-left:0; padding-right:0; }
body.nbl-t2-page {
  width:100%!important; max-width:none!important; margin-left:0!important; margin-right:0!important;
  padding-left:0!important; padding-right:0!important; display:block!important; float:none!important;
  position:static!important; left:auto!important; right:auto!important; transform:none!important;
}
body.nbl-t2-page > .nbl-template-2 {
  display:block!important; width:100%!important; max-width:none!important; margin-left:0!important; margin-right:0!important;
  padding-left:0!important; padding-right:0!important; float:none!important; clear:both!important;
  position:relative!important; left:auto!important; right:auto!important; transform:none!important;
}
body.nbl-t2-page .nbl-t2-main,
body.nbl-t2-page .nbl-t2-header-inner,
body.nbl-t2-page .nbl-t2-league-strip > div,
body.nbl-t2-page .nbl-t2-footer-grid,
body.nbl-t2-page .nbl-t2-footer-bottom,
body.nbl-t2-page .nbl-t2-footer-rows {
  width:100%!important; max-width:var(--nbl-t2-width)!important;
  margin-left:auto!important; margin-right:auto!important; float:none!important; clear:both!important;
  left:auto!important; right:auto!important; transform:none!important;
}
body.nbl-t2-page .nbl-t2-main { display:block!important; position:relative!important; }


/* v0.6.07: native-shell fatal recovery companion + top-gap and horizontal-strip fixes. */
body.nbl-t2-page {
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
body.admin-bar.nbl-t2-page .nbl-t2-header { top:32px; }
@media (max-width:782px) {
  body.admin-bar.nbl-t2-page .nbl-t2-header { top:46px; }
}

.nbl-template-2 .nbl-t2-competition-nav,
.nbl-template-2 .nbl-t2-league-strip > div,
.nbl-template-2 .nbl-t2-category-leagues,
.nbl-template-2 .nbl-t2-league-section-nav {
  min-width:0;
  max-width:100%;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x pan-y;
  scroll-padding-inline:10px;
  scrollbar-width:thin;
}
.nbl-template-2 .nbl-t2-competition-nav::-webkit-scrollbar,
.nbl-template-2 .nbl-t2-league-strip > div::-webkit-scrollbar,
.nbl-template-2 .nbl-t2-category-leagues::-webkit-scrollbar,
.nbl-template-2 .nbl-t2-league-section-nav::-webkit-scrollbar {
  display:block;
  height:5px;
}
.nbl-template-2 .nbl-t2-competition-nav::-webkit-scrollbar-track,
.nbl-template-2 .nbl-t2-league-strip > div::-webkit-scrollbar-track,
.nbl-template-2 .nbl-t2-category-leagues::-webkit-scrollbar-track,
.nbl-template-2 .nbl-t2-league-section-nav::-webkit-scrollbar-track { background:transparent; }
.nbl-template-2 .nbl-t2-competition-nav::-webkit-scrollbar-thumb,
.nbl-template-2 .nbl-t2-league-strip > div::-webkit-scrollbar-thumb,
.nbl-template-2 .nbl-t2-category-leagues::-webkit-scrollbar-thumb,
.nbl-template-2 .nbl-t2-league-section-nav::-webkit-scrollbar-thumb {
  border-radius:99px;
  background:color-mix(in srgb,var(--nbl-t2-primary) 38%,transparent);
}
.nbl-template-2 .nbl-t2-competition-nav > :last-child,
.nbl-template-2 .nbl-t2-league-strip > div > :last-child,
.nbl-template-2 .nbl-t2-category-leagues > :last-child,
.nbl-template-2 .nbl-t2-league-section-nav > :last-child { margin-right:8px; }
.nbl-template-2 .nbl-t2-scroll-dragging { cursor:grabbing!important; user-select:none; }
@media (hover:hover) and (pointer:fine) {
  .nbl-template-2 .nbl-t2-competition-nav,
  .nbl-template-2 .nbl-t2-league-strip > div,
  .nbl-template-2 .nbl-t2-category-leagues,
  .nbl-template-2 .nbl-t2-league-section-nav { cursor:grab; }
}

/* v0.6.12: Template 2 interaction, full-row ad, and home entity layout closure. */
.nbl-template-2 .nbl-t2-home-live-banner {
  width:100%;
  margin:0 0 var(--nbl-t2-gap);
}
.nbl-template-2 .nbl-t2-home-live-banner.nbl-t2-ad-mode-image .nbl-t2-ad-image {
  width:100%;
  max-height:none;
}
.nbl-template-2 .nbl-t2-home-entities {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--nbl-t2-gap);
  margin:0 0 clamp(26px,3.2vw,42px);
}
.nbl-template-2 .nbl-t2-home-entity-panel {
  min-width:0;
  margin:0;
}
.nbl-template-2 .nbl-t2-home-entity-list {
  display:grid;
  gap:10px;
}
.nbl-template-2 .nbl-t2-home-entity-list .nbl-t2-entity-card {
  min-height:72px;
  padding:12px 14px;
}
.nbl-template-2 .nbl-t2-home-entity-list .nbl-t2-entity-card .nbl-t2-team-logo,
.nbl-template-2 .nbl-t2-home-entity-list .nbl-t2-entity-card .nbl-t2-team-fallback {
  width:40px;
  height:40px;
  flex-basis:40px;
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-home-entities { grid-template-columns:1fr; }
}

/* v0.6.13: Home standings discovery + framed Players / Teams panels. */
.nbl-template-2 .nbl-t2-home-entity-panel {
  padding:clamp(16px,2vw,22px);
  border:1px solid var(--nbl-t2-border);
  border-radius:var(--nbl-t2-radius);
  background:var(--nbl-t2-card);
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-home-entity-panel > .nbl-t2-section-head {
  margin-bottom:16px;
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-home-entity-panel { padding:14px 12px; }
}



/* v0.6.14: durable Yesterday results + published shared-ad render closure. */
.nbl-template-2 .nbl-t2-home-live-grid.has-banner {
  grid-template-areas:
    "player chat"
    "banner banner";
}
.nbl-template-2 .nbl-t2-home-live-grid.has-banner .nbl-t2-home-live-left { grid-area:player; }
.nbl-template-2 .nbl-t2-home-live-grid.has-banner .nbl-t2-home-live-right { grid-area:chat; }
.nbl-template-2 .nbl-t2-home-live-grid.has-banner .nbl-t2-home-live-banner-row { grid-area:banner; min-width:0; width:100%; }
.nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-home-live-banner { width:100%; margin:0; }
.nbl-template-2 .nbl-t2-home-live-banner-row picture,
.nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-ad-link,
.nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-ad-image { width:100%; }
.nbl-template-2 .nbl-t2-home-live-grid.has-banner.is-player-only {
  grid-template-columns:1fr;
  grid-template-areas:"player" "banner";
}
.nbl-template-2 .nbl-t2-home-live-grid.has-banner.is-chat-only {
  grid-template-columns:1fr;
  grid-template-areas:"chat" "banner";
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-home-live-grid.has-banner {
    grid-template-columns:1fr;
    grid-template-areas:"player" "banner" "chat";
  }
  .nbl-template-2 .nbl-t2-home-live-grid.has-banner.is-player-only { grid-template-areas:"player" "banner"; }
  .nbl-template-2 .nbl-t2-home-live-grid.has-banner.is-chat-only { grid-template-areas:"chat" "banner"; }
  .nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-ad-image { max-height:none; object-fit:contain; }
}

/* v0.6.15: deterministic shared-ad hydration + one 20px vertical rhythm authority. */
.nbl-template-2 {
  --nbl-t2-section-gap:20px;
}

/* Top-level presentation blocks use one vertical rhythm across Home, Hub/category and Detail. */
.nbl-template-2 .nbl-t2-main > :where(
  .nbl-t2-home-intro,
  .nbl-t2-home-live-grid,
  .nbl-t2-home-ad,
  .nbl-t2-score-card,
  .nbl-t2-standings-card,
  .nbl-t2-home-entities,
  .nbl-t2-config-about,
  .nbl-t2-config-faq,
  .nbl-t2-breadcrumb,
  .nbl-t2-hub-ad,
  .nbl-t2-game-ad,
  .nbl-t2-page-head,
  .nbl-t2-league-hero,
  .nbl-t2-profile-hero,
  .nbl-t2-game-head,
  .nbl-t2-video-card,
  .nbl-t2-watch-lines,
  .nbl-chat-card,
  .nbl-t2-stat-strip,
  .nbl-t2-category-leagues,
  .nbl-t2-league-controls,
  .nbl-t2-section,
  .nbl-t2-card,
  .nbl-t2-article,
  .nbl-t2-editorial-grid,
  .nbl-t2-pagination
) {
  margin-top:0!important;
  margin-bottom:var(--nbl-t2-section-gap)!important;
}
.nbl-template-2 .nbl-t2-main > :last-child { margin-bottom:0!important; }
.nbl-template-2 .nbl-t2-home-live-grid,
.nbl-template-2 .nbl-t2-home-entities { gap:var(--nbl-t2-section-gap); }

/* Shared banners always occupy the complete Template 2 content rail. */
.nbl-template-2 .nbl-t2-home-live-banner-row,
.nbl-template-2 .nbl-t2-hub-ad,
.nbl-template-2 .nbl-t2-game-ad,
.nbl-template-2 .nbl-t2-ad-link,
.nbl-template-2 .nbl-t2-ad picture,
.nbl-template-2 .nbl-t2-ad-image {
  width:100%;
  max-width:none;
}
.nbl-template-2 .nbl-t2-ad picture,
.nbl-template-2 .nbl-t2-ad-image { display:block; }
.nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-ad { margin:0!important; }

@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-home-live-grid.has-banner { gap:var(--nbl-t2-section-gap); }
}


/* v0.6.17: StreamEast App home promo + native App download surface. */
.nbl-template-2 .nbl-t2-app-promo,
.nbl-template-2 .nbl-t2-app-download {
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(240px,.75fr);
  grid-template-areas:
    "copy visual"
    "actions visual";
  gap:18px clamp(20px,4vw,46px);
  align-items:center;
  padding:clamp(22px,4vw,42px);
  overflow:hidden;
  border:1px solid var(--nbl-t2-border);
  border-radius:var(--nbl-t2-radius);
  background:linear-gradient(135deg,var(--nbl-t2-card),var(--nbl-t2-primary-light));
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-app-promo-copy,
.nbl-template-2 .nbl-t2-app-download-copy { min-width:0; grid-area:copy; }
.nbl-template-2 .nbl-t2-app-promo-actions,
.nbl-template-2 .nbl-t2-app-download-actions { min-width:0; grid-area:actions; align-self:start; }
.nbl-template-2 .nbl-t2-app-eyebrow {
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 10px;
  border-radius:999px;
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
}
.nbl-template-2 .nbl-t2-app-promo h2,
.nbl-template-2 .nbl-t2-app-download h1,
.nbl-template-2 .nbl-t2-app-download h2 { margin:12px 0 10px; color:var(--nbl-t2-text); letter-spacing:-.03em; }
.nbl-template-2 .nbl-t2-app-promo h2 { font-size:clamp(24px,3.5vw,38px); line-height:1.08; }
.nbl-template-2 .nbl-t2-app-download h1 { font-size:clamp(30px,4.5vw,50px); line-height:1.02; }
.nbl-template-2 .nbl-t2-app-download h2 { margin-top:18px; font-size:clamp(20px,2.5vw,30px); line-height:1.1; }
.nbl-template-2 .nbl-t2-app-promo-copy > p,
.nbl-template-2 .nbl-t2-app-download-copy > p { margin:0; max-width:700px; color:var(--nbl-t2-muted); font-size:14px; line-height:1.72; }
.nbl-template-2 .nbl-t2-app-features { display:flex; flex-wrap:wrap; gap:8px 12px; margin:18px 0 0; padding:0; list-style:none; }
.nbl-template-2 .nbl-t2-app-features li { display:inline-flex; align-items:center; gap:7px; min-height:32px; padding:6px 10px; border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 22%,var(--nbl-t2-border)); border-radius:999px; background:color-mix(in srgb,var(--nbl-t2-card) 84%,transparent); color:var(--nbl-t2-text); font-size:11px; }
.nbl-template-2 .nbl-t2-app-features li span { color:var(--nbl-t2-success); font-weight:950; }
.nbl-template-2 .nbl-t2-app-features li strong { font-weight:800; }
.nbl-template-2 .nbl-t2-app-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:20px; padding:10px 18px; border-radius:10px; background:var(--nbl-t2-primary); color:var(--nbl-t2-on-primary)!important; font-size:13px; font-weight:900; box-shadow:0 8px 22px color-mix(in srgb,var(--nbl-t2-primary) 20%,transparent); }
.nbl-template-2 .nbl-t2-app-cta:hover,
.nbl-template-2 .nbl-t2-app-cta:focus-visible { background:var(--nbl-t2-primary-hover); color:var(--nbl-t2-on-primary)!important; outline:none; transform:translateY(-1px); }
.nbl-template-2 .nbl-t2-app-promo-visual,
.nbl-template-2 .nbl-t2-app-download-visual { min-width:0; grid-area:visual; align-self:stretch; display:grid; place-items:center; }
.nbl-template-2 .nbl-t2-app-picture { display:block; width:100%; }
.nbl-template-2 .nbl-t2-app-picture img { display:block; width:100%; max-height:390px; object-fit:contain; }
.nbl-template-2 .nbl-t2-app-phone { width:min(100%,260px); aspect-ratio:10/17; display:flex; flex-direction:column; gap:14px; padding:18px; border:1px solid color-mix(in srgb,var(--nbl-t2-dark) 24%,var(--nbl-t2-border)); border-radius:28px; background:var(--nbl-t2-card); box-shadow:0 24px 56px color-mix(in srgb,var(--nbl-t2-dark) 18%,transparent); transform:rotate(2deg); }
.nbl-template-2 .nbl-t2-app-phone-bar { width:34%; height:5px; margin:0 auto 2px; border-radius:99px; background:var(--nbl-t2-border); }
.nbl-template-2 .nbl-t2-app-phone-brand { display:flex; align-items:center; gap:8px; min-height:38px; padding-bottom:10px; border-bottom:1px solid var(--nbl-t2-border); color:var(--nbl-t2-text); }
.nbl-template-2 .nbl-t2-app-phone-brand img { width:28px; height:28px; object-fit:contain; }
.nbl-template-2 .nbl-t2-app-phone-brand strong { font-size:11px; font-style:italic; letter-spacing:-.03em; }
.nbl-template-2 .nbl-t2-app-phone-live { display:grid; gap:7px; padding:16px 14px; border-radius:16px; background:var(--nbl-t2-dark); color:var(--nbl-t2-on-dark); }
.nbl-template-2 .nbl-t2-app-phone-live span { width:max-content; padding:3px 7px; border-radius:999px; background:var(--nbl-t2-live); color:var(--nbl-t2-on-live); font-size:8px; font-weight:950; }
.nbl-template-2 .nbl-t2-app-phone-live b { font-size:20px; line-height:1; }
.nbl-template-2 .nbl-t2-app-phone-live small { color:color-mix(in srgb,var(--nbl-t2-on-dark) 68%,transparent); }
.nbl-template-2 .nbl-t2-app-phone-lines { display:grid; gap:9px; }
.nbl-template-2 .nbl-t2-app-phone-lines i { display:block; height:42px; border:1px solid var(--nbl-t2-border); border-radius:12px; background:linear-gradient(90deg,var(--nbl-t2-primary-light),var(--nbl-t2-card)); }
.nbl-template-2 .nbl-t2-app-download { grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr); }
.nbl-template-2 .nbl-t2-app-download .nbl-t2-page-intro { margin:0 0 10px!important; }
.nbl-template-2 .nbl-t2-app-download-note { width:max-content; max-width:100%; margin-top:20px; padding:10px 13px; border:1px solid var(--nbl-t2-border); border-radius:10px; background:var(--nbl-t2-card); color:var(--nbl-t2-muted); font-size:12px; font-weight:700; }
.nbl-template-2 .nbl-t2-main > .nbl-t2-app-promo,
.nbl-template-2 .nbl-t2-main > .nbl-t2-app-download { margin-top:0!important; margin-bottom:var(--nbl-t2-section-gap)!important; }
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-app-promo,
  .nbl-template-2 .nbl-t2-app-download { grid-template-columns:1fr; grid-template-areas:"copy" "visual" "actions"; gap:20px; padding:20px 16px; }
  .nbl-template-2 .nbl-t2-app-phone { width:min(72vw,235px); transform:none; }
  .nbl-template-2 .nbl-t2-app-features { display:grid; grid-template-columns:1fr; }
  .nbl-template-2 .nbl-t2-app-features li { width:100%; border-radius:10px; }
  .nbl-template-2 .nbl-t2-app-cta { width:100%; }
}

/* v0.6.18: shared StreamEast App platform download buttons + QR placement. */
.nbl-template-2 .nbl-t2-app-install {
  min-width:0;
  overflow:hidden;
  padding:clamp(22px,4vw,40px);
  border:1px solid color-mix(in srgb,var(--nbl-t2-on-dark) 14%,transparent);
  border-radius:var(--nbl-t2-radius);
  background:linear-gradient(145deg,var(--nbl-t2-dark),color-mix(in srgb,var(--nbl-t2-dark) 84%,var(--nbl-t2-primary)));
  color:var(--nbl-t2-on-dark);
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-main > .nbl-t2-app-install {
  margin-top:0!important;
  margin-bottom:var(--nbl-t2-section-gap)!important;
}
.nbl-template-2 .nbl-t2-app-install-head {
  max-width:760px;
  margin:0 auto 24px;
  text-align:center;
}
.nbl-template-2 .nbl-t2-app-install-head .nbl-t2-app-eyebrow {
  background:color-mix(in srgb,var(--nbl-t2-primary) 82%,var(--nbl-t2-dark));
  color:var(--nbl-t2-on-primary);
}
.nbl-template-2 .nbl-t2-app-install-head h2 {
  margin:12px 0 8px;
  color:var(--nbl-t2-on-dark);
  font-size:clamp(24px,3.3vw,38px);
  line-height:1.08;
  letter-spacing:-.03em;
}
.nbl-template-2 .nbl-t2-app-install-head p {
  margin:0 auto;
  max-width:680px;
  color:color-mix(in srgb,var(--nbl-t2-on-dark) 72%,transparent);
  font-size:13px;
  line-height:1.7;
}
.nbl-template-2 .nbl-t2-app-platform-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(16px,3vw,30px);
  max-width:850px;
  margin:0 auto;
}
.nbl-template-2 .nbl-t2-app-platform-card {
  min-width:0;
  display:grid;
  grid-template-rows:auto 1fr;
  gap:16px;
}
.nbl-template-2 .nbl-t2-app-platform-button-wrap {
  min-width:0;
}
.nbl-template-2 .nbl-t2-app-platform-image-button,
.nbl-template-2 .nbl-t2-app-platform-native-button {
  width:100%;
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid color-mix(in srgb,var(--nbl-t2-on-dark) 25%,transparent);
  border-radius:14px;
  background:color-mix(in srgb,var(--nbl-t2-card) 7%,var(--nbl-t2-dark));
  color:var(--nbl-t2-on-dark)!important;
  text-decoration:none!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.nbl-template-2 .nbl-t2-app-platform-image-button:not(.is-disabled):hover,
.nbl-template-2 .nbl-t2-app-platform-image-button:not(.is-disabled):focus-visible,
.nbl-template-2 .nbl-t2-app-platform-native-button:not(.is-disabled):hover,
.nbl-template-2 .nbl-t2-app-platform-native-button:not(.is-disabled):focus-visible {
  transform:translateY(-2px);
  border-color:var(--nbl-t2-primary);
  background:color-mix(in srgb,var(--nbl-t2-primary) 14%,var(--nbl-t2-dark));
  outline:none;
}
.nbl-template-2 .nbl-t2-app-platform-image-button.is-disabled,
.nbl-template-2 .nbl-t2-app-platform-native-button.is-disabled {
  cursor:default;
  opacity:.78;
}
.nbl-template-2 .nbl-t2-app-platform-image-button img {
  display:block;
  width:auto;
  max-width:100%;
  max-height:88px;
  object-fit:contain;
}
.nbl-template-2 .nbl-t2-app-platform-native-button {
  justify-content:flex-start;
  gap:15px;
  padding:14px 20px;
}
.nbl-template-2 .nbl-t2-app-platform-native-button > span:last-child {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}
.nbl-template-2 .nbl-t2-app-platform-native-button strong {
  color:var(--nbl-t2-on-dark);
  font-size:20px;
  font-weight:900;
  line-height:1.05;
}
.nbl-template-2 .nbl-t2-app-platform-native-button small {
  color:color-mix(in srgb,var(--nbl-t2-on-dark) 78%,transparent);
  font-size:12px;
  font-weight:800;
  line-height:1.2;
}
.nbl-template-2 .nbl-t2-app-platform-icon {
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  color:var(--nbl-t2-primary-light);
}
.nbl-template-2 .nbl-t2-app-platform-icon svg {
  width:100%;
  height:100%;
}
.nbl-template-2 .nbl-t2-app-qr-shell {
  min-height:270px;
  display:grid;
  place-items:center;
  padding:clamp(22px,4vw,42px);
  border:1px solid color-mix(in srgb,var(--nbl-t2-on-dark) 16%,transparent);
  border-radius:16px;
  background:color-mix(in srgb,var(--nbl-t2-card) 8%,var(--nbl-t2-dark));
}
.nbl-template-2 .nbl-t2-app-qr-shell a {
  display:grid;
  place-items:center;
  max-width:100%;
}
.nbl-template-2 .nbl-t2-app-qr-shell img {
  display:block;
  width:min(220px,100%);
  height:auto;
  aspect-ratio:1/1;
  object-fit:contain;
  border:8px solid var(--nbl-t2-card);
  border-radius:14px;
  background:var(--nbl-t2-card);
}
.nbl-template-2 .nbl-t2-app-install-legacy {
  display:flex;
  justify-content:center;
  margin-top:4px;
}
.nbl-template-2 .nbl-t2-app-install .nbl-t2-app-download-note {
  margin:4px auto 0;
  background:color-mix(in srgb,var(--nbl-t2-card) 7%,var(--nbl-t2-dark));
  border-color:color-mix(in srgb,var(--nbl-t2-on-dark) 18%,transparent);
  color:color-mix(in srgb,var(--nbl-t2-on-dark) 72%,transparent);
}
.nbl-template-2 .nbl-t2-app-install-embedded {
  padding:clamp(20px,3.2vw,32px);
}
.nbl-template-2 .nbl-t2-app-install-embedded .nbl-t2-app-install-head {
  margin-bottom:20px;
}
.nbl-template-2 .nbl-t2-app-install-embedded .nbl-t2-app-platform-grid {
  max-width:760px;
}
.nbl-template-2 .nbl-t2-app-install-embedded .nbl-t2-app-qr-shell {
  min-height:220px;
  padding:24px;
}
.nbl-template-2 .nbl-t2-app-install-embedded .nbl-t2-app-qr-shell img {
  width:min(180px,100%);
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-app-install { padding:22px 16px; }
  .nbl-template-2 .nbl-t2-app-install-head { margin-bottom:18px; }
  .nbl-template-2 .nbl-t2-app-install-head h2 { font-size:26px; }
  .nbl-template-2 .nbl-t2-app-platform-grid { grid-template-columns:1fr; gap:20px; }
  .nbl-template-2 .nbl-t2-app-platform-card { gap:12px; }
  .nbl-template-2 .nbl-t2-app-platform-image-button,
  .nbl-template-2 .nbl-t2-app-platform-native-button { min-height:68px; }
  .nbl-template-2 .nbl-t2-app-platform-native-button { padding:12px 16px; }
  .nbl-template-2 .nbl-t2-app-platform-native-button strong { font-size:18px; }
  .nbl-template-2 .nbl-t2-app-qr-shell,
  .nbl-template-2 .nbl-t2-app-install-embedded .nbl-t2-app-qr-shell { min-height:0; padding:24px 18px; }
  .nbl-template-2 .nbl-t2-app-qr-shell img,
  .nbl-template-2 .nbl-t2-app-install-embedded .nbl-t2-app-qr-shell img { width:min(210px,72vw); }
}

/* v0.6.19: /app/ Download & Installation Guide below the platform download panel. */
.nbl-template-2 .nbl-t2-app-guide {
  min-width:0;
  overflow:hidden;
  padding:clamp(22px,4vw,40px);
  border:1px solid var(--nbl-t2-border);
  border-radius:var(--nbl-t2-radius);
  background:var(--nbl-t2-card);
  color:var(--nbl-t2-text);
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-main > .nbl-t2-app-guide {
  margin-top:0!important;
  margin-bottom:var(--nbl-t2-section-gap)!important;
}
.nbl-template-2 .nbl-t2-app-guide-head {
  max-width:780px;
  margin:0 auto 26px;
  text-align:center;
}
.nbl-template-2 .nbl-t2-app-guide-head h2 {
  margin:12px 0 8px;
  color:var(--nbl-t2-text);
  font-size:clamp(24px,3.2vw,38px);
  line-height:1.08;
  letter-spacing:-.03em;
}
.nbl-template-2 .nbl-t2-app-guide-head p {
  margin:0 auto;
  max-width:700px;
  color:var(--nbl-t2-muted);
  font-size:13px;
  line-height:1.7;
}
.nbl-template-2 .nbl-t2-app-guide-grid {
  display:grid;
  grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr);
  gap:clamp(22px,4vw,42px);
  align-items:stretch;
}
.nbl-template-2 .nbl-t2-app-guide-visual {
  min-height:430px;
  display:grid;
  place-items:center;
  padding:clamp(20px,3.5vw,36px);
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--nbl-t2-on-dark) 13%,transparent);
  border-radius:calc(var(--nbl-t2-radius) + 4px);
  background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--nbl-t2-primary) 30%,transparent),transparent 58%),linear-gradient(145deg,var(--nbl-t2-dark),color-mix(in srgb,var(--nbl-t2-dark) 86%,var(--nbl-t2-primary)));
}
.nbl-template-2 .nbl-t2-app-guide-visual .nbl-t2-app-picture {
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
}
.nbl-template-2 .nbl-t2-app-guide-visual .nbl-t2-app-picture img {
  display:block;
  width:auto;
  max-width:100%;
  max-height:430px;
  object-fit:contain;
}
.nbl-template-2 .nbl-t2-app-guide-visual .nbl-t2-app-phone {
  width:min(82%,250px);
  transform:none;
}
.nbl-template-2 .nbl-t2-app-guide-steps {
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.nbl-template-2 .nbl-t2-app-guide-step {
  position:relative;
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:14px;
  align-items:start;
  padding:14px 0;
  border-bottom:1px solid var(--nbl-t2-border);
}
.nbl-template-2 .nbl-t2-app-guide-step:first-child { padding-top:0; }
.nbl-template-2 .nbl-t2-app-guide-step:last-of-type { border-bottom:0; }
.nbl-template-2 .nbl-t2-app-guide-index {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-size:13px;
  font-weight:900;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--nbl-t2-primary) 12%,transparent);
}
.nbl-template-2 .nbl-t2-app-guide-step strong {
  display:block;
  margin:1px 0 4px;
  color:var(--nbl-t2-text);
  font-size:14px;
  font-weight:900;
  line-height:1.35;
}
.nbl-template-2 .nbl-t2-app-guide-step p {
  margin:0;
  color:var(--nbl-t2-muted);
  font-size:12px;
  line-height:1.65;
}
.nbl-template-2 .nbl-t2-app-guide-note {
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:10px;
  align-items:start;
  margin-top:16px;
  padding:13px 14px;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 22%,var(--nbl-t2-border));
  border-radius:10px;
  background:var(--nbl-t2-primary-light);
}
.nbl-template-2 .nbl-t2-app-guide-note > span {
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-size:11px;
  font-weight:900;
}
.nbl-template-2 .nbl-t2-app-guide-note p {
  margin:1px 0 0;
  color:var(--nbl-t2-text);
  font-size:12px;
  font-weight:750;
  line-height:1.55;
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-app-guide { padding:22px 16px; }
  .nbl-template-2 .nbl-t2-app-guide-head { margin-bottom:20px; text-align:left; }
  .nbl-template-2 .nbl-t2-app-guide-head h2 { font-size:26px; }
  .nbl-template-2 .nbl-t2-app-guide-grid { grid-template-columns:1fr; gap:20px; }
  .nbl-template-2 .nbl-t2-app-guide-visual { min-height:300px; padding:22px 18px; }
  .nbl-template-2 .nbl-t2-app-guide-visual .nbl-t2-app-picture img { max-height:330px; }
  .nbl-template-2 .nbl-t2-app-guide-visual .nbl-t2-app-phone { width:min(72vw,225px); }
  .nbl-template-2 .nbl-t2-app-guide-step { grid-template-columns:36px minmax(0,1fr); gap:12px; padding:13px 0; }
  .nbl-template-2 .nbl-t2-app-guide-index { width:30px; height:30px; box-shadow:0 0 0 4px color-mix(in srgb,var(--nbl-t2-primary) 12%,transparent); }
}


/* v0.6.20: the built-in StreamEast phone preview renders real persisted games. */
.nbl-template-2 .nbl-t2-app-phone-matches {
  display:grid;
  gap:8px;
  min-height:0;
}
.nbl-template-2 .nbl-t2-app-phone-match {
  display:grid;
  gap:5px;
  min-width:0;
  padding:8px 9px;
  border:1px solid var(--nbl-t2-border);
  border-radius:12px;
  background:linear-gradient(90deg,var(--nbl-t2-primary-light),var(--nbl-t2-card));
}
.nbl-template-2 .nbl-t2-app-phone-match-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
}
.nbl-template-2 .nbl-t2-app-phone-match-head > span {
  flex:0 0 auto;
  padding:2px 5px;
  border-radius:999px;
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-size:7px;
  font-weight:950;
  line-height:1.25;
}
.nbl-template-2 .nbl-t2-app-phone-match.is-live .nbl-t2-app-phone-match-head > span,
.nbl-template-2 .nbl-t2-app-phone-match-head > span.is-live {
  background:var(--nbl-t2-live);
  color:var(--nbl-t2-on-live);
}
.nbl-template-2 .nbl-t2-app-phone-match.is-final .nbl-t2-app-phone-match-head > span {
  background:var(--nbl-t2-success);
  color:var(--nbl-t2-on-primary);
}
.nbl-template-2 .nbl-t2-app-phone-match-head small {
  min-width:0;
  overflow:hidden;
  color:var(--nbl-t2-muted);
  font-size:7px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nbl-template-2 .nbl-t2-app-phone-team {
  display:grid;
  grid-template-columns:16px minmax(0,1fr) auto;
  align-items:center;
  gap:6px;
  min-width:0;
}
.nbl-template-2 .nbl-t2-app-phone-team .nbl-t2-team-logo,
.nbl-template-2 .nbl-t2-app-phone-team .nbl-t2-team-fallback {
  width:16px;
  height:16px;
  min-width:16px;
  border-radius:50%;
  object-fit:contain;
  font-size:6px;
}
.nbl-template-2 .nbl-t2-app-phone-team strong {
  min-width:0;
  overflow:hidden;
  color:var(--nbl-t2-text);
  font-size:9px;
  font-weight:850;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nbl-template-2 .nbl-t2-app-phone-team b {
  min-width:15px;
  color:var(--nbl-t2-text);
  font-size:10px;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
.nbl-template-2 .nbl-t2-app-phone-empty {
  display:grid;
  gap:4px;
  padding:14px 10px;
  border:1px solid var(--nbl-t2-border);
  border-radius:12px;
  background:var(--nbl-t2-primary-light);
  text-align:center;
}
.nbl-template-2 .nbl-t2-app-phone-empty strong {
  color:var(--nbl-t2-text);
  font-size:10px;
}
.nbl-template-2 .nbl-t2-app-phone-empty small {
  color:var(--nbl-t2-muted);
  font-size:8px;
  line-height:1.4;
}

/* v0.6.21: League Hub result/schedule hierarchy and readable directory framing. */
.nbl-template-2 .nbl-t2-league-date-tabs {
  width:100%;
  max-width:none;
  gap:6px;
  padding:6px;
  border:1px solid var(--nbl-t2-border);
  border-radius:var(--nbl-t2-radius);
  background:var(--nbl-t2-card);
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-league-date-tabs a,
.nbl-template-2 .nbl-t2-league-date-tabs button {
  width:100%;
  min-height:42px;
  border-radius:calc(var(--nbl-t2-radius) * .72);
}
.nbl-template-2 .nbl-t2-hub-score-card,
.nbl-template-2 .nbl-t2-hub-schedule-card,
.nbl-template-2 .nbl-t2-hub-directory-card,
.nbl-template-2 .nbl-t2-hub-finished-card {
  overflow:hidden;
}
.nbl-template-2 .nbl-t2-hub-score-card .nbl-t2-match-grid,
.nbl-template-2 .nbl-t2-hub-finished-card .nbl-t2-match-grid,
.nbl-template-2 .nbl-t2-hub-directory-card .nbl-t2-entity-grid {
  margin-bottom:0;
}
.nbl-template-2 .nbl-t2-hub-data-note {
  margin:-4px 0 14px;
  padding:10px 12px;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 24%,var(--nbl-t2-border));
  border-radius:9px;
  background:var(--nbl-t2-primary-light);
  color:var(--nbl-t2-muted);
  font-size:12px;
  line-height:1.5;
}
.nbl-template-2 .nbl-t2-hub-schedule-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.nbl-template-2 .nbl-t2-hub-schedule-match {
  min-width:0;
  height:100%;
}
.nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-head span,
.nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot strong {
  flex:0 0 auto;
  color:var(--nbl-t2-primary);
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot {
  gap:10px;
}
.nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nbl-template-2 .nbl-t2-hub-entity-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.nbl-template-2 .nbl-t2-hub-entity-grid .nbl-t2-entity-card {
  min-height:88px;
}
.nbl-template-2 .nbl-t2-hub-entity-grid .nbl-t2-entity-card strong {
  white-space:normal;
  overflow:hidden;
  text-overflow:clip;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  line-height:1.24;
}
@media (max-width:900px) {
  .nbl-template-2 .nbl-t2-hub-schedule-grid,
  .nbl-template-2 .nbl-t2-hub-entity-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .nbl-template-2 .nbl-t2-hub-schedule-grid,
  .nbl-template-2 .nbl-t2-hub-entity-grid { grid-template-columns:1fr; }
  .nbl-template-2 .nbl-t2-league-date-tabs { gap:4px; padding:4px; }
  .nbl-template-2 .nbl-t2-league-date-tabs a, .nbl-template-2 .nbl-t2-league-date-tabs button { min-height:38px; padding-inline:4px; }
}
@media (min-width:901px) {
  .nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-actions { min-width:136px; }
}
@media (max-width:900px) {
  .nbl-template-2 .nbl-t2-hub-schedule-grid { grid-template-columns:1fr; }
  .nbl-template-2 .nbl-t2-hub-entity-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* v0.6.22: in-place League Hub date switching and larger result-card actions. */
.nbl-template-2 .nbl-t2-league-date-tabs button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:var(--nbl-t2-muted);
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.nbl-template-2 .nbl-t2-league-date-tabs button:hover,
.nbl-template-2 .nbl-t2-league-date-tabs button:focus-visible {
  color:var(--nbl-t2-primary);
  background:var(--nbl-t2-primary-light);
  outline:none;
}
.nbl-template-2 .nbl-t2-league-date-tabs button.is-active {
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
}
.nbl-template-2 .nbl-t2-hub-date-panel[hidden] {
  display:none !important;
}
.nbl-template-2 .nbl-t2-hub-score-card .nbl-t2-match-link,
.nbl-template-2 .nbl-t2-hub-finished-card .nbl-t2-match-link {
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(100%,220px);
  min-height:46px;
  margin:16px auto 0;
  padding:10px 18px;
  border:1px solid var(--nbl-t2-primary);
  border-radius:calc(var(--nbl-t2-radius) * .78);
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-size:14px;
  font-weight:900;
  line-height:1.1;
  text-align:center;
  box-shadow:0 5px 14px color-mix(in srgb,var(--nbl-t2-primary) 18%,transparent);
}
.nbl-template-2 .nbl-t2-hub-score-card .nbl-t2-match-link:hover,
.nbl-template-2 .nbl-t2-hub-score-card .nbl-t2-match-link:focus-visible,
.nbl-template-2 .nbl-t2-hub-finished-card .nbl-t2-match-link:hover,
.nbl-template-2 .nbl-t2-hub-finished-card .nbl-t2-match-link:focus-visible {
  background:var(--nbl-t2-primary-hover);
  border-color:var(--nbl-t2-primary-hover);
  color:var(--nbl-t2-on-primary);
  outline:none;
}
@media (max-width:620px) {
  .nbl-template-2 .nbl-t2-hub-score-card .nbl-t2-match-link,
  .nbl-template-2 .nbl-t2-hub-finished-card .nbl-t2-match-link {
    width:100%;
    min-height:48px;
  }
}


/* v0.6.23: League Hub date control matches the full-width homepage segmented tab bar. */
.nbl-template-2 .nbl-t2-league-date-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  max-width:none;
  gap:6px;
  margin:0;
  padding:6px;
  border:0;
  border-radius:14px;
  background:var(--nbl-t2-surface-soft);
  box-shadow:none;
}
.nbl-template-2 .nbl-t2-league-date-tabs button {
  width:100%;
  min-width:0;
  min-height:48px;
  padding:8px 12px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:var(--nbl-t2-text);
  font-size:15px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.nbl-template-2 .nbl-t2-league-date-tabs button:not(.is-active):hover,
.nbl-template-2 .nbl-t2-league-date-tabs button:not(.is-active):focus-visible {
  color:var(--nbl-t2-primary);
  background:var(--nbl-t2-primary-light);
  outline:none;
}
.nbl-template-2 .nbl-t2-league-date-tabs button.is-active {
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-weight:850;
  box-shadow:0 3px 10px color-mix(in srgb,var(--nbl-t2-primary) 20%,transparent);
}
@media (max-width:620px) {
  .nbl-template-2 .nbl-t2-league-date-tabs { gap:4px; padding:5px; border-radius:12px; }
  .nbl-template-2 .nbl-t2-league-date-tabs button { min-height:44px; padding:7px 5px; border-radius:9px; font-size:14px; }
}

/* v0.6.24: compact League Hub hero + independent high-contrast date selector. */
.nbl-template-2 .nbl-t2-league-hero {
  margin:0 0 20px;
  padding:20px 24px;
  border-radius:calc(var(--nbl-t2-radius) + 3px);
}
.nbl-template-2 .nbl-t2-league-hero > small {
  margin-bottom:5px;
  font-size:10px;
}
.nbl-template-2 .nbl-t2-league-hero h1 {
  max-width:900px;
  font-size:clamp(28px,3vw,40px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.nbl-template-2 .nbl-t2-league-hero .nbl-t2-page-intro {
  max-width:780px;
  margin-top:8px;
  color:color-mix(in srgb,var(--nbl-t2-on-dark) 78%,transparent);
  font-size:14px;
  line-height:1.55;
}
.nbl-template-2 .nbl-t2-league-date-card {
  margin:0 0 20px;
  padding:8px;
  border:1px solid var(--nbl-t2-border);
  border-radius:calc(var(--nbl-t2-radius) + 2px);
  background:var(--nbl-t2-card);
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-league-date-card .nbl-t2-league-date-tabs {
  margin:0;
  padding:5px;
  gap:6px;
  border-radius:11px;
  background:var(--nbl-t2-surface-soft);
}
.nbl-template-2 .nbl-t2-league-date-card .nbl-t2-league-date-tabs button {
  min-height:42px;
  border-radius:8px;
  color:var(--nbl-t2-text);
  font-size:14px;
  font-weight:750;
}
.nbl-template-2 .nbl-t2-league-date-card .nbl-t2-league-date-tabs button.is-active {
  background:var(--nbl-t2-primary-hover);
  color:var(--nbl-t2-on-primary);
  font-weight:900;
  box-shadow:0 3px 10px color-mix(in srgb,var(--nbl-t2-primary) 30%,transparent);
}
.nbl-template-2 .nbl-t2-league-section-nav {
  margin:0 0 20px;
}
@media (max-width:620px) {
  .nbl-template-2 .nbl-t2-league-hero {
    padding:16px;
  }
  .nbl-template-2 .nbl-t2-league-hero h1 {
    font-size:clamp(26px,8vw,32px);
  }
  .nbl-template-2 .nbl-t2-league-hero .nbl-t2-page-intro {
    margin-top:7px;
    font-size:13px;
  }
  .nbl-template-2 .nbl-t2-league-date-card {
    padding:6px;
  }
  .nbl-template-2 .nbl-t2-league-date-card .nbl-t2-league-date-tabs {
    padding:4px;
    gap:4px;
  }
  .nbl-template-2 .nbl-t2-league-date-card .nbl-t2-league-date-tabs button {
    min-height:40px;
    font-size:13px;
  }
}

/* v0.6.25: League Hub daily games consolidated into Live Score & Schedule. */
.nbl-template-2 .nbl-t2-hub-live-schedule-card {
  overflow:hidden;
  padding:0 20px 20px;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-title {
  height:auto;
  min-height:62px;
  padding:0;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-title strong {
  font-size:20px;
  font-weight:900;
  letter-spacing:-.02em;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-title svg {
  width:23px;
  height:23px;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-card .nbl-t2-league-date-tabs {
  margin:0 0 18px;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-panels {
  min-width:0;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-card .nbl-t2-hub-date-panel {
  min-width:0;
}
.nbl-template-2 .nbl-t2-hub-live-schedule-card .nbl-t2-hub-schedule-grid {
  margin:0;
}
.nbl-template-2 .nbl-t2-league-section-nav a[href="#scores"],
.nbl-template-2 .nbl-t2-league-section-nav a[href="#schedule"] {
  display:none;
}
@media (max-width:620px) {
  .nbl-template-2 .nbl-t2-hub-live-schedule-card { padding:0 12px 14px; }
  .nbl-template-2 .nbl-t2-hub-live-schedule-title { min-height:54px; }
  .nbl-template-2 .nbl-t2-hub-live-schedule-title strong { font-size:17px; }
  .nbl-template-2 .nbl-t2-hub-live-schedule-title svg { width:20px; height:20px; }
  .nbl-template-2 .nbl-t2-hub-live-schedule-card .nbl-t2-league-date-tabs { margin-bottom:14px; }
}

/* v0.6.26: League Hub Teams/Players use one card per row on phones. */
@media (max-width: 767px) {
  .nbl-template-2 #teams .nbl-t2-hub-entity-grid,
  .nbl-template-2 #players .nbl-t2-hub-entity-grid {
    grid-template-columns: 1fr;
  }
  .nbl-template-2 #teams .nbl-t2-hub-entity-grid .nbl-t2-entity-card,
  .nbl-template-2 #players .nbl-t2-hub-entity-grid .nbl-t2-entity-card {
    min-height: 82px;
    padding: 14px 15px;
    gap: 13px;
  }
  .nbl-template-2 #teams .nbl-t2-hub-entity-grid .nbl-t2-entity-card strong,
  .nbl-template-2 #players .nbl-t2-hub-entity-grid .nbl-t2-entity-card strong {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

/* v0.6.28: Template 2 match collections use one game card per row on every public surface. */
.nbl-template-2 .nbl-t2-match-grid,
.nbl-template-2 .nbl-t2-hub-schedule-grid,
.nbl-template-2 .nbl-t2-home-score-list {
  grid-template-columns:1fr;
}


/* v0.6.29: League Hub mobile cards show the start time once, beside the date. */
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-head > span {
    display:none;
  }
  .nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot {
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot > span,
  .nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot > strong {
    margin:0;
    white-space:nowrap;
  }
  .nbl-template-2 .nbl-t2-hub-schedule-match .nbl-t2-home-score-foot > span {
    overflow:visible;
    text-overflow:clip;
  }
}

/* v0.6.89: Template 2 shared heading rhythm, schedule framing, App league links and home editorial. */
.nbl-template-2 .nbl-t2-page-head,
.nbl-template-2 .nbl-t2-league-hero,
.nbl-template-2 .nbl-t2-game-head,
.nbl-template-2 .nbl-t2-profile-hero,
.nbl-template-2 .nbl-t2-card {
  padding:20px;
}
.nbl-template-2 .nbl-t2-page-head h1,
.nbl-template-2 .nbl-t2-league-hero h1,
.nbl-template-2 .nbl-t2-game-head h1,
.nbl-template-2 .nbl-t2-profile-hero h1,
.nbl-template-2 .nbl-t2-player-heading h1 {
  font-size:clamp(26px,3vw,40px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.nbl-template-2 .nbl-t2-section-head { margin-bottom:20px; }
.nbl-template-2 .nbl-t2-section-head h2 { font-size:clamp(19px,1.7vw,24px); line-height:1.16; }
.nbl-template-2 .nbl-t2-article > header h1 { font-size:clamp(28px,3.6vw,44px); line-height:1.08; }
.nbl-template-2 .nbl-t2-category-scores-card { border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 24%,var(--nbl-t2-border)); border-radius:calc(var(--nbl-t2-radius) + 2px); background:var(--nbl-t2-card); box-shadow:var(--nbl-t2-shadow-soft); }
.nbl-template-2 .nbl-t2-category-scores-card .nbl-t2-live-now-list { padding:0; }
.nbl-template-2 .nbl-t2-category-schedule-card { border:1px solid var(--nbl-t2-border); border-radius:var(--nbl-t2-radius); background:var(--nbl-t2-card); box-shadow:var(--nbl-t2-shadow-soft); }
.nbl-template-2 .nbl-t2-category-schedule-card .nbl-t2-live-now-list { padding:0; }
.nbl-template-2 .nbl-t2-app-league-links { display:flex; flex-wrap:wrap; gap:10px; }
.nbl-template-2 .nbl-t2-app-league-links a { min-height:40px; padding:0 15px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--nbl-t2-border); border-radius:999px; background:var(--nbl-t2-card); color:var(--nbl-t2-text); font-size:13px; font-weight:800; }
.nbl-template-2 .nbl-t2-app-league-links a:hover,.nbl-template-2 .nbl-t2-app-league-links a:focus-visible { border-color:var(--nbl-t2-primary); color:var(--nbl-t2-primary); background:var(--nbl-t2-primary-light); outline:none; }
.nbl-template-2 .nbl-t2-home-editorial-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.nbl-template-2 .nbl-t2-home-editorial-column { min-width:0; }
.nbl-template-2 .nbl-t2-home-editorial-subhead { min-height:38px; margin:0 0 12px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.nbl-template-2 .nbl-t2-home-editorial-subhead h3 { margin:0; font-size:18px; }
.nbl-template-2 .nbl-t2-home-editorial-subhead a { color:var(--nbl-t2-primary); font-size:12px; font-weight:850; white-space:nowrap; }
.nbl-template-2 .nbl-t2-home-editorial-column .nbl-t2-editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-page-head,
  .nbl-template-2 .nbl-t2-league-hero,
  .nbl-template-2 .nbl-t2-game-head,
  .nbl-template-2 .nbl-t2-profile-hero,
  .nbl-template-2 .nbl-t2-card { padding:20px; }
  .nbl-template-2 .nbl-t2-page-head h1,
  .nbl-template-2 .nbl-t2-league-hero h1,
  .nbl-template-2 .nbl-t2-game-head h1,
  .nbl-template-2 .nbl-t2-profile-hero h1,
  .nbl-template-2 .nbl-t2-player-heading h1 { font-size:clamp(24px,7.4vw,32px); }
  .nbl-template-2 .nbl-t2-home-editorial-columns { grid-template-columns:1fr; }
  .nbl-template-2 .nbl-t2-home-editorial-column .nbl-t2-editorial-grid { grid-template-columns:1fr; }
}

/* v0.6.92: plugin-managed StreamEast standalone public/legal pages. */
.nbl-template-2 .nbl-t2-public-page {
  width:min(100%,1040px);
  margin:8px auto 44px;
}
.nbl-template-2 .nbl-t2-public-hero {
  position:relative;
  overflow:hidden;
  margin:0 0 20px;
  padding:28px 30px;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 28%,var(--nbl-t2-border));
  border-radius:calc(var(--nbl-t2-radius) + 6px);
  background:linear-gradient(135deg,var(--nbl-t2-dark),color-mix(in srgb,var(--nbl-t2-primary) 36%,var(--nbl-t2-dark)));
  color:var(--nbl-t2-on-dark);
  box-shadow:var(--nbl-t2-shadow);
}
.nbl-template-2 .nbl-t2-public-hero::after {
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-90px;
  top:-110px;
  border-radius:999px;
  background:color-mix(in srgb,var(--nbl-t2-primary) 22%,transparent);
  pointer-events:none;
}
.nbl-template-2 .nbl-t2-public-hero small {
  position:relative;
  z-index:1;
  display:block;
  margin:0 0 7px;
  color:color-mix(in srgb,var(--nbl-t2-on-dark) 78%,transparent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
}
.nbl-template-2 .nbl-t2-public-hero h1 {
  position:relative;
  z-index:1;
  max-width:820px;
  margin:0;
  color:var(--nbl-t2-on-dark);
  font-size:clamp(28px,3.5vw,42px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.nbl-template-2 .nbl-t2-public-hero p {
  position:relative;
  z-index:1;
  max-width:760px;
  margin:10px 0 0;
  color:color-mix(in srgb,var(--nbl-t2-on-dark) 76%,transparent);
  font-size:15px;
  line-height:1.6;
}
.nbl-template-2 .nbl-t2-public-body {
  display:grid;
  gap:16px;
  font-size:15px;
  line-height:1.7;
}
.nbl-template-2 .nbl-t2-public-lead,
.nbl-template-2 .nbl-t2-public-section,
.nbl-template-2 .nbl-t2-public-callout {
  padding:22px 24px;
  border:1px solid var(--nbl-t2-border);
  border-radius:var(--nbl-t2-radius);
  background:var(--nbl-t2-card);
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-public-lead {
  border-color:color-mix(in srgb,var(--nbl-t2-primary) 28%,var(--nbl-t2-border));
  background:linear-gradient(135deg,var(--nbl-t2-primary-light),var(--nbl-t2-card));
}
.nbl-template-2 .nbl-t2-public-lead > strong {
  display:block;
  margin:0 0 6px;
  color:var(--nbl-t2-text);
  font-size:20px;
  line-height:1.25;
}
.nbl-template-2 .nbl-t2-public-lead > span {
  display:block;
  margin-top:9px;
  color:var(--nbl-t2-muted);
  font-size:12px;
  font-weight:700;
}
.nbl-template-2 .nbl-t2-public-section h2 {
  margin:0 0 10px;
  color:var(--nbl-t2-text);
  font-size:clamp(18px,1.7vw,23px);
  line-height:1.2;
  letter-spacing:-.02em;
}
.nbl-template-2 .nbl-t2-public-body p { margin:0 0 12px; color:var(--nbl-t2-muted); }
.nbl-template-2 .nbl-t2-public-body p:last-child { margin-bottom:0; }
.nbl-template-2 .nbl-t2-public-body ul {
  margin:4px 0 0;
  padding-left:22px;
  color:var(--nbl-t2-muted);
}
.nbl-template-2 .nbl-t2-public-body li + li { margin-top:5px; }
.nbl-template-2 .nbl-t2-public-body a {
  color:var(--nbl-t2-primary);
  font-weight:800;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.nbl-template-2 .nbl-t2-public-body a:hover,
.nbl-template-2 .nbl-t2-public-body a:focus-visible { color:var(--nbl-t2-primary-hover); }
.nbl-template-2 .nbl-t2-public-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.nbl-template-2 .nbl-t2-public-grid > div {
  min-width:0;
  padding:15px 16px;
  border:1px solid var(--nbl-t2-border);
  border-radius:12px;
  background:color-mix(in srgb,var(--nbl-t2-card) 86%,var(--nbl-t2-primary-light));
}
.nbl-template-2 .nbl-t2-public-grid strong {
  display:block;
  margin-bottom:4px;
  color:var(--nbl-t2-text);
  font-size:14px;
}
.nbl-template-2 .nbl-t2-public-grid p { margin:0; font-size:13px; line-height:1.55; }
.nbl-template-2 .nbl-t2-public-chip-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.nbl-template-2 .nbl-t2-public-chip-row span {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 22%,var(--nbl-t2-border));
  border-radius:999px;
  background:var(--nbl-t2-primary-light);
  color:var(--nbl-t2-text);
  font-size:12px;
  font-weight:850;
}
.nbl-template-2 .nbl-t2-public-callout {
  border-left:4px solid var(--nbl-t2-primary);
  background:color-mix(in srgb,var(--nbl-t2-primary-light) 52%,var(--nbl-t2-card));
}
.nbl-template-2 .nbl-t2-public-callout > strong {
  display:block;
  margin-bottom:5px;
  color:var(--nbl-t2-text);
  font-size:15px;
}
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-public-page { margin-top:4px; margin-bottom:32px; }
  .nbl-template-2 .nbl-t2-public-hero,
  .nbl-template-2 .nbl-t2-public-lead,
  .nbl-template-2 .nbl-t2-public-section,
  .nbl-template-2 .nbl-t2-public-callout { padding:20px; }
  .nbl-template-2 .nbl-t2-public-hero h1 { font-size:clamp(26px,8vw,34px); }
  .nbl-template-2 .nbl-t2-public-grid { grid-template-columns:1fr; }
}

/* v0.6.96: homepage four-card editorial row + shared Teams/Players directory framing. */
.nbl-template-2 .nbl-t2-home-editorial { display:block; }
.nbl-template-2 .nbl-t2-home-editorial-row .nbl-t2-editorial-grid {
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.nbl-template-2 .nbl-t2-directory-card {
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 24%,var(--nbl-t2-border));
  border-radius:calc(var(--nbl-t2-radius) + 2px);
  background:var(--nbl-t2-card);
  box-shadow:var(--nbl-t2-shadow-soft);
}
@media(max-width:1024px){
  .nbl-template-2 .nbl-t2-home-editorial-row .nbl-t2-editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-home-editorial-row .nbl-t2-editorial-grid { grid-template-columns:1fr; }
}


/* v0.6.97: Template 2 uses 1px border strokes throughout; the built-in App phone preview tops up to three real persisted all-league games from future schedule data when Today has fewer than three rows. */

/* v0.7.04 — Template 2 player detail data-parity modules. */
.nbl-template-2 .nbl-t2-player-team-head{display:flex;align-items:center;gap:12px;margin:0 0 14px}.nbl-template-2 .nbl-t2-player-team-head .nbl-t2-team-logo,.nbl-template-2 .nbl-t2-player-team-head .nbl-t2-team-fallback{width:54px;height:54px;flex-basis:54px}.nbl-template-2 .nbl-t2-player-team-head strong{display:block;font-size:18px}.nbl-template-2 .nbl-t2-player-team-head small{display:block;margin-top:3px;color:var(--nbl-t2-muted);font-size:11px;font-weight:800;letter-spacing:.06em}.nbl-template-2 .nbl-t2-player-team-facts{margin-bottom:14px}.nbl-template-2 .nbl-t2-player-next-game{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center;margin-top:14px;padding:13px 14px;border:1px solid var(--nbl-t2-border);border-radius:10px;background:var(--nbl-t2-bg)}.nbl-template-2 .nbl-t2-player-next-game small{grid-column:1/-1;color:var(--nbl-t2-muted);font-size:10px;font-weight:900;letter-spacing:.06em}.nbl-template-2 .nbl-t2-player-next-game strong{font-size:14px}.nbl-template-2 .nbl-t2-player-next-game span{color:var(--nbl-t2-muted);font-size:12px;text-align:right}.nbl-template-2 .nbl-t2-player-next-game a:hover strong{color:var(--nbl-t2-primary)}.nbl-template-2 .nbl-t2-player-game-list{display:grid;gap:8px}.nbl-template-2 .nbl-t2-player-game-list>a,.nbl-template-2 .nbl-t2-player-game-list>.is-static{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid var(--nbl-t2-border);border-radius:10px;background:var(--nbl-t2-bg)}.nbl-template-2 .nbl-t2-player-game-list span{min-width:0}.nbl-template-2 .nbl-t2-player-game-list strong,.nbl-template-2 .nbl-t2-player-game-list small{display:block}.nbl-template-2 .nbl-t2-player-game-list strong{font-size:13px}.nbl-template-2 .nbl-t2-player-game-list small{margin-top:3px;color:var(--nbl-t2-muted);font-size:11px}.nbl-template-2 .nbl-t2-player-game-list b{flex:0 0 auto;font-size:15px;font-variant-numeric:tabular-nums}.nbl-template-2 .nbl-t2-player-game-list>a:hover{border-color:var(--nbl-t2-primary)}.nbl-template-2 .nbl-t2-player-subtitle{margin:18px 0 10px;font-size:15px}.nbl-template-2 .nbl-t2-player-core-stats,.nbl-template-2 .nbl-t2-player-advanced-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.nbl-template-2 .nbl-t2-player-overview p{margin:0 0 10px;color:var(--nbl-t2-text);line-height:1.7}.nbl-template-2 .nbl-t2-player-overview p:last-child{margin-bottom:0}.nbl-template-2 .nbl-t2-player-stat-table th:first-child,.nbl-template-2 .nbl-t2-player-stat-table td:first-child{text-align:left}.nbl-template-2 .nbl-t2-player-stat-table th:nth-child(2),.nbl-template-2 .nbl-t2-player-stat-table td:nth-child(2){text-align:left}
@media(max-width:767px){.nbl-template-2 .nbl-t2-player-core-stats,.nbl-template-2 .nbl-t2-player-advanced-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.nbl-template-2 .nbl-t2-player-next-game{grid-template-columns:1fr}.nbl-template-2 .nbl-t2-player-next-game span{text-align:left}.nbl-template-2 .nbl-t2-player-game-list>a,.nbl-template-2 .nbl-t2-player-game-list>.is-static{padding:11px}}
@media(max-width:479px){.nbl-template-2 .nbl-t2-player-core-stats,.nbl-template-2 .nbl-t2-player-advanced-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.7.08: live media geometry is authoritative. Chat volume must never resize the player. */
.nbl-template-2 .nbl-t2-home-live-grid { align-items:start; }
.nbl-template-2 .nbl-t2-home-player {
  width:100%;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16/9;
}
.nbl-template-2 .nbl-t2-home-player-stage {
  width:100%;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
}
.nbl-template-2 .nbl-t2-video-stage video {
  width:100%;
  height:100%;
  object-fit:contain!important;
  object-position:center center;
}
.nbl-template-2 .nbl-t2-home-live-right .nbl-chat-card {
  min-height:0!important;
  overflow:hidden;
}
.nbl-template-2 .nbl-t2-home-live-right .nbl-chat-body {
  min-height:0!important;
  overflow-y:auto;
  overscroll-behavior:contain;
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-home-live-right .nbl-chat-card {
    height:320px!important;
    min-height:320px!important;
    max-height:320px!important;
  }
}


/* v0.7.09: game detail uses only the current persisted match plus the two linked team identities. */
.nbl-template-2 .nbl-t2-score-card { padding:0; overflow:hidden; }
.nbl-template-2 .nbl-t2-score-card .nbl-t2-scoreboard { padding:20px; }
.nbl-template-2 .nbl-t2-score-team-name { min-width:0; color:var(--nbl-t2-text); font-size:clamp(14px,1.5vw,18px); font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nbl-template-2 .nbl-t2-score-team-name:hover,.nbl-template-2 .nbl-t2-score-team-name:focus-visible { color:var(--nbl-t2-primary); outline:none; }
.nbl-template-2 .nbl-t2-score-team-logo { display:inline-flex; align-items:center; justify-content:center; border-radius:12px; }
.nbl-template-2 .nbl-t2-score-team-logo:focus-visible { outline:2px solid var(--nbl-t2-primary); outline-offset:2px; }
.nbl-template-2 .nbl-t2-score-team-logo .nbl-t2-team-logo,.nbl-template-2 .nbl-t2-score-team-logo .nbl-t2-team-fallback { width:44px; height:44px; flex-basis:44px; }
.nbl-template-2 .nbl-t2-score-note { margin:0; padding:17px 20px; border-top:1px solid var(--nbl-t2-border); color:var(--nbl-t2-text); font-size:15px; line-height:1.6; }
.nbl-template-2 .nbl-t2-game-info-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.nbl-template-2 .nbl-t2-game-info-grid span { min-width:0; display:grid; gap:6px; }
.nbl-template-2 .nbl-t2-game-info-grid small { color:var(--nbl-t2-muted); font-size:12px; }
.nbl-template-2 .nbl-t2-game-info-grid strong { color:var(--nbl-t2-text); font-size:16px; line-height:1.35; overflow-wrap:anywhere; }
.nbl-template-2 .nbl-t2-game-context h2 { margin:0 0 12px; font-size:clamp(21px,2vw,30px); line-height:1.18; }
.nbl-template-2 .nbl-t2-game-context p { margin:0; color:var(--nbl-t2-text); font-size:15px; line-height:1.7; }
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-score-card .nbl-t2-scoreboard { padding:14px 10px; }
  .nbl-template-2 .nbl-t2-score-team-name { width:100%; max-width:120px; font-size:12px; text-align:center; }
  .nbl-template-2 .nbl-t2-score-team-logo .nbl-t2-team-logo,.nbl-template-2 .nbl-t2-score-team-logo .nbl-t2-team-fallback { width:36px; height:36px; flex-basis:36px; }
  .nbl-template-2 .nbl-t2-score-note { padding:14px 15px; font-size:13px; }
  .nbl-template-2 .nbl-t2-game-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px; }
}


/* v0.7.14: Newsier-inspired first-screen editorial feature slider for /news/ and /analysis/. */
.nbl-template-2 .nbl-t2-editorial-archive-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:8px 0 16px;
}
.nbl-template-2 .nbl-t2-editorial-archive-heading > small {
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:var(--nbl-t2-primary);
  color:var(--nbl-t2-on-primary);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.nbl-template-2 .nbl-t2-editorial-archive-heading > div { min-width:0; flex:1 1 auto; }
.nbl-template-2 .nbl-t2-editorial-archive-heading h1 {
  margin:0;
  color:var(--nbl-t2-text);
  font-size:clamp(26px,3vw,38px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.nbl-template-2 .nbl-t2-editorial-archive-heading p {
  max-width:760px;
  margin:7px 0 0;
  color:var(--nbl-t2-muted);
  font-size:13px;
  line-height:1.55;
}
.nbl-template-2 .nbl-t2-editorial-hero {
  position:relative;
  margin:0 0 30px;
}
.nbl-template-2 .nbl-t2-editorial-hero-slides { position:relative; }
.nbl-template-2 .nbl-t2-editorial-hero-slide {
  display:none;
  grid-template-columns:minmax(0,2.05fr) minmax(280px,.95fr);
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:18px;
  min-height:clamp(420px,45vw,560px);
}
.nbl-template-2 .nbl-t2-editorial-hero-slide.is-active { display:grid; }
.nbl-template-2 .nbl-t2-editorial-feature-card {
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 18%,var(--nbl-t2-border));
  border-radius:calc(var(--nbl-t2-radius) + 2px);
  background:linear-gradient(135deg,var(--nbl-t2-dark),color-mix(in srgb,var(--nbl-t2-primary) 46%,var(--nbl-t2-dark)));
  box-shadow:var(--nbl-t2-shadow-soft);
}
.nbl-template-2 .nbl-t2-editorial-feature-card.is-lead { grid-row:1 / 3; }
.nbl-template-2 .nbl-t2-editorial-feature-card > a {
  position:absolute;
  inset:0;
  display:block;
  color:#fff;
}
.nbl-template-2 .nbl-t2-editorial-feature-card figure,
.nbl-template-2 .nbl-t2-editorial-feature-fallback {
  position:absolute;
  inset:0;
  margin:0;
  overflow:hidden;
  background:linear-gradient(135deg,var(--nbl-t2-dark),color-mix(in srgb,var(--nbl-t2-primary) 52%,var(--nbl-t2-dark)));
}
.nbl-template-2 .nbl-t2-editorial-feature-image {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.nbl-template-2 .nbl-t2-editorial-feature-card:hover .nbl-t2-editorial-feature-image,
.nbl-template-2 .nbl-t2-editorial-feature-card:focus-within .nbl-t2-editorial-feature-image { transform:scale(1.035); }
.nbl-template-2 .nbl-t2-editorial-feature-fallback {
  display:grid;
  place-items:center;
  font-size:54px;
}
.nbl-template-2 .nbl-t2-editorial-feature-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,10,20,.08) 18%,rgba(4,10,20,.42) 53%,rgba(4,10,20,.92) 100%);
}
.nbl-template-2 .nbl-t2-editorial-feature-card.is-side .nbl-t2-editorial-feature-shade {
  background:linear-gradient(180deg,rgba(4,10,20,.12) 8%,rgba(4,10,20,.8) 100%);
}
.nbl-template-2 .nbl-t2-editorial-feature-copy {
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:clamp(20px,3vw,34px);
}
.nbl-template-2 .nbl-t2-editorial-feature-card.is-side .nbl-t2-editorial-feature-copy { padding:19px 20px; }
.nbl-template-2 .nbl-t2-editorial-feature-chips {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:12px;
}
.nbl-template-2 .nbl-t2-editorial-feature-chips span {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:8px;
  background:color-mix(in srgb,var(--nbl-t2-primary) 92%,#fff 8%);
  color:var(--nbl-t2-on-primary);
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
}
.nbl-template-2 .nbl-t2-editorial-feature-copy h2,
.nbl-template-2 .nbl-t2-editorial-feature-copy h3 {
  margin:0;
  color:#fff;
  text-wrap:balance;
  text-shadow:0 2px 16px rgba(0,0,0,.35);
}
.nbl-template-2 .nbl-t2-editorial-feature-copy h2 {
  max-width:92%;
  font-size:clamp(30px,3.5vw,48px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.nbl-template-2 .nbl-t2-editorial-feature-copy h3 {
  font-size:clamp(17px,1.65vw,23px);
  line-height:1.18;
  letter-spacing:-.02em;
}
.nbl-template-2 .nbl-t2-editorial-feature-byline {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  color:rgba(255,255,255,.92);
  font-size:12px;
  font-weight:750;
}
.nbl-template-2 .nbl-t2-editorial-feature-byline b {
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  background:rgba(255,255,255,.18);
  font-size:10px;
}
.nbl-template-2 .nbl-t2-editorial-feature-byline i { opacity:.72; font-style:normal; }
.nbl-template-2 .nbl-t2-editorial-feature-byline time { white-space:nowrap; }
.nbl-template-2 .nbl-t2-editorial-hero-controls {
  position:absolute;
  z-index:8;
  left:50%;
  bottom:14px;
  display:flex;
  align-items:center;
  gap:10px;
  transform:translateX(-50%);
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(8,15,28,.66);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(0,0,0,.2);
}
.nbl-template-2 .nbl-t2-editorial-hero-arrow {
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}
.nbl-template-2 .nbl-t2-editorial-hero-arrow:hover,
.nbl-template-2 .nbl-t2-editorial-hero-arrow:focus-visible { background:var(--nbl-t2-primary); outline:none; }
.nbl-template-2 .nbl-t2-editorial-hero-dots { display:flex; align-items:center; gap:6px; }
.nbl-template-2 .nbl-t2-editorial-hero-dots button {
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:width .2s ease,background .2s ease;
}
.nbl-template-2 .nbl-t2-editorial-hero-dots button.is-active { width:20px; background:#fff; }
.nbl-template-2 .nbl-t2-editorial-latest { margin-top:30px; }
/* v0.7.66: keep News / Analysis archive pagination visually separated from the final card row.
   The shared Template 2 section rhythm zeroes pagination margin-top with !important,
   so restore a scoped archive-only top gap without affecting entity or other pagers. */
.nbl-template-2 .nbl-t2-editorial-latest + .nbl-t2-pagination { margin-top:30px!important; }

/* v0.7.15: keep News / Analysis archive article titles to two visible lines. */
.nbl-template-2 .nbl-t2-editorial-feature-copy h2,
.nbl-template-2 .nbl-t2-editorial-feature-copy h3,
.nbl-template-2 .nbl-t2-editorial-latest .nbl-t2-editorial-card h3 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:900px){
  .nbl-template-2 .nbl-t2-editorial-hero-slide { grid-template-columns:minmax(0,1.55fr) minmax(230px,.95fr); min-height:440px; gap:12px; }
  .nbl-template-2 .nbl-t2-editorial-feature-copy h2 { font-size:clamp(26px,4.4vw,38px); }
  .nbl-template-2 .nbl-t2-editorial-feature-card.is-side .nbl-t2-editorial-feature-copy { padding:15px; }
  .nbl-template-2 .nbl-t2-editorial-feature-byline { gap:6px; font-size:11px; }
  .nbl-template-2 .nbl-t2-editorial-feature-card.is-side .nbl-t2-editorial-feature-byline b { display:none; }
}
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-editorial-archive-heading { display:block; margin-top:4px; }
  .nbl-template-2 .nbl-t2-editorial-archive-heading > small { display:inline-flex; margin-bottom:9px; }
  .nbl-template-2 .nbl-t2-editorial-archive-heading h1 { font-size:clamp(25px,8vw,34px); }
  .nbl-template-2 .nbl-t2-editorial-archive-heading p { font-size:12px; }
  .nbl-template-2 .nbl-t2-editorial-hero-slide { grid-template-columns:1fr; grid-template-rows:auto; min-height:0; }
  .nbl-template-2 .nbl-t2-editorial-feature-card.is-lead { grid-row:auto; min-height:clamp(330px,92vw,430px); }
  .nbl-template-2 .nbl-t2-editorial-feature-card.is-side { display:none; }
  .nbl-template-2 .nbl-t2-editorial-feature-copy { padding:22px 20px 58px; }
  .nbl-template-2 .nbl-t2-editorial-feature-copy h2 { max-width:100%; font-size:clamp(25px,7.8vw,34px); }
  .nbl-template-2 .nbl-t2-editorial-hero-controls { bottom:12px; }
}
@media(prefers-reduced-motion:reduce){
  .nbl-template-2 .nbl-t2-editorial-feature-image,
  .nbl-template-2 .nbl-t2-editorial-hero-dots button { transition:none; }
}

/* v0.7.16: Template 2 News / Analysis detail editorial reading layout. */
.nbl-template-2 .nbl-t2-editorial-detail {
  width:min(100%,1160px);
  margin:12px auto 52px;
  padding:20px;
  border:1px solid var(--nbl-t2-border);
  border-radius:22px;
  background:var(--nbl-t2-card);
  box-shadow:0 18px 52px rgba(15,23,42,.065);
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-header {
  max-width:960px;
  margin:0 auto 26px;
  text-align:left;
}
.nbl-template-2 .nbl-t2-article-chips {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin:0 0 13px;
}
.nbl-template-2 .nbl-t2-article-chips span {
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:5px 9px;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 28%,var(--nbl-t2-border));
  border-radius:999px;
  background:color-mix(in srgb,var(--nbl-t2-primary) 9%,var(--nbl-t2-card));
  color:var(--nbl-t2-primary);
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  line-height:1;
  text-transform:uppercase;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-header h1 {
  max-width:930px;
  margin:0;
  font-size:clamp(30px,3.7vw,48px);
  line-height:1.02;
  letter-spacing:-.047em;
  text-wrap:balance;
  overflow-wrap:break-word;
}
.nbl-template-2 .nbl-t2-article-deck {
  max-width:880px;
  margin:15px 0 0;
  color:var(--nbl-t2-muted);
  font-size:clamp(16px,1.65vw,20px);
  line-height:1.55;
}
.nbl-template-2 .nbl-t2-article-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:18px;
  color:var(--nbl-t2-muted);
  font-size:12px;
  font-weight:650;
}
.nbl-template-2 .nbl-t2-article-meta i { opacity:.58; font-style:normal; }
.nbl-template-2 .nbl-t2-article-author-badge {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid color-mix(in srgb,var(--nbl-t2-primary) 28%,var(--nbl-t2-border));
  border-radius:50%;
  background:var(--nbl-t2-card);
  color:var(--nbl-t2-primary);
  font-size:10px;
  font-weight:950;
}
.nbl-template-2 .nbl-t2-article-author { color:var(--nbl-t2-text); font-weight:850; }
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-hero {
  width:100%;
  margin:0 0 32px;
  aspect-ratio:16 / 8.8;
  border:1px solid var(--nbl-t2-border);
  border-radius:18px;
  overflow:hidden;
  background:var(--nbl-t2-card);
  box-shadow:0 18px 48px rgba(15,23,42,.07);
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-hero img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.nbl-template-2 .nbl-t2-article-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  align-items:start;
  gap:clamp(30px,4vw,54px);
  width:min(100%,1040px);
  margin:0 auto;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body {
  min-width:0;
  color:var(--nbl-t2-text);
  font-size:17px;
  line-height:1.82;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body > p:first-child {
  margin-top:0;
  font-size:18px;
  line-height:1.75;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body p { margin:0 0 1.22em; }
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body h2 {
  margin:2.05em 0 .68em;
  font-size:clamp(24px,2.2vw,30px);
  line-height:1.14;
  letter-spacing:-.032em;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body h3 {
  margin:1.75em 0 .62em;
  font-size:clamp(20px,1.8vw,24px);
  line-height:1.18;
  letter-spacing:-.025em;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body ul,
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body ol {
  margin:0 0 1.35em;
  padding-left:1.35em;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body li { margin:.38em 0; }
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body blockquote {
  margin:1.7em 0;
  padding:16px 20px;
  border-left:3px solid var(--nbl-t2-primary);
  border-radius:0 12px 12px 0;
  background:color-mix(in srgb,var(--nbl-t2-primary) 6%,var(--nbl-t2-card));
  font-size:18px;
  line-height:1.6;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body blockquote > :last-child { margin-bottom:0; }
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body img {
  max-width:100%;
  height:auto;
  border-radius:13px;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body hr {
  height:1px;
  margin:2em 0;
  border:0;
  background:var(--nbl-t2-border);
}
.nbl-template-2 .nbl-t2-article-aside {
  position:sticky;
  top:92px;
  min-width:0;
}
.nbl-template-2 .nbl-t2-article-aside-card {
  overflow:hidden;
  border:1px solid var(--nbl-t2-border);
  border-radius:14px;
  background:var(--nbl-t2-card);
  box-shadow:0 12px 34px rgba(15,23,42,.045);
}
.nbl-template-2 .nbl-t2-article-aside-head {
  padding:17px 17px 13px;
  border-bottom:1px solid var(--nbl-t2-border);
}
.nbl-template-2 .nbl-t2-article-aside-head small {
  display:block;
  margin-bottom:3px;
  color:var(--nbl-t2-primary);
  font-size:9px;
  font-weight:950;
  letter-spacing:.1em;
}
.nbl-template-2 .nbl-t2-article-aside-head h2 { margin:0; font-size:18px; letter-spacing:-.02em; }
.nbl-template-2 .nbl-t2-article-more-list { display:grid; }
.nbl-template-2 .nbl-t2-article-more-item {
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-width:0;
  padding:12px;
  border-bottom:1px solid var(--nbl-t2-border);
  color:inherit;
  text-decoration:none;
}
.nbl-template-2 .nbl-t2-article-more-item:last-child { border-bottom:0; }
.nbl-template-2 .nbl-t2-article-more-item figure {
  width:82px;
  aspect-ratio:16 / 10;
  margin:0;
  overflow:hidden;
  border-radius:8px;
  background:var(--nbl-t2-bg);
}
.nbl-template-2 .nbl-t2-article-more-item figure img { width:100%; height:100%; object-fit:cover; }
.nbl-template-2 .nbl-t2-article-more-item > span { min-width:0; }
.nbl-template-2 .nbl-t2-article-more-item b {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  font-size:13px;
  line-height:1.3;
  letter-spacing:-.012em;
}
.nbl-template-2 .nbl-t2-article-more-item time {
  display:block;
  margin-top:6px;
  color:var(--nbl-t2-muted);
  font-size:10px;
}
.nbl-template-2 .nbl-t2-article-more-item:hover b,
.nbl-template-2 .nbl-t2-article-more-item:focus-visible b { color:var(--nbl-t2-primary); }
.nbl-template-2 .nbl-t2-article-back {
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid var(--nbl-t2-border);
}
.nbl-template-2 .nbl-t2-article-back a {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 13px;
  border:1px solid var(--nbl-t2-border);
  border-radius:999px;
  background:var(--nbl-t2-card);
  color:var(--nbl-t2-text);
  font-size:12px;
  font-weight:850;
  text-decoration:none;
}
.nbl-template-2 .nbl-t2-article-back a:hover,
.nbl-template-2 .nbl-t2-article-back a:focus-visible { border-color:var(--nbl-t2-primary); color:var(--nbl-t2-primary); outline:none; }
@media(max-width:900px){
  .nbl-template-2 .nbl-t2-article-layout { grid-template-columns:minmax(0,1fr) 260px; gap:26px; }
  .nbl-template-2 .nbl-t2-article-more-item { grid-template-columns:68px minmax(0,1fr); gap:9px; }
  .nbl-template-2 .nbl-t2-article-more-item figure { width:68px; }
}
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-editorial-detail { margin-top:5px; margin-bottom:36px; padding:20px; border-radius:16px; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-header { margin-bottom:20px; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-header h1 { font-size:clamp(26px,7.8vw,34px); line-height:1.07; letter-spacing:-.035em; }
  .nbl-template-2 .nbl-t2-article-deck { margin-top:12px; font-size:15px; line-height:1.55; }
  .nbl-template-2 .nbl-t2-article-meta { gap:7px; margin-top:15px; font-size:11px; }
  .nbl-template-2 .nbl-t2-article-meta i { display:none; }
  .nbl-template-2 .nbl-t2-article-meta time { width:auto; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-hero { margin-bottom:24px; aspect-ratio:16 / 10; border-radius:13px; }
  .nbl-template-2 .nbl-t2-article-layout { display:block; width:100%; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body { font-size:16px; line-height:1.78; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-body > p:first-child { font-size:17px; }
  .nbl-template-2 .nbl-t2-article-aside { position:static; margin-top:32px; }
  .nbl-template-2 .nbl-t2-article-more-item { grid-template-columns:92px minmax(0,1fr); }
  .nbl-template-2 .nbl-t2-article-more-item figure { width:92px; }
}
/* v0.7.17: frame the complete editorial detail surface and reduce oversized detail headlines. */
.nbl-template-2 .nbl-t2-article-layout.has-no-aside { grid-template-columns:minmax(0,760px); justify-content:center; }
@media(max-width:767px){ .nbl-template-2 .nbl-t2-article-layout.has-no-aside { display:block; } }
/* v0.7.18: move editorial Read Next / More Analysis and Latest News rail below the article body. */
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-layout {
  display:block;
  width:min(100%,760px);
  margin:0 auto;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-aside {
  position:static;
  top:auto;
  width:min(100%,1040px);
  margin:42px auto 0;
  padding-top:30px;
  border-top:1px solid var(--nbl-t2-border);
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-aside-card {
  box-shadow:none;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-list {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-item {
  grid-template-columns:88px minmax(0,1fr);
  border-right:1px solid var(--nbl-t2-border);
  border-bottom:0;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-item:last-child { border-right:0; }
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-item figure { width:88px; }
@media(max-width:767px){
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-aside { margin-top:34px; padding-top:24px; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-list { grid-template-columns:1fr; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-item {
    grid-template-columns:92px minmax(0,1fr);
    border-right:0;
    border-bottom:1px solid var(--nbl-t2-border);
  }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-item:last-child { border-bottom:0; }
  .nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-more-item figure { width:92px; }
}


/* v0.7.21: keep News / Analysis detail content on the outer frame's true 20px content edge. */
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-header,
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-layout,
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-aside {
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-header h1,
.nbl-template-2 .nbl-t2-editorial-detail .nbl-t2-article-deck {
  max-width:none;
}

/* v0.7.22: keep homepage Latest News & Analysis card titles to two visible lines. */
.nbl-template-2 .nbl-t2-home-editorial-row .nbl-t2-editorial-card h3 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* v0.7.34: Template 2 mobile first-paint closure. Keep above-fold geometry stable and skip
   unnecessary layout/paint work for lower homepage modules until they approach the viewport. */
.nbl-template-2 .nbl-t2-home-live-banner-row picture,
.nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-ad-image {
  height:auto;
  max-width:100%;
}
.nbl-t2-home-page .nbl-t2-main > :is(
  .nbl-t2-score-card,
  .nbl-t2-standings-card,
  .nbl-t2-home-entities,
  .nbl-t2-app-promo,
  .nbl-t2-home-editorial,
  .nbl-t2-config-about,
  .nbl-t2-config-faq
) {
  content-visibility:auto;
  contain-intrinsic-size:auto 520px;
}
.nbl-t2-home-page .nbl-t2-main > :is(.nbl-t2-config-about,.nbl-t2-config-faq) {
  contain-intrinsic-size:auto 420px;
}
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-home-live-banner-row,
  .nbl-template-2 .nbl-t2-home-live-banner-row .nbl-t2-ad,
  .nbl-template-2 .nbl-t2-home-live-banner-row picture { min-height:0; }
}


/* v0.7.38: Match Detail no-live cover keeps the complete image visible with a soft overlay and centered translucent LIVE control. */
@media (max-width:767px) {
  .nbl-template-2 .nbl-t2-video-cover-live { min-height:46px; gap:8px; padding:9px 14px; }
  .nbl-template-2 .nbl-t2-video-cover-live i { width:27px; height:27px; font-size:11px; }
  .nbl-template-2 .nbl-t2-video-cover-live strong { font-size:12px; }
}

/* v0.7.67: mobile header App CTA. Mobile only; desktop/tablet navigation remains unchanged. */
@media (max-width: 767px) {
  .nbl-template-2 .nbl-t2-mobile-app-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:50px;
    height:40px;
    padding:0 12px;
    border:1px solid color-mix(in srgb,var(--nbl-t2-app-cta-bg,#E31B23) 82%,#fff 18%);
    border-radius:10px;
    background:var(--nbl-t2-app-cta-bg,#E31B23);
    color:var(--nbl-t2-app-cta-text,#FFFFFF);
    font-size:12px;
    font-weight:900;
    line-height:1;
    letter-spacing:.04em;
    white-space:nowrap;
    box-shadow:0 5px 14px color-mix(in srgb,var(--nbl-t2-app-cta-bg,#E31B23) 26%,transparent);
  }
  .nbl-template-2 .nbl-t2-mobile-app-btn:hover,
  .nbl-template-2 .nbl-t2-mobile-app-btn:focus-visible {
    filter:brightness(.92);
    color:var(--nbl-t2-app-cta-text,#FFFFFF);
    outline:none;
  }
}
@media (max-width: 540px) {
  .nbl-template-2 .nbl-t2-mobile-app-btn { min-width:48px; height:38px; padding:0 11px; }
}
@media (max-width: 360px) {
  .nbl-template-2 .nbl-t2-mobile-app-btn { min-width:44px; height:36px; padding:0 10px; font-size:11px; }
}

/* v0.7.68 - editable Template 2 bottom navigation + per-item CTA colors. */
.nbl-t2-bottom-nav > a.is-current:not(.nbl-t2-bottom-cta){background:var(--nbl-t2-primary-light);color:var(--nbl-t2-primary)}
.nbl-t2-bottom-nav .nbl-t2-bottom-cta{background:var(--nbl-t2-bottom-cta-bg,var(--nbl-t2-live));color:var(--nbl-t2-bottom-cta-text,var(--nbl-t2-on-live))!important}
.nbl-t2-bottom-nav .nbl-t2-bottom-cta:hover,.nbl-t2-bottom-nav .nbl-t2-bottom-cta:focus-visible{background:var(--nbl-t2-bottom-cta-bg,var(--nbl-t2-live));color:var(--nbl-t2-bottom-cta-text,var(--nbl-t2-on-live))!important;filter:brightness(.92);outline:none}
.nbl-t2-bottom-nav.is-dense > a{font-size:9px;padding-left:2px;padding-right:2px}
.nbl-t2-bottom-nav.is-dense svg{width:18px;height:18px;flex-basis:18px}

/* v0.7.69 Home Live Score & Schedule inline banner after configured visible game */
.nbl-template-2 .nbl-t2-home-schedule-inline-banner{width:100%;overflow:hidden;border-radius:10px;background:transparent;line-height:0}
.nbl-template-2 .nbl-t2-home-schedule-inline-banner>a{display:block}
.nbl-template-2 .nbl-t2-home-schedule-inline-banner picture{display:block;width:100%}
.nbl-template-2 .nbl-t2-home-schedule-inline-banner img{display:block;width:100%;height:auto;max-width:100%;border:0}
@media(max-width:430px){.nbl-template-2 .nbl-t2-home-schedule-inline-banner{border-radius:8px}}

/* v0.7.77 — optional guest live access gate (Template 2 only). */
.nbl-t2-live-access-gate { position:absolute; inset:0; z-index:5; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; padding:28px 22px; text-align:center; color:#f8fafc; background-color:#07100e; background-image:linear-gradient(rgba(27,94,73,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(27,94,73,.12) 1px,transparent 1px),radial-gradient(circle at 45% 42%,rgba(0,170,112,.12),transparent 42%); background-size:32px 32px,32px 32px,auto; }
.nbl-t2-live-access-icon { width:66px; height:66px; margin-bottom:5px; display:grid; place-items:center; border:1px solid rgba(0,196,132,.24); border-radius:17px; background:rgba(0,103,74,.12); box-shadow:0 0 32px rgba(0,189,128,.08); color:#00b97d; }
.nbl-t2-live-access-icon svg { width:36px; height:36px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.nbl-t2-live-access-eyebrow { color:#00b97d; font-size:12px; font-weight:900; letter-spacing:.16em; line-height:1.2; text-transform:uppercase; }
.nbl-t2-live-access-title { color:#fff; font-size:clamp(18px,2.2vw,24px); line-height:1.2; font-weight:900; }
.nbl-t2-live-access-gate p { max-width:560px; margin:0; color:rgba(226,232,240,.72); font-size:14px; line-height:1.5; }
.nbl-t2-live-access-actions { display:flex; flex-direction:column; align-items:center; gap:9px; margin-top:8px; }
.nbl-t2-live-access-btn { min-width:132px; min-height:42px; display:inline-flex; align-items:center; justify-content:center; padding:9px 18px; border:1px solid rgba(0,185,125,.45); border-radius:8px; font-size:13px; font-weight:800; text-decoration:none!important; transition:transform .15s ease,background .15s ease,border-color .15s ease; }
.nbl-t2-live-access-btn.is-login { color:#00d291; background:rgba(0,128,91,.16); }
.nbl-t2-live-access-btn.is-download { color:#fff; background:#008b62; border-color:#00a574; }
.nbl-t2-live-access-btn:hover,.nbl-t2-live-access-btn:focus-visible { transform:translateY(-1px); border-color:#00d291; }
.nbl-t2-live-access-btn:focus-visible { outline:2px solid #00d291; outline-offset:2px; }
.nbl-t2-home-player.is-access-gated .nbl-t2-home-player-overlay { display:none; }
@media (max-width:767px){.nbl-t2-live-access-gate{gap:7px;padding:18px 14px}.nbl-t2-live-access-icon{width:54px;height:54px;border-radius:14px}.nbl-t2-live-access-icon svg{width:30px;height:30px}.nbl-t2-live-access-eyebrow{font-size:10px}.nbl-t2-live-access-title{font-size:18px}.nbl-t2-live-access-gate p{font-size:12px}.nbl-t2-live-access-btn{min-width:122px;min-height:38px;padding:7px 14px;font-size:12px}}


/* v0.7.80 — keep the guest access gate fully visible on mobile without changing normal 16:9 playback. */
@media (max-width:767px){
  .nbl-template-2 .nbl-t2-home-player.is-access-gated{height:auto!important;min-height:360px!important;aspect-ratio:auto!important;}
  .nbl-template-2 .nbl-t2-home-player.is-access-gated .nbl-t2-home-player-stage,
  .nbl-template-2 .nbl-t2-video-card.is-access-gated .nbl-t2-video-stage{height:auto!important;min-height:360px!important;aspect-ratio:auto!important;}
  .nbl-template-2 .nbl-t2-live-access-gate{overflow-y:auto;overscroll-behavior:contain;}
  .nbl-template-2 .nbl-t2-live-access-actions{width:min(100%,360px);}
  .nbl-template-2 .nbl-t2-live-access-btn{width:100%;max-width:360px;white-space:normal;line-height:1.25;text-align:center;}
}
@media (max-width:430px){
  .nbl-template-2 .nbl-t2-home-player.is-access-gated,
  .nbl-template-2 .nbl-t2-home-player.is-access-gated .nbl-t2-home-player-stage,
  .nbl-template-2 .nbl-t2-video-card.is-access-gated .nbl-t2-video-stage{min-height:350px!important;}
}


/* v0.7.81 — replace the guest gate icon with the exact current event name and a red LIVE badge. */
.nbl-t2-live-access-event { max-width:min(100%,680px); display:flex; align-items:center; justify-content:center; gap:9px; margin-bottom:4px; color:#f8fafc; line-height:1.25; }
.nbl-t2-live-access-event strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:clamp(14px,1.8vw,18px); font-weight:900; }
.nbl-t2-live-access-event span { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; min-height:23px; padding:3px 8px; border-radius:999px; background:#dc2626; color:#fff; font-size:10px; font-weight:900; letter-spacing:.08em; line-height:1; box-shadow:0 0 0 1px rgba(255,255,255,.08) inset; }
@media (max-width:767px){
  .nbl-t2-live-access-event{max-width:100%;gap:7px;margin-bottom:2px;}
  .nbl-t2-live-access-event strong{font-size:13px;}
  .nbl-t2-live-access-event span{min-height:21px;padding:3px 7px;font-size:9px;}
}


/* v0.7.82 — access gate persists when no event is live and shows the nearest tipoff countdown. */
.nbl-t2-live-access-event span.is-next{background:#7c3aed;color:#fff;}
.nbl-t2-live-access-countdown{display:flex;align-items:baseline;justify-content:center;gap:8px;max-width:100%;color:#e2e8f0;line-height:1.2;}
.nbl-t2-live-access-countdown small{color:#94a3b8;font-size:10px;font-weight:900;letter-spacing:.12em;}
.nbl-t2-live-access-countdown strong{color:#fff;font-size:18px;font-weight:900;font-variant-numeric:tabular-nums;letter-spacing:.03em;}
.nbl-t2-live-access-countdown span{color:#94a3b8;font-size:11px;font-weight:700;white-space:nowrap;}
@media(max-width:767px){
  .nbl-t2-live-access-countdown{flex-wrap:wrap;gap:5px 7px;}
  .nbl-t2-live-access-countdown strong{font-size:16px;}
  .nbl-t2-live-access-countdown span{width:100%;font-size:10px;}
}
