/* The football pages (/football/). The site allows no inline styles, so the charts are styled from here too. */

.fb-page { --fb-turf: #14382c; --fb-lime: #ccf06e; --fb-rush: #ff8d6b; --fb-green: #1f7a55; --fb-soft-ink: #5a5a55; }

.fb-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; padding: 56px 0 64px; }
.fb-hero-plain { grid-template-columns: minmax(0, 820px); }
.fb-crumbs { font-size: 13px; font-weight: 700; color: var(--app-accent); }
.fb-crumbs a { text-decoration: none; }
.fb-crumbs a:hover { text-decoration: underline; }
.fb-crumbs span { margin: 0 6px; opacity: 0.6; }
.fb-hero h1 { margin: 18px 0 20px; font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.fb-lede { max-width: 620px; margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 20px; line-height: 1.5; }
.fb-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fb-jump a { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.fb-jump a:hover { border-color: var(--app-accent); color: var(--app-accent); }

.fb-figure { margin: 0; }
.fb-figure figcaption { margin-top: 12px; color: rgba(255, 255, 255, 0.72); font-size: 13px; line-height: 1.45; }
.fd-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.fd-legend li { display: flex; align-items: center; gap: 7px; }

/* The drawings are pictures (/football/diagrams/), so that they can be found and shared as pictures too. */
.fd { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }

/* The key under a drawing. */
.fd-key { display: inline-block; width: 22px; height: 0; border-top: 2px solid #fff; }
.fd-key-o, .fd-key-of { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; }
.fd-key-of { border-color: rgba(255, 255, 255, 0.45); }
.fd-key-x, .fd-key-xb { width: auto; height: auto; border: 0; font-weight: 700; line-height: 1; }
.fd-key-x::before, .fd-key-xb::before { content: "\00d7"; font-size: 18px; }
.fd-key-x { opacity: 0.55; }
.fd-key-primary { border-top: 3px solid var(--fb-lime); }
.fd-key-carry { border-top: 4px solid var(--fb-lime); }
.fd-key-block { border-top-color: rgba(255, 255, 255, 0.62); position: relative; }
.fd-key-block::after { content: ""; position: absolute; right: -1px; top: -7px; height: 12px; border-right: 2px solid rgba(255, 255, 255, 0.62); }
.fd-key-motion { border-top: 2px dashed var(--fb-lime); }
.fd-key-read { width: 14px; height: 14px; border: 2px dashed var(--fb-lime); border-radius: 50%; }
.fd-key-zone { width: 22px; height: 13px; border: 1px solid rgba(204, 240, 110, 0.7); border-radius: 50%; background: rgba(204, 240, 110, 0.2); }
.fd-key-man { border-top: 2px dashed #fff; }
.fd-key-rush { border-top: 3px solid var(--fb-rush); }
.fd-key-pass { border-top: 3px dotted var(--fb-lime); }

/* On the first page: the search box, the tools and the row of sections. */
.fb-find { display: grid; gap: 8px; max-width: 420px; margin-top: 30px; }
.fb-find label { color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 700; }
.fb-find input { width: 100%; padding: 14px 16px; border: 2px solid transparent; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.fb-find input:focus { border-color: var(--fb-lime); outline: 2px solid var(--fb-lime); outline-offset: 0; }
.fb-tools { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.fb-tools a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: #fff; text-decoration: none; transition: border-color 160ms ease, background 160ms ease; }
.fb-tools a:hover { border-color: var(--fb-lime); background: rgba(255, 255, 255, 0.09); }
.fb-tools strong { color: var(--fb-lime); font-size: 20px; line-height: 1.2; }
.fb-tools span { color: rgba(255, 255, 255, 0.84); font-size: 15px; line-height: 1.45; }
.fb-jump-bar { border-bottom: 1px solid var(--line); background: #fff; }
.fb-jump-bar .section-shell { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 16px 0; }
.fb-jump-bar a { padding: 4px 0; color: #3c3c38; font-size: 14px; font-weight: 600; text-decoration: none; }
.fb-jump-bar a:hover { color: var(--ink); text-decoration: underline; }
.is-finding .fb-jump-bar { display: none; }
.is-finding .fb-group { padding-top: 32px; }
.is-finding .fb-group-intro { display: none; }
.fb-none { padding: 48px 0 0; font-size: 18px; }
.fb-languages { margin-top: 18px !important; }
.fb-fact { display: grid; gap: 12px; align-content: center; min-height: 260px; padding: 36px; border-radius: 14px; background: var(--fb-turf); color: #fff; }
.fb-fact strong { color: var(--fb-lime); font-size: clamp(56px, 7vw, 92px); line-height: 0.95; }
.fb-fact span { color: rgba(255, 255, 255, 0.86); font-size: 17px; line-height: 1.45; }

/* The words. */
.fb-body { padding: 72px 0 56px; }
.fb-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; }
.fb-prose h2, .fb-lists h2 { margin: 0 0 14px; font-size: 26px; line-height: 1.15; }
.fb-prose p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; }
.fb-prose-wide { max-width: 760px; }
.fb-prose-wide h2 { margin-top: 44px; }
.fb-prose-wide h2:first-child { margin-top: 0; }
.fb-prose a { font-weight: 600; }
.fb-prose h3 { margin: 30px 0 10px; font-size: 20px; line-height: 1.25; }
.fb-prose ul, .fb-prose ol { margin: 0 0 20px; padding-left: 24px; font-size: 18px; line-height: 1.6; }
.fb-prose li { margin: 0 0 9px; padding-left: 4px; }
.fb-prose li::marker { color: var(--fb-green); font-weight: 700; }
.fb-with-glance { display: grid; grid-template-columns: minmax(0, 760px) minmax(230px, 300px); justify-content: space-between; gap: 56px; align-items: start; }
.fb-with-glance .fb-prose { grid-column: 1; grid-row: 1; }
.fb-glance { grid-column: 2; grid-row: 1; position: sticky; top: 100px; padding: 22px 22px 10px; border-radius: 14px; background: var(--soft); }
.fb-glance h2 { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.fb-glance dl { margin: 0; }
.fb-glance div { padding: 12px 0; border-top: 1px solid var(--line); }
.fb-glance dt { margin: 0 0 3px; color: var(--fb-soft-ink); font-size: 13px; }
.fb-glance dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.fb-glance dd a { font-weight: 600; }

/* Pictures and films among the words. */
.fb-inline { max-width: 460px; margin: 30px 0 34px; }
.fb-inline-wide { max-width: 760px; }
.fb-inline .fd, .fb-figs .fd, .fb-signals .fd { border-radius: 10px; box-shadow: none; }
.fb-inline figcaption { margin-top: 10px; color: var(--fb-soft-ink); font-size: 14px; line-height: 1.5; }
.fb-prose .fd-legend { margin: 8px 0 0; padding: 0; color: #3c3c38; font-size: 13px; line-height: 1.5; }
.fb-prose .fd-legend li { margin: 0; padding: 0; }
.fb-inline .fd-key { border-color: #3c3c38; }
.fb-inline .fd-key-primary, .fb-inline .fd-key-carry, .fb-inline .fd-key-motion, .fb-inline .fd-key-read, .fb-inline .fd-key-pass { border-color: #6f9a12; }
.fb-inline .fd-key-zone { border-color: #8fb52f; background: rgba(143, 181, 47, 0.22); }
.fb-inline .fd-key-rush { border-color: #d4532b; }
.fb-prose .fb-figs, .fb-prose .fb-signals { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px 20px; margin: 24px 0 30px; padding: 0; list-style: none; }
.fb-prose .fb-figs li, .fb-prose .fb-signals li { display: flex; flex-direction: column; margin: 0; padding: 0; }
.fb-figs a { color: inherit; text-decoration: none; }
.fb-figs a:hover strong { text-decoration: underline; }
.fb-figs li > strong, .fb-figs a > strong, .fb-signals li > strong { display: block; margin: 10px 0 2px; font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.fb-figs span strong { color: #2c2c29; }
.fb-figs span, .fb-signals span { color: #4a4a46; font-size: 15px; line-height: 1.5; }
.fb-prose .fb-signals { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.fb-clip { margin: 28px 0 8px; }
.fb-clip video { display: block; width: 100%; height: auto; border-radius: 14px; background: #0a1a14; }
.fb-clip figcaption { margin-top: 10px; color: var(--fb-soft-ink); font-size: 14px; line-height: 1.5; }

.fb-lists section + section { margin-top: 40px; }
.fb-lists ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fb-lists li { padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }

.fb-numbers { padding: 64px 0; background: var(--soft); }
.fb-numbers h2 { max-width: 760px; margin: 10px 0 18px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.fb-numbers h3 { margin: 40px 0 12px; font-size: 20px; }
.fb-game-line { max-width: 760px; margin: 0 0 28px; font-size: 18px; line-height: 1.6; }
.fb-table-wrap { overflow-x: auto; }
.fb-table-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.fb-table { width: 100%; max-width: 860px; border-collapse: collapse; background: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.fb-table caption { padding: 0 0 10px; font-size: 13px; font-weight: 700; text-align: left; text-transform: uppercase; }
.fb-table th, .fb-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.fb-table th:first-child { text-align: left; white-space: normal; }
.fb-table thead th { font-size: 12px; text-transform: uppercase; color: #555; }
.fb-table tbody th { font-weight: 600; }
.fb-note { max-width: 760px; margin: 14px 0 0; color: #5a5a55; font-size: 13px; line-height: 1.55; }
.fb-variants { max-width: 760px; margin: 0; padding: 0; list-style: none; }
.fb-variants li { padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
.fb-variant-number { color: #5a5a55; white-space: nowrap; }
.fb-prose .fb-table-wrap { margin: 18px 0 0; }
.fb-prose .fb-table-wrap + p:not(.fb-note), .fb-prose .fb-table-wrap + h2, .fb-prose .fb-table-wrap + ul { margin-top: 26px; }
.fb-words th, .fb-words td { text-align: left; white-space: normal; vertical-align: top; line-height: 1.45; }
.fb-words thead th { white-space: nowrap; }
.fb-prose .fb-note, .fb-calc .fb-note { max-width: 760px; margin: 12px 0 18px; font-size: 13px; line-height: 1.55; }
.fc .fb-note { margin-bottom: 0; }

.fb-glossary { margin: 0; border-top: 1px solid var(--line); }
.fb-glossary div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fb-glossary dt { font-weight: 700; }
.fb-glossary dd { margin: 0; line-height: 1.6; }

.fb-faq { padding: 64px 0 24px; }
.fb-related { padding: 40px 0 72px; }
.fb-related h2 { margin: 0 0 22px; font-size: 26px; }

/* Cards: on the hub with a small drawing, under an article without. */
.fb-group { padding: 64px 0 8px; }
.fb-group h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.fb-group-intro { max-width: 640px; margin: 0 0 28px; color: #4a4a46; font-size: 18px; }
.fb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0 0 24px; padding: 0; list-style: none; }
.fb-card { display: flex; flex-direction: column; height: 100%; padding: 14px 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.fb-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.fb-card .fd { aspect-ratio: 8 / 5; margin-bottom: 14px; border-radius: 9px; background: var(--fb-turf); box-shadow: none; object-fit: contain; }
.fb-card-mark { display: flex; align-items: center; justify-content: center; aspect-ratio: 8 / 5; margin-bottom: 14px; padding: 0 12px; border-radius: 9px; background: var(--fb-turf); color: var(--fb-lime); font-size: 40px; font-weight: 750; letter-spacing: 0; line-height: 1.05; text-align: center; text-wrap: balance; }
.fb-card-mark-long { font-size: 28px; }
.fb-card-kind { color: #5a5a55; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.fb-card strong { margin: 4px 0 6px; font-size: 20px; line-height: 1.2; }
.fb-card-text { color: #4a4a46; font-size: 14px; line-height: 1.5; }
.fb-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0 36px; margin: 0 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fb-list li { border-bottom: 1px solid var(--line); }
.fb-list a { display: block; height: 100%; padding: 13px 0 15px; color: inherit; text-decoration: none; }
.fb-list strong { display: block; font-size: 18px; line-height: 1.3; }
.fb-list a:hover strong { text-decoration: underline; }
.fb-list span { color: #4a4a46; font-size: 14px; line-height: 1.45; }
.fb-cards-small { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
@media (min-width: 901px) { .fb-cards-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fb-about { padding: 56px 0 72px; }
.fb-about h2 { margin: 0 0 12px; font-size: 26px; }
.fb-about p { max-width: 760px; margin: 0 0 16px; color: #3c3c38; font-size: 17px; line-height: 1.65; }

/* Charts: one hue for one series; go, kick and punt are the only three kinds. */
.fc { margin: 30px 0 36px; }
.fc-title { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.fc-measure { display: block; margin-top: 3px; color: #5c5c56; font-size: 14px; font-weight: 400; }
.fc-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.fc-plot .fc-narrow { display: none; }
.fc-plot text { font-family: inherit; fill: #3c3c38; }
.fc-grid { stroke: #e3e3de; stroke-width: 1; }
.fc-base { stroke: #8d8d86; stroke-width: 1; }
.fc-tick, .fc-axis { fill: #6a6a64 !important; font-size: 12px; font-variant-numeric: tabular-nums; }
.fc-name { font-size: 13.5px; }
.fc-value { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.fc-bar { fill: var(--fb-green); }
.fc-bar.fc-hi { fill: #0d4a32; }
.fc-line { fill: none; stroke: var(--fb-green); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.fc-dot { fill: var(--fb-green); stroke: #fff; stroke-width: 2; }
.fc-soft { fill: rgba(31, 122, 85, 0.28); stroke: rgba(31, 122, 85, 0.7); stroke-width: 1; }
.fc-hit { fill: transparent; }
.fc-hover { opacity: 0; }
.fc-mark { outline: none; }
.fc-mark.is-on .fc-hover, .fc-mark:focus-visible .fc-hover { opacity: 1; }
.fc-mark.is-on .fc-bar, .fc-mark:focus-visible .fc-bar { fill: #0d4a32; }
.fc-mark:focus-visible .fc-hit { stroke: var(--ink); stroke-width: 1.5; }
.fc-cell { stroke: none; }
.fc-cell.is-on { stroke: var(--ink); stroke-width: 2; }
.fc-go { fill: #1f7a55; }
.fc-kick { fill: #b8860b; }
.fc-punt { fill: #7a5bd0; }
.fc-weak { fill-opacity: 0.42; }
.fc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px !important; padding: 0 !important; list-style: none; font-size: 14px !important; }
.fb-prose .fc-legend li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.fc-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.fc-swatch.fc-go { background: #1f7a55; }
.fc-swatch.fc-kick { background: #b8860b; }
.fc-swatch.fc-punt { background: #7a5bd0; }
.fc-swatch.fc-pale { background: linear-gradient(90deg, rgba(31, 122, 85, 0.42) 33%, rgba(184, 134, 11, 0.42) 33% 66%, rgba(122, 91, 208, 0.42) 66%); }
.fc2-grid { width: 100%; max-width: 640px; border-collapse: separate; border-spacing: 2px; font-size: 14px; font-variant-numeric: tabular-nums; }
.fc2-grid th { padding: 3px 6px; color: #3c3c38; font-weight: 600; text-align: center; white-space: nowrap; }
.fc2-grid tbody th { padding-right: 12px; text-align: right; }
.fc2-grid td.fc2 { height: 24px; border-radius: 4px; color: #16201b; font-weight: 700; text-align: center; cursor: default; }
.fc2-grid td.is-on { box-shadow: 0 0 0 2px var(--ink); }
.fc2-two1 { background: #d5ebe0; }
.fc2-two2 { background: #9bd0b7; }
.fc2-two3 { background: #55a883; }
.fc2-one1 { background: #f5e9c9; }
.fc2-one2 { background: #e6cb7f; }
.fc2-one3 { background: #cf9f2c; }
.fc2-even { background: #efefec; }
.fc2-grid td.fc2-even { color: #6a6a64; font-weight: 400; }
.fc-data { margin-top: 10px; }
.fc-data summary { width: fit-content; color: #3c3c38; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.fc-tip { position: fixed; z-index: 40; max-width: 280px; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; line-height: 1.4; pointer-events: none; }
.fc-scroll { overflow-x: auto; }

/* Calculators. */
.fb-calc { margin: 30px 0 36px; padding: 26px 26px 22px; border-radius: 16px; background: var(--soft); }
.fb-calc h3 { margin: 0 0 18px; font-size: 21px; }
.fb-calc-row { display: flex; flex-wrap: wrap; gap: 16px; }
.fb-calc-num { display: grid; gap: 6px; flex: 1 1 120px; align-content: end; font-size: 14px; font-weight: 600; }
.fb-calc-num input, .fb-calc-num select { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #a9a9a2; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 17px; font-variant-numeric: tabular-nums; }
.fb-calc-range { display: grid; gap: 8px; margin: 0 0 18px; font-size: 16px; }
.fb-calc-range b { font-variant-numeric: tabular-nums; }
.fb-calc input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: var(--fb-green); }
.fb-calc-answer { display: grid; gap: 4px; margin: 20px 0 0; padding: 18px 20px; border-left: 6px solid #8d8d86; border-radius: 10px; background: #fff; }
.fb-calc-answer strong { font-size: 28px; line-height: 1.15; }
.fb-calc-answer span { color: #4a4a46; font-size: 15px; line-height: 1.45; }
.fb-calc[data-choice="go"] .fb-calc-answer { border-left-color: #1f7a55; }
.fb-calc[data-choice="kick"] .fb-calc-answer { border-left-color: #b8860b; }
.fb-calc[data-choice="punt"] .fb-calc-answer { border-left-color: #7a5bd0; }
.fb-calc-table { margin: 20px 0 0; }
.fb-calc .fb-table-wrap { border-radius: 10px; background: #fff; }
.fb-calc-table thead th { white-space: normal; vertical-align: bottom; }
.fb-calc-table tbody th { white-space: nowrap; }
.fb-calc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.fb-calc-pair span { padding: 18px 20px; border-radius: 10px; background: #fff; color: #4a4a46; font-size: 14px; }
.fb-calc-pair strong { display: block; color: var(--ink); font-size: 38px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fb-calc-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 20px; margin: 16px 0 0; }
.fb-calc-more dt { color: var(--fb-soft-ink); font-size: 13px; }
.fb-calc-more dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }

/* The play lab and the daily quiz: a field with its controls, dark like the top of the page. */
.fb-tool-page .fb-hero-grid { padding: 36px 0 30px; }
.fb-tool-page .fb-hero h1 { margin: 12px 0 12px; font-size: clamp(36px, 4.4vw, 54px); }
.fb-tool-page .fb-lede { max-width: 820px; font-size: 18px; }
.fl { padding: 8px 0 56px; background: var(--app-bg); color: #fff; }
.fl + .fb-body { padding-top: 64px; }
.fl-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 40px; align-items: start; }
.fl-calls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 14px; }
.fl label span { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, 0.72); font-size: 13px; font-weight: 700; }
.fl select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 10px; background: #14323c; color: #fff; font: inherit; font-size: 17px; font-weight: 600; }
.fl-button { min-height: 48px; padding: 10px 20px; border: 2px solid var(--fb-lime); border-radius: 10px; background: var(--fb-lime); color: #10241b; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fl-button:hover { filter: brightness(1.08); }
.fl-button.fl-quiet { background: transparent; color: var(--fb-lime); }
.fl-button:disabled { opacity: 0.45; cursor: default; }
.fl a:focus-visible, .fl button:focus-visible, .fl select:focus-visible, .fl input:focus-visible, .fl svg:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fl-field { display: block; width: 100%; height: auto; aspect-ratio: 56 / 44; border-radius: 14px; background: var(--fb-turf); }
.fl-field text { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.fl-bar { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 14px; }
.fl-bar > .fl-button { min-width: 148px; }
.fl-bar input[type="range"] { flex: 1 1 160px; min-width: 120px; height: 32px; margin: 0; accent-color: var(--fb-lime); }
.fl-tries { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 700; }
.fl-snaps { display: flex; gap: 6px; }
.fl-snaps button, .fl-tabs button { min-width: 40px; min-height: 40px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 9px; background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.fl-snaps button[aria-pressed="true"], .fl-tabs button[aria-pressed="true"] { border-color: var(--fb-lime); background: var(--fb-lime); color: #10241b; }
.fl-result { margin: 16px 0 0; font-size: 18px; line-height: 1.45; }
.fl-result strong { margin-right: 8px; color: var(--fb-lime); }
.fl-status { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, 0.09); line-height: 1.5; }
.fl-options { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 18px; color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 600; }
.fl-options select { width: auto; min-height: 40px; margin-left: 8px; padding: 6px 10px; font-size: 15px; }
.fl-hint { max-width: 720px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.55; }
.fl-hint a { margin-right: 14px; color: var(--fb-lime); font-weight: 600; white-space: nowrap; }
.fl-side h2 { margin: 26px 0 8px; font-size: 17px; line-height: 1.3; }
.fl-side h2:first-child { margin-top: 0; }
.fl-side p { line-height: 1.55; }
.fl-side .text-link { color: var(--fb-lime); border-color: var(--fb-lime); }
.fl-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fl-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.fl-tiles li { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); }
.fl-tiles strong { display: block; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fl-tiles span { color: rgba(255, 255, 255, 0.74); font-size: 13px; }
.fl-rank { margin: 14px 0 0; color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.fl-list { margin: 0; padding: 0; list-style: none; }
.fl-list button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); background: transparent; color: #fff; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.fl-list button:hover { background: rgba(255, 255, 255, 0.08); }
.fl-list button[aria-current] { color: var(--fb-lime); font-weight: 700; }
.fl-list b { font-variant-numeric: tabular-nums; }
.fl-unit { margin: 12px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 13px; }
.fq-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 0 14px; font-size: 16px; }
.fq-head > span:last-child { margin-left: auto; color: rgba(255, 255, 255, 0.74); font-size: 14px; }
.fq-dots { display: flex; gap: 6px; }
.fq-dots span { width: 16px; height: 16px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 4px; }
.fq-dots [data-points="0"] { background: #3b4549; border-color: #3b4549; }
.fq-dots [data-points="1"] { background: #f08a3c; border-color: #f08a3c; }
.fq-dots [data-points="2"] { background: #f4cf45; border-color: #f4cf45; }
.fq-dots [data-points="3"] { background: #5cc46a; border-color: #5cc46a; }
.fq-bar > span { color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.fq-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.fq-answers button { min-height: 60px; padding: 10px 14px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.fq-answers button:hover:not(:disabled) { border-color: var(--fb-lime); }
.fq-answers button:disabled { cursor: default; opacity: 0.5; }
.fq-answers [data-state="right"] { border-color: var(--fb-lime); background: var(--fb-lime); color: #10241b; opacity: 1 !important; }
.fq-answers [data-state="wrong"] { border-color: var(--fb-rush); opacity: 1 !important; text-decoration: line-through; }
.fq-verdict { margin: 22px 0 6px; font-size: 22px; font-weight: 700; }
.fq-grid { margin: 8px 0; font-size: 34px; letter-spacing: 0.12em; }
.fq-after { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.fl-button[hidden], .fl [hidden] { display: none !important; }

/* Files to print. */
.fb-files { display: grid; gap: 12px; margin: 24px 0 30px !important; padding: 0 !important; list-style: none; }
.fb-prose .fb-files li { margin: 0; padding: 0; }
.fb-files a { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.fb-files a:hover { border-color: var(--ink); }
.fb-files img { width: 64px; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.fb-files strong { display: block; font-size: 18px; }
.fb-files span span { color: #4a4a46; font-size: 14px; }

.fb-cta { padding: 80px 0; background: #0e242c; }
.fb-cta .section-index { color: var(--fb-lime); }
.fb-cta-grid { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 32px; align-items: start; }
.fb-cta-icon { border-radius: 22px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.fb-cta h2 { margin: 8px 0 12px; }
.fb-cta p { max-width: 640px; }
.fb-cta-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; margin-top: 22px; }

@media (max-width: 900px) {
  .fb-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 0 48px; }
  .fb-figure { max-width: 460px; }
  .fb-columns { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .fb-table-pair { grid-template-columns: minmax(0, 1fr); }
  .fb-glossary div { grid-template-columns: 1fr; gap: 4px; }
  .fb-with-glance { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fb-with-glance .fb-prose { grid-row: auto; }
  .fb-glance { grid-column: 1; grid-row: auto; position: static; }
  .fb-glance dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; }
  .fb-fact { min-height: 0; }
  .fl-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fl-calls { grid-template-columns: 1fr 1fr; }
  .fl-calls .fl-button { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .fb-list { grid-template-columns: 1fr; }
  .fb-lede, .fb-prose p, .fb-game-line { font-size: 17px; }
  .fb-cta-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .fb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fb-card { padding: 10px 10px 14px; }
  .fb-card strong { font-size: 17px; }
  .fb-card-text { display: none; }
  /* A phone shows the first two numbers of a five-column table. */
  .fb-table-five th:nth-child(n+4), .fb-table-five td:nth-child(n+4) { display: none; }
  .fb-table th, .fb-table td { padding: 10px 10px; }
  .fb-words th, .fb-words td { padding: 10px 8px; }
  .fb-table thead th { white-space: normal; }
  .fb-words td, .fb-words tbody th { font-size: 14.5px; }
  .fc-plot { margin: 0 -2px; }
  .fc-plot .fc-wide { display: none; }
  .fc-plot .fc-narrow { display: block; }
  .fc2-grid { border-spacing: 1px; font-size: 13px; }
  .fc2-grid th { padding: 3px 2px; }
  .fc2-grid tbody th { padding-right: 6px; }
  .fb-calc { margin-inline: -8px; padding: 20px 16px 16px; }
  .fb-prose .fb-figs, .fb-prose .fb-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .fb-jump-bar .section-shell { flex-wrap: nowrap; gap: 18px; overflow-x: auto; }
  .fb-jump-bar a { white-space: nowrap; }
  .fl-men text { font-size: 12.5px; }              /* on a phone the field is drawn at two thirds */
  .fl-men .fl-o text { transform: translateY(2.5px); }
  .fl-bar > .fl-button { flex: 1 1 auto; }
  .fl-bar input[type="range"] { flex-basis: 100%; order: 3; }
}
/* The second line of a long question starts under its first word, not under the arrow. */
.app-questions summary { padding-left: 1.06em; text-indent: -1.06em; }
.app-questions details > :not(summary) { padding-left: 19px; }
/* Japanese has no spaces: where a browser can, it breaks big words between phrases. */
:lang(ja) :is(h1, h2, h3, summary, strong) { word-break: auto-phrase; }
@media (max-width: 360px) { .fb-hero h1 { font-size: 36px; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }
@media (prefers-reduced-motion: reduce) { .fb-card, .fb-tools a { transition: none; } .fb-card:hover { transform: none; } }
