/* Hunchmeter Leaderboard & Profile UI (no-JS fallback preserved) */
html:has(#lb6-root),
html.lb6-on,
html.lb6-ready {
  scroll-behavior: auto !important;
}

html.lb6-on:not(.lb6-ready) main#main > :not(#lb6-root):not(script),
html.lb6-on:not(.lb6-ready) header.site-header:not(.hm-v6-hdr) {
  visibility: hidden;
}

html.lb6-ready,
html.lb6-ready[data-theme="light"] {
  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --surface-2: #EEF2F0;
  --tint: #E7EFEA;
  --ink: #0F2024;
  --ink-2: #31474C;
  --muted: #566C70;
  --line: #D5E0DC;
  --accent: #0D6B53;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3F3EE;
  --gold-bg: #FEF3C7;
  --gold-ink: #92400E;
  --gold-line: #F59E0B;
  --win-bg: #DCFCE7;
  --win-ink: #166534;
  --loss-bg: #F1F5F9;
  --loss-ink: #475569;
  --warn-bg: #FFFBEB;
  --warn-ink: #78350F;
  --warn-line: #FCD34D;
  --shadow-sm: 0 2px 8px rgba(15, 32, 36, 0.05);
  --shadow-lg: 0 12px 28px rgba(15, 32, 36, 0.14);
  --nfl-d: #0d2e1e; --nfl-m: #164a31; --nfl-p: #8fd3a9;
  --nba-d: #441807; --nba-m: #6c270d; --nba-p: #fdba74;
  --nhl-d: #0b2644; --nhl-m: #16406b; --nhl-p: #93c1f2;
  --tennis-d: #222c05; --tennis-m: #38460a; --tennis-p: #c9db6a;
  --racing-d: #331d08; --racing-m: #502e0f; --racing-p: #e0b48a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --fs-base: 14.5px;
  --fs-small: 12.5px;
  --fs-num: 16.5px;
}

@media (prefers-color-scheme: dark) {
  html.lb6-ready:not([data-theme="light"]) {
    --bg: #0A1517;
    --surface: #122226;
    --surface-2: #182D32;
    --tint: #1B353B;
    --ink: #EEF6F4;
    --ink-2: #C4D8D4;
    --muted: #8DA7A2;
    --line: #233E45;
    --accent: #34D399;
    --accent-ink: #052219;
    --accent-soft: rgba(52, 211, 153, 0.14);
    --gold-bg: #452606;
    --gold-ink: #FDE68A;
    --gold-line: #D97706;
    --win-bg: rgba(22, 101, 52, 0.42);
    --win-ink: #86EFAC;
    --loss-bg: rgba(51, 65, 85, 0.5);
    --loss-ink: #CBD5E1;
    --warn-bg: #3B2506;
    --warn-ink: #FDE68A;
    --warn-line: #B45309;
    --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.48);
  }
}

html.lb6-ready[data-theme="dark"] {
  --bg: #0A1517;
  --surface: #122226;
  --surface-2: #182D32;
  --tint: #1B353B;
  --ink: #EEF6F4;
  --ink-2: #C4D8D4;
  --muted: #8DA7A2;
  --line: #233E45;
  --accent: #34D399;
  --accent-ink: #052219;
  --accent-soft: rgba(52, 211, 153, 0.14);
  --gold-bg: #452606;
  --gold-ink: #FDE68A;
  --gold-line: #D97706;
  --win-bg: rgba(22, 101, 52, 0.42);
  --win-ink: #86EFAC;
  --loss-bg: rgba(51, 65, 85, 0.5);
  --loss-ink: #CBD5E1;
  --warn-bg: #3B2506;
  --warn-ink: #FDE68A;
  --warn-line: #B45309;
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.48);
}

@media (min-width: 1024px) {
  html.lb6-ready {
    --fs-base: 15.5px;
    --fs-small: 13.5px;
    --fs-num: 17px;
  }
}

html.lb6-ready,
html.lb6-ready body {
  font-family: var(--font) !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-size: var(--fs-base) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
}

