/* =====================================================================
   DENSITY PASS (FF-27, John Nov 18 2026)
   Loaded last. Pulls the props board up, trims chrome, keeps the tools.
   Homepage hero is left alone; only the sections under it tighten.
   ===================================================================== */

/* ---- Tool page banners: compact title, not a hero ---- */
.page-banner {
  min-height: 0 !important;
}
.page-banner .hero-inner {
  padding: 0.5rem 0 0.4rem !important;
  max-width: none !important;
}
.page-banner h1 {
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
  letter-spacing: 0;
}
.page-banner .kicker {
  margin: 0 0 0.12rem;
  font-size: 0.68rem;
}

/* ---- Sport subnav + slate: less air ---- */
.sport-subnav { margin: 0 0 0.4rem !important; }
.sport-subnav-inner { padding: 0.35rem 0 !important; gap: 0.3rem !important; }
.sport-subnav a {
  font-size: 0.86rem !important;
  padding: 0.38rem 0.8rem !important;
}
.st-slate { margin: 0 0 0.45rem; }
.st-lede {
  margin: 0 0 0.45rem !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
  max-width: none;
  color: var(--muted, #6b7280) !important;
}
.st-meta { margin: 0 0 0.55rem !important; }

/* ---- Sections: board starts higher ---- */
main .section { padding: 0.55rem 0 0.35rem !important; }
main .section-head { margin-bottom: 0.45rem; }
main .section-head h2, main h2 { font-size: 1.35rem; }
.section-note { font-size: 0.88rem !important; }

/* ---- One compact toolbar: app + player search + pos + team ---- */
.filters.sport-props-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.45rem 0.85rem;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.filters.sport-props-filters .filter-bar {
  display: block;
  grid-template-columns: none;
  width: auto;
  flex: 1 1 14rem;
  max-width: 22rem;
  min-width: 12rem;
}
[data-sport-props] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
  align-items: center;
}
@media (min-width: 800px) {
  [data-sport-props] {
    grid-template-columns: auto minmax(0, 1fr);
  }
  [data-sport-props] > .app-filter { grid-column: 1; margin: 0; }
  [data-sport-props] > .sport-props-filters { grid-column: 2; }
  [data-sport-props] > .prop-cards,
  [data-sport-props] > .trend-legend,
  [data-sport-props] > div:has(> .trend-legend),
  [data-sport-props] > .table-wrap,
  [data-sport-props] > .lh-table-wrap,
  [data-sport-props] > .hub-player-links,
  [data-sport-props] > .hub-player-browse,
  [data-sport-props] > .section-note,
  [data-sport-props] > .lh-table-filters { grid-column: 1 / -1; }
}
[data-sport-props] > .app-filter { margin: 0; }
.sport-props-filters .lh-table-filters,
.sport-props-filters [data-lh-sport-filters] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin: 0;
}
.lh-table-filters { margin: 0 0 0.35rem; }

/* ---- Slim strip already defined in explorer.css; keep it tight ---- */
.prop-cards.prop-cards-strip { margin: 0; }
.prop-strip { margin: 0 !important; }

/* ---- Trend legend: one compact line ---- */
.trend-legend {
  margin: 0 0 0.35rem !important;
  gap: 0.25rem 0.9rem !important;
  font-size: 0.78rem !important;
}
.trend-legend span { white-space: nowrap; }

/* ---- Denser board rows (DFF-like, still readable) ---- */
.props-table td, table.data td, .st-table td { padding: 0.55rem 0.6rem !important; }
.props-table th, table.data th, .st-table th { padding: 0.55rem 0.6rem !important; }

/* ---- Explorer: less preamble ---- */
#props-explorer > .sample-strip {
  margin: 0 0 0.5rem !important;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.82rem !important;
}
#props-explorer > .hub-nav { margin: 0 0 0.45rem; }
#props-explorer .section-head { margin: 0 0 0.3rem; }
#props-explorer .filters { margin: 0 0 0.5rem; padding: 0.55rem 0.7rem; }
#props-explorer .filter-count { margin: 0 0 0.3rem; }

/* ---- Player links + “open in explorer”: shrink, don’t compete with the board ---- */
.hub-player-links { margin-top: 0.6rem; font-size: 0.86rem; }
.hub-player-links h3 { font-size: 0.92rem; margin: 0 0 0.3rem; }

/* ---- Compliance: keep the required band, less padding ---- */
.compliance-band { padding: 1.25rem 0 1.15rem !important; margin-top: 1.4rem !important; }
.play-notice { font-size: 0.82rem !important; line-height: 1.45 !important; margin: 0.4rem 0 0 !important; }
.callout .play-notice { margin: 0 !important; }
.play-notice-short { font-size: 0.8rem !important; }

