/* betsharp: light content on a white/ice background, with dark "arena" bands (header, heroes, matchup banners,
   footer) for the glitz. Tokens first; everything else reads them. The .dark-band block re-declares them for those bands. */
:root {
  --bg: #eef2f8;
  --bg-2: #f6f8fc;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --line: #e2e7f0;
  --line-2: #cdd6e6;
  --text: #0b1430;
  --text-2: #4a5878;
  --text-3: #626e89;          /* small grey text: 4.5:1+ on white and the page background (WCAG AA) */
  --neon: #047d4a;          /* sharp green, dark enough for small text on white (4.6:1+) */
  --neon-dim: rgba(4, 125, 74, .10);
  --gold: #9a5c00;          /* best price, 4.8:1+ on the cream best-price cells */
  --gold-dim: rgba(255, 184, 0, .16);
  --blue: #1f6fe0;
  --red: #e02447;
  --drift: #b8460b;          /* price arrows: drifting (orange, 5:1+ on white); shortening uses --blue */
  --purple: #7b4dff;
  --shadow: 0 1px 2px rgba(15, 25, 60, .06), 0 6px 18px rgba(15, 25, 60, .06);
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.top, .hero, .matchup, footer {
  --bg: #060912;
  --bg-2: #0a1020;
  --panel: #0e1528;
  --panel-2: #131c34;
  --line: #1f2a47;
  --line-2: #2a3860;
  --text: #eef2ff;
  --text-2: #a9b4d0;
  --text-3: #7a87ab;
  --neon: #2cff8f;
  --neon-dim: rgba(44, 255, 143, .14);
  --gold: #ffc53d;
  --gold-dim: rgba(255, 197, 61, .14);
  --blue: #3b9cff;
  --red: #ff4d6a;
  --drift: #ff9a5c;
  color: var(--text);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--body);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: .01em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(34px, 5vw, 56px); font-style: italic; text-transform: uppercase; }
h2 { font-size: 28px; text-transform: uppercase; font-style: italic; }
h3 { font-size: 20px; text-transform: uppercase; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.small { font-size: 13px; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(6, 9, 18, .94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
/* BetSharp logo: the red rising-bars mark from the original betsharp.com, with the wordmark beside it */
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 800; font-style: italic;
  font-size: 34px; letter-spacing: .01em; color: #fafafa; white-space: nowrap; }   /* the heading font, as team names */
.logo img { height: 30px; width: auto; filter: drop-shadow(0 0 10px rgba(30, 215, 96, .35)); }
.logo b { color: #1ed760; font-weight: 800; }   /* logo green: deeper than the --neon accents */
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; border-radius: 10px; font-family: var(--head); font-weight: 700; font-size: 17px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; display: flex;
  align-items: center; gap: 6px; transition: background .15s, color .15s; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--panel-2); }
.nav a.on { box-shadow: inset 0 -2px 0 var(--neon); }
.nav .count { font-family: var(--body); font-size: 11px; font-weight: 700; background: var(--neon-dim);
  color: var(--neon); padding: 1px 6px; border-radius: 99px; }
.top .tools a { font-size: 13px; color: var(--text-2); white-space: nowrap; }
@media (max-width: 760px) { .top .tools { display: none; } .logo { font-size: 30px; } .logo img { height: 26px; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: 46px 0 30px; background-color: #060912;
  background-image: radial-gradient(1000px 420px at 85% -20%, rgba(59, 156, 255, .30), transparent 60%),
    radial-gradient(800px 380px at -10% 20%, rgba(44, 255, 143, .18), transparent 60%),
    linear-gradient(180deg, #0a1020, #060912); border-bottom: 3px solid; border-image: linear-gradient(90deg, #2cff8f, #3b9cff, #ffc53d) 1; }
.wrap > .hero { margin-top: 22px; margin-bottom: 22px; padding: 34px 28px 26px; border-radius: 20px; border-bottom: 0;
  box-shadow: inset 0 -3px 0 #2cff8f, 0 10px 30px rgba(6, 9, 18, .18); }
.hero .kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--neon); background: var(--neon-dim);
  padding: 5px 12px; border-radius: 99px; margin-bottom: 16px; }
.hero h1 span { background: linear-gradient(90deg, var(--neon), var(--blue)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero p { max-width: 640px; font-size: 17px; color: var(--text-2); margin: 14px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px;
  border: 1px solid var(--line-2); background: var(--panel); font-size: 13px; font-weight: 600; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---------------------------------------------------------------- panels and sections */
.section { margin: 30px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head a { font-size: 13px; color: var(--neon); font-weight: 600; white-space: nowrap; }
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); }
.panel.pad { padding: 18px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--panel-2); color: var(--text-2);
  border: 1px solid var(--line-2); white-space: nowrap; }
.badge.neon { background: var(--neon-dim); color: var(--neon); border-color: rgba(44, 255, 143, .35); }
.badge.gold { background: var(--gold-dim); color: var(--gold); border-color: rgba(255, 197, 61, .35); }
.badge.red { background: rgba(255, 77, 106, .14); color: var(--red); border-color: rgba(255, 77, 106, .35); }
.badge.live { background: var(--red); color: #fff; border: 0; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---------------------------------------------------------------- game cards (slate) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
@media (max-width: 420px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; overflow: hidden; display: block; padding: 14px 16px 12px; transition: transform .15s,
  border-color .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 12px 30px rgba(15, 25, 60, .14); }
.card .stripe { position: absolute; inset: 0 auto 0 0; width: 4px; }
.card .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3);
  margin-bottom: 10px; }
.card .row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 74px 74px; gap: 6px; align-items: center;
  padding: 4px 0; }
.card .row.head { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--text-3); text-transform: uppercase;
  padding: 0; }
.card .row.head span { text-align: center; }
.team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.team .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team .sm { font-size: 11px; color: var(--text-3); font-weight: 600; }
.price { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px;
  border-radius: 9px; background: var(--bg-2); border: 1px solid var(--line); font-variant-numeric: tabular-nums;
  line-height: 1.15; padding: 3px 2px; }
.price .l { font-size: 12px; color: var(--text-2); font-weight: 600; }
.price .p { font-size: 14px; font-weight: 800; }
.price .bk { font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.price.best { border-color: #f3cf7a; background: linear-gradient(180deg, #fffdf6, #fff3d4);
  box-shadow: 0 1px 4px rgba(240, 180, 41, .18); }
.price.best .p { color: var(--gold); }
.price.empty { color: var(--text-3); }
.card .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px;
  padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--text-2); }
.model { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.model .bar { width: 64px; height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.model .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), var(--blue)); }