/* No-JS fallback layout */
html.lb6-ready header.site-header:not(.hm-v6-hdr),
html.lb6-ready main#main > :not(#lb6-root):not(script):not(#mut-dead-btn),
html.lb6-ready .ctxbar,
html.lb6-ready footer.site-footer:not([data-lb6-ft="1"]) {
  display: none !important;
}
html.lb6-ready a.skip-link:not(:focus) {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html.lb6-ready main#main.container,
html.lb6-ready .page-wrap {
  max-width: 1200px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 6px 12px 32px !important;
  display: block !important;
}
@media (min-width: 1024px) {
  html.lb6-ready main#main.container,
  html.lb6-ready .page-wrap {
    padding: 14px 24px 44px !important;
  }
}

/* Scoped surface reset */
header.hm-v6-hdr, header.hm-v6-hdr *,
#lb6-root, #lb6-root *,
#lb6-modals, #lb6-modals *,
footer.site-footer[data-lb6-ft="1"], footer.site-footer[data-lb6-ft="1"] * {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

header.hm-v6-hdr :is(h1,h2,h3,p,ul,ol,li,figure,blockquote,dl,dt,dd),
#lb6-root :is(h1,h2,h3,p,ul,ol,li,figure,blockquote,dl,dt,dd),
#lb6-modals :is(h1,h2,h3,p,ul,ol,li,figure,blockquote,dl,dt,dd),
footer.site-footer[data-lb6-ft="1"] :is(h1,h2,h3,p,ul,ol,li,figure,blockquote,dl,dt,dd) {
  margin: 0;
  padding: 0;
}

header.hm-v6-hdr :is(button,a,input,select),
#lb6-root :is(button,a,input,select),
#lb6-modals :is(button,a,input,select),
footer.site-footer[data-lb6-ft="1"] :is(button,a,input,select) {
  font-family: inherit;
  min-width: 0;
  min-height: 0;
}

header.hm-v6-hdr button,
#lb6-root button,
#lb6-modals button,
footer.site-footer[data-lb6-ft="1"] button {
  cursor: pointer;
}

#lb6-root a,
#lb6-modals a {
  color: var(--accent);
  text-decoration: none;
}
#lb6-root a:hover,
#lb6-modals a:hover {
  text-decoration: underline;
}
#lb6-root .tn, #lb6-root .num,
#lb6-modals .tn, #lb6-modals .num {
  font-variant-numeric: tabular-nums;
}

/* ── LAYER 1: UNIFIED 2-ROW SITE HEADER (5 SPORTS, 56..82px, 1-ROW TOP SAFE AT 99 SAVED) ── */
header.site-header.hm-v6-hdr {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  padding: 0 !important;
  margin: 0 !important;
}
header.hm-v6-hdr .sh-inner { max-width: 1200px; margin: 0 auto; }
header.hm-v6-hdr .sh-top {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
}
header.hm-v6-hdr .brand {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-size: 16.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 !important;
  margin: 0 !important;
}
header.hm-v6-hdr .brand:hover { text-decoration: none !important; }
header.hm-v6-hdr .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 15px;
  position: relative;
}
header.hm-v6-hdr .brand-mark i { display: block; width: 2px; height: 15px; background: var(--ink); border-radius: 2px; }
header.hm-v6-hdr .brand-mark i:last-child { position: absolute; left: -2px; width: 18px; height: 2.5px; background: var(--accent); transform: rotate(-28deg); }

header.hm-v6-hdr .sh-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
header.hm-v6-hdr .sh-lang,
#lb6-root .sh-lang {
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none !important;
}
header.hm-v6-hdr .lg-pill.my-pill {
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--gold-bg);
  color: var(--gold-ink);
  border: 1px solid var(--gold-line);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

header.hm-v6-hdr .sh-sub {
  height: 34px;
  padding: 0 12px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
header.hm-v6-hdr .sh-sports {
  display: flex !important;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
header.hm-v6-hdr .sh-sports::-webkit-scrollbar { display: none; }
header.hm-v6-hdr .lg-pill {
  height: 24px;
  padding: 0 8.5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
}
header.hm-v6-hdr .lg-pill.is-active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
header.hm-v6-hdr .sh-desk-crumbs {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
@media (min-width: 1024px) {
  header.hm-v6-hdr .sh-top,
  header.hm-v6-hdr .sh-sub { padding: 0 24px; }
  header.hm-v6-hdr .sh-desk-crumbs { display: flex; }
}
header.hm-v6-hdr .crumb-btn,
#lb6-root .crumb-btn {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
header.hm-v6-hdr .crumb-btn.is-current,
#lb6-root .crumb-btn.is-current { color: var(--accent); font-weight: 700; }

/* ── DESKTOP 2-COL GRID (1200 / 24 / 708 + 28 + 416 = Match Page v6) ── */
#lb6-root .desk-grid { display: block; }
#lb6-root .desk-rail {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 1024px) {
  #lb6-root .desk-grid {
    display: grid;
    grid-template-columns: minmax(0, 708px) 416px;
    justify-content: space-between;
    gap: 28px;
    align-items: start;
  }
  #lb6-root .desk-rail {
    margin-top: 0;
    position: sticky;
    top: 14px;
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    padding-right: 2px;
  }
}

