/* Fantasy Chalk Talk hub sections (DFS, cards, Responsible Play): shared bits on top of the editorial CSS. */
.fct-hub h1 { text-wrap: balance; }
.fct-hub .fct-table-scroll .rankings-table { overflow: visible; } /* the shared overflow: hidden stopped sticky first columns */
.fct-hub-note { margin: 1.6rem 0 .4rem; padding: .85rem 1.1rem; border: 1px solid var(--ffn-ed-border); border-left: 4px solid var(--ffn-ed-accent); border-radius: .75rem; background: var(--ffn-ed-surface); }
.fct-hub-note p { margin: 0; color: var(--ffn-ed-text-muted); font-size: .92rem; line-height: 1.55; }
.fct-hub-note a { color: var(--ffn-ed-accent); font-weight: 700; text-underline-offset: 3px; }
.fct-hub-article { max-width: 72ch; font-size: 1.04rem; line-height: 1.7; color: var(--ffn-ed-text); }
.fct-hub-article h2 { margin: 1.8rem 0 .5rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.fct-hub-article h3 { margin: 1.3rem 0 .35rem; font-size: 1.05rem; font-weight: 800; }
.fct-hub-article p, .fct-hub-article ul, .fct-hub-article ol { margin: 0 0 .9rem; }
.fct-hub-article li { margin: .25rem 0; }
.fct-hub-article a { color: var(--ffn-ed-accent); font-weight: 600; text-underline-offset: 3px; }
.fct-hub-article table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 1rem; font-size: .94rem; }
.fct-hub-article th, .fct-hub-article td { padding: .45rem .7rem; border-bottom: 1px solid var(--ffn-ed-border); text-align: left; white-space: nowrap; }
.fct-hub-article h2:first-child { margin-top: 0; }
.fct-hub-tool label { display: grid; gap: .25rem; font-weight: 700; font-size: .9rem; }
.fct-hub-tool input, .fct-hub-tool select { min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--ffn-ed-border-strong); border-radius: .6rem; background: var(--ffn-ed-surface); color: var(--ffn-ed-text); font: inherit; width: 100%; box-sizing: border-box; }
.fct-hub-tool button { min-height: 44px; padding: .55rem 1.1rem; border: 0; border-radius: var(--ffn-ed-radius-pill); background: var(--ffn-ed-accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.fct-hub-tool button[disabled] { opacity: .5; cursor: default; }
.fct-hub-tool button.is-quiet { background: none; color: var(--ffn-ed-accent); border: 1px solid var(--ffn-ed-border-strong); }
.fct-hub-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin: 0 0 1rem; }
.fct-hub-result { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: .75rem; background: var(--ffn-ed-accent-soft); line-height: 1.6; }
.fct-hub-result strong { color: var(--ffn-ed-accent); }
html[data-theme="dark"] .fct-hub-tool button:not(.is-quiet) { color: #07101f; }

/* Responsible Play: both tap targets sit in the first phone screen, so the headline shrinks and the breadcrumb goes. */
main.fct-hub.fct-hub--play.ffn-pilot-page .ffn-page-headline { margin: 0 0 .7rem; }
main.fct-hub.fct-hub--play.ffn-pilot-page .ffn-page-headline-title { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
main.fct-hub.fct-hub--play.ffn-pilot-page .ffn-page-headline-sub { margin-top: .3rem; font-size: 1rem; line-height: 1.4; }
.fct-hub--play #call-now { margin-top: 0; }
.fct-call { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: .7rem; }
.fct-call-box { padding: .75rem .9rem .85rem; border: 1px solid var(--ffn-ed-border); border-radius: .85rem; background: var(--ffn-ed-surface); color: var(--ffn-ed-text); }
.fct-call-box h2 { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.fct-call-box p { margin: .5rem 0 0; font-size: .95rem; line-height: 1.45; }
.fct-call-box p a { color: var(--ffn-ed-accent); font-weight: 700; text-underline-offset: 3px; }
.fct-hub--play :is(p, li) a[href^="tel:"] { white-space: nowrap; }
.fct-call-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.fct-call-btn { box-sizing: border-box; display: grid; align-content: center; justify-items: center; min-height: 64px; padding: .3rem; border-radius: .7rem; background: var(--ffn-ed-accent); color: #fff; line-height: 1.2; text-align: center; text-decoration: none; }
.fct-call-btn:hover { color: #fff; }
.fct-call-btn strong { font-size: 1.3rem; font-weight: 800; }
.fct-call-btn span { font-size: .95rem; font-weight: 700; }
.fct-call-btn:focus-visible { outline: 3px solid var(--ffn-ed-text); outline-offset: 2px; }
html[data-theme="dark"] .fct-call-btn, html[data-theme="dark"] .fct-call-btn:hover { color: #07101f; }
@media (max-width: 640px) { .fct-hub--play .ffn-pilot-breadcrumbs { display: none; } }

/* Shared pieces of the hub pages (redesign 2026-11-06). The two objects: a coach's chalkboard and the note written on it. */
.fct-hub { --board: #0b1a33; --board-line: #2b3d5e; --chalk: #eaf1ff; --chalk-dim: #a9bad6; --pylon: #f4610f; --pylon-soft: #ffa04d; }
html[data-theme="dark"] .fct-hub { --board: #13294d; --board-line: #33507f; }
.fct-hub [hidden] { display: none !important; } /* the shared label and card rules set display, which beats the browser's own [hidden] */
.fct-hub a:focus-visible, .fct-hub summary:focus-visible { outline: 3px solid var(--ffn-ed-accent); outline-offset: 2px; border-radius: .3rem; }

.fct-slate { position: relative; border-radius: 1.1rem; background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .05), transparent 60%), var(--board); color: var(--chalk); }
.fct-hand { font-family: var(--ffn-ed-font-hand); font-weight: 700; }

.fct-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1rem; margin: 0 0 .9rem; }
.fct-head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; color: var(--ffn-ed-text); }
.fct-head p { margin: 0; font: 700 1.3rem/1.15 var(--ffn-ed-font-hand); color: var(--ffn-ed-accent); }

.fct-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.fct-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.3rem; border-radius: var(--ffn-ed-radius-pill); background: var(--ffn-ed-accent); color: #fff; font-size: .98rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.fct-btn:hover { color: #fff; filter: brightness(1.1); }
.fct-btn.is-quiet { background: none; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--ffn-ed-accent); }
.fct-btn.is-quiet:hover { color: var(--ffn-ed-accent); filter: none; background: var(--ffn-ed-accent-soft); }
.fct-slate .fct-btn.is-quiet, .fct-slate .fct-btn.is-quiet:hover { color: var(--chalk); }
html[data-theme="dark"] .fct-btn:not(.is-quiet), html[data-theme="dark"] .fct-btn:not(.is-quiet):hover { color: #07101f; }

/* Guides: a reading column and, on wide screens, a rail that stays in view. */
.fct-guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3.5rem; align-items: start; } /* minmax: a wide table scrolls in its own box instead of widening the page's text */
.fct-hub-article h2 { scroll-margin-top: 6rem; }
.fct-guide-rail { display: none; }
.fct-guide-rail p { margin: 0 0 .4rem; font: 700 1.3rem/1 var(--ffn-ed-font-hand); color: var(--ffn-ed-accent); }
.fct-guide-rail ol, .fct-guide-fold ol { margin: 0; padding: 0; list-style: none; }
.fct-guide-rail li, .fct-guide-fold li { margin: .1rem 0; }
.fct-guide-rail a, .fct-guide-fold a { display: block; padding: .28rem 0; color: var(--ffn-ed-text-muted); font-size: .92rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.fct-guide-rail a:hover, .fct-guide-fold a:hover { color: var(--ffn-ed-accent); }
.fct-guide-fold { margin: 0 0 1.2rem; padding: .1rem 1rem; border: 1px solid var(--ffn-ed-border-strong); border-radius: .8rem; background: var(--ffn-ed-surface); }
.fct-guide-fold summary { min-height: 44px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.fct-guide-fold[open] { padding-bottom: .6rem; }
@media (min-width: 1040px) {
  .fct-guide { grid-template-columns: minmax(0, 68ch) minmax(13rem, 18rem); justify-content: space-between; }
  .fct-guide-rail { display: block; position: sticky; top: 6rem; padding-left: 1.1rem; border-left: 2px dashed var(--ffn-ed-border-strong); }
  .fct-guide-fold { display: none; }
}

/* The next stop, at the foot of every page on the path. */
.fct-pager { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 2.4rem 0 0; }
.fct-pager a { display: grid; gap: .05rem; padding: .8rem 1.1rem .9rem; border-radius: .9rem; box-shadow: inset 0 0 0 1px var(--ffn-ed-border-strong); background: var(--ffn-ed-surface); color: var(--ffn-ed-text); text-decoration: none; }
.fct-pager a:hover { box-shadow: inset 0 0 0 1.5px var(--ffn-ed-accent); }
.fct-pager span { font: 700 1.25rem/1.1 var(--ffn-ed-font-hand); color: var(--ffn-ed-accent); }
.fct-pager strong { font-size: 1.08rem; font-weight: 800; line-height: 1.25; }
.fct-pager .is-next { background: var(--board); color: var(--chalk); box-shadow: none; text-align: right; }
.fct-pager .is-next span { color: var(--pylon-soft); }

/* A fold that says what is inside. */
details.fct-fold { margin: .9rem 0 0; border-radius: .9rem; background: var(--ffn-ed-surface); box-shadow: inset 0 0 0 1px var(--ffn-ed-border-strong); }
details.fct-fold > summary { display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .55rem 1.1rem; font-weight: 800; line-height: 1.3; cursor: pointer; }
details.fct-fold > summary small { margin-left: auto; color: var(--ffn-ed-text-muted); font-size: .86rem; font-weight: 600; text-align: right; }
details.fct-fold[open] > summary { border-bottom: 1px solid var(--ffn-ed-border); }
.fct-fold-body { padding: .9rem 1.1rem 1.1rem; }

/* Radio chips: one tap beats a dropdown when the choices all fit. */
.fct-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.fct-chips legend { float: left; width: 4.2rem; padding: 0; font-size: .9rem; font-weight: 800; line-height: 44px; }
.fct-chips label { position: relative; }
.fct-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fct-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .95rem; border-radius: var(--ffn-ed-radius-pill); background: var(--ffn-ed-surface); box-shadow: inset 0 0 0 1px var(--ffn-ed-border-strong); color: var(--ffn-ed-text); font-size: .93rem; font-weight: 700; white-space: nowrap; }
.fct-chips input:hover + span { box-shadow: inset 0 0 0 1.5px var(--ffn-ed-accent); }
.fct-chips input:checked + span { background: var(--ffn-ed-accent); box-shadow: none; color: #fff; }
.fct-chips input:focus-visible + span { outline: 3px solid var(--ffn-ed-accent); outline-offset: 2px; }
html[data-theme="dark"] .fct-chips input:checked + span { color: #07101f; }

/* Inner pages: the headline makes room for the tool under it. */
main.fct-hub.ffn-pilot-page .ffn-page-headline { margin-bottom: 1.1rem; }
main.fct-hub.ffn-pilot-page .ffn-page-headline-title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1; }
details.fct-fold > summary::after { content: ""; flex: none; width: .6rem; height: .6rem; margin-left: .3rem; border-right: 2.5px solid var(--ffn-ed-accent); border-bottom: 2.5px solid var(--ffn-ed-accent); transform: rotate(45deg) translate(-2px, -2px); }
details.fct-fold[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.fct-fold > summary::-webkit-details-marker { display: none; }

.fct-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.fct-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--ffn-ed-radius-pill); background: var(--ffn-ed-surface); box-shadow: inset 0 0 0 1px var(--ffn-ed-border-strong); color: var(--ffn-ed-text); font-size: .93rem; font-weight: 700; text-decoration: none; }
.fct-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--ffn-ed-accent); color: var(--ffn-ed-accent); }
.fct-lead { max-width: 68ch; margin: 0; color: var(--ffn-ed-text); font-size: 1.1rem; line-height: 1.6; }
.fct-read-on { margin: 2.6rem 0 0; }
.fct-read-on + .fct-hub-prose { margin-top: .7rem; }
.fct-plain-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .3rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.fct-plain-links a { display: grid; gap: .1rem; padding: .7rem 0 .8rem; border-top: 2px solid var(--ffn-ed-border-strong); color: var(--ffn-ed-text); text-decoration: none; }
.fct-plain-links a:hover { border-top-color: var(--ffn-ed-accent); }
.fct-plain-links strong { font-weight: 800; }
.fct-plain-links span { color: var(--ffn-ed-text-muted); font-size: .93rem; line-height: 1.45; }

/* FCT Weekly on a hub page: the band goes on the board, because hub pages have no sport drawing to sit beside it. */
.fct-hub .ffn-home-newsletter-section { margin-top: 2.2rem; }
.fct-hub .ffn-home-newsletter-band { display: block; max-width: none; padding: 1.3rem 1.5rem; border: 0; border-radius: 1.1rem; background: var(--board); box-shadow: none; }
.fct-hub .ffn-nl-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 27rem); gap: .9rem 2rem; align-items: center; }
.fct-hub .ffn-home-newsletter-label { display: none; }
.fct-hub .ffn-home-newsletter-title { margin: 0 0 .25rem; color: var(--chalk); font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.fct-hub .ffn-home-newsletter-blurb { margin: 0; color: var(--chalk-dim); font-size: .96rem; line-height: 1.45; }
@media (max-width: 760px) { .fct-hub .ffn-nl-main { grid-template-columns: minmax(0, 1fr); } }

/* Beside a page title: the binder card that led here, or a coach's note on a slate. Wide screens only have the room. */
.fct-head-note { display: none; margin: 0; padding: .7rem 1.1rem .8rem; color: var(--chalk); font: 700 1.6rem/1.1 var(--ffn-ed-font-hand); text-align: center; transform: rotate(-1.2deg); }
@media (min-width: 900px) {
  main.fct-hub.ffn-pilot-page .ffn-page-headline:has(.fct-head-note, .fct-head-card) { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
  .fct-head-note { display: block; flex: 0 1 20rem; }
}