/* ---------------------------------------------------------------- tables */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); }
table.odds { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
table.odds th { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
  padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--panel); }
table.odds th.l, table.odds td.l { text-align: left; }
table.odds td { padding: 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
table.odds tr:last-child td { border-bottom: 0; }
table.odds tbody tr:hover td { background: rgba(11, 20, 48, .03); }
table.odds td.sticky, table.odds th.sticky { position: sticky; left: 0; background: var(--panel); z-index: 1; }
.bookhead { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.booklogo { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px;
  font: 800 11px/1 var(--body); color: #fff; letter-spacing: .02em; }
.cell { display: inline-flex; flex-direction: column; align-items: center; min-width: 64px; padding: 5px 6px;
  border-radius: 8px; border: 1px solid transparent; line-height: 1.2; }
.cell .l { font-size: 12px; color: var(--text-2); }
.cell .p { font-weight: 800; font-size: 14px; }
.cell.best { border-color: #f0b429; background: #fff1c4; }
.cell.best .p { color: var(--gold); }
.cell.na { color: var(--text-3); }
.cell.model .p { color: var(--neon); }

/* ---------------------------------------------------------------- game page */
.matchup { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2);
  background: #0a1020; box-shadow: 0 10px 30px rgba(6, 9, 18, .18);
  padding: 26px 22px; margin-top: 22px; }
.matchup .bg { position: absolute; inset: 0; opacity: .32; }
.matchup .inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.matchup .side { display: flex; align-items: center; gap: 16px; min-width: 0; }
.matchup .side.home { flex-direction: row-reverse; text-align: right; }
.matchup .side img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.matchup .tname { font-family: var(--head); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 40px); line-height: .95; }
.matchup .loc { font-size: 13px; color: var(--text-2); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.matchup .mid { text-align: center; }
.matchup .vs { font-family: var(--head); font-weight: 900; font-size: 30px; font-style: italic; color: var(--text-3); }
.matchup .score { font-family: var(--head); font-weight: 900; font-size: 54px; }
.matchup .when { font-size: 13px; color: var(--text-2); }
@media (max-width: 680px) {           /* phones: away | time | home in one row, art above each name */
  .matchup { padding: 18px 12px; }
  .matchup .inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; text-align: center; }
  .matchup .side, .matchup .side.home { flex-direction: column; text-align: center; gap: 6px; }
  .matchup .side img { width: 56px; height: 56px; }
  .matchup .tname { font-size: 22px; overflow-wrap: anywhere; }
  .matchup .mid .closed { max-width: 150px; font-size: 12px; }
  .matchup .loc { font-size: 10px; letter-spacing: .06em; }
  .matchup .side .small { font-size: 11px; }
  .matchup .vs { font-size: 22px; }
  .matchup .score { font-size: 34px; }
  .matchup .when { font-size: 11px; }
}
.statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 760px) { .statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* 4 panels: one row, or 2 x 2 */
.stat { padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.stat .k { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.stat .v { font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.1; margin-top: 2px; }
.stat .s { font-size: 12px; color: var(--text-2); }
.sm-box { border-color: rgba(0, 163, 92, .35); background: linear-gradient(135deg, #e6f8ef, #eef5ff 60%, #ffffff); }
.sm-box .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--neon);
  text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.probbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: 10px 0 6px; background: var(--line); }
.probbar i { display: block; height: 100%; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.tab { padding: 7px 13px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel);
  color: var(--text-2); font-weight: 700; font-size: 13px; cursor: pointer; font-family: var(--body); }
.tab.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.pane { display: none; }
.pane.on { display: block; }

.props-list .player { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.props-list .tm { font-size: 10px; font-weight: 800; color: var(--text-3); text-transform: uppercase; }
.search { width: 100%; max-width: 280px; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 14px; }

.form { display: flex; gap: 5px; }
.form b { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.form .W { background: var(--neon-dim); color: var(--neon); }
.form .L { background: rgba(255, 77, 106, .16); color: var(--red); }
.form .T { background: var(--line-2); color: var(--text-2); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.move-up { color: var(--neon); font-weight: 800; }
.move-down { color: var(--red); font-weight: 800; }
.inj-status { font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; }
.inj-out { background: rgba(255, 77, 106, .16); color: var(--red); }
.inj-q { background: var(--gold-dim); color: var(--gold); }
.inj-other { background: var(--line-2); color: var(--text-2); }

.daybar { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 18px 0 18px; scrollbar-width: thin; }
.daybar a { flex: none; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  font-size: 13px; font-weight: 700; color: var(--text-2); text-align: center; line-height: 1.2; }
.daybar a.on { border-color: #0a1020; background: #0a1020; color: #fff; box-shadow: inset 0 -2px 0 #2cff8f; }
.daybar a small { display: block; font-size: 10px; color: var(--text-3); font-weight: 800; text-transform: uppercase; }

.chart-box { position: relative; height: 280px; }
.empty-state { padding: 28px; text-align: center; color: var(--text-3); }

.teamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.teamgrid a { display: flex; align-items: center; gap: 10px; padding: 12px; }
.teamgrid img { width: 34px; height: 34px; object-fit: contain; }

/* ---------------------------------------------------------------- footer */
footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 30px 0 40px;
  font-size: 13px; color: var(--text-3); }
footer .rg { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); margin-bottom: 18px; }
footer .rg .age { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--red); color: var(--red); font-weight: 900; }
footer .cols { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; }
footer a { color: var(--text-2); }

@media (max-width: 420px) {
  .card { padding: 12px 12px 10px; }
  .card .row { grid-template-columns: minmax(0, 1fr) 62px 62px 62px; gap: 5px; }
  .team { gap: 7px; }
  .team img { width: 22px; height: 22px; }
  .team .nm { font-size: 14px; }
  .price .p { font-size: 13px; }
  .price .l { font-size: 11px; }
}

/* team art (SharpModels helmet/jersey PNGs for NFL and MLB, white-edged SVG otherwise) */
.team .team-art { width: 30px; height: 30px; flex: none; }
.art-flip { transform: scaleX(-1); }
.matchup .side .team-art { width: 96px; height: 96px; flex: none; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.art-hero { width: 120px; height: 120px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.art-sm { width: 22px !important; height: 22px !important; }
.teamgrid .team-art { width: 36px; height: 36px; flex: none; }
.section-head .team .team-art { width: 34px; height: 34px; }
@media (max-width: 680px) { .matchup .side .team-art { width: 56px; height: 56px; } }
@media (max-width: 420px) { .team .team-art { width: 24px; height: 24px; } }

/* SharpModels logo: its own line-and-dots mark and wordmark, as in the sharpmodels.com header */
.sm-mark { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sm-logo { display: inline-flex; align-items: center; gap: 7px; font-family: var(--body); font-weight: 700;
  letter-spacing: .02em; color: var(--text); text-transform: none; }
.sm-logo .sm-mark { width: 22px; height: 22px; }
.brand .sm-logo + span { color: var(--text-2); }
.model .sm-mark { width: 14px; height: 14px; margin-right: -2px; }
.sm-inline { display: inline-flex; align-items: center; gap: 4px; }
.brand .sm-logo { font-size: 15px; letter-spacing: .01em; }

/* SharpModels vs market line in the game-card footer */
.smvm { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; white-space: nowrap; color: var(--text); }
.smvm .sm-mark { width: 14px; height: 14px; }
.smvm .dim { font-weight: 600; }

@media (max-width: 520px) {
  .section-head { flex-wrap: wrap; row-gap: 4px; }
  .stat { padding: 12px; }
  .stat .v { font-size: 22px; white-space: nowrap; }
  .statrow { gap: 8px; }
}

/* college poll rank: "18 LSU" */
.rk { display: inline-block; min-width: 18px; margin-right: 5px; padding: 0 4px; border-radius: 4px; background: var(--text);
  color: var(--panel); font: 800 10px/16px var(--body); text-align: center; vertical-align: 1px; letter-spacing: 0; }
.matchup .rk { background: #ffc53d; color: #060912; }
.chip.on { border-color: var(--neon); color: var(--neon); }
.chip .rk { margin-right: 2px; }

/* team search: a box in the header on desktop, a nav link on phones */
.top .tools { display: flex; align-items: center; gap: 14px; }
.top .tools input { width: 150px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel);
  color: var(--text); font: 13px var(--body); }
.top .tools input:focus { outline: 2px solid var(--neon); outline-offset: 1px; width: 190px; }
.nav .nav-search { display: none; }
@media (max-width: 760px) { .nav .nav-search { display: flex; } .top .tools { display: none; } }
.search-big { display: flex; gap: 8px; margin-top: 18px; max-width: 480px; }
.search-big .search { max-width: none; flex: 1; background: var(--panel); }

/* game page section filter */
.secbar { position: sticky; top: 64px; z-index: 15; margin-top: 16px; padding: 8px 0; background: var(--bg); }
.secbar-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.secbar-in::-webkit-scrollbar { display: none; }
.secbar .tab { flex: none; white-space: nowrap; }
.secbar .tab .n { margin-left: 4px; padding: 0 6px; border-radius: 99px; font-size: 11px; background: var(--neon-dim); color: var(--neon); }
.secbar .tab.on .n { background: rgba(255, 255, 255, .15); color: inherit; }
[data-sec][hidden] { display: none; }

/* prop tables: each book's over/under stacked in one narrow cell, so seven books fit beside the player on desktop */
.cell.ou { min-width: 0; padding: 3px 4px; }
.cell.ou .p { font-size: 12px; font-weight: 700; line-height: 1.25; }
.cell.ou .p i { font-style: normal; font-weight: 600; color: var(--text-3); margin-right: 3px; font-size: 10px; }
.props-list table.odds td, .props-list table.odds th { padding-left: 4px; padding-right: 4px; }
.props-list table.odds td.l, .props-list table.odds th.l { padding-left: 10px; }
.props-list .cell:not(.ou) { min-width: 58px; }

/* odds format switch (US / Dec / %) in the header */
.oddsfmt { display: flex; flex: none; padding: 3px; gap: 2px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line-2); }
.oddsfmt button { border: 0; background: none; color: var(--text-2); font: 700 12px/1 var(--body); padding: 6px 9px; border-radius: 6px; cursor: pointer; }
.oddsfmt button.on { background: var(--neon); color: #04110a; }
.oddsfmt button:focus-visible { outline: 2px solid var(--neon); }
@media (max-width: 760px) { .oddsfmt button { padding: 5px 6px; font-size: 11px; } .top .wrap { gap: 10px; } }

/* phones: two-row header (logo + odds switch, then the scrolling sports menu) so the menu keeps its width */
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 0; row-gap: 2px; }
  .top .logo { flex: 1; }
  .top .nav { order: 3; flex: 0 0 100%; padding-bottom: 6px; }
  .secbar { top: 91px; }
}

/* home page on phones: three games per sport, the "All N games" link has the rest */
@media (max-width: 600px) { .home-cards > :nth-child(n+4) { display: none; } }

/* /stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 420px) { .stats-grid { grid-template-columns: minmax(0, 1fr); } }
.stats-table { table-layout: fixed; }
.stats-table th:not(.l), .stats-table td:not(.l) { width: 72px; }
.stats-table td.l { position: relative; overflow: hidden; text-overflow: ellipsis; }
.stats-table .bar-bg { position: absolute; inset: 4px 0 4px 0; z-index: 0; }
.stats-table .bar-bg i { display: block; height: 100%; border-radius: 4px; background: var(--neon-dim); }
.stats-table .k { position: relative; }

/* legal and help pages */
.legal { max-width: 820px; }
.legal .panel p, .legal .panel li { color: var(--text-2); }
.legal h3, .legal h2.h3 { margin: 22px 0 6px; }
.legal .panel > h3:first-child { margin-top: 0; }
.legal ul { padding-left: 20px; margin: 6px 0 10px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--neon); font-weight: 600; }
.help-box { display: flex; gap: 16px; align-items: center; border-color: rgba(224, 36, 71, .35); }
.help-box .age { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--red); color: var(--red); font-weight: 900; }
footer .rg a { color: var(--text); font-weight: 700; white-space: nowrap; }
.inj-ok { background: var(--neon-dim); color: var(--neon); }

/* sport page: how to read the odds */
.guide h2 { margin-bottom: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 26px; }
.guide-grid h3 { font-size: 17px; margin: 8px 0 4px; }
.guide-grid p { margin: 0 0 8px; color: var(--text-2); font-size: 14px; }
.move-to { font-weight: 800; color: var(--text); margin-left: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* breadcrumbs, and the game switcher beside them */
.crumbbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.crumbbar + .matchup, .crumbbar + .hero, .crumbbar + h1 + .matchup { margin-top: 12px; }
.crumbs { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.crumbs a { color: var(--text-2); font-weight: 600; }
.crumbs a:hover { color: var(--neon); }
.crumbs [aria-current] { color: var(--text); font-weight: 700; }
.crumbs .sep { color: var(--text-3); }
.switch-game select { padding: 7px 30px 7px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel);
  color: var(--text); font: 600 13px var(--body); max-width: 300px; cursor: pointer; }
.switch-game select:focus-visible { outline: 2px solid var(--neon); }
@media (max-width: 520px) { .switch-game, .switch-game select { width: 100%; max-width: none; } }
.more-games li a { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-games li .dim { flex: none; }
.more-games a.more { color: var(--neon); font-weight: 700; }
.wrap > .crumbbar + .hero { margin-top: 12px; }

/* betting calculators (templates/calc/, static/js/calcs.js) */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.calc-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; transition: border-color .15s, transform .15s; }
.calc-card:hover { border-color: var(--neon); transform: translateY(-1px); }
.calc-card b { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.calc-card span { font-size: 13px; color: var(--text-2); }
.calc-grid-big .calc-card { padding: 18px; }
.calc-grid-big .calc-card b { font-size: 22px; }
.calc .fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 16px; margin-bottom: 14px; }
.calc .fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.calc .fld > span:first-child { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.calc .fld small { font-size: 12px; color: var(--text-3); }
.calc .fld-check { flex-direction: row; align-items: center; gap: 8px; align-self: end; padding-bottom: 10px; font-size: 14px; color: var(--text-2); }
.calc input[type=text], .calc input[type=number], .calc select { width: 100%; padding: 9px 11px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 600 15px var(--body);
  font-variant-numeric: tabular-nums; min-width: 0; }
.calc input:focus-visible, .calc select:focus-visible { outline: 2px solid var(--neon); outline-offset: 1px; border-color: var(--neon); }
.calc .in { position: relative; display: block; }
.calc .in.money input { padding-left: 24px; }
.calc .in.money::before { content: "$"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 600; }
.calc .in.pct input { padding-right: 28px; }
.calc .in.pct::after { content: "%"; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-weight: 600; }
.calc-rows { margin-bottom: 10px; width: auto; min-width: min(100%, 520px); }
.calc-rows td { padding: 6px 8px; }
.calc-rows td.l input, .calc-rows td.l select { max-width: 160px; }
.calc-rows td.b, .calc .b { font-weight: 700; }
.calc-rows .n { color: var(--text-3); font-weight: 700; width: 36px; }
.calc .btn, .calc .btn-x { border: 1px solid var(--line-2); background: var(--panel); color: var(--text); border-radius: 9px;
  font: 700 13px var(--body); padding: 8px 13px; cursor: pointer; }
.calc .btn:hover:not(:disabled) { border-color: var(--neon); color: var(--neon); }
.calc .btn-x { padding: 3px 9px; font-size: 16px; line-height: 1.2; color: var(--text-3); }
.calc .btn-x:hover:not(:disabled) { color: var(--red); border-color: var(--red); }
.calc button:disabled { opacity: .4; cursor: default; }
.calc button:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.calc .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-h { font-size: 18px; margin: 4px 0 10px; }
.calc .fields + .calc-h { margin-top: 6px; }
.calc .sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.calc .sizes .lbl { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-right: 4px; }
.calc .sizes .chip { cursor: pointer; }
.calc .sizes .chip:has(input:checked) { border-color: var(--neon); color: var(--neon); background: var(--neon-dim); }
.calc .sizes input { accent-color: var(--neon); margin: 0; }
.calc .statrow-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.calc .statrow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .calc .statrow-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc .stat .v { overflow-wrap: anywhere; }
.calc .pos { color: var(--neon); }
.calc .neg { color: var(--red); }
.calc-note { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.calc-note:empty { display: none; }
.guide-grid a { color: var(--neon); font-weight: 600; }
@media (max-width: 520px) {
  .calc .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc-rows td.l input, .calc-rows td.l select { max-width: 112px; }
  .calc-rows td, .calc-rows th { padding-left: 4px; padding-right: 4px; }
}

/* footer link columns */
.fcols { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0, 1fr)); gap: 24px 22px; }
.fcols h4, .fcols h2 { margin: 0 0 10px; font: 800 15px/1.1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.fcols ul { list-style: none; margin: 0; padding: 0; }
.fcols li { margin: 0 0 7px; line-height: 1.3; }
.fcols nav a { color: var(--text-2); }
.fcols nav a:hover { color: var(--neon); }
.fbrand .logo { font-size: 26px; gap: 9px; }
.fbrand .logo img { height: 22px; }
.fbrand p { margin: 10px 0 0; color: var(--text-2); max-width: 300px; }
.fbase { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }
@media (max-width: 1000px) { .fcols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fbrand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fcols nav a.fmore { color: var(--neon); font-weight: 700; }
.fbrand p .sm-inline { display: inline; color: var(--text); font-weight: 600; }
.calc input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.calc input[type=number]::-webkit-inner-spin-button, .calc input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* soccer: the draw's row on game cards (3-way moneyline), between the two teams */
.card .row.draw-row .team { gap: 10px; }
.draw-mark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-3); font: 900 16px/1 var(--head); }
@media (max-width: 420px) { .draw-mark { width: 24px; height: 24px; font-size: 14px; } }
img.team-art { object-fit: contain; }

/* header on desktop: with Soccer the menu needs the room, so items tighten and the search box gives way to the
   "Search" menu link (as on phones) */
@media (min-width: 761px) {
  .top .wrap { gap: 14px; }
  .nav a { padding: 8px 8px; letter-spacing: .02em; }
  .nav .nav-search { display: flex; }
  .top .tools { display: none; }
}
@media (max-width: 1100px) and (min-width: 761px) { .nav a { padding: 7px 6px; font-size: 15px; } .nav { gap: 2px; } }
/* room for the Books picker next to the odds switch */
@media (min-width: 761px) { .nav { gap: 2px; } .nav a { padding: 8px 6px; } .top .wrap { gap: 10px; } }
@media (max-width: 1280px) and (min-width: 1101px) { .nav a { font-size: 16px; padding: 8px 5px; } }
@media (max-width: 680px) {   /* soccer club names are longer than US nicknames: smaller, whole words, no league label */
  .matchup.soccer .tname { font-size: 18px; overflow-wrap: normal; word-break: normal; }
  .matchup.soccer .loc { display: none; }
}

/* futures */
.futures-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 16px; }
@media (max-width: 560px) { .futures-grid { grid-template-columns: minmax(0, 1fr); } }
.futures-h { font-size: 18px; margin: 0 0 8px; }
table.futures td.l .team { display: flex; align-items: center; gap: 8px; font-weight: 700; }
table.futures td.l .nm { font-weight: 700; white-space: nowrap; }
table.futures th.smh, table.futures td.sm-cell { color: var(--neon); font-weight: 800; }
table.futures td.gap { white-space: nowrap; color: var(--blue); font-weight: 800; }
.fmoves .fmove { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; }
.fmove .fm-who { display: flex; flex-direction: column; min-width: 0; }
.fmove .fm-who .team { display: flex; align-items: center; gap: 8px; }
.fmove .fm-d { font-weight: 800; white-space: nowrap; }
.fmove .fm-d.up { color: var(--neon); }
.fmove .fm-d.down { color: var(--red); }
@media (max-width: 560px) { .fmoves .fmove { grid-template-columns: minmax(0, 1fr) auto auto; } .fmove .fm-b { display: none; } }
table.mini-fut { width: 100%; border-collapse: collapse; font-size: 14px; }
table.mini-fut th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 700; text-align: right; padding: 0 0 6px 8px; }
table.mini-fut td { text-align: right; padding: 7px 0 7px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
table.mini-fut .l { text-align: left; padding-left: 0; font-weight: 700; }
table.mini-fut .smh, table.mini-fut .sm-cell { color: var(--neon); font-weight: 800; }

/* player names link to their player page */
.player a { color: inherit; text-decoration: none; }
.player a:hover { text-decoration: underline; }
/* futures: the rest of a long award list, folded */
details.more { margin-top: 8px; }
details.more > summary { cursor: pointer; color: var(--text-2); font-weight: 700; padding: 6px 2px; }
details.more > .tbl-wrap { margin-top: 6px; }
/* team banner chips may wrap on a phone ("NBA Championship winner: +4000 FanDuel") */
.matchup .chips .chip { flex-wrap: wrap; max-width: 100%; }
/* the team page's season futures table on a narrow phone: smaller type, the SharpModels header can wrap */
@media (max-width: 400px) {
  table.mini-fut { font-size: 13px; table-layout: auto; }
  table.mini-fut th { letter-spacing: .02em; white-space: normal; }
  table.mini-fut td { padding-left: 6px; }
  table.mini-fut td .small { font-size: 11px; }
}
/* accessibility (axe, 24 Oct): the active day's label on its dark button; links inside running text are
   underlined, not told apart by colour alone */
.daybar a.on small { color: #b9c3dd; }
p a:not(.chip):not(.btn), li p a { text-decoration: underline; text-underline-offset: 2px; }
/* an h2 that looks like an h3 (heading levels must not skip, axe heading-order) */
h2.h3 { font-size: 20px; font-style: normal; }
a.plain { color: inherit; text-decoration: none; }
a.plain:hover b { text-decoration: underline; }
.ats { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; margin-left: 4px; }
.ats-W { color: var(--neon); }
.ats-L { color: var(--red); }
.ats-P { color: var(--text-3); }
.matchup .closed { margin: 6px auto 0; max-width: 240px; }
.matchup .ats-W { color: #2cff8f; }
.matchup .ats-L { color: #ff7a8f; }
.matchup .ats-P { color: #b8c2dc; }
.res-game { display: grid; gap: 4px; min-width: 190px; }
.res-game .team { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.res-game .team .nm { flex: 1; min-width: 0; }
.res-game .team b { font-size: 16px; }
.res-game .team.won { color: var(--text); font-weight: 700; }
.res-game:hover .nm { text-decoration: underline; }
table.results td { vertical-align: middle; }
/* recent-move arrows (queries._move). Line moves point the way the line went; price moves the way the shown number
   went, which flips in the % view: a shortening price is a smaller American / decimal number but a bigger chance */
.mv { display: inline-block; margin-left: 3px; font-size: 9px; line-height: 1; vertical-align: 1px; font-style: normal; }
.mv.shorten { color: var(--blue); }
.mv.drift { color: var(--drift); }
.mv.line { color: var(--text-3); }
.mv.up::after, .mv.px.drift::after { content: "\25B2"; }
.mv.down::after, .mv.px.shorten::after { content: "\25BC"; }
html[data-oddsfmt="pct"] .mv.px.drift::after { content: "\25BC"; }
html[data-oddsfmt="pct"] .mv.px.shorten::after { content: "\25B2"; }
.mv-key .mv { margin: 0 2px 0 0; }
/* price history table (history.html): one cell per book change, shaded like the move arrows */
table.hist td { padding: 5px 6px; }
.hc { display: inline-flex; flex-direction: column; align-items: center; min-width: 52px; padding: 3px 6px; border-radius: 7px;
  font-weight: 700; font-size: 13px; line-height: 1.25; }
.hc .l { font-size: 11px; font-weight: 600; color: var(--text-2); }
.hc-shorten { background: #e2edff; box-shadow: inset 0 0 0 1px #b9d3fb; }
.hc-drift { background: #ffe9db; box-shadow: inset 0 0 0 1px #f8c6a6; }
.hist-key .hc { min-width: 0; font-size: 12px; margin-left: 4px; color: var(--text); }
tr.hist-start td { border-top: 2px solid var(--line-2); background: var(--bg); }
.hc-off { color: var(--text-3); font-weight: 600; font-size: 12px; }
.hist-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.hist-lines select { font: 600 14px var(--body); padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); max-width: 100%; }
/* the price history link next to a selection's name */
.hist-ico { display: inline-flex; vertical-align: -2px; margin-left: 5px; color: var(--text-3); padding: 2px; border-radius: 5px; }
a.hist-ico:hover, a.hist-ico:focus-visible { color: var(--blue); background: var(--neon-dim); }
.mv-key .hist-ico { margin: 0 2px 0 0; padding: 0; }
/* sport pages' day bar: the last few days (results) sit before "Upcoming", a shade quieter */
.daybar a.past:not(.on) { background: var(--bg); }
.daybar a.past + a:not(.past) { margin-left: 8px; }
.no-hist .hist-ico, .no-hist .hist-note { display: none; }

/* "My books" picker in the header (site.js hides the other books' columns and moves the gold to the best of these) */
.mybooks { position: relative; flex: none; }
.mybooks summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font: 700 12px/1 var(--body); }
.mybooks summary::-webkit-details-marker { display: none; }
.mybooks summary:focus-visible { outline: 2px solid var(--neon); }
.mybooks[open] summary, .mybooks.on summary { color: var(--text); border-color: var(--neon); }
.mybooks .n { background: var(--neon); color: #04110a; border-radius: 99px; padding: 2px 6px; font-size: 11px; }
.mybooks .mb-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 250px; padding: 12px 14px; z-index: 30;
  border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
.mybooks .mb-pop p { margin: 0 0 8px; color: var(--text-2); line-height: 1.4; }
.mybooks label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--text); }
.mybooks input { accent-color: #2cff8f; width: 16px; height: 16px; }
.mybooks .mb-all { margin-top: 8px; width: 100%; padding: 7px; border-radius: 8px; border: 1px solid var(--line-2);
  background: none; color: var(--text); font: 700 12px/1 var(--body); cursor: pointer; }
.mybooks .mb-all:hover { border-color: var(--neon); }
.mb-note { display: none; }
html.mb-on .mb-note { display: block; }
@media (max-width: 760px) { .mybooks summary { padding: 5px 7px; font-size: 11px; } .mybooks .mb-pop { right: -60px; } }

/* season ATS / over-under records: a 50%-centred meter (green above, red below) */
.ats-table th a { color: inherit; border-bottom: 1px dashed var(--line-2); }
.ats-table th a:hover { color: var(--text); border-color: var(--text-3); }
.ats-table th .sorted { color: var(--text); }
.ats-table td.ats-main { text-align: left; }
.ats-table td.ats-main > b { display: inline-block; min-width: 52px; }
.meter { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; vertical-align: middle; }
.meter .mt { position: relative; width: 56px; height: 6px; border-radius: 99px; background: var(--line); }
.meter .mt::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--text-3); }
.meter .mt i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--text-3); }
.meter .mt i.up { background: var(--neon); }
.meter .mt i.down { background: var(--red); }
.meter b { font-size: 12px; min-width: 30px; text-align: right; }

/* line moves: game (art of the side the market moved to), then the market's number then -> now and how many books
   moved, then the size. Panels stack the market line under the game; the full page puts them in one row. */
.list li.mvr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "game d" "what what";
  gap: 6px 10px; align-items: center; padding: 11px 0; }
.mvr-game { grid-area: game; display: flex; align-items: center; gap: 10px; min-width: 0; }
.mvr-game .art-sm { width: 28px !important; height: 28px !important; flex: none; }
.mvr-game:hover b { text-decoration: underline; }
.mvr-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mvr-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.mvr-t small { color: var(--text-3); font-size: 12px; }
.mvr-ou { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  font: 800 9px/1 var(--body); letter-spacing: .02em; color: #fff; background: var(--blue); }
.mvr-ou.down { background: var(--drift); }
.mvr-what { grid-area: what; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px;
  color: var(--text-2); padding-left: 38px; font-variant-numeric: tabular-nums; }
.mvr-what .badge { padding: 2px 6px; font-size: 10px; }
.mvr-n b { color: var(--text); }
.mvr-n .arr { color: var(--text-3); margin: 0 1px; }
.mvr-bk { color: var(--text-3); font-size: 12px; margin-left: auto; }
.mvr-d { grid-area: d; justify-self: end; padding: 4px 9px; border-radius: 8px; font-weight: 800; font-size: 14px;
  white-space: nowrap; background: var(--neon-dim); color: var(--neon); }
.mvr-d small { font-size: 11px; font-weight: 700; opacity: .85; }
.mvr-d.up { background: rgba(31, 111, 224, .1); color: var(--blue); }
.mvr-d.down { background: rgba(184, 70, 11, .1); color: var(--drift); }
@media (min-width: 761px) {
  .mvr-list.wide li.mvr { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 104px; grid-template-areas: "game what d"; }
  .mvr-list.wide .mvr-what { padding-left: 0; }
  .mvr-list.wide .mvr-bk { margin-left: 0; min-width: 64px; text-align: right; order: 3; }
  .mvr-list.wide .mvr-n { flex: 1; }
}
.mv-filters { display: grid; gap: 8px; margin: 4px 0 14px; }
.mv-filters .chips { margin-top: 0; align-items: center; }
.mv-filters .chip { padding: 5px 11px; }

/* home: title favourites, one block per title race */
.fav + .fav { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.fav-h { display: flex; align-items: center; gap: 8px; font: 800 15px/1.1 var(--head); text-transform: uppercase;
  letter-spacing: .02em; margin-bottom: 6px; }
.fav-h:hover { color: var(--neon); }
.fav-h .dim { margin-left: auto; font-family: var(--body); }
.fav-sp { font: 800 10px/1 var(--body); letter-spacing: .06em; padding: 3px 6px; border-radius: 5px;
  background: var(--neon-dim); color: var(--neon); }
.fav ul { list-style: none; margin: 0; padding: 0; }
.fav li { display: grid; grid-template-columns: minmax(0, 1fr) 92px 56px; align-items: center; gap: 10px; padding: 5px 0; }
.fav .team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 14px; }
.fav .team .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav .team:hover .nm { text-decoration: underline; }
.fav-ch { display: flex; align-items: center; gap: 6px; }
.fav-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fav-bar i { display: block; height: 100%; border-radius: 99px; }
.fav-ch b { font-size: 12px; min-width: 28px; text-align: right; }
.fav-px.price { min-height: 34px; padding: 2px; }
.fav-px .p { font-size: 13px; }

/* phones: shorter heroes, so the first odds show without scrolling. The intro is cut to three lines with a "More"
   button (site.js adds both, only when the text is longer: without JS the full text shows), and chip rows scroll
   sideways in one line instead of wrapping */
.hero-more { display: none; }
@media (max-width: 600px) {
  .hero { padding: 26px 0 18px; }
  .wrap > .hero { margin-top: 12px; margin-bottom: 14px; padding: 18px 16px 16px; border-radius: 16px; }
  .wrap > .crumbbar + .hero { margin-top: 8px; }
  .hero .kicker { font-size: 10px; padding: 4px 10px; margin-bottom: 10px; letter-spacing: .12em; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; margin-top: 8px; line-height: 1.45; }
  .hero p.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-more { display: inline-block; margin-top: 4px; padding: 4px 0; border: 0; background: none; cursor: pointer;
    color: var(--neon); font: 700 13px/1.2 var(--body); }
  .hero-more:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
  .hero .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px 2px; }
  .hero .chips::-webkit-scrollbar { display: none; }
  .hero .chips .chip { flex: none; }
}
@media (max-width: 600px) {
  /* team pages: smaller art beside the name, the record / title price / rating chips in one sideways row */
  .matchup.team-hero { padding: 16px 14px !important; }
  .team-hero .inner { gap: 12px !important; text-align: left; align-items: center; }
  .team-hero .art-hero { width: 64px; height: 64px; }
  .team-hero h1 { font-size: 28px !important; }
  .team-hero .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 10px; }
  .team-hero .chips::-webkit-scrollbar { display: none; }
  .team-hero .chips .chip { flex: none; padding: 5px 10px; font-size: 12px; white-space: nowrap; flex-wrap: nowrap; max-width: none; }
  /* tab rows (props markets, game periods...) scroll sideways in one line instead of wrapping */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px;
    padding: 0 16px 2px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs .tab { flex: none; }
}

/* sport pages' side panel: the players with the most props, each with one headline prop and its best over */
.pp-list { list-style: none; margin: 0; padding: 0; }
.pp-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--line); }
.pp-list li:last-child { border-bottom: 0; }
.pp-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pp-who .art-sm, .pp-noart { width: 28px !important; height: 28px !important; flex: none; }
.pp-noart { border-radius: 50%; background: var(--line); }
.pp-who:hover b { text-decoration: underline; }
.pp-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pp-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-t small { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-prop { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pp-prop > small { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3);
  white-space: nowrap; }
.pp-px.price { min-width: 76px; min-height: 0; padding: 3px 6px; }
.pp-px .l { font-size: 11px; }
.pp-px .p { font-size: 13px; }
.pp-mk { margin-top: 12px; gap: 6px; }
.pp-mk .chip { padding: 4px 10px; font-size: 12px; }
.pp-px.price { flex-direction: row; gap: 6px; padding: 5px 8px; min-width: 0; }
.pp-px .l { color: var(--text-2); }
.pp-px .bk { font-size: 9px; }
.pp-px.price { width: 128px; justify-content: space-between; }

/* live games: the Live badge with ESPN's clock ("5:17 - 1st", "HT", "Top 7th") */
.live-st { display: inline-flex; align-items: center; gap: 6px; }
.live-st .clock { font-size: 12px; font-weight: 800; color: var(--red); white-space: nowrap; }
.matchup .live-st .clock { color: #ff7a8f; font-size: 13px; }

/* game cards: every price box in a row as tall as the tallest (the moneyline has no line above its price) */
.card .row > .price { align-self: stretch; }

/* game lines: each book's moneyline margin, the lowest in green */
table.odds tr.margin-row td { background: var(--bg-2); }
.margin-row .mg { font-size: 13px; font-weight: 700; color: var(--text-2); }
.margin-row .mg.low { color: var(--neon); font-weight: 800; }
html.mb-on .margin-row .mg-best { visibility: hidden; }   /* across every book, so not "My books" */

/* Google Analytics consent bar (base.html), only rendered when BETSHARP_GA_ID is set */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #060912; color: #e8edf7;
  border-top: 1px solid #1c2640; box-shadow: 0 -4px 18px rgba(0, 0, 0, .25); padding: 14px 16px;
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center; }
.cookiebar[hidden] { display: none; }
.cookiebar p { margin: 0; max-width: 680px; font-size: 14px; line-height: 1.45; }
.cookiebar a { color: #e8edf7; text-decoration: underline; }
.cookiebar button { font: 700 14px var(--body); padding: 9px 20px; margin: 0 4px; border-radius: 99px; cursor: pointer;
  border: 1px solid #22c97a; }
.cookiebar .cb-yes { background: #22c97a; color: #04150c; }
.cookiebar .cb-no { background: transparent; color: #e8edf7; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--text-2); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