/* ── CONTEXTUAL PROFILE SUB-BAR ── */
#lb6-root .prof-context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 22px;
  margin-bottom: 3px;
  font-size: 11.5px;
  color: var(--muted);
}
@media (min-width: 1024px) {
  #lb6-root .prof-context-bar { min-height: 26px; margin-bottom: 5px; font-size: 12px; }
}
#lb6-root .prof-crumbs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
#lb6-root .prof-crumbs::-webkit-scrollbar { display: none; }

/* ── B. LEAGUE ARENA & PORTRAIT ARENA ── */
#lb6-root .arena {
  --ap: var(--nfl-p);
  border-radius: 16px;
  overflow: hidden;
  color: #fffefa;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--ap);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(143,211,169,0.20), transparent 46%),
    radial-gradient(circle at 84% 20%, rgba(143,211,169,0.16), transparent 46%),
    linear-gradient(180deg, var(--nfl-m) 0%, var(--nfl-d) 100%);
}
html.lb6-ready[data-theme="dark"] #lb6-root .arena {
  border-left-color: rgba(143,211,169,0.24);
  border-right-color: rgba(143,211,169,0.24);
  border-bottom-color: rgba(143,211,169,0.24);
}
#lb6-root .arena.is-nba {
  --ap: var(--nba-p);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(253,186,116,0.20), transparent 46%),
    radial-gradient(circle at 84% 20%, rgba(253,186,116,0.16), transparent 46%),
    linear-gradient(180deg, var(--nba-m) 0%, var(--nba-d) 100%);
}
html.lb6-ready[data-theme="dark"] #lb6-root .arena.is-nba {
  border-left-color: rgba(253,186,116,0.25);
  border-right-color: rgba(253,186,116,0.25);
  border-bottom-color: rgba(253,186,116,0.25);
}
#lb6-root .arena.is-nhl {
  --ap: var(--nhl-p);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(147,193,242,0.20), transparent 46%),
    radial-gradient(circle at 84% 20%, rgba(147,193,242,0.16), transparent 46%),
    linear-gradient(180deg, var(--nhl-m) 0%, var(--nhl-d) 100%);
}
html.lb6-ready[data-theme="dark"] #lb6-root .arena.is-nhl {
  border-left-color: rgba(147,193,242,0.25);
  border-right-color: rgba(147,193,242,0.25);
  border-bottom-color: rgba(147,193,242,0.25);
}

#lb6-root .ar-pad { padding: 7px 12px 6px; }
#lb6-root .ar-top-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
#lb6-root .ar-h1 {
  font-size: 11.5px;
  line-height: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.005em;
}
#lb6-root .ar-updated {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ap);
  white-space: nowrap;
  flex-shrink: 0;
}

#lb6-root .card-mode-sw {
  margin-top: 5px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 2px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.14);
  gap: 2px;
}
#lb6-root .cms-btn {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  padding: 0 6px;
  white-space: nowrap;
}
#lb6-root .cms-btn.is-active { background: rgba(255, 255, 255, 0.20); color: #ffffff; }
#lb6-root .cms-btn.my-tab.is-active { background: #FEF3C7; color: #78350F; }

#lb6-root .ar-body-grid { display: block; margin-top: 6px; }
#lb6-root .ar-verdict {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 1px;
  font-size: 19px;
  line-height: 23.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}
#lb6-root .ar-verdict .v-lbl { white-space: nowrap; }
#lb6-root .ar-verdict .v-num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
#lb6-root .ar-verdict .v-fav { color: var(--ap); font-size: 17px; line-height: 22px; }
#lb6-root .dash-u { text-decoration: underline dashed; text-decoration-thickness: 1.8px; text-underline-offset: 3px; }
#lb6-root .ar-cap {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 15px;
  color: rgba(255,255,255,0.84);
}
#lb6-root .ar-cap strong { color: #ffffff; font-weight: 700; }
#lb6-root .ar-cap-jump {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ap);
  font-size: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#lb6-root .ar-field-scale { display: none; }
@media (min-width: 1024px) {
  #lb6-root .ar-pad { padding: 10px 18px 9px; }
  #lb6-root .ar-top-row-desk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  #lb6-root .card-mode-sw { margin-top: 0; width: 330px; height: 34px; flex-shrink: 0; }
  #lb6-root .ar-h1 { font-size: 12.5px; line-height: 16px; }
  #lb6-root .ar-body-grid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 208px;
    gap: 16px;
    align-items: center;
  }
  #lb6-root .ar-verdict { font-size: 26px; line-height: 31px; column-gap: 10px; }
  #lb6-root .ar-verdict .v-fav { font-size: 22px; line-height: 27px; }
  #lb6-root .ar-cap { font-size: 13px; line-height: 18px; margin-top: 5px; }
  #lb6-root .ar-field-scale {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    padding: 7px 10px 6px;
  }
  #lb6-root .afs-lbl { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.78); display: flex; justify-content: space-between; }
  #lb6-root .afs-sub { font-size: 10px; color: var(--ap); font-weight: 700; margin-top: 2px; display: flex; justify-content: space-between; }
}

