/* Lineup Hawk live tools (Nov 26 2026): live badge, recent line moves, book grid, gap tags,
   injury badges, amber hit-rate tone, Best gaps banner, Prop Trends. High contrast, no small text. */

/* ---- Live badge + Recent line moves ---- */
.lh-live { margin: 0.9rem 0 1rem; display: grid; gap: 0.7rem; }
.lh-live[hidden] { display: none; }
.live-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; padding: 0.6rem 0.9rem; border-radius: 12px; background: #ffffff; border: 2px solid #0f172a; color: #0f172a; font-size: 1rem; line-height: 1.35; }
.live-badge strong { font-weight: 800; }
.live-badge .live-sub { color: #1f2937; font-weight: 600; }
.live-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #15803d; box-shadow: 0 0 0 4px rgba(21,128,61,0.18); flex: none; }
.live-badge.is-fresh { border-color: #15803d; }
.live-badge.is-fresh .live-dot { animation: lhPulse 2s ease-in-out infinite; }
.live-badge.is-aging { border-color: #b45309; }
.live-badge.is-aging .live-dot { background: #b45309; box-shadow: 0 0 0 4px rgba(180,83,9,0.18); }
.live-badge.is-stale { border-color: #475569; }
.live-badge.is-stale .live-dot { background: #475569; box-shadow: none; }
@keyframes lhPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(21,128,61,0.25); } 50% { box-shadow: 0 0 0 7px rgba(21,128,61,0.06); } }
@media (prefers-reduced-motion: reduce) { .live-badge.is-fresh .live-dot { animation: none; } }
.live-reload { font: inherit; font-weight: 800; font-size: 0.98rem; padding: 0.35rem 0.8rem; border-radius: 999px; border: 2px solid #0f172a; background: #f2a900; color: #0f172a; cursor: pointer; }
.live-reload:hover, .live-reload:focus-visible { background: #ffc233; outline: none; }

.moves-strip { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0.7rem 0.9rem; }
.moves-h { margin: 0 0 0.45rem; font-weight: 800; font-size: 1.02rem; color: #0f172a; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; align-items: baseline; }
.moves-sub { font-weight: 600; font-size: 0.95rem; color: #334155; }
.moves-empty { margin: 0; color: #1f2937; font-size: 0.98rem; font-weight: 600; }
.moves-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 0.45rem 0.9rem; }
.mv { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "arrow main line" "arrow main time"; align-items: center; gap: 0 0.55rem; padding: 0.45rem 0.6rem; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 0.98rem; color: #0f172a; }
.mv-arrow { grid-area: arrow; font-weight: 900; font-size: 1.15rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; }
.mv-up .mv-arrow { background: #dcfce7; color: #14532d; }
.mv-down .mv-arrow { background: #fee2e2; color: #7f1d1d; }
.mv-main { grid-area: main; min-width: 0; overflow-wrap: anywhere; }
.mv-main strong { font-weight: 800; }
.mv-app { display: inline-block; font-weight: 800; font-size: 0.85rem; padding: 0.05rem 0.4rem; border-radius: 6px; background: #0f172a; color: #ffffff; letter-spacing: 0.02em; }
.mv-line { grid-area: line; font-weight: 800; white-space: nowrap; text-align: right; }
.mv-time { grid-area: time; font-weight: 600; color: #334155; font-size: 0.9rem; text-align: right; white-space: nowrap; }
.lh-live--compact .live-badge { display: inline-flex; }

/* ---- Hit-rate tones (amber middle) ---- */
.props-table td.tr-mid, .trends-table td.tr-mid { background: #fff4d6; }
.props-table td.tr-mid strong, .trends-table td.tr-mid strong { color: #7a4100; }
.props-table tbody tr:nth-child(even) td.tr-mid { background: #ffefc7; }
.trends-table td.tr-good { background: #e3f4e8; }
.trends-table td.tr-good strong { color: #14532d; }
.trends-table td.tr-bad { background: #fbeaec; }
.trends-table td.tr-bad strong { color: #7f1d1d; }
.trend-legend .sw.mid, #props-explorer .trend-legend .sw.mid, #prop-trends .trend-legend .sw.mid { background: #ffe7a8 !important; box-shadow: inset 0 0 0 2px #7a4100 !important; }
#prop-trends .trend-legend .sw.good { background: #c8ebd2; box-shadow: inset 0 0 0 2px #146c2e; }
#prop-trends .trend-legend .sw.bad { background: #f4c9ce; box-shadow: inset 0 0 0 2px #9f1d2c; }
.hit-fill.mid { background: #d97706; }
.hit-fill.low { background: #b91c1c; }
.hit-fill.high { background: #15803d; }

/* ---- Gap tags (Discount / Bumped) + books button ---- */
.gap-tag { display: inline-block; margin: 0.25rem 0.3rem 0 0; padding: 0.1rem 0.45rem; border-radius: 6px; font-weight: 800; font-size: 0.88rem; line-height: 1.3; white-space: nowrap; border: 1.5px solid currentColor; }
.gap-disc { color: #14532d; background: #dcfce7; }
.gap-bump { color: #7f1d1d; background: #fee2e2; }
.gap-even { color: #1e293b; background: #f1f5f9; }
.bk-pill { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.3rem; font: inherit; font-weight: 800; font-size: 0.9rem; padding: 0.15rem 0.6rem; border-radius: 999px; border: 2px solid #0b1f3a; background: #ffffff; color: #0b1f3a; cursor: pointer; white-space: nowrap; }
.bk-pill:hover, .bk-pill:focus-visible { background: #0b1f3a; color: #ffffff; outline: none; }
.bk-pill[aria-expanded="true"] { background: #0b1f3a; color: #ffffff; }
.props-table td.books-cell .gap-tag { display: block; width: max-content; }
.props-table td.books-cell .bk-pill { display: flex; width: max-content; }

/* ---- Book-by-book grid (inside the expanded row) ---- */
.bk-grid { margin: 0.2rem 0 1rem; padding: 0.85rem 0.95rem; border: 2px solid #0b1f3a; border-radius: 12px; background: #ffffff; color: #0f172a; }
.bk-head { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; align-items: baseline; margin-bottom: 0.35rem; }
.bk-head strong { font-size: 1.05rem; font-weight: 800; }
.bk-head span { font-weight: 700; color: #1f2937; font-size: 0.98rem; }
.bk-sum { margin: 0 0 0.55rem; font-size: 1rem; color: #0f172a; }
.bk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bk-table { width: 100%; min-width: 22rem; border-collapse: collapse; font-size: 0.98rem; }
.bk-table th, .bk-table td { padding: 0.4rem 0.55rem; border-bottom: 1px solid #e2e8f0; text-align: left; color: #0f172a; }
.bk-table thead th { font-weight: 800; background: #f1f5f9; border-bottom: 2px solid #cbd5e1; }
.bk-table tbody th { font-weight: 700; }
.bk-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bk-table td.bk-ours { font-weight: 800; background: #fff6dc; }
.bk-table .gap-tag { margin: 0; }
.bk-foot { margin: 0.55rem 0 0; font-size: 0.95rem; color: #1f2937; }

/* ---- Injury badges ---- */
.inj-badge { display: inline-block; margin-left: 0.35rem; padding: 0.05rem 0.45rem; border-radius: 6px; font-weight: 800; font-size: 0.86rem; line-height: 1.35; vertical-align: 0.08rem; border: 1.5px solid currentColor; white-space: nowrap; }
.inj-out { background: #7f1d1d; color: #ffffff; border-color: #7f1d1d; }
.inj-d { background: #fee2e2; color: #7f1d1d; }
.inj-q { background: #fef3c7; color: #713f12; }
.inj-dtd { background: #e0f2fe; color: #0c4a6e; }
.lh-inj td.inj-upd { white-space: nowrap; font-weight: 600; }

/* ---- Best gaps ---- */
.gaps-banner { display: grid; gap: 0.25rem; margin: 0.6rem 0 0.8rem; padding: 0.75rem 0.95rem; border-radius: 12px; background: #fff6dc; border: 2px solid #7a4f00; color: #0f172a; font-size: 1rem; }
.gaps-banner[hidden] { display: none; }
.gaps-banner strong { font-size: 1.05rem; font-weight: 800; }
.gaps-banner a { color: #0b1f3a; font-weight: 800; }
.gap-detail { display: block; margin-top: 0.25rem; font-weight: 700; font-size: 0.9rem; color: #1f2937; white-space: normal; }
.edge-bump { color: #7a2e00 !important; font-weight: 800 !important; }
a.trends-link { text-decoration: none; display: inline-flex; align-items: center; }

/* ---- Prop Trends page ---- */
.research-note { margin: 0 0 0.9rem; padding: 0.75rem 0.95rem; border-radius: 12px; background: #e0f2fe; border: 2px solid #0c4a6e; color: #0f172a; font-size: 1rem; }
.research-note strong { font-weight: 800; }
.trends-table { width: 100%; border-collapse: collapse; background: #ffffff; }
.trends-table th, .trends-table td { padding: 0.6rem 0.65rem; border-bottom: 1px solid #e2e8f0; color: #0f172a; text-align: left; vertical-align: middle; font-size: 1rem; }
.trends-table thead th { background: #0b1f3a; color: #ffffff; font-weight: 800; }
.trends-table .num { text-align: right; }
.trends-table .sub { display: block; font-size: 0.92rem; color: #334155; font-weight: 600; }
.trends-table .tr-n { display: block; font-size: 0.88rem; color: #1f2937; font-weight: 600; }
.trends-table .player-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.trends-table a { color: #0b1f3a; font-weight: 800; }
.tl-games { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tl-g { display: inline-grid; place-items: center; min-width: 2.2rem; padding: 0.15rem 0.35rem; border-radius: 7px; font-weight: 800; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.tl-g.is-hit { background: #15803d; color: #ffffff; }
.tl-g.is-miss { background: #f1f5f9; color: #0f172a; box-shadow: inset 0 0 0 1.5px #94a3b8; }
@media (max-width: 760px) {
  .trends-table thead { display: none; }
  .trends-table, .trends-table tbody, .trends-table tr, .trends-table td { display: block; width: 100%; }
  .trends-table tr { border: 1px solid #cbd5e1; border-radius: 12px; margin: 0 0 0.7rem; padding: 0.45rem 0.6rem; background: #ffffff; }
  .trends-table td { border: 0; padding: 0.3rem 0.1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; text-align: right; }
  .trends-table td.player-cell { display: block; text-align: left; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.45rem; margin-bottom: 0.2rem; }
  .trends-table td[data-l]:not(.player-cell)::before { content: attr(data-l); font-weight: 800; color: #0f172a; text-align: left; }
  .trends-table td.num { text-align: right; }
  .trends-table td.tr-cell strong, .trends-table td.tr-cell .tr-n { display: inline; margin-left: 0.3rem; }
  .trends-table td.prop-empty, .trends-table td.lock-cell { display: block; text-align: left; }
  .moves-list { grid-template-columns: 1fr; }
  .bk-table { min-width: 0; font-size: 0.95rem; }
  .bk-table th, .bk-table td { padding: 0.35rem 0.35rem; }
}

/* Book grid inside the wide props table: own clean styles, never inherit header colors. */
.props-table .bk-grid { max-width: 46rem; white-space: normal; }
.props-table .bk-table thead th, .bk-table thead th { background: #f1f5f9 !important; color: #0f172a !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.95rem !important; position: static !important; border-left: 0 !important; box-shadow: none !important; }
.props-table .bk-table tbody th, .bk-table tbody th { background: #ffffff !important; color: #0f172a !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.98rem !important; font-weight: 700 !important; position: static !important; box-shadow: none !important; }
.props-table .bk-table td { background: #ffffff; color: #0f172a; font-size: 0.98rem; position: static; }
.props-table .bk-table td.bk-ours { background: #fff6dc; }
.props-table tr.prop-detail td { white-space: normal; }
/* Trend card labels: readable size */
.trend-hit .lbl, .trend-line-mark, .trend-lab, .trend-val { font-size: 0.82rem !important; color: #0f172a; }
.trend-foot { font-size: 0.92rem !important; color: #1f2937 !important; }

/* nightly 20261129: trends lock row wraps at 390 */
.trends-table td.lock-cell, .trends-table td.lock-cell a { white-space: normal; overflow-wrap: anywhere; display: block; line-height: 1.35; max-width: 100%; }
