/* NBA Board. Tokens follow the Services page: cool gray canvas, white cards,
   hairlines, SF Pro display type, deep green as the only accent. */
:root {
  --bg: #eff0f2;
  --white: #fff;
  --ink: #161719;
  --muted: #565961;
  --faint: #8a8d94;
  --line: rgba(18, 22, 29, .11);
  --hair: rgba(18, 22, 29, .07);
  --green: #2e6b3f;
  --green-deep: #173d2b;
  --green-soft: #e5efe7;
  --green-glow: #56bb6e;
  --red: #a2422f;
  --red-soft: #f6e8e4;
  --amber: #a8741f;
  --amber-soft: #f6eedf;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(18, 22, 29, .04);
  --shadow: 0 18px 50px -24px rgba(18, 22, 29, .25);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Brand bar. The console origin serves only this page's files, so the bits of
   /site.css the page needs live here. */
.csv-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 56px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #04100a;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-body);
}
.csv-brand { display: flex; align-items: center; gap: 10px; color: #f0f0e8; text-decoration: none; font: 700 13.5px/1 var(--font-body); letter-spacing: .02em; }
.csv-mark { width: 28px; height: 24px; color: #f0f0e8; overflow: visible; }
.csv-back { color: rgba(240, 240, 232, .6); text-decoration: none; font: 600 12.5px/1 var(--font-body); padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; }
.csv-back:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.nb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.nb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* Hero */
.nb-hero {
  color: #f5f5f7;
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at 85% 100%, rgba(23, 71, 52, .45), transparent 46%),
    linear-gradient(180deg, #04100a 0%, #071b12 52%, #0b2719 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nb-eyebrow {
  margin: 0 0 22px;
  color: #65c47a;
  font: 700 10.5px/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.nb-title {
  margin: 0 0 16px;
  font: 700 clamp(38px, 5.4vw, 64px)/1.02 var(--display);
  letter-spacing: -.045em;
}
.nb-title em { color: var(--green-glow); font-style: normal; }
.nb-lead { margin: 0; max-width: 640px; color: rgba(245, 245, 247, .6); font-size: 16px; line-height: 1.7; }
.nb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nb-pills:empty { display: none; }
.nb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: rgba(245, 245, 247, .66);
  font: 600 12px/1 var(--font-body);
}
.nb-pill b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.nb-pill .live { width: 6px; height: 6px; border-radius: 50%; background: var(--green-glow); box-shadow: 0 0 0 3px rgba(86, 187, 110, .18); }

/* Segmented controls */
.nb-tabbar {
  position: sticky;
  top: 56px;
  z-index: 100;
  padding: 12px 0;
  background: rgba(239, 240, 242, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nb-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(18, 22, 29, .06);
  border: 1px solid var(--hair);
}
.nb-tab { display: inline-flex; align-items: center; }
.nb-tab-short { display: none; }
.nb-tab, .nb-segbtn {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  font: 600 13px/1 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s, box-shadow .2s;
}
.nb-tab:hover, .nb-segbtn:hover { color: var(--ink); }
.nb-tab[aria-selected="true"], .nb-segbtn[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(18, 22, 29, .12), 0 0 0 .5px rgba(18, 22, 29, .06);
}
.nb-segbtn { padding: 7px 12px; font-size: 12.5px; }
.nb-icon { display: grid; place-items: center; padding: 7px 9px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Panels and headings */
.nb-panel { padding: 40px 0 88px; min-width: 0; }
.nb-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.nb-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.nb-kicker { margin: 0 0 8px; color: var(--green); font: 700 10.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.nb-h2 { margin: 0; font: 700 clamp(26px, 3.4vw, 36px)/1.08 var(--display); letter-spacing: -.035em; }
.nb-h3 { margin: 0; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.nb-foot { margin: 26px 0 0; color: var(--faint); font-size: 12.5px; line-height: 1.7; max-width: 760px; }
.nb-section-label { margin: 30px 0 12px; color: var(--muted); font: 700 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }

/* Notes */
.nb-note {
  margin: 40px 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}
.nb-note a { color: var(--green); font-weight: 700; }
.nb-note-error { background: var(--red-soft); border-color: rgba(162, 66, 47, .25); color: #6f3325; }

/* KPI tiles */
.nb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.nb-kpis:empty { display: none; }
.nb-kpi {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.nb-kpi-k { margin: 0 0 10px; color: var(--muted); font: 600 11px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.nb-kpi-v { margin: 0; font: 700 28px/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.nb-kpi-s { margin: 8px 0 0; color: var(--faint); font-size: 12px; }
.nb-meter { height: 6px; margin-top: 12px; border-radius: 99px; background: rgba(18, 22, 29, .07); overflow: hidden; }
.nb-meter i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.pos { color: var(--green); }
.neg { color: var(--red); }

/* Cards */
.nb-card {
  margin: 0 0 16px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-width: 0;
}
.nb-empty { margin: 0; padding: 18px 22px; color: var(--muted); font-size: 13.5px; }

/* Flagged pick cards */
.nb-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 8px; }
.nb-pick {
  position: relative;
  padding: 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.nb-pick:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(46, 107, 63, .35); }
.nb-pick-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nb-pick-game { color: var(--muted); font: 600 12px/1 var(--font-body); }
.nb-pick-line { margin: 14px 0 4px; font: 700 30px/1 var(--display); letter-spacing: -.04em; }
.nb-pick-sub { margin: 0; color: var(--muted); font-size: 13px; }
.nb-pick-sub b { color: var(--ink); font-variant-numeric: tabular-nums; }
.nb-prob { margin-top: 16px; }
.nb-prob-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(18, 22, 29, .07); }
.nb-prob-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #3f8a55, var(--green)); }
.nb-prob-bar s { position: absolute; top: -4px; width: 2px; height: 16px; border-radius: 2px; background: var(--ink); }
.nb-prob-legend { display: flex; justify-content: space-between; margin-top: 8px; color: var(--faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.nb-prob-legend b { color: var(--ink); font-weight: 600; }

/* Badges */
.nb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font: 700 11.5px/1 var(--font-body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.b-green { background: var(--green-soft); color: var(--green); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-gray { background: rgba(18, 22, 29, .06); color: var(--muted); }
.b-dark { background: var(--green-deep); color: #fff; }

/* Game cards */
.nb-game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  flex-wrap: wrap;
  padding: 20px 22px 16px;
}
.nb-matchup { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nb-teams { display: flex; gap: 5px; flex-shrink: 0; }
.nb-mono {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f5f6;
  border: 1px solid var(--line);
  color: var(--ink);
  font: 800 10px/1 var(--font-body);
  letter-spacing: 0;
}
.nb-mono + .nb-mono { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.nb-game-meta { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }
.nb-game-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 12px 22px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: #fafafb;
  color: var(--muted);
  font-size: 12.5px;
}
.nb-game-strip b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.nb-sides { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nb-side { min-width: 0; padding-bottom: 6px; }
.nb-side + .nb-side { border-left: 1px solid var(--hair); }
.nb-side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 22px 6px; }
.nb-side-head h4 { margin: 0; font: 700 14px/1.2 var(--display); letter-spacing: -.01em; }
.nb-side-head span { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Tables */
.nb-table-wrap { overflow-x: auto; }
.nb-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.nb-table th, .nb-table td { padding: 8px 10px; text-align: right; white-space: nowrap; }
.nb-table th:first-child, .nb-table td:first-child { padding-left: 22px; text-align: left; }
.nb-table th:last-child, .nb-table td:last-child { padding-right: 22px; }
.nb-table th { color: var(--faint); font: 600 10.5px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; padding-top: 10px; padding-bottom: 10px; }
.nb-table td { border-top: 1px solid var(--hair); }
.nb-table .l { text-align: left; }
.nb-table tbody tr { transition: background .15s; }
.nb-table tbody tr:hover { background: #f8f9f9; }
.nb-table tr.is-flag td { background: var(--green-soft); font-weight: 600; }
.nb-table tr.is-flag td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.nb-table .strong { font-weight: 600; color: var(--ink); }
.nb-table .dim { color: var(--muted); }
.res { font-size: 12px; font-weight: 600; }
.res-cover { color: var(--green); }
.res-loss { color: var(--red); }
.res-push { color: var(--muted); }
.nb-edge { display: inline-block; min-width: 46px; padding: 3px 7px; border-radius: 6px; text-align: center; font-weight: 600; }
.nb-edge.pos { background: var(--green-soft); }
.nb-edge.neg { background: transparent; color: var(--faint); }

/* Track record curve */
.nb-curve { padding: 20px 22px 14px; }
.nb-curve svg { display: block; width: 100%; height: 150px; }
.nb-curve-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.nb-curve-head span { color: var(--faint); font-size: 12px; }

/* Health */
.nb-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nb-job { padding: 20px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.nb-job-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nb-job dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: 13px; }
.nb-job dt { color: var(--faint); }
.nb-job dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.nb-job-err { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--red-soft); color: #6f3325; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.nb-job-err.old { background: #f6f6f7; color: var(--muted); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.dot-ok { background: #3f9a57; box-shadow: 0 0 0 3px rgba(63, 154, 87, .15); }
.dot-bad { background: var(--red); box-shadow: 0 0 0 3px rgba(162, 66, 47, .15); }
.dot-stale { background: var(--amber); box-shadow: 0 0 0 3px rgba(168, 116, 31, .15); }

/* Buttons */
.nb-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 9px 14px;
  font: 600 12.5px/1 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, background .2s;
}
.nb-btn:hover { border-color: rgba(46, 107, 63, .4); }
.nb-btn[disabled] { cursor: default; color: var(--green); background: var(--green-soft); border-color: transparent; box-shadow: none; }
.nb-btn-ghost { background: transparent; box-shadow: none; color: var(--muted); }
.nb-count { display: inline-grid; vertical-align: middle; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 99px; background: var(--green-deep); color: #fff; font: 700 10.5px/1 var(--font-body); }

/* Chat */
.nb-runner { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.nb-chat { display: flex; flex-direction: column; gap: 14px; min-height: 120px; }
.nb-q { align-self: flex-end; max-width: min(680px, 88%); padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--green-deep); color: #fff; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.nb-a { align-self: stretch; padding: 18px 22px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.nb-a-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.nb-a-who { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font-body); }
.nb-a-who i { width: 22px; height: 22px; border-radius: 7px; background: var(--green-deep); color: #fff; display: grid; place-items: center; font: 800 11px/1 var(--display); font-style: normal; }
.nb-a-time { color: var(--faint); font-size: 12px; }
.nb-a.failed { border-color: rgba(162, 66, 47, .3); background: var(--red-soft); color: #6f3325; }
.nb-thinking { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.nb-dots { display: inline-flex; gap: 4px; }
.nb-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: nb-pulse 1.2s infinite ease-in-out; }
.nb-dots span:nth-child(2) { animation-delay: .15s; }
.nb-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes nb-pulse { 0%, 80%, 100% { opacity: .25; transform: scale(.85); } 40% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .nb-dots span { animation: none; opacity: .6; } }

/* Answer text */
.nb-md { font-size: 14.5px; line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; }
.nb-md > :first-child { margin-top: 0; }
.nb-md > :last-child { margin-bottom: 0; }
.nb-md p { margin: 0 0 12px; }
.nb-md h3, .nb-md h4 { margin: 18px 0 8px; font: 700 15.5px/1.3 var(--display); letter-spacing: -.01em; }
.nb-md ul, .nb-md ol { margin: 0 0 12px; padding-left: 20px; }
.nb-md li { margin: 4px 0; }
.nb-md a { color: var(--green); font-weight: 600; text-underline-offset: 2px; }
.nb-md code { padding: 1px 5px; border-radius: 5px; background: #f2f3f4; font: 12.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.nb-md pre { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #f6f7f8; overflow-x: auto; font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.nb-md .nb-table-wrap { margin: 4px 0 14px; border: 1px solid var(--hair); border-radius: 10px; }
.nb-md .nb-table th:first-child, .nb-md .nb-table td:first-child { padding-left: 12px; }
.nb-md .nb-table th:last-child, .nb-md .nb-table td:last-child { padding-right: 12px; }
.nb-md .nb-table td { white-space: normal; }

/* Recommendations */
.nb-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
.nb-rec { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fbfbfc; }
.nb-rec .nb-pick-line { margin: 4px 0 0; font-size: 24px; }
.nb-rec-why { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.nb-rec .nb-btn { margin-top: 8px; align-self: flex-start; }
.nb-rec-warn { color: var(--amber); font-size: 12px; }

/* Suggestions */
.nb-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-suggest button { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 500 13px/1.2 var(--font-body); cursor: pointer; text-align: left; }
.nb-suggest button:hover { border-color: rgba(46, 107, 63, .4); }

/* Watchlist */
.nb-watch { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.nb-watch-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.nb-watch-item .nb-pick-line { margin: 2px 0 0; font-size: 26px; }
.nb-watch-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--hair); }
.nb-watch-foot .nb-btn { padding: 7px 10px; }
.nb-pick-actions { display: flex; justify-content: flex-end; margin-top: 12px; }

/* Game card extras: pin, pinned state, pull note */
.nb-game-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nb-card.is-pinned { border-color: rgba(46, 107, 63, .45); box-shadow: 0 0 0 1px rgba(46, 107, 63, .18), var(--shadow-sm); }
.nb-strip-note { color: var(--amber); font-weight: 600; }
.nb-strip-warn { color: var(--red, #a3342c); font-weight: 700; }
.nb-btn-pin { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; }
.nb-btn-pin.is-on, .nb-btn-pin.is-on:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.nb-btn-pin.is-on svg, .nb-pin.is-on svg { fill: currentColor; }
.nb-btn[disabled].nb-btn-pin { opacity: .7; }
.nb-pin { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--faint); cursor: pointer; transition: background .15s, color .15s; }
.nb-pin:hover { background: rgba(18, 22, 29, .06); color: var(--ink); }
.nb-pin.is-on { color: var(--green); }
.nb-table th.nb-pin-cell, .nb-table td.nb-pin-cell { width: 1%; padding-top: 2px; padding-bottom: 2px; }
.nb-sub-label { margin: 18px 0 10px; color: var(--faint); font: 600 12px/1 var(--font-body); }

/* Home and away, records, injuries */
.nb-ha { display: inline-block; margin: 0 2px 0 0; padding: 2px 6px; border-radius: 5px; font: 700 9.5px/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.nb-ha.is-home { background: var(--green-deep); color: #fff; }
.nb-ha.is-away { background: rgba(18, 22, 29, .07); color: var(--muted); }
.nb-side-head h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nb-side-head h4 .nb-ha { margin: 0; }
.nb-side-rec { color: var(--muted); font: 600 12px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.nb-meta-sep { color: var(--faint); }
.nb-game-meta { font-variant-numeric: tabular-nums; }
.nb-game-inj { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 22px; border-bottom: 1px solid var(--hair); font-size: 12.5px; }
.nb-inj-k { color: var(--faint); font: 700 10.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.nb-inj { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.nb-inj > b { font-size: 11.5px; margin-right: 2px; }
.nb-inj-p { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.nb-inj-p i { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.nb-inj-p.t-red { background: var(--red-soft); color: #7d3424; }
.nb-inj-p.t-amber { background: var(--amber-soft); color: #7a5414; }
.nb-inj-p.t-gray { background: rgba(18, 22, 29, .06); color: var(--muted); }
.nb-inj-more { color: var(--faint); font-size: 12px; }
.b-amber { background: var(--amber-soft); color: #7a5414; }
.nb-injcard { padding: 18px 22px 8px; }
.nb-injlist { list-style: none; margin: 8px 0 0; padding: 0; }
.nb-injlist li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--hair); }
.nb-injlist li:first-child { border-top: 0; }
.nb-injlist .nb-badge { justify-self: start; }
.nb-injname { margin: 0; font-weight: 700; font-size: 14px; }
.nb-injname span { color: var(--muted); font-weight: 500; }
.nb-injnote { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Model's top 3 */
.nb-top-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nb-top-head .nb-section-label { margin-top: 6px; }
.nb-top-note { color: var(--amber); font-size: 12.5px; font-weight: 600; }
.nb-tops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nb-top {
  position: relative; display: flex; gap: 14px; padding: 20px 20px 18px; min-width: 0;
  border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nb-top.is-flag:first-child { border-color: rgba(46, 107, 63, .45); box-shadow: 0 0 0 1px rgba(46, 107, 63, .15), var(--shadow); }
.nb-top-rank { flex: 0 0 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--green-deep); color: #fff; font: 800 15px/1 var(--display); }
.nb-top:not(.is-flag) .nb-top-rank, .nb-top.is-flag ~ .nb-top .nb-top-rank { background: rgba(18, 22, 29, .07); color: var(--ink); }
.nb-top-under { margin: 8px 0 0; color: var(--amber); font-size: 12.5px; font-weight: 600; }
.nb-top-body { flex: 1; min-width: 0; }
.nb-top .nb-pick-line { margin: 6px 0 4px; font-size: 28px; }
.nb-top-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 14px 0 12px; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.nb-top-stats dt { color: var(--faint); font: 600 10.5px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.nb-top-stats dd { margin: 3px 0 0; font: 700 14px/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.nb-top-form { margin: 0 0 3px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.nb-top-inj { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.nb-top-inj:empty { display: none; }
.nb-top-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.nb-top-foot { margin: 10px 0 8px; color: var(--faint); font-size: 12px; line-height: 1.6; max-width: 880px; }

/* Update lines now */
.nb-pull { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 16px 18px 16px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nb-pull.is-open { border-color: rgba(46, 107, 63, .35); background: linear-gradient(90deg, var(--green-soft), var(--white) 70%); }
.nb-pull-text { min-width: 0; }
.nb-pull-title { margin: 0; font: 700 15px/1.3 var(--display); letter-spacing: -.01em; }
.nb-pull-sub { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.nb-send { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 10px 16px; background: var(--green-deep); color: #fff; font: 700 13px/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background .2s; }
.nb-send:hover { background: var(--green); }
.nb-send[disabled] { opacity: .45; cursor: default; background: var(--green-deep); }
.nb-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: nb-rot .8s linear infinite; }
@keyframes nb-rot { to { transform: rotate(360deg); } }

/* Pinned games */
.nb-pgames { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px; }
.nb-pgame { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.nb-pgame.is-done { opacity: .72; }
.nb-pgame-body { flex: 1; min-width: 0; }
.nb-pgame-title { margin: 0; font: 700 14.5px/1.3 var(--display); }
.nb-pgame-meta { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }
.nb-pgame-actions { display: flex; align-items: center; gap: 4px; }

/* Bet Assistant tab */
.nb-ba { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.nb-ba-rail { position: sticky; top: 132px; display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 150px); }
.nb-ba-search { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 14px/1.2 var(--font-body); outline: 0; }
.nb-ba-search:focus { border-color: rgba(46, 107, 63, .5); box-shadow: 0 0 0 3px rgba(46, 107, 63, .12); }
.nb-ba-list { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; padding-right: 4px; }
.nb-ba-group { margin: 12px 0 4px 10px; color: var(--faint); font: 700 10.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.nb-ba-team { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 500 13.5px/1.2 var(--font-body); text-align: left; cursor: pointer; }
.nb-ba-team:hover { background: rgba(18, 22, 29, .05); }
.nb-ba-team.is-on { background: var(--white); box-shadow: 0 1px 3px rgba(18, 22, 29, .1), 0 0 0 .5px rgba(18, 22, 29, .06); font-weight: 700; }
.nb-ba-all { padding: 10px 12px; font-weight: 600; }
.nb-ba-team-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-ba-team-n { min-width: 22px; padding: 3px 7px; border-radius: 99px; background: var(--green-soft); color: var(--green); font: 700 11px/1 var(--font-body); text-align: center; }
.nb-mono-sm { width: 30px; height: 30px; font-size: 9px; background: #f4f5f6 !important; color: var(--ink) !important; border-color: var(--line) !important; }
.nb-mono-lg { width: 52px; height: 52px; font-size: 13px; background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.nb-ba-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.nb-ba-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nb-ba-title { margin: 0; font: 700 24px/1.15 var(--display); letter-spacing: -.03em; }
.nb-ba-sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.nb-ba-main .nb-btn { display: inline-flex; align-items: center; gap: 7px; }
.nb-wiki { padding: 20px 24px 22px; }
.nb-wiki-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.nb-wiki-head .nb-kicker { margin: 0; }
.nb-wiki .nb-md h3 { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair); }
.nb-wiki .nb-md > h3:first-child { padding-top: 0; border-top: 0; }
.nb-wiki-empty { padding: 4px 0 0; }
.nb-team-games { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-tg { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.nb-tg.is-pinned { border-color: rgba(46, 107, 63, .45); }
.nb-tg-date { color: var(--faint); }
.nb-tg-opp { font-weight: 600; }
.nb-tg-res { color: var(--muted); }
.nb-tg-pin { color: var(--green); display: inline-grid; }
.nb-tg-pin svg { fill: currentColor; }
.nb-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nb-note-row { padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.nb-note-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nb-note-body { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.nb-link { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--green); font: 600 12.5px/1.4 var(--font-body); cursor: pointer; text-underline-offset: 2px; }
.nb-link:hover { text-decoration: underline; }
.nb-convs { display: flex; flex-direction: column; gap: 8px; }
.nb-conv { display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: border-color .15s, transform .2s var(--ease); }
.nb-conv:hover { border-color: rgba(46, 107, 63, .4); transform: translateY(-1px); }
.nb-conv-title { font: 600 14.5px/1.4 var(--font-body); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nb-conv-meta { color: var(--faint); font-size: 12px; }
.nb-conv-teams { display: flex; flex-wrap: wrap; gap: 4px; }
.nb-tag { padding: 3px 7px; border-radius: 6px; background: rgba(18, 22, 29, .06); color: var(--muted); font: 700 10.5px/1 var(--font-body); }

/* The floating Bet Assistant. Liquid glass: a translucent, blurred and saturated
   layer with a bright inner rim, a soft specular sheen and a deep drop shadow. */
.nb-glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46) 48%, rgba(240, 246, 242, .58));
  -webkit-backdrop-filter: blur(24px) saturate(1.9);
  backdrop-filter: blur(24px) saturate(1.9);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .25),
    inset 0 0 0 .5px rgba(255, 255, 255, .4),
    0 0 0 .5px rgba(18, 22, 29, .1),
    0 30px 70px -24px rgba(6, 30, 18, .42),
    0 8px 22px -12px rgba(6, 30, 18, .25);
}
.nb-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, .75), transparent 55%),
    radial-gradient(80% 50% at 100% 100%, rgba(86, 187, 110, .14), transparent 60%);
}
.nb-bot { position: fixed; left: 24px; bottom: 24px; z-index: 300; }
.nb-bot.is-dragging, .nb-bot.is-dragging * { cursor: grabbing !important; user-select: none; }
.nb-bot-fab {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 8px;
  border-radius: 999px;
  color: var(--ink);
  font: 700 14px/1 var(--font-body);
  letter-spacing: -.01em;
  cursor: grab;
  touch-action: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nb-bot-fab:hover { transform: translateY(-2px); }
.nb-orb {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 70% 75%, #3fae63, transparent 55%),
    conic-gradient(from 210deg, #0f3b27, #2e6b3f, #7fd394, #1f5a3a, #0f3b27);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .25), inset 0 2px 3px rgba(255, 255, 255, .5), 0 4px 12px -4px rgba(23, 61, 43, .6);
  animation: nb-orb 9s linear infinite;
}
.nb-orb-sm { width: 30px; height: 30px; }
@keyframes nb-orb { to { filter: hue-rotate(-18deg); } }
.nb-bot-badge { width: 9px; height: 9px; border-radius: 50%; background: var(--green-glow); box-shadow: 0 0 0 3px rgba(86, 187, 110, .25); }
.nb-bot-badge.is-busy { background: var(--amber); box-shadow: 0 0 0 3px rgba(168, 116, 31, .2); animation: nb-pulse 1.4s infinite ease-in-out; }

.nb-bot-panel {
  display: flex; flex-direction: column;
  width: 400px; height: min(600px, calc(100vh - 110px));
  border-radius: 24px;
  overflow: hidden;
  transform-origin: bottom left;
  animation: nb-pop .35s var(--ease);
}
@keyframes nb-pop { from { opacity: 0; transform: scale(.94) translateY(8px); } }
.nb-bot-panel.is-modal {
  position: fixed;
  left: 50%; top: 50%;
  width: min(940px, calc(100vw - 48px));
  height: min(88vh, 920px);
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: nb-modal .4s var(--ease);
  z-index: 320;
}
@keyframes nb-modal { from { opacity: 0; transform: translate(-50%, -48%) scale(.96); } }
.nb-bot-backdrop { position: fixed; inset: 0; z-index: 290; background: rgba(4, 16, 10, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: nb-fade .3s ease; }
@keyframes nb-fade { from { opacity: 0; } }
body.nb-modal-open { overflow: hidden; }
.nb-bot-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid rgba(18, 22, 29, .07); cursor: grab; touch-action: none; user-select: none; }
.nb-bot-panel.is-modal .nb-bot-head { cursor: default; padding: 16px 18px; }
.nb-bot-id { flex: 1; min-width: 0; }
.nb-bot-title { margin: 0; font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.nb-bot-status { display: flex; align-items: center; gap: 6px; margin: 3px 0 0; color: var(--muted); font-size: 11.5px; }
.nb-bot-actions { display: flex; gap: 2px; }
.nb-ib { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.nb-ib:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.nb-ib-sm { width: 24px; height: 24px; border-radius: 7px; }
.nb-bot-focus { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 12px 0; padding: 8px 8px 8px 12px; border-radius: 12px; background: rgba(46, 107, 63, .1); color: var(--green-deep); font-size: 12.5px; line-height: 1.4; }
.nb-bot-thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 18px; }
.nb-bot-panel.is-modal .nb-bot-thread { padding: 20px max(24px, calc((100% - 760px) / 2)) 24px; }
.nb-bot-thread .nb-q { max-width: 88%; font-size: 14px; }
.nb-bot-thread .nb-a { padding: 14px 16px 16px; border-radius: 16px; background: rgba(255, 255, 255, .82); border-color: rgba(18, 22, 29, .08); }
.nb-bot-thread .nb-md { font-size: 14px; }
.nb-bot-thread .nb-recs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.nb-bot-thread .nb-rec { background: rgba(255, 255, 255, .9); }
.nb-a-who i { background: conic-gradient(from 210deg, #0f3b27, #2e6b3f, #7fd394, #1f5a3a, #0f3b27); border-radius: 50%; }
.nb-a-mem { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--hair); color: var(--faint); font-size: 12px; }
.nb-chip-team { padding: 3px 8px; border: 1px solid rgba(46, 107, 63, .3); border-radius: 99px; background: var(--green-soft); color: var(--green); font: 700 11px/1 var(--font-body); cursor: pointer; }
.nb-empty-chat { margin: auto 0; padding: 8px 4px; text-align: left; }
.nb-empty-title { margin: 0 0 6px; font: 700 18px/1.25 var(--display); letter-spacing: -.02em; }
.nb-empty-chat p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.nb-bot-thread .nb-suggest button { background: rgba(255, 255, 255, .78); }
.nb-bot-composer { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px 12px; padding: 6px 6px 6px 14px; border-radius: 18px; background: rgba(255, 255, 255, .86); border: 1px solid rgba(18, 22, 29, .08); box-shadow: 0 1px 2px rgba(18, 22, 29, .05); }
.nb-bot-panel.is-modal .nb-bot-composer { margin: 0 max(24px, calc((100% - 760px) / 2)) 22px; }
.nb-bot-composer:focus-within { border-color: rgba(46, 107, 63, .45); box-shadow: 0 0 0 3px rgba(46, 107, 63, .12); }
.nb-bot-composer textarea { flex: 1; min-height: 24px; max-height: 160px; resize: none; border: 0; outline: 0; padding: 8px 0; background: transparent; color: var(--ink); font: 14.5px/1.45 var(--font-body); }
.nb-bot-send { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 12px; background: var(--green-deep); color: #fff; cursor: pointer; transition: background .2s; }
.nb-bot-send:hover { background: var(--green); }
.nb-bot-send[disabled] { opacity: .5; cursor: default; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nb-glass { background: rgba(250, 251, 250, .97); }
}
@media (prefers-reduced-motion: reduce) {
  .nb-orb, .nb-bot-panel, .nb-bot-panel.is-modal, .nb-bot-backdrop { animation: none; }
}

@media (max-width: 1000px) {
  .nb-tops { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-sides { grid-template-columns: minmax(0, 1fr); }
  .nb-side + .nb-side { border-left: 0; border-top: 1px solid var(--hair); }
  .nb-jobs { grid-template-columns: minmax(0, 1fr); }
  .nb-ba { grid-template-columns: minmax(0, 1fr); }
  .nb-ba-rail { position: static; max-height: none; }
  .nb-ba-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .nb-ba-group { display: none; }
  .nb-ba-team { width: auto; flex: 0 0 auto; }
  .nb-ba-team .nb-ba-team-name { display: none; }
  .nb-ba-all .nb-ba-team-name { display: inline; }
}
@media (max-width: 600px) {
  .csv-bar { padding: 0 14px; }
  .csv-brand { font-size: 0; gap: 0; }
  .nb-wrap { padding: 0 16px; }
  .nb-seg-tabs { overflow-x: auto; scrollbar-width: none; }
  .nb-seg-tabs .nb-tab { flex: 1 1 auto; justify-content: center; gap: 5px; padding: 9px 6px; }
  .nb-tab-long { display: none; }
  .nb-tab-short { display: inline; }
  .nb-hero { padding: 44px 0 40px; }
  .nb-lead { font-size: 15px; }
  .nb-panel { padding: 28px 0 64px; }
  .nb-seg-tabs { display: flex; width: 100%; }
  .nb-tools { width: 100%; }
  .nb-kpi { padding: 14px 16px; }
  .nb-kpi-v { font-size: 23px; }
  .nb-table th, .nb-table td { padding: 8px 6px; }
  .nb-table th:first-child, .nb-table td:first-child { padding-left: 16px; }
  .nb-table th:last-child, .nb-table td:last-child { padding-right: 16px; }
  .nb-table .c-wide { display: none; }
  .nb-game-head, .nb-game-strip, .nb-side-head { padding-left: 16px; padding-right: 16px; }
  .nb-pull { flex-direction: column; align-items: stretch; }
  .nb-pull .nb-send { justify-content: center; }
  .nb-pgames { grid-template-columns: minmax(0, 1fr); }
}
/* Phones: the chat is a full-screen sheet sized to the part of the screen the
   keyboard leaves (--vv-h and --vv-top follow visualViewport), with 16px type in
   the composer so iOS does not zoom the page on focus. */
@media (max-width: 640px) {
  .nb-bot { left: auto !important; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)) !important; }
  .nb-bot-fab { cursor: pointer; padding: 0 8px; height: 52px; transition: transform .3s var(--ease), opacity .25s; }
  .nb-bot-fab:hover { transform: none; }
  .nb-bot-fab.is-tucked { transform: translateY(96px); opacity: 0; pointer-events: none; }
  .nb-bot-fab-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nb-bot-panel, .nb-bot-panel.is-modal {
    position: fixed; left: 0; right: 0; top: var(--vv-top, 0px);
    width: 100%; height: var(--vv-h, 100dvh);
    border: 0; border-radius: 0; transform: none;
    background: rgba(246, 247, 246, .97);
    animation: nb-sheet .3s var(--ease);
  }
  @keyframes nb-sheet { from { opacity: 0; transform: translateY(24px); } }
  .nb-bot-backdrop { display: none !important; }
  .nb-bot-head { cursor: default; padding: max(8px, env(safe-area-inset-top)) 6px 8px 14px; }
  #nbBotSize { display: none; }
  .nb-ib { width: 42px; height: 42px; }
  .nb-bot-focus { margin: 8px 10px 0; }
  .nb-bot-thread { padding: 14px 10px 16px; }
  .nb-bot-thread .nb-q { max-width: 92%; }
  .nb-bot-thread .nb-a { padding: 14px 14px 16px; }
  .nb-bot-thread .nb-recs { grid-template-columns: minmax(0, 1fr); }
  .nb-bot-composer { margin: 0 10px max(10px, env(safe-area-inset-bottom)); }
  .nb-bot-composer textarea { font-size: 16px; }
  .nb-bot-send { width: 40px; height: 40px; }
  .nb-suggest button { padding: 11px 14px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .nb-bot-panel, .nb-bot-panel.is-modal { animation: none; }
  .nb-bot-fab { transition: none; }
}