#lb6-root .ar-strip {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.34);
  color: #ffffff;
  padding: 5px 12px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
}
#lb6-root .ars-left { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
#lb6-root .mini-helm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.28);
}
#lb6-root .ars-txt { min-width: 0; flex: 1; }
#lb6-root .ars-t1 { display: block; font-size: 12px; line-height: 14.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lb6-root .ars-bar { display: flex; height: 3.5px; border-radius: 99px; overflow: hidden; gap: 1.5px; margin-top: 3px; max-width: 180px; background: rgba(255,255,255,0.16); }
#lb6-root .ars-bar i { display: block; height: 100%; border-radius: 99px; }
#lb6-root .ars-go { font-size: 11.5px; font-weight: 800; color: var(--ap); white-space: nowrap; flex-shrink: 0; }
@media (min-width: 1024px) {
  #lb6-root .ar-strip { padding: 6px 18px; min-height: 40px; }
  #lb6-root .ars-t1 { font-size: 13px; }
  #lb6-root .ars-go { font-size: 12.5px; }
}

/* ── C & D. CONTROLS UNDER ARENA ── */
#lb6-root .entity-row {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
#lb6-root .entity-seg {
  display: inline-flex;
  padding: 2px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  gap: 2px;
}
#lb6-root .entity-pill {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  padding: 0 9px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
#lb6-root .entity-pill.is-active { background: var(--accent); color: var(--accent-ink); }
#lb6-root .entity-note { font-size: 11px; color: var(--muted); display: none; }
@media (min-width: 640px) {
  #lb6-root .entity-note { display: inline; }
}

#lb6-root .ctl-grid { display: block; margin-top: 6px; }
#lb6-root .m-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
#lb6-root .m-tabs::-webkit-scrollbar { display: none; }
#lb6-root .mkt-tab {
  flex: 1 0 auto;
  height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
#lb6-root .mkt-tab.is-active { background: var(--accent); color: var(--accent-ink); }
#lb6-root .mkt-tab.is-zero:not(.is-active) { opacity: 0.65; }

#lb6-root .ms-bar {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
#lb6-root .ms-seg {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  gap: 2px;
}
#lb6-root .ms-seg button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 0 4px;
  white-space: nowrap;
}
#lb6-root .ms-seg button.is-active { background: var(--tint); color: var(--ink); font-weight: 800; }
#lb6-root .ms-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
#lb6-root .ms-btn.has-flt { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

@media (min-width: 1024px) {
  #lb6-root .ctl-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }
  #lb6-root .ms-bar { margin-top: 0; }
  #lb6-root .m-tabs, #lb6-root .ms-seg, #lb6-root .ms-btn { height: 40px; }
  #lb6-root .mkt-tab { height: 34px; font-size: 13px; }
  #lb6-root .ms-seg button, #lb6-root .ms-btn { font-size: 13px; }
}

#lb6-root .rule-hook-row {
  margin-top: 4px;
  margin-bottom: 4px;
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
#lb6-root .hook-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
#lb6-root .active-flt-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
#lb6-root .active-flt-chip {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 700;
}

#lb6-root .search-drawer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 5px 8px;
}
#lb6-root .search-drawer input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  min-width: 0;
}
#lb6-root .search-clear {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 7px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 700;
}

#lb6-root .my-mode-card {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
#lb6-root .my-mode-card p { font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; }
#lb6-root .my-mode-actions { display: flex; flex-wrap: wrap; gap: 6px; }
#lb6-root .btn-gold,
#lb6-modals .btn-gold {
  background: var(--gold-bg);
  color: var(--gold-ink);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#lb6-root .btn-sec,
#lb6-modals .btn-sec {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#lb6-root .my-split-card {
  background: var(--gold-bg);
  color: var(--gold-ink);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  padding: 7px 11px;
  margin-bottom: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

#lb6-root .callout-card {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border: 1px solid var(--warn-line);
  border-radius: 11px;
  padding: 9px 12px;
  margin-bottom: 8px;
  font-size: 12.5px;
  line-height: 1.42;
}
#lb6-root .callout-card .callout-act {
  margin-top: 6px;
  display: inline-block;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}
#lb6-root .callout-card.puckline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 9px;
  margin-bottom: 5px;
  font-size: 11.5px;
  line-height: 1.22;
}
#lb6-root .callout-card.puckline-strip .callout-act {
  margin-top: 0;
  padding: 3px 8px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── F. LEADERBOARD LIST & ROWS ── */
