/* Every rule is inert on protected casino/payment scopes. No root or Home grid overrides. */
body[data-nb-rea-view] .nb-rea-shell-icon { display:inline-flex; flex:0 0 32px; width:32px; height:32px; align-items:center; justify-content:center; margin-right:0; font:20px/1 Arial,sans-serif; color:inherit; }
body[data-nb-rea-view] .nb-side-navigation > a,
body[data-nb-rea-view] .nb-side-navigation > details > summary { min-height:46px; border-radius:12px; }
body[data-nb-rea-view] .nb-side-navigation > details > summary { display:flex; align-items:center; }
body[data-nb-rea-view] .nb-side-navigation > details > summary::after { margin-left:auto; }
body[data-nb-rea-view] .nb-account-group > a { display:flex; align-items:center; gap:10px; min-height:44px; }
body[data-nb-rea-view] .nb-account-group > a .nb-rea-shell-icon { font-size:19px; }
body[data-nb-rea-view] .nb-site-footer { background:var(--nb-rea-paper); color:var(--nb-rea-muted); border-color:var(--nb-rea-line); padding:24px 12px 88px; }
body[data-nb-rea-view] .nb-site-footer__inner { text-align:left; gap:12px; }
body[data-nb-rea-view] .nb-site-footer strong { color:var(--nb-rea-ink); font-size:16px; }
body[data-nb-rea-view] .nb-site-footer nav { justify-content:flex-start; gap:0 24px; padding:12px 0; border-block:1px solid var(--nb-rea-line); }
body[data-nb-rea-view] .nb-site-footer a { color:var(--nb-rea-ink); min-height:44px; }
body[data-nb-rea-view] .nb-site-footer p { margin:0; }
body[data-nb-rea-view="home"] .hero-banner:has(.nb-rea-shell-carousel) { padding:0; overflow:hidden; border-radius:16px; background:linear-gradient(145deg, #0f172a, #0b111e); border:1px solid rgba(16,185,129,.22); }
body[data-nb-rea-view="home"] .nb-rea-shell-carousel { position:relative; width:100%; }
body[data-nb-rea-view="home"] .nb-rea-shell-slide { min-height:200px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:var(--color-text-high); text-align:center; padding:18px; background:radial-gradient(circle at 25% 18%, rgba(16,185,129,.16), transparent 55%), radial-gradient(circle at 82% 85%, rgba(245,158,11,.10), transparent 45%); }
body[data-nb-rea-view="home"] .nb-rea-shell-welcome { font-size:clamp(24px, 3vw, 34px); font-weight:800; letter-spacing:-.02em; }
body[data-nb-rea-view="home"] .nb-rea-shell-slide p { margin:0; padding:0 16px; font-size:14px; color:#cbd5e1; }
body[data-nb-rea-view="home"] .nb-rea-shell-slide > a { display:block; width:100%; }
body[data-nb-rea-view="home"] .nb-rea-shell-slide img { display:block; width:100%; height:auto; aspect-ratio:750/320; object-fit:contain; }
body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls { display:flex; align-items:center; justify-content:center; gap:8px; padding:8px; color:var(--color-text-high); background:rgba(7,11,18,.55); border-top:1px solid rgba(148,163,184,.12); }
body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls[hidden] { display:none; }
body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls button { min-width:44px; min-height:44px; border:1px solid rgba(148,163,184,.28); border-radius:10px; background:rgba(255,255,255,.04); color:inherit; cursor:pointer; font-size:20px; transition:border-color .16s ease, background .16s ease; }
body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls button:hover { border-color:var(--color-accent-primary); background:rgba(16,185,129,.14); }
body[data-nb-rea-view="auth"] .nb-rea-shell-auth-form { display:grid; gap:16px; }
body[data-nb-rea-view="auth"] .nb-rea-shell-auth-form .core-field { margin:0; }
body[data-nb-rea-view="auth"] .nb-rea-shell-auth-form .auth-submit { width:100%; min-height:46px; }
body[data-nb-rea-view="account"] .nb-rea-window .nb-rea-shell-profile { display:block; }
body[data-nb-rea-view="account"] .nb-rea-window .nb-rea-shell-profile > div { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,1.25fr); align-items:center; gap:12px; border:0; border-bottom:1px solid var(--nb-rea-line); border-radius:0; padding:14px 0; }
body[data-nb-rea-view="account"] .nb-rea-window .nb-rea-shell-profile dd { margin:0; text-align:right; }
@media(min-width:1024px) {
  body[data-nb-rea-view] .top-header { padding-inline:max(16px,calc((100vw - 1400px)/2)); }
  body[data-nb-rea-view] .nb-header-nav { display:flex; }
  body[data-nb-rea-view] .top-header { grid-template-columns:auto auto minmax(0,1fr) auto; }
  body[data-nb-rea-view] .header-actions { justify-self:end; }
  body[data-nb-rea-view="sports"].nb-sidebar-collapsed .desktop-layout,
  body[data-nb-rea-view="sports"].nb-sidebar-collapsed .sidebar-layout,
  body[data-nb-rea-view="account"].nb-sidebar-collapsed .sidebar-layout { grid-template-columns:63px minmax(0,1fr) 286px; }
  body[data-nb-rea-view="affiliate"].nb-sidebar-collapsed .sidebar-layout { grid-template-columns:63px minmax(0,1fr); }
  body[data-nb-rea-view="sports"].nb-sidebar-collapsed .left-sidebar,
  body[data-nb-rea-view="account"].nb-sidebar-collapsed .left-sidebar,
  body[data-nb-rea-view="affiliate"].nb-sidebar-collapsed .left-sidebar { display:block; width:63px; padding:0; overflow-x:hidden; }
  body[data-nb-rea-view]:not([data-nb-rea-view="home"]).nb-sidebar-collapsed .nb-side-navigation > a,
  body[data-nb-rea-view]:not([data-nb-rea-view="home"]).nb-sidebar-collapsed .nb-side-navigation > details > summary { font-size:0; justify-content:center; padding:7px; }
  body[data-nb-rea-view]:not([data-nb-rea-view="home"]).nb-sidebar-collapsed .nb-side-navigation .nb-rea-shell-icon { margin:0; }
  body[data-nb-rea-view]:not([data-nb-rea-view="home"]).nb-sidebar-collapsed .nb-side-navigation > .nb-side-label { display:none; }
}
@media(min-width:1024px) and (max-width:1180px) {
  body[data-nb-rea-view="sports"].nb-sidebar-collapsed .desktop-layout,
  body[data-nb-rea-view="sports"].nb-sidebar-collapsed .sidebar-layout,
  body[data-nb-rea-view="account"].nb-sidebar-collapsed .sidebar-layout { grid-template-columns:63px minmax(0,1fr); }
}
@media(max-width:1023px) {
  body[data-nb-rea-view] .top-header { min-height:clamp(52px,13.3333vw,60px); padding:4px 10px; }
  body[data-nb-rea-view] .left-sidebar { width:min(280px,76vw); padding:14px 10px 28px; background:var(--nb-rea-card); color:var(--nb-rea-ink); }
  body[data-nb-rea-view] .nb-drawer-close { color:var(--nb-rea-ink); border-color:var(--nb-rea-line); background:var(--nb-rea-paper); border-radius:3px; }
  body[data-nb-rea-view] .bottom-nav .nav-item { display:flex; flex-direction:column; gap:2px; font-size:11px; }
  body[data-nb-rea-view] .bottom-nav .nb-rea-shell-icon { margin:0; width:24px; height:24px; flex-basis:24px; font-size:22px; }
  body[data-nb-rea-view="home"] .nb-rea-shell-slide { min-height:36.2667vw; }
}
@media(forced-colors:active) {
  body[data-nb-rea-view] .nb-rea-shell-icon { color:CanvasText; }
  body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls button { border-color:ButtonText; }
}
/* Source-style utility disclosures retain the original control nodes. */
body[data-nb-rea-view] .nb-rea-shell-icon svg { width:18px; height:18px; display:block; }
body[data-nb-rea-view] .bottom-nav .nb-rea-shell-icon svg { width:22px; height:22px; }
body[data-nb-rea-view] .nb-rea-shell-language { position:relative; color:var(--color-text-high); }
body[data-nb-rea-view] .nb-rea-shell-language > summary { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:42px; cursor:pointer; list-style:none; border:1px solid rgba(148,163,184,.28); border-radius:10px; background:rgba(255,255,255,.04); font-size:13px; font-weight:700; }
body[data-nb-rea-view] .nb-rea-shell-language-panel { position:absolute; top:calc(100% + 10px); right:0; z-index:130; width:220px; padding:16px; border:1px solid rgba(16,185,129,.26); border-radius:14px; background:#0e1624; color:#f8fafc; box-shadow:0 18px 44px rgba(0,0,0,.55); }
body[data-nb-rea-view] .nb-rea-shell-language-panel label { display:grid; gap:10px; }
body[data-nb-rea-view] .nb-rea-shell-language-panel .core-language-select { display:block; width:100%; min-height:44px; color:#f8fafc; background:#121a29; border:1px solid rgba(148,163,184,.28); border-radius:10px; }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu { flex:none; width:100%; background:var(--nb-rea-card); border-bottom:1px solid var(--nb-rea-line); }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu > summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; padding:10px 16px; cursor:pointer; color:var(--nb-rea-ink); font-size:14px; font-weight:600; }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu > summary::after { content:'⌄'; }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu[open] > summary::after { content:'⌃'; }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu .core-workspace-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-height:min(46dvh,340px); overflow-y:auto; overflow-x:hidden; gap:0; padding:0 8px 8px; margin:0; }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu .core-workspace-tabs .btn { white-space:normal; text-align:left; justify-content:flex-start; padding:10px; border:0; border-bottom:1px solid var(--nb-rea-line); font-size:12px; min-height:48px; }
body[data-nb-rea-view="account"] .nb-rea-shell-inbox-toggle { width:100%; min-height:48px; padding:10px 0; text-align:left; color:var(--nb-rea-ink); background:transparent; border:0; cursor:pointer; font-size:14px; font-weight:600; }
body[data-nb-rea-view="account"] .nb-rea-shell-inbox-toggle::after { content:'＋'; float:right; }
body[data-nb-rea-view="account"] .nb-rea-shell-inbox-toggle[aria-expanded="true"]::after { content:'−'; }
body[data-nb-rea-view="account"] .nb-rea-shell-inbox-message { padding:0 0 12px; line-height:1.6; }
body[data-nb-rea-view="account"] .nb-rea-shell-inbox-message[hidden] { display:none; }
body[data-nb-rea-view="auth"] .nb-rea-shell-auth-close { position:absolute; z-index:2; top:6px; left:8px; width:44px; height:44px; display:grid; place-items:center; font-size:28px; text-decoration:none; color:var(--color-text-high); }
body[data-nb-rea-view="auth"] .auth-form-utility { display:flex; justify-content:flex-end; padding-top:0; }
body[data-nb-rea-view="auth"] .auth-form-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(min-width:1024px) {
  body[data-nb-rea-view="home"] .nb-rea-shell-slide img { max-height:342px; aspect-ratio:auto; object-fit:contain; }
}
@media(max-width:1023px) {
  body[data-nb-rea-view] .left-sidebar { width:min(440px,100vw); padding:0 0 24px; }
  body[data-nb-rea-view] .nb-drawer-close { padding:12px; }
  body[data-nb-rea-view] .nb-side-navigation { width:50.6667%; padding-bottom:24px; }
  body[data-nb-rea-view] .nb-side-navigation > details { position:static; }
  body[data-nb-rea-view] .nb-side-navigation > details > div { position:absolute; top:56px; left:50.6667%; right:0; bottom:0; overflow-y:auto; padding:8px; background:var(--nb-rea-paper); border-left:1px solid var(--nb-rea-line); }
  body[data-nb-rea-view] .nb-side-navigation > details > div a { min-height:48px; display:flex; align-items:center; color:var(--nb-rea-ink); border-bottom:1px solid var(--nb-rea-line); }
  body[data-nb-rea-view] .nb-side-navigation > a,
  body[data-nb-rea-view] .nb-side-navigation > details > summary { padding:10px 8px; gap:0; font-size:12px; }
  body[data-nb-rea-view] .nb-side-navigation .nb-rea-shell-icon { width:26px; flex-basis:26px; margin-right:6px; }
  body[data-nb-rea-view="home"] .nb-rea-shell-slide img { height:45.7172vw; aspect-ratio:auto; object-fit:contain; }
}
body[data-nb-rea-view="sports"] .nb-rea-shell-sports-tabs { display:flex; flex:1 1 100%; width:100%; gap:0; overflow-x:auto; border-bottom:1px solid var(--nb-rea-line); }
body[data-nb-rea-view="sports"] .nb-rea-shell-sports-tabs button { flex:1 0 auto; min-height:48px; padding:10px 16px; border:0; border-bottom:3px solid transparent; background:var(--nb-rea-card); color:var(--nb-rea-muted); font:inherit; cursor:pointer; }
body[data-nb-rea-view="sports"] .nb-rea-shell-sports-tabs button[aria-pressed="true"] { border-bottom-color:var(--color-accent-primary); color:var(--nb-rea-ink); font-weight:700; }
body[data-nb-rea-view="account"] .nb-rea-shell-account-menu .core-workspace-tabs > a { white-space:normal; text-align:left; padding:10px; border:0; border-bottom:1px solid var(--nb-rea-line); font-size:12px; min-height:48px; }
body[data-nb-rea-view] .nb-rea-shell-appbar { display:none; }
@media(max-width:1023px) {
  body[data-nb-rea-view] .nb-rea-shell-appbar { display:flex; align-items:center; gap:10px; height:52px; min-height:52px; box-sizing:border-box; padding:3px 10px; background:var(--nb-rea-paper); color:var(--nb-rea-ink); border-bottom:1px solid var(--nb-rea-line); }
  body[data-nb-rea-view] .nb-rea-shell-app-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:5px; background:var(--nb-header); color:var(--color-text-high); font-size:24px; }
  body[data-nb-rea-view] .nb-rea-shell-appbar strong { flex:1; min-width:0; font-size:14px; }
  body[data-nb-rea-view] .nb-rea-shell-appbar a { display:grid; place-items:center; min-height:44px; padding:8px 12px; color:var(--nb-rea-ink); border:1px solid var(--nb-rea-line); border-radius:3px; font-size:12px; text-decoration:none; }
  body[data-nb-rea-view] .nb-rea-shell-appbar button { width:44px; min-height:44px; border:0; background:transparent; color:var(--nb-rea-ink); font-size:24px; cursor:pointer; }
}
/* Observed source carousel: 3000ms schedule, 300ms movement, 12px gap, mobile1.18 slides. */
body[data-nb-rea-view="home"] .nb-rea-shell-viewport { position:relative; overflow:hidden; height:auto; aspect-ratio:750/320; min-height:180px; max-height:342px; touch-action:pan-y pinch-zoom; }
body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide { position:absolute; inset:0 auto auto 0; width:100%; height:100%; min-height:0; transition:transform 300ms ease; transform:translateX(0); }
body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide.is-before { transform:translateX(calc(-100% - 12px)); }
body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide.is-after { transform:translateX(calc(100% + 12px)); }
body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide[hidden] { display:none; }
body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide > a { height:100%; }
body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide img { height:100%; width:100%; object-fit:contain; user-select:none; pointer-events:none; }
body[data-nb-rea-view="home"] .nb-rea-shell-dots { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; }
body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls .nb-rea-shell-dot { position:relative; min-width:44px; min-height:44px; padding:0; border:0; background:transparent; }
body[data-nb-rea-view="home"] .nb-rea-shell-dot::after { content:''; display:block; width:20px; height:3px; margin:auto; border-radius:2px; background:currentColor; opacity:.45; }
body[data-nb-rea-view="home"] .nb-rea-shell-dot[aria-pressed="true"]::after { opacity:1; }
body[data-nb-rea-view="home"] .nb-rea-shell-slide-count { font-size:11px; white-space:nowrap; }
@media(max-width:1023px) {
  body[data-nb-rea-view="home"] .nb-rea-shell-viewport { height:auto; aspect-ratio:748/342; min-height:0; max-height:342px; }
  body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide { width:calc(84.745763% - 1.8305px); left:calc(7.6271185% + .91525px); }
  body[data-nb-rea-view="home"] .nb-rea-shell-carousel-controls { gap:2px; flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-nb-rea-view="home"] .nb-rea-shell-viewport .nb-rea-shell-slide { transition:none; }
}
/* Native auth fields retain labels, errors, autocomplete and reveal ownership. */
body[data-nb-rea-view="auth"] .nb-rea-shell-field-control { position:relative; display:block; min-width:0; }
body[data-nb-rea-view="auth"] .nb-rea-shell-field-control > .nb-rea-shell-icon { position:absolute; left:10px; top:9px; z-index:1; width:24px; height:26px; margin:0; color:var(--nb-rea-muted); pointer-events:none; }
body[data-nb-rea-view="auth"] .form-wrapper .nb-rea-shell-field-control .input-field { padding-left:42px; }
body[data-nb-rea-view="auth"] .nb-rea-shell-auth-form > .core-field > span:first-child { font-size:12px; font-weight:500; }
body[data-nb-rea-view="auth"] .nb-rea-shell-auth-form > .core-external-auth { border-top:1px solid var(--nb-rea-line); padding-top:16px; display:grid; gap:8px; }
body[data-nb-rea-view="sports"] .main-content .core-sports-event { padding:0; border-radius:16px; overflow:hidden; border:1px solid rgba(148,163,184,.18); background:#121a29; }
body[data-nb-rea-view="sports"] .nb-rea-shell-event-head { display:grid; gap:6px; padding:14px 18px; background:linear-gradient(135deg, #0b1322, #152238); border-bottom:1px solid rgba(16,185,129,.22); color:var(--color-text-high); }
body[data-nb-rea-view="sports"] .nb-rea-shell-event-head h3 { margin:0; font-size:16px; font-weight:700; line-height:1.4; }
body[data-nb-rea-view="sports"] .nb-rea-shell-event-head small,
body[data-nb-rea-view="sports"] .nb-rea-shell-event-head p { margin:0; font-size:12px; color:#94a3b8; }
body[data-nb-rea-view="sports"] .main-content .core-sports-markets { padding:14px 18px; }
body[data-nb-rea-view="sports"] .main-content .core-sports-market > strong { display:block; margin-bottom:8px; font-size:13px; }
