/*
 * The landing page's first screen: the live mini leaderboard (professional pass, 2026-10-19; docs/VOICE.md).
 * Dark slate, one accent (green for up, red for down, neutral greys for the rest), tabular numerals, compact
 * tables, small-caps labels. Built on the page's own tokens; one column on a phone and two from 960px. Meaning
 * never rides on colour alone: every ticket carries its status word, every figure its sign. (The file keeps
 * its old name so the page's stylesheet link stays valid.)
 */

.lbhero {
  --lb-bg: #141920; --lb-bg2: #1A2029; --lb-line: rgba(255, 255, 255, .09); --lb-mute: #9AA3B2; --lb-text: #E6EAF0;
  --lb-up: #3DDC84; --lb-down: #FF6B7A; --lb-amber: #F2B84B; --lb-accent: #2FD07A;
  max-width: 1180px; margin: 0 auto; padding: 28px 16px 32px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) {
  .lbhero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: start; gap: 40px; padding: 56px 24px 48px; }
}
.lbhero .btn--primary { background: var(--lb-accent); border-color: var(--lb-accent); color: #04140B; }
.lbhero .btn--primary:hover { background: #4BE08F; border-color: #4BE08F; }
.lbhero__eyebrow {
  margin: 0 0 10px; font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lb-accent);
}
.lbhero__title {
  margin: 0 0 14px; font-family: var(--font-body, 'Instrument Sans', sans-serif); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(32px, 6.4vw, 52px); line-height: 1.05; color: #fff; text-transform: none;
}
.lbhero__sub { margin: 0 0 20px; font-size: clamp(16px, 2.6vw, 19px); line-height: 1.45; color: var(--text-2, #D6DBE4); max-width: 34em; }
.lbhero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.lbhero__cta .btn { min-height: 48px; font-size: 16px; flex: 1 1 170px; justify-content: center; }
.lbhero__straight { margin: 0; font-size: 14px; line-height: 1.5; color: var(--lb-mute); max-width: 36em; }
.lbhero__straight a { color: var(--lb-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.lbhero__panels { display: grid; gap: 14px; min-width: 0; }
.lbpanel { background: var(--lb-bg); border: 1px solid var(--lb-line); border-radius: 6px; padding: 12px 14px; min-width: 0; }
.lbpanel__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; }
.lbpanel__title { margin: 0; font-family: var(--font-body, sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lb-mute); }
.lbpanel__asof { font-size: 12px; color: var(--lb-mute); }
.lbpanel__asof[data-stale="true"] { color: var(--lb-amber); }
.lbpill { display: inline-block; padding: 1px 8px; border: 1px solid var(--lb-line, rgba(255,255,255,.18)); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--lb-mute); white-space: nowrap; }
.lbrow--qual .lbname { opacity: .9; }

/* the Kennels card between the first screen and the AI desk: a big, quiet door to the kennels */
.kncard { max-width: 1180px; margin: 0 auto 32px; padding: 28px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-radius: 20px; background: rgba(255, 255, 255, .04); }
.kncard h2 { margin: 0 0 4px; font-size: 26px; text-transform: none; }
.kncard p { margin: 0; color: var(--lb-mute, #9AA3B2); font-size: 16px; }
.kncard__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1220px) { .kncard { margin-left: 16px; margin-right: 16px; } }
.lbtone--small { color: var(--lb-mute); opacity: .7; cursor: help; }
.lbbasis { display: block; font-size: 10px; font-weight: 400; color: var(--lb-mute); cursor: help; }
.lbold { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px solid var(--lb-line); border-radius: 3px; font-size: 11px; color: var(--lb-mute); white-space: nowrap; cursor: help; }
.lbpanel__season { font-weight: 500; color: var(--lb-mute); font-size: .85em; margin-left: 8px; }
.lbpanel__note { margin: 8px 2px 0; font-size: 13px; color: var(--lb-mute); }
.lbpanel__more { display: inline-block; margin-top: 8px; min-height: 36px; line-height: 36px; font-size: 14px; font-weight: 600; color: var(--lb-accent); }

.lbtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.lbtable th { padding: 5px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lb-mute); text-align: left; border-bottom: 1px solid var(--lb-line); }
.lbtable td { padding: 7px 6px; border-bottom: 1px solid var(--lb-line); vertical-align: middle; }
.lbtable tr:last-child td { border-bottom: 0; }
.lbnum { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; white-space: nowrap; }
.lbrank { color: var(--lb-mute); width: 24px; }
.lbmodel { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lbname { font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; }
.lbname:hover { text-decoration: underline; text-underline-offset: 3px; }
.lbtone--up { color: var(--lb-up); font-weight: 600; }
.lbtone--down { color: var(--lb-down); font-weight: 600; }
.lbtone--flat { color: var(--lb-text); }
.lbempty { padding: 12px 6px; color: var(--lb-mute); font-size: 14px; list-style: none; }
.lbsr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.hd-mono {
  flex: none; display: inline-grid; place-items: center; border-radius: 6px; font-weight: 700; letter-spacing: .02em;
  font-family: var(--font-body, sans-serif); color: var(--mono, #9AA3B2); background: color-mix(in srgb, var(--mono, #9AA3B2) 14%, #12161C);
  border: 1px solid color-mix(in srgb, var(--mono, #9AA3B2) 45%, transparent); line-height: 1;
}

.lbtickets { list-style: none; margin: 0; padding: 0; display: grid; }
.lbticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--lb-line); }
.lbticket:last-child { border-bottom: 0; }
.lbticket__main { display: grid; gap: 1px; min-width: 0; font-size: 14px; }
.lbticket__model { font-weight: 600; color: #fff; text-decoration: none; }
a.lbticket__model:hover { text-decoration: underline; text-underline-offset: 3px; }
.lbticket__pick strong { color: #fff; font-weight: 600; }
.lbticket__pick { color: var(--lb-text); font-variant-numeric: tabular-nums; }
.lbticket__game { font-size: 12.5px; color: var(--lb-mute); overflow-wrap: anywhere; }
.lbres { flex: none; min-width: 68px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 8px; border-radius: 3px; border: 1px solid var(--lb-line); color: var(--lb-text); }
.lbres--won { color: #04140B; background: var(--lb-up); border-color: var(--lb-up); }
.lbres--lost { color: #2A0710; background: var(--lb-down); border-color: var(--lb-down); }
.lbres--push, .lbres--void { color: var(--lb-mute); }
.lbres--pending { color: var(--lb-amber); border-color: rgba(242, 184, 75, .5); }
.lbres--ungraded { color: var(--lb-mute); border-style: dashed; }

@media (max-width: 480px) {
  .lbpanel { padding: 10px 10px; }
  .lbtable { font-size: 12.5px; }
  .lbtable th, .lbtable td { padding: 6px 3px; }
  .lbtable th { font-size: 10px; letter-spacing: .03em; }
  .lbmodel .hd-mono { display: none; }
  .lbrank { width: 16px; }
}