#lb6-root .lb-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
#lb6-root .lb-col-head { display: none; }
#lb6-root .lb-list { list-style: none; }
#lb6-root .lb-row { border-bottom: 1px solid var(--line); }
#lb6-root .lb-row:last-child { border-bottom: 0; }
#lb6-root .lb-row.is-saved { border-left: 3px solid var(--gold-line); }
#lb6-root .lb-gap-li {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
#lb6-root .lb-gap-btn {
  width: 100%;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#lb6-root .lb-row-main {
  display: grid;
  grid-template-columns: 30px 32px minmax(0, 1fr) auto 14px;
  align-items: center;
  column-gap: 6px;
  padding: 5px 9px 5px 4px;
  min-height: 51px;
}
#lb6-root .star-btn {
  width: 30px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 17px;
  color: var(--muted);
  display: grid;
  place-items: center;
  border-radius: 6px;
}
#lb6-root .star-btn.is-on { color: #D97706; }
html.lb6-ready[data-theme="dark"] #lb6-root .star-btn.is-on { color: #FBBF24; }

#lb6-root .lb-rk {
  min-width: 30px;
  height: 24px;
  padding: 0 4px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
#lb6-root .lb-rk.is-top1 {
  background: var(--gold-bg);
  color: var(--gold-ink);
  border: 1.5px solid var(--gold-line);
}

#lb6-root .lb-ident { min-width: 0; cursor: pointer; text-decoration: none !important; color: inherit !important; display: block; }
#lb6-root .lb-name-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 6px; }
#lb6-root .lb-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: normal;
  overflow-wrap: break-word;
}
#lb6-root .lb-sub {
  font-size: 12px;
  line-height: 1.22;
  color: var(--muted);
  margin-top: 1px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 5px;
}
#lb6-root .src-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--ink-2);
}
#lb6-root .club-pill,
#lb6-modals .club-pill {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 5.5px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

#lb6-root .lb-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
#lb6-root .lb-desk-col { display: none; }
#lb6-root .lb-rec-col { text-align: right; }
#lb6-root .lb-rec-main {
  font-size: 16px;
  font-weight: 800;
  line-height: 19px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
#lb6-root .lb-rec-main.pos { color: var(--accent); }
#lb6-root .lb-rec-sub {
  font-size: 11.5px;
  line-height: 14.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#lb6-root .lb-chev {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  padding: 4px 0;
}

@media (min-width: 1024px) {
  #lb6-root .lb-col-head {
    display: grid;
    grid-template-columns: 32px 38px minmax(0, 1fr) 64px 104px 72px 16px;
    column-gap: 8px;
    padding: 7px 12px 6px 8px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
  }
  #lb6-root .lb-col-head span:nth-child(n+4) { text-align: right; }
  #lb6-root .lb-row-main {
    grid-template-columns: 32px 38px minmax(0, 1fr) 64px 104px 72px 16px;
    column-gap: 8px;
    padding: 6px 12px 6px 8px;
    min-height: 54px;
  }
  #lb6-root .lb-metrics { display: contents; }
  #lb6-root .lb-desk-col {
    display: block;
    text-align: right;
    font-size: 14px;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }
  #lb6-root .lb-name { font-size: 16.5px; }
  #lb6-root .lb-sub { font-size: 13px; }
  #lb6-root .lb-rec-main { font-size: 17px; }
  #lb6-root .lb-rec-sub .mob-pct { display: none; }
}

#lb6-root .lb-dossier {
  padding: 8px 12px 10px 42px;
  background: var(--surface-2);
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
#lb6-root .dossier-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-bottom: 6px;
}
#lb6-root .dossier-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#lb6-root .dossier-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}
#lb6-root .lb-more-wrap {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--surface);
}

/* ── EDITORIAL SECTION CARDS ── */
#lb6-root .sec-card {
  margin-top: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
#lb6-root .desk-rail > .sec-card:first-child { margin-top: 0; }
#lb6-root .sec-kicker,
#lb6-modals .sec-kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
#lb6-root .sec-h2 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 2px;
}
#lb6-root .sec-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.42; }

#lb6-root .slate-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
#lb6-root .slate-tm { display: flex; align-items: center; gap: 8px; }
#lb6-root .slate-tm.right { flex-direction: row-reverse; text-align: right; }
#lb6-root .helm-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}
#lb6-root .slate-tm b { display: block; font-size: 21px; line-height: 1.05; font-weight: 800; }
#lb6-root .slate-tm small { display: block; font-size: 12px; color: var(--muted); }
#lb6-root .slate-bar {
  margin-top: 8px;
  height: 7px;
  border-radius: 99px;
  overflow: hidden;
  display: flex;
  gap: 2px;
  background: var(--surface-2);
}
#lb6-root .slate-bar i { display: block; height: 100%; border-radius: 99px; }