/* Mid-page duplicate notices are removed in HTML on sport hubs; if any remain, don’t let them balloon */
.section .callout:has(.play-notice) { margin-top: 0.8rem; padding: 0.55rem 0.8rem; }

/* ---- Homepage under the hero ---- */
.hero + .section,
.hero ~ .section.slate-section { padding-top: 1.1rem !important; }
.home-duo, #top-picks, #todays-slate { padding-top: 0.7rem !important; padding-bottom: 0.45rem !important; }
#todays-slate .section-head { margin-bottom: 0.5rem; }
.fp-head { margin-bottom: 0.35rem; }
#picks-note { margin-bottom: 0.45rem; }
.fp-more { margin: 0.45rem 0 0.3rem; }

@media (max-width: 639px) {
  .page-banner .hero-inner { padding: 0.45rem 0 0.35rem !important; }
  .page-banner h1 { font-size: 1.2rem !important; }
  .filters.sport-props-filters .filter-bar,
  .filters.sport-props-filters { max-width: none; width: 100%; flex-basis: 100%; }
  .trend-legend span { white-space: normal; }
  .props-table td, table.data td { padding: 0.5rem 0.55rem !important; }
}

/* Hide the trend-legend wrapper space when the board is empty */
[data-sport-props] .trend-legend[hidden],
[data-sport-props] div:has(> .trend-legend[hidden]) { display: none !important; margin: 0 !important; }

@media (max-width: 639px) {
  .prop-strip { gap: 0.2rem 0.45rem !important; padding: 0.32rem 0.6rem !important; font-size: 0.82rem !important; }
  .prop-strip .team-badge { display: none; }
  .prop-strip-cta { padding: 0.16rem 0.5rem; font-size: 0.7rem; }
}
@media (max-width: 639px) {
  .prop-strip-dot { display: none; }
}

/* Tighter game-strip chips so the board comes up, especially on phones */
.st-slate-inner { padding: 0.35rem 0 0.4rem !important; }
.st-slate button { padding: 0.4rem 0.65rem 0.42rem !important; min-width: 7.1rem; }
@media (max-width: 639px) {
  .st-slate button { padding: 0.32rem 0.5rem !important; min-width: 6.2rem; }
}


