/* Sports Book Lounge (website) — mirrors the app's Picks tab */
.sb {
  --sb-bg: #22426b;
  --sb-card: #1a3354;
  --sb-card2: #213f66;
  --sb-cell: #2b4b75;
  --sb-line: rgba(211, 223, 239, 0.16);
  --sb-gold: #f2be3a;
  --sb-gold-d: #c78e1e;
  --sb-text: #f5f8fc;
  --sb-muted: #a9bad3;
  --sb-green: #22a06b;
  --sb-red: #d64545;
  --sb-amber: #e5a100;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 40px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--sb-text);
  letter-spacing: normal;
}
.sb, .sb * { word-spacing: normal !important; box-sizing: border-box; }
.sb button { font: inherit; cursor: pointer; }

/* marquee hero */
.sb-hero {
  position: relative; border-radius: 22px; padding: 14px 14px 12px; overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, #1d2a3a, #0b0f15 75%);
  box-shadow: 0 0 0 3px var(--sb-gold-d), inset 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px rgba(0,0,0,.45);
}
.sb-bulbs { display: flex; justify-content: space-between; padding: 0 6px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sb-bulbs i { width: 9px; height: 9px; border-radius: 50%; background: #d8b44a; box-shadow: 0 0 8px rgba(242,190,58,.8); animation: sb-blink 1.6s infinite; }
.sb-bulbs i:nth-child(even) { background: #e0464e; box-shadow: 0 0 8px rgba(224,70,78,.8); animation-delay: .8s; }
@keyframes sb-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sb-bulbs i { animation: none; } }
.sb-title { text-align: center; margin: 18px 0 2px; font-size: clamp(30px, 6vw, 42px); font-weight: 900; letter-spacing: .01em;
  background: linear-gradient(180deg, #fff3c4, var(--sb-gold) 50%, var(--sb-gold-d)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(242,190,58,.35)); }
.sb-sub { text-align: center; color: #c9cfd8; font-size: 14px; margin-bottom: 12px; }
.sb-ticker { display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; background: #0a0d12; box-shadow: 0 0 0 2px var(--sb-gold-d); height: 52px; }
.sb-live { flex: none; width: 66px; display: grid; place-items: center; font-size: 11px; font-weight: 900; letter-spacing: .14em; color: #fff; border-right: 1px solid rgba(242,190,58,.35); }
.sb-live span::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: #c9cfd8; margin: 0 auto 4px; }
.sb-live.on span::before { background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; }
.sb-track { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.sb-track-inner { display: flex; align-items: center; height: 100%; gap: 22px; width: max-content; animation: sb-scroll 60s linear infinite; padding-left: 12px; }
.sb-track:hover .sb-track-inner { animation-play-state: paused; }
@keyframes sb-scroll { to { transform: translateX(-50%); } }
.sb-tk { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; white-space: nowrap; color: #fff; }
.sb-tk img { width: 24px; height: 24px; object-fit: contain; background: #fff; border-radius: 5px; padding: 2px; }
.sb-tk small { color: #d9dee6; font-weight: 700; font-size: 13px; }
.sb-tk .sep { color: var(--sb-gold); }

/* ledger */
.sb-ledger { display: grid; grid-template-columns: repeat(4, 1fr); margin: 14px 0 12px; border-radius: 16px; background: var(--sb-card); box-shadow: 0 0 0 1.5px var(--sb-line); padding: 12px 6px; }
.sb-ledger div { text-align: center; border-left: 1px solid var(--sb-line); }
.sb-ledger div:first-child { border-left: 0; }
.sb-ledger strong { display: block; font-size: clamp(16px, 3.4vw, 22px); font-weight: 900; }
.sb-ledger span { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--sb-muted); text-transform: uppercase; }

/* tabs */
.sb-tabs, .sb-days { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--sb-card); box-shadow: 0 0 0 1.5px var(--sb-line); margin-bottom: 10px; }
.sb-tabs button { flex: 1; border: 0; background: none; color: var(--sb-muted); font-weight: 800; font-size: 15px; padding: 11px 6px; border-radius: 10px; }
.sb-tabs button[aria-selected="true"] { background: #2e4057; color: var(--sb-gold); box-shadow: inset 0 -3px 0 var(--sb-gold); }
.sb-days { background: none; box-shadow: none; padding: 0; gap: 10px; }
.sb-days button { flex: 1; border: 2px solid rgba(199,142,30,.55); background: #2b4b75; color: #e6ecf5; font-weight: 800; font-size: 15px; padding: 10px; border-radius: 12px; }
.sb-days button[aria-selected="true"] { background: #1a3354; border-color: var(--sb-gold); color: var(--sb-gold); }

/* league chips */
.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.sb-chip { width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--sb-gold-d), 0 2px 6px rgba(0,0,0,.35); overflow: hidden; transition: transform .1s ease, box-shadow .1s ease; }
.sb-chip img { width: 74%; height: 74%; object-fit: contain; }
.sb-chip.all img { width: 100%; height: 100%; object-fit: cover; }
.sb-chip span { font-size: 10px; font-weight: 900; color: #132b4c; }
.sb-chip[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--sb-gold), 0 0 0 6px rgba(242,190,58,.35); transform: translateY(-1px); }
.sb-chip.dim { opacity: .45; }

/* sections + game cards */
.sb-league { font-size: 15px; font-weight: 900; letter-spacing: .08em; color: var(--sb-gold); margin: 16px 2px 8px; text-transform: uppercase; }
.sb-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; margin-bottom: 12px;
  border-radius: 18px; background: var(--sb-card); box-shadow: 0 0 0 2px var(--sb-line); }
.sb-card.picked { box-shadow: 0 0 0 2.5px var(--sb-green); }
.sb-card.live { box-shadow: 0 0 0 2.5px var(--sb-amber); }
.sb-card.closed { box-shadow: 0 0 0 2.5px var(--sb-red); }
.sb-teams { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sb-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sb-tlogo { width: 50px; height: 50px; flex: none; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2.5px var(--sb-gold-d); overflow: hidden; }
.sb-tlogo img { width: 82%; height: 82%; object-fit: contain; }
.sb-tlogo b { font-size: 12px; color: #132b4c; }
.sb-abbr { font-size: 19px; font-weight: 900; line-height: 1.1; }
.sb-nick { font-size: 13px; color: var(--sb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-score { margin-left: auto; font-size: 20px; font-weight: 900; padding-right: 4px; }
.sb-when { font-size: 13px; color: var(--sb-muted); font-weight: 600; margin-top: 2px; }
.sb-when.live { color: var(--sb-amber); font-weight: 800; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 92px); gap: 7px; }
.sb-grid.two { grid-template-columns: repeat(2, 92px); }
.sb-gh { text-transform: uppercase; text-align: center; font-size: 11px; font-weight: 900; letter-spacing: .1em; color: var(--sb-gold); padding-bottom: 2px; }
.sb-cell { height: 66px; border-radius: 12px; border: 1.5px solid rgba(211,223,239,.28); background: var(--sb-cell); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-weight: 800; font-size: 17px; padding: 0 4px; }
.sb-cell small { font-size: 12px; color: var(--sb-gold); font-weight: 700; }
.sb-cell:hover:not(:disabled) { border-color: var(--sb-gold); }
.sb-cell:disabled { cursor: default; opacity: .9; }
.sb-cell.on { background: var(--sb-gold); color: #132b4c; border-color: #ffe08a; }
.sb-cell.on small { color: #132b4c; }
.sb-cell.on.correct { background: var(--sb-green); border-color: #1b7f54; color: #fff; }
.sb-cell.on.wrong { background: var(--sb-red); border-color: #b23737; color: #fff; }
.sb-cell.on.push { background: var(--sb-amber); border-color: #c48900; color: #fff; }
.sb-cell.on.correct small, .sb-cell.on.wrong small, .sb-cell.on.push small { color: #fff; }

.sb-note { text-align: center; color: var(--sb-muted); padding: 26px 10px; }
.sb-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; margin: 10px 0;
  background: rgba(242,190,58,.12); box-shadow: 0 0 0 1.5px rgba(242,190,58,.45); font-weight: 600; }
.sb-login a { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 800; color: #132b4c !important; text-decoration: none !important;
  background: linear-gradient(180deg, #ffe08a, var(--sb-gold) 45%, var(--sb-gold-d)); }
.sb-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); opacity: 0; transition: .2s; z-index: 99;
  background: #0f2440; color: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: 0 0 0 2px var(--sb-gold-d), 0 10px 30px rgba(0,0,0,.4); font-weight: 700; }
.sb-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* leaderboard */
.sb-board { display: grid; gap: 14px; }
.sb-board h3 { margin: 8px 2px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--sb-gold); }
.sb-lrow { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--sb-card); box-shadow: 0 0 0 1.5px var(--sb-line); margin-bottom: 6px; }
.sb-lrow b { color: var(--sb-gold); }
.sb-lrow.me { box-shadow: 0 0 0 2px var(--sb-gold); }
.sb-lrow em { font-style: normal; color: var(--sb-muted); font-size: 13px; }
.sb-streak { padding: 22px; border-radius: 18px; background: var(--sb-card); box-shadow: 0 0 0 2px var(--sb-line); text-align: center; }
.sb-streak a { color: var(--sb-gold) !important; font-weight: 800; }

@media (max-width: 600px) {
  .sb-grid { grid-template-columns: repeat(3, 66px); gap: 5px; }
  .sb-grid.two { grid-template-columns: repeat(2, 66px); }
  .sb-cell { height: 58px; font-size: 14px; border-radius: 10px; }
  .sb-cell small { font-size: 11px; }
  .sb-tlogo { width: 40px; height: 40px; }
  .sb-abbr { font-size: 16px; }
  .sb-card { padding: 11px; gap: 8px; }
  .sb-chip { width: 40px; height: 40px; }
  .sb-ledger span { font-size: 9px; letter-spacing: .06em; }
  .sb-score { font-size: 16px; }
}
@media (min-width: 1100px) {
  .sb { max-width: 820px; }
}

/* ---------- full-page layout (no tabs) ---------- */
.sb { max-width: 1440px !important; width: min(1440px, calc(100% - 32px)); }
html.sp-shell main.app-frame:has(#sb-root) { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.sb-top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 16px; align-items: stretch; }
.sb-top .sb-ledger { margin: 0; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; padding: 0; overflow: hidden;
  background: linear-gradient(180deg,#0d1c33,#07111f); box-shadow: 0 0 0 3px var(--sb-gold-d), 0 18px 40px rgba(0,0,0,.4); border-radius: 22px; }
.sb-top .sb-ledger div { display: flex; flex-direction: column; justify-content: center; border: 0; border-right: 1px solid rgba(242,190,58,.18); border-bottom: 1px solid rgba(242,190,58,.18); padding: 14px 8px;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 6px 6px; }
.sb-top .sb-ledger strong { font-size: clamp(22px, 2.6vw, 34px); color: #ffd76a; text-shadow: 0 0 12px rgba(255,200,70,.55); }
.sb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; margin-top: 22px; }
.sb-h { display: flex; align-items: baseline; gap: 12px; margin: 0 2px 12px; }
.sb-h h2 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: #fff; font-family: Inter, sans-serif !important; text-transform: none !important; }
.sb-h span { color: var(--sb-muted); font-size: 13.5px; font-weight: 700; }
.sb-toolbar { position: sticky; top: 70px; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 0 6px;
  border-radius: 18px; background: rgba(19,43,76,.94); backdrop-filter: blur(10px); box-shadow: 0 0 0 1.5px var(--sb-line), 0 10px 26px rgba(0,0,0,.3); }
.sb-toolbar .sb-days { flex: none; margin: 0; gap: 6px; }
.sb-toolbar .sb-days button { flex: none; padding: 8px 16px; font-size: 14px; }
.sb-toolbar .sb-chips { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 2px; scrollbar-width: thin; }
.sb-toolbar .sb-chip { flex: none; width: 44px; height: 44px; }
.sb-slatebar { margin: 12px 4px 0; color: var(--sb-muted); font-weight: 700; font-size: 14px; }
.sb-slatebar b { color: #fff; }
.sb-lg .sb-league { display: flex; align-items: center; gap: 10px; margin: 22px 2px 10px; }
.sb-lg .sb-league::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(242,190,58,.5), transparent); }
.sb-lg .sb-league em { order: 2; font-style: normal; font-size: 12px; color: #0a1a30; background: var(--sb-gold); border-radius: 99px; padding: 1px 8px; letter-spacing: 0; }
.sb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: 12px; }
.sb-cards .sb-card { margin: 0; height: 100%; }
.sb-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; padding: 2px; }
.sb-panel { padding: 18px; border-radius: 22px; background: linear-gradient(180deg,#1f3f66,#172f50); box-shadow: 0 0 0 2px rgba(199,142,30,.55), 0 16px 36px rgba(0,0,0,.3); scroll-margin-top: 90px; }
.sb-panel .sb-h h2 { font-size: 20px; }
.sb-streak { text-align: left !important; }
.sb-streak-in { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
.sb-flame { grid-row: span 2; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: radial-gradient(circle at 50% 70%, rgba(255,120,40,.45), rgba(10,26,48,.6)); box-shadow: inset 0 0 0 1.5px rgba(242,190,58,.5); }
.sb-streak-in p { margin: 0; color: #d3dfef; font-size: 14px; line-height: 1.45; }
.sb .sb-streak a.sb-btn, .sb-btn { display: inline-block; padding: 9px 14px; border-radius: 99px; font-weight: 800; font-size: 13.5px; color: #0a1a30 !important; text-decoration: none !important; background: linear-gradient(180deg,#ffe08a,#f4c443 45%,#c78e1e); justify-self: start; border: 0; cursor: pointer; }
.sb-hot { display: grid; gap: 12px; }
.sb-hot-score { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.sb-hot-score strong { display: block; font-size: 34px; line-height: .9; color: #ffd76a; }
.sb-hot-score span { color: #fff; font-weight: 800; font-size: 14px; }
.sb-hot-score p { margin: 4px 0 0; color: #d3dfef; font-size: 13.5px; line-height: 1.4; }
.sb-hot-label { margin: 2px 0 0; color: #ffd76a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sb-hot-run { display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.sb-win, .sb-hot-today { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 12px; background: rgba(10,26,48,.45); }
.sb-win-logo { width: 36px; height: 36px; display: grid; place-items: center; }
.sb-win-logo img { width: 32px; height: 32px; object-fit: contain; }
.sb-win-logo b { color: #fff; font-size: 11px; }
.sb-win-copy { min-width: 0; }
.sb-win-copy strong, .sb-win-copy em { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-win-copy strong { color: #fff; font-size: 14px; }
.sb-win-copy em { font-style: normal; color: #a9bad3; font-size: 12px; }
.sb-win-meta { color: #a9bad3; font-size: 12px; font-weight: 700; text-align: right; }
.sb-win-meta i { display: block; font-style: normal; color: #7dffa1; font-weight: 900; }
.sb-hot-today .sb-btn { padding: 7px 12px; }
.sb-pop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px 16px; background: rgba(4,12,24,.72); }
.sb-pop-card { width: min(560px, 100%); max-height: min(78vh, 760px); display: flex; flex-direction: column; border-radius: 22px; background: linear-gradient(180deg,#1f3f66,#12283f); box-shadow: 0 0 0 2px rgba(199,142,30,.7), 0 24px 60px rgba(0,0,0,.45); }
.sb-pop-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 16px 8px; }
.sb-pop-head h3 { margin: 0; color: #fff; font-size: 22px; }
.sb-pop-head p { margin: 4px 0 0; color: #d3dfef; font-size: 14px; }
.sb-pop-head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 24px; cursor: pointer; }
.sb-pop-list { overflow: auto; padding: 8px 14px 16px; display: grid; gap: 8px; }
.sb-pop-game { padding: 10px; border-radius: 14px; background: rgba(10,26,48,.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.sb-pop-game.selected { box-shadow: inset 0 0 0 2px #f4c443; }
.sb-pop-game header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #a9bad3; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.sb-pop-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.sb-pop-teams small { color: #a9bad3; font-weight: 800; }
.sb-pop-team { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 6px 8px; border-radius: 12px; border: 0; background: #163250; color: #fff; font-weight: 800; cursor: pointer; }
.sb-pop-team img { width: 32px; height: 32px; object-fit: contain; }
.sb-pop-team.on { background: linear-gradient(180deg,#ffe08a,#f4c443 45%,#c78e1e); color: #0a1a30; }
.sb-pop-team em { margin-left: auto; font-style: normal; font-size: 11px; }
.sb-pop-team:disabled { cursor: default; opacity: .72; }
.sb-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(10,26,48,.55); margin-bottom: 10px; }
.sb-seg button { flex: 1; border: 0; background: none; color: var(--sb-muted); font-weight: 800; font-size: 13.5px; padding: 8px; border-radius: 9px; }
.sb-seg button[aria-selected="true"] { background: #2d5385; color: #fff; }
.sb-side .sb-board { gap: 0; }
.sb-side .sb-lrow { padding: 8px 12px; }
.sb-lrow .rk { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff !important; font-size: 13px; }
.sb-lrow.top1 .rk { background: linear-gradient(180deg,#ffe08a,#f4c443 45%,#c78e1e); color: #0a1a30 !important; }
.sb-lrow.top2 .rk { background: linear-gradient(180deg,#f2f5f9,#b9c4d3); color: #0a1a30 !important; }
.sb-lrow.top3 .rk { background: linear-gradient(180deg,#f0b27a,#b8692f); color: #0a1a30 !important; }
.sb-lrow span em { display: block; }
@media (max-width: 1100px) {
  .sb-layout { grid-template-columns: minmax(0, 1fr); }
  .sb-side { position: static; max-height: none; overflow: visible; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 860px) {
  .sb-top { grid-template-columns: minmax(0, 1fr); }
  .sb-top .sb-ledger strong { font-size: 22px; }
  .sb-toolbar .sb-chip { width: 38px; height: 38px; }
  .sb-side { grid-template-columns: minmax(0, 1fr); }
  .sb-toolbar { top: 60px; }
  .sb-toolbar .sb-days { width: 100%; } .sb-toolbar .sb-days button { flex: 1; }
}

.sb-main, .sb-side, .sb-top > * { min-width: 0; }