#lb6-root .top5-split-row,
#lb6-modals .top5-split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
#lb6-root .top5-split-row:last-child,
#lb6-modals .top5-split-row:last-child { border-bottom: 0; }

/* Equal-height card grids */
#lb6-root .outlet-grp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  #lb6-root .outlet-grp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#lb6-root .grp-tile {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  background: var(--surface-2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}
#lb6-root .grp-tile strong { font-size: 13.5px; color: var(--ink); display: block; }
#lb6-root .grp-tile .grp-lead { font-size: 12px; color: var(--ink-2); display: block; }
#lb6-root .grp-tile small { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 3px; display: block; }

#lb6-root .prov-bar {
  display: flex;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  gap: 2px;
  margin: 8px 0;
  background: var(--surface-2);
}
#lb6-root .prov-seg-rec { background: var(--accent); }
#lb6-root .prov-seg-ts { background: #0EA5E9; }
#lb6-root .prov-seg-aft { background: #94A3B8; }
#lb6-root .prov-legend { list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); }
#lb6-root .prov-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

/* ── P. PROFILE PORTRAIT ARENA + T. NEXT PICK + S. MARKET STRIP + W. WEEK PICKS ── */
#lb6-root .prof-hero { padding: 5px 10px 6px; }
#lb6-root .pt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
#lb6-root .pt-eyebrow {
  font-size: 10.5px;
  line-height: 12.5px;
  font-weight: 700;
  color: var(--ap);
  min-width: 0;
}
#lb6-root .pt-btns { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
#lb6-root .pt-btn {
  height: 25px;
  padding: 0 6.5px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}
#lb6-root .pt-btn.is-saved { background: #FEF3C7; color: #78350F; border-color: #F59E0B; }

#lb6-root .pt-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}
#lb6-root .pt-mono {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255,255,255,0.16);
  border: 1.5px solid rgba(255,255,255,0.38);
  flex-shrink: 0;
}
#lb6-root .prof-name {
  font-size: 17.5px;
  line-height: 19.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: normal;
  overflow-wrap: break-word;
}
#lb6-root .prof-name .h1-sfx {
  display: block;
  font-size: 10.5px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.80);
  margin-top: 0;
}
#lb6-root .pt-verdict {
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 17.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
#lb6-root .pt-recs {
  margin-top: 2px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 8px;
  row-gap: 0;
  font-size: 12.5px;
  line-height: 15.5px;
  color: rgba(255,255,255,0.92);
}
#lb6-root .pt-recs b { font-weight: 800; font-variant-numeric: tabular-nums; color: #ffffff; text-align: right; }
#lb6-root .pt-recs .fav { color: var(--ap); }
#lb6-root .pt-recs b.fav { color: var(--ap); }
#lb6-root .pt-known {
  margin-top: 2px;
  font-size: 11px;
  line-height: 13.5px;
  color: rgba(255,255,255,0.86);
}
#lb6-root .pt-known strong { color: #ffffff; }

@media (min-width: 1024px) {
  #lb6-root .prof-hero { padding: 11px 18px 12px; }
  #lb6-root .pt-eyebrow { font-size: 11.5px; line-height: 14px; }
  #lb6-root .pt-btns { gap: 5px; }
  #lb6-root .pt-btn { height: 34px; padding: 0 12px; font-size: 12.5px; }
  #lb6-root .pt-name-row { gap: 8px; margin-top: 4px; }
  #lb6-root .pt-mono { width: 38px; height: 38px; font-size: 13.5px; }
  #lb6-root .prof-name { font-size: 26px; line-height: 31px; }
  #lb6-root .prof-name .h1-sfx { font-size: 13px; line-height: 16px; margin-top: 1px; }
  #lb6-root .pt-verdict { font-size: 20px; line-height: 25px; margin-top: 3px; }
  #lb6-root .pt-recs { font-size: 15px; line-height: 20px; margin-top: 3px; column-gap: 10px; row-gap: 1px; }
  #lb6-root .pt-known { font-size: 13.5px; line-height: 18px; margin-top: 3px; }
}