/* Original Hawk Talk card — do not let dense/fullwidth shrink it. */
.hawk-talk-card .hawk-talk-head { margin-bottom: 0.85rem; }
.hawk-talk-card .hawk-talk-head h2,
#hawk-talk-heading {
  font-size: 1.7rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
}
.hawk-talk-card .hawk-talk-line,
#hawk-talk-line {
  font-size: 1.22rem !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  letter-spacing: -0.015em;
  color: var(--ink, #132033);
}
.hawk-talk-card .hawk-talk-plain { font-size: 1.05rem !important; font-weight: 500; line-height: 1.55; color: var(--ink, #132033); }
.hawk-talk-card .hawk-talk-note { font-size: 0.88rem !important; font-weight: 600; color: var(--muted); }
.hawk-talk-card { padding: 1.5rem 1.7rem 1.4rem; max-width: 52rem; }
.home-duo .hawk-talk-card { max-width: none; width: 100%; }
@media (max-width: 639px) {
  .hawk-talk-card { padding: 1.2rem 1.15rem 1.15rem; }
  .hawk-talk-card .hawk-talk-head h2,
  #hawk-talk-heading { font-size: 1.45rem !important; }
  .hawk-talk-card .hawk-talk-line,
  #hawk-talk-line { font-size: 1.08rem !important; }
}


/* Duo typography floors (FF-34): smaller text must stay readable; do not shrink Hawk Talk / player / line. */
.hawk-talk-head .kicker { font-size: 16px !important; font-weight: 800; }
.fp-head .kicker { font-size: 16px !important; }
.fp-block .section-note { font-size: 17px !important; }
.fp-reason { font-size: 18px !important; }
.fp-book { font-size: 17px !important; }
.fp-sport, .fp-card .team-badge, .fp-card .conf-badge { font-size: 14px !important; }
.fp-replaced, .fp-move { font-size: 16px !important; }
.fp-pulled { font-size: 17px !important; }
.fp-pulled strong { font-size: 16px !important; }
.fp-more, .fp-more-inline, .fp-more a { font-size: 18px !important; }
.home-duo .play-notice-short, .play-notice-short { font-size: 17px !important; }

/* ===== FF-36 header fit + FF-38 larger type =====
   Terms, Guides, Tip of the Day, DFS Tools and News leave the top bar on desktop
   (they're in the More menu, and also in the footer). The phone menu (<980px)
   still lists every item; More is hidden there. Type is 18px from 980px and
   20px from 1280px, with tighter padding so the bar does not overflow. */
.nav-more { display: none; }
.nav-dd-heading {
  margin: 0.35rem 0.65rem 0.15rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-more .nav-dd-menu {
  right: 0;
  left: auto;
  min-width: 13.5rem;
  padding: 0.35rem 0.3rem 0.4rem;
}
.nav-more .nav-dd-menu a,
.nav-more .nav-dd-menu .nav-tip-btn {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  padding: 0.5rem 0.7rem;
  border: 0;
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
}
.nav-more .nav-dd-menu a:hover,
.nav-more .nav-dd-menu a:focus-visible,
.nav-more .nav-dd-menu .nav-tip-btn:hover,
.nav-more .nav-dd-menu .nav-tip-btn:focus-visible {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

/* Phone / hamburger menu: keep every item, bump type to at least 18px. */
@media (max-width: 979px) {
  .nav-more { display: none !important; }
  .nav-group a, .nav-tip-btn, .nav-dd-toggle,
  .nav-sport > .nav-sport-link {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
  }
  .header-actions .btn { font-size: 18px; font-weight: 800; padding: 0.62rem 1rem; }
  .nav-glossary-search input[type="search"] { font-size: 18px; font-weight: 700; color: var(--ink); height: 2.75rem; }
  .nav-label { font-size: 0.78rem; color: #334155; }
}

@media (min-width: 980px) {
  .header-inner { gap: 0.5rem; }
  .nav-panel { gap: 0.5rem; }
  .nav-groups { gap: 0 0.3rem; justify-content: center; }
  .nav-group { gap: 0; }
  .nav-group a.nav-lowpri,
  .nav-more-src { display: none !important; }
  .nav-more { display: inline-block; }
  .nav-group > a, .nav-group > .nav-tip-btn, .nav-group > .nav-dd > .nav-dd-toggle,
  .nav-sport > .nav-sport-link {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 0.38rem 0.22rem;
    color: var(--ink);
  }
  .nav-sport .nav-sport-link { padding-right: 0.1rem; }
  .nav-sport > .nav-dd-toggle { width: 1.1rem; padding-left: 0; padding-right: 0.08rem; margin-left: 0; }
  .header-actions { gap: 0.35rem; flex-shrink: 0; margin-left: 0; }
  .header-actions .btn { font-size: 18px; font-weight: 800; padding: 0.45rem 0.7rem; }
  .brand-name { display: none; }
  /* Search collapses to a round icon button that opens the glossary */
  .nav-glossary-search input[type="search"] { display: none; }
  .nav-glossary-search button {
    position: static; transform: none; width: 2.25rem; height: 2.25rem;
    border: 1px solid var(--line); color: var(--ink);
  }
}
@media (min-width: 1280px) {
  .header-inner { gap: 0.75rem; }
  .nav-panel { gap: 0.65rem; }
  .nav-groups { gap: 0 0.4rem; }
  .nav-group > a, .nav-group > .nav-tip-btn, .nav-group > .nav-dd > .nav-dd-toggle,
  .nav-sport > .nav-sport-link { font-size: 20px; padding: 0.4rem 0.28rem; }
  .nav-sport .nav-sport-link { padding-right: 0.12rem; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn { font-size: 20px; padding: 0.48rem 0.85rem; }
  .nav-glossary-search input[type="search"] {
    display: block; width: 9.2rem; font-size: 16px; font-weight: 700; color: var(--ink); height: 2.35rem;
  }
  .nav-glossary-search button { position: absolute; transform: translateY(-50%); width: 1.85rem; height: 1.85rem; border: 0; color: var(--ink); }
}
@media (min-width: 1600px) {
  .brand-name { display: inline; font-size: 1.2rem; }
  .nav-glossary-search input[type="search"] { width: 11rem; font-size: 17px; }
}

/* ===== FF-37 pricing fit: plan cards stay inside the viewport =====
   The 4 plan columns were sized by their content (1fr = auto min), so the last card ran
   past the right edge at 1080-1300px. Columns may now shrink; 2x2 until there's room for 4. */
.price-grid.plans { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .price-grid.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .price-grid.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price-card { min-width: 0; }
.price-card .btn { white-space: normal; max-width: 100%; }
.price-card .plan-for, .price-card li { color: #1f2937; }