#lb6-root .prof-ts-grid { display: block; margin-top: 4px; }
#lb6-root .next-pick-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--club, var(--accent));
  border-radius: 11px;
  padding: 5px 9px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4px;
}
#lb6-root .npc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  line-height: 13px;
  color: var(--muted);
  font-weight: 600;
}
#lb6-root .npc-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
}
#lb6-root .npc-mid strong { font-size: 14.5px; line-height: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
#lb6-root .npc-bot { font-size: 10.5px; line-height: 13px; color: var(--ink-2); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* S. Market Strip (strictly aligned internal horizontal lines, <= 465px bottom on 390x668!) */
#lb6-root .prof-markets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
#lb6-root .prof-markets.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#lb6-root .prof-markets.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 640px) {
  #lb6-root .prof-markets.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#lb6-root .prof-mkt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px 7px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0px;
  position: relative;
  overflow: hidden;
}
#lb6-root .prof-markets.cols-4 .prof-mkt-card { padding: 4px 7px; }
#lb6-root .prof-mkt-card.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
#lb6-root .prof-mkt-lbl { font-size: 10px; font-weight: 700; color: var(--muted); line-height: 12px; }
#lb6-root .prof-mkt-card.is-active .prof-mkt-lbl { color: var(--accent); }
#lb6-root .prof-mkt-rk { font-size: 10px; font-weight: 800; color: var(--gold-ink); line-height: 12px; }
#lb6-root .prof-mkt-rk.muted { color: var(--muted); font-weight: 600; }
#lb6-root .prof-mkt-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  line-height: 16px;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
  padding-top: 1px;
}
@media (min-width: 1024px) {
  #lb6-root .prof-ts-grid { margin-top: 6px; }
  #lb6-root .next-pick-card { padding: 7px 11px; margin-bottom: 6px; }
  #lb6-root .npc-top, #lb6-root .npc-bot { font-size: 11.5px; line-height: 14.5px; }
  #lb6-root .npc-mid strong { font-size: 16px; line-height: 20px; }
  #lb6-root .prof-markets { gap: 6px; }
  #lb6-root .prof-mkt-card { padding: 6px 9px; }
  #lb6-root .prof-mkt-lbl, #lb6-root .prof-mkt-rk { font-size: 11px; line-height: 13.5px; }
  #lb6-root .prof-mkt-val { font-size: 14.5px; line-height: 18px; }
}
#lb6-root .prof-mkt-note {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.3;
}

/* W. Week / Latest Picks Card */
#lb6-root .prof-picks-card {
  margin-top: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 10px;
  box-shadow: var(--shadow-sm);
}
#lb6-root .prof-picks-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: nowrap;
}
#lb6-root .prof-picks-title { font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; }
#lb6-root .prof-picks-sub { font-size: 11px; color: var(--muted); margin-top: 2px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#lb6-root .flt-pills,
#lb6-modals .flt-pills { display: inline-flex; align-items: center; gap: 3px; flex-wrap: wrap; }
#lb6-root .flt-pill,
#lb6-modals .flt-pill {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  border-radius: 7px;
  padding: 3px 7.5px;
  font-size: 11px;
  font-weight: 700;
}
#lb6-root .flt-pill.is-active,
#lb6-modals .flt-pill.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

#lb6-root .prof-picks-list { list-style: none; }
#lb6-root .prof-pick-row {
  border-top: 1px solid var(--line);
  padding: 5px 0;
}
#lb6-root .pp-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 64px;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  cursor: pointer;
}
#lb6-root .pp-game { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.2; }
#lb6-root .pp-when { font-size: 11.5px; color: var(--muted); line-height: 1.2; margin-top: 1px; }
#lb6-root .pp-call {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--surface-2);
  border-left: 3.5px solid var(--club, var(--muted));
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
#lb6-root .pick-pill {
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  white-space: nowrap;
}
#lb6-root .pick-pill.win { background: var(--win-ink); color: #ffffff; }
html.lb6-ready[data-theme="dark"] #lb6-root .pick-pill.win { background: #15803D; color: #F0FDF4; }
#lb6-root .pick-pill.loss { background: var(--surface); color: var(--loss-ink); border: 1.5px solid #94A3B8; }
#lb6-root .pick-pill.pend { background: var(--gold-bg); color: var(--gold-ink); border: 1px solid var(--gold-line); }
#lb6-root .pp-detail {
  margin-top: 5px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12px;
  color: var(--ink-2);
}
#lb6-root .pick-quote {
  margin: 4px 0;
  padding-left: 8px;
  border-left: 2.5px solid var(--accent);
  font-style: italic;
  color: var(--ink);
  overflow-wrap: anywhere;
}

#lb6-root .curve-svg { width: 100%; height: auto; display: block; margin-top: 6px; }
#lb6-root .wk-focus-box {
  margin-top: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 11.5px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#lb6-root .wk-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; }
#lb6-root .wk-table th, #lb6-root .wk-table td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: left; }
#lb6-root .wk-table th.num, #lb6-root .wk-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

#lb6-root .team-grid-v6 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  #lb6-root .team-grid-v6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#lb6-root .team-card-v6 {
  border: 1px solid var(--line);
  border-left: 4px solid var(--club, var(--muted));
  border-radius: 9px;
  padding: 7px 8px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 58px;
  text-align: left;
}
#lb6-root .team-card-v6.is-selected { border-color: var(--accent); background: var(--accent-soft); }
#lb6-root .team-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: var(--ink); }
#lb6-root .team-card-sub { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 3px; font-variant-numeric: tabular-nums; }
#lb6-root .team-games-drawer {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
}

#lb6-root .h2h-grid,
#lb6-modals .h2h-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
#lb6-root .h2h-grid:last-child,
#lb6-modals .h2h-grid:last-child { border-bottom: 0; }

#lb6-root .badge-grid-v6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  #lb6-root .badge-grid-v6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#lb6-root .badge-card-v6 {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}
#lb6-root .badge-card-v6 strong { font-size: 13px; color: var(--ink); display: block; }
#lb6-root .badge-card-v6 p { font-size: 11.5px; color: var(--ink-2); }
#lb6-root .badge-foot {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
#lb6-root .badge-stamp { font-size: 10.5px; font-weight: 700; color: var(--accent); }
#lb6-root .pool-toggle-btn {
  background: none;
  border: 0;
  padding: 1px 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* ── FULL-PAGE STRUCTURED DARK FOOTER (#102124, 5 Sports) ── */
footer.site-footer[data-lb6-ft="1"] {
  margin-top: 28px !important;
  padding: 22px 14px 28px !important;
  background: #102124 !important;
  color: #d1dfdc !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  display: block !important;
}
footer.site-footer[data-lb6-ft="1"] .ft-inner { max-width: 1200px; margin: 0 auto; }
footer.site-footer[data-lb6-ft="1"] .ft-brand b { font-size: 17px; color: #ffffff; font-weight: 800; }
footer.site-footer[data-lb6-ft="1"] .ft-brand p { margin: 4px 0 14px; font-size: 12.5px; color: #94ada8; }
footer.site-footer[data-lb6-ft="1"] .ft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 768px) {
  footer.site-footer[data-lb6-ft="1"] { padding: 28px 24px 34px !important; }
  footer.site-footer[data-lb6-ft="1"] .ft-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
footer.site-footer[data-lb6-ft="1"] .ft-col h3 {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nfl-p);
}
footer.site-footer[data-lb6-ft="1"] .ft-col a.ft-link,
footer.site-footer[data-lb6-ft="1"] .ft-col button.ft-link {
  display: block !important;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 3px 0 !important;
  font-size: 12.5px !important;
  color: #d1dfdc !important;
  text-decoration: none !important;
}
footer.site-footer[data-lb6-ft="1"] .ft-col a.ft-link:hover,
footer.site-footer[data-lb6-ft="1"] .ft-col button.ft-link:hover { color: #ffffff !important; text-decoration: underline !important; }
footer.site-footer[data-lb6-ft="1"] .ft-legal {
  margin-top: 12px;
  font-size: 11.5px;
  color: #7c9691;
  line-height: 1.45;
}
footer.site-footer[data-lb6-ft="1"] .ft-legal a { color: #94ada8; text-decoration: underline; }

/* ── BOTTOM SHEETS / MODALS & UNDO TOAST ── */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 21, 23, 0.58);
  z-index: 90;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.sheet-backdrop.is-open { display: flex; }
@media (min-width: 768px) { .sheet-backdrop { align-items: center; } }
.sheet-panel {
  background: var(--surface);
  color: var(--ink);
  width: 100%;
  max-width: 500px;
  max-height: 78vh;
  border-radius: 16px 16px 0 0;
  padding: 14px 16px 20px;
  overflow-y: auto;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.28);
}
@media (min-width: 768px) { .sheet-panel { border-radius: 14px; max-height: 76vh; } }
.sheet-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sheet-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.sheet-close {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}
.my-sport-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.my-sport-btn {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 7px 6px;
  font-size: 12.5px;
  font-weight: 800;
}
.my-sport-btn.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.flt-sheet-sec { margin-bottom: 12px; }
.flt-sheet-sec h3 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.flt-sheet-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.toast-msg {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F2024;
  color: #EEF6F4;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  z-index: 120;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  display: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.toast-msg.is-vis { display: inline-flex; }
.toast-undo {
  background: rgba(254, 243, 199, 0.18);
  color: #FDE68A;
  border: 1px solid rgba(253, 230, 138, 0.45);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

#lb6-root .pp-match-a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
#lb6-root .pp-match-a:hover { text-decoration: underline; }
#lb6-root .empty-state-box {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
#lb6-root .v6-dir-acc {
  margin-top: 12px;
  padding: 10px 14px;
}
#lb6-root .v6-dir-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
#lb6-root .v6-dir-a {
  font-size: 11.5px;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-decoration: none;
  max-width: 100%;
  overflow-wrap: anywhere;
}
#lb6-root .v6-dir-nums {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
