/* Football's league page and match page (js/screens/football.js, 24.11.2026). Drawn like basketball's: the site's
   tokens (design_system.css) in both themes, the table in the other leagues' table classes (standings_other.css). */

#screen-football { overflow-y: auto; }
/* basketball's board frame (home_board.css): up to 1280 wide, the same gutters (owner, 25.11.2026: "on a computer
   everything should be on the whole screen, so it does not look made for a phone") */
.fb-screen { inline-size: 100%; max-width: 1280px; margin: 0 auto; padding: 14px clamp(12px, 3vw, 24px) 96px; color: var(--ds-ink); font-family: var(--ds-font); box-sizing: border-box; }

/* The day */
.fb-datebar { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.fb-dnav { flex: none; inline-size: 44px; block-size: 44px; display: grid; place-items: center; border: 1px solid var(--ds-line);
  border-radius: var(--ds-r-0, 0); background: var(--ds-card); color: var(--ds-ink); cursor: pointer; }
.fb-dnav:hover { background: var(--ds-soft); }
.fb-dlabel { position: relative; flex: 1; min-inline-size: 0; block-size: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ds-line); background: var(--ds-card); font: 800 var(--ds-fs-17) var(--ds-font); color: var(--ds-ink); cursor: pointer; }
.fb-dlabel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px; }
.fb-dpick { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; cursor: pointer; border: 0; }
.fb-btn { block-size: 44px; padding: 0 16px; border: 1px solid var(--ds-ink); background: var(--ds-ink); color: var(--ds-card);
  font: 800 var(--ds-fs-14) var(--ds-font); cursor: pointer; }
.fb-today { flex: none; }
/* A narrow phone: the whole date ("יום חמישי, 26 בנובמבר") fits beside the arrows and "היום". */
@media (max-width: 400px) {
  .fb-datebar { gap: 6px; }
  .fb-dlabel { font-size: var(--ds-fs-15); }
  .fb-dlabel span { padding: 0 4px; }
  .fb-today { padding: 0 12px; }
}

.fb-group { margin: 0 0 16px; }
.fb-gt { margin: 0 0 6px; font: 800 var(--ds-fs-14) var(--ds-font); color: var(--ds-ink2); letter-spacing: .01em; }
.fb-rows { display: flex; flex-direction: column; border: 1px solid var(--ds-line); background: var(--ds-card); }
.fb-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 6px;
  min-block-size: 64px; padding: 8px 12px; border: 0; border-top: 1px solid var(--ds-line); background: transparent;
  color: var(--ds-ink); font: inherit; text-align: start; cursor: pointer; }
.fb-row:first-child { border-top: 0; }
.fb-row:hover { background: var(--ds-soft); }
.fb-row:focus-visible, .fb-dnav:focus-visible, .fb-btn:focus-visible, .fb-mtab:focus-visible, .fb-back:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.fb-side { display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.fb-away { justify-content: flex-end; }
.fb-name { font: 700 var(--ds-fs-15) var(--ds-font); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.fb-away .fb-name { text-align: end; }
.fb-crest { flex: none; }
.fb-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fb-score, .fb-time { font: 800 24px/1 var(--ds-font-num); color: var(--ds-ink); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.fb-score i { font-style: normal; margin: 0 4px; color: var(--ds-ink2); }
[dir="rtl"] .fb-score { direction: rtl; }
.fb-score.is-on { color: var(--ds-live); }
.fb-st { font: 700 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); display: inline-flex; align-items: center; gap: 4px; }
.fb-st.is-on { color: var(--ds-live); }
.fb-dot { inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--ds-live); display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .fb-dot { animation: fb-pulse 1.6s ease-in-out infinite; } }
@keyframes fb-pulse { 50% { opacity: .35; } }
.fb-red { flex: none; inline-size: 8px; block-size: 11px; background: #D62828; border-radius: 1px; display: inline-block; }

.fb-empty { padding: 28px 16px; text-align: center; border: 1px dashed var(--ds-line); background: var(--ds-card); }
.fb-empty p { margin: 0 0 12px; font: 600 var(--ds-fs-15) var(--ds-font); color: var(--ds-ink2); }
.fb-empty p:last-child { margin: 0; }
.fb-note { margin: 0 0 10px; font: 600 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }
.fb-load { display: flex; flex-direction: column; gap: 8px; }
.fb-load i { display: block; block-size: 64px; background: var(--ds-soft); }
@media (prefers-reduced-motion: no-preference) { .fb-load i { animation: fb-pulse 1.2s ease-in-out infinite; } }

/* The table, as basketball's table screen (owner, 25.11.2026: "nothing in the design is alike"; "the table looks like it is
   made for a phone"): the head of standings_screen.css (.st-head), the other leagues' zones and legend of
   standings_other.css (their shapes and colours are global), and the table's rules, which basketball scopes to
   #screen-standings, repeated here for this screen: the card under a 2px rule, the cells, the zone lines, the club wash. */
#screen-football .fb-table { --st-bg: var(--ds-card); container-type: inline-size; }
#screen-football .fb-table .st-head { margin-bottom: 8px; }
/* "טבלה | מובילים" at the end of the head, as basketball's (standings_screen.css scopes its switch to #screen-standings) */
#screen-football .st-view-bar { display: block; padding: 0; }
#screen-football .st-view-bar .ld-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; padding: 0;
  background: transparent; border: 1.5px solid var(--ds-ink); border-radius: 0; }
#screen-football .st-view-bar .ld-seg button { min-height: var(--ds-h-btn); padding: 0 18px; border: 0; border-radius: 0; background: transparent;
  color: var(--ds-ink); font: 800 var(--ds-fs-14) var(--ds-font); white-space: nowrap; cursor: pointer;
  transition: background var(--ds-t-ctrl) ease, color var(--ds-t-ctrl) ease; }
#screen-football .st-view-bar .ld-seg button:hover { background: var(--ds-soft); }
#screen-football .st-view-bar .ld-seg button[aria-selected="true"] { background: var(--ds-ink); color: var(--ds-bg); font-weight: 800; }
#screen-football .st-view-bar .ld-seg button:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
@container (max-width: 559px) { #screen-football .st-view-bar { flex: 1 1 100%; } }
/* the leaders: leaders_screen.css's own classes, whose widths ask .fb-table (a container) as basketball's ask its tab */
#screen-football .fb-leaders .st-head { margin-bottom: 16px; }
/* a finished season (basketball's season button and sheet, standings_screen.css): a group stage's tables one under the
   other, each under its group's name; a finished season's table has no form column, so a phone scrolls it less */
.fb-group { margin-top: 18px; }
.fb-group-h { margin: 0 0 8px; font: 900 var(--ds-fs-17)/1.2 var(--ds-font); color: var(--ds-ink); }
@media (max-width: 719px) { .fb-t.fb-t-past { min-inline-size: 560px; } }
#screen-football .st-table-wrap { position: relative; overflow-x: auto; padding: 0; background: var(--st-bg); border-top: 2px solid var(--ds-ink); }
#screen-football .st-table { width: 100%; border-collapse: collapse; font-family: var(--ds-font-num); font-size: 16px; }
#screen-football .st-table thead th { padding: 12px 6px 8px; text-align: center; white-space: nowrap; font: 700 var(--ds-fs-12)/1.2 var(--ds-font);
  color: var(--ds-ink2); background: var(--st-bg); border-bottom: 1px solid var(--ds-line); }
#screen-football .st-table th.st-team-col { text-align: start; }
#screen-football .st-table tbody td { background: var(--st-bg); border-bottom: 1px solid var(--ds-line); height: 44px; }
#screen-football .st-table tbody tr.ol-r:hover { --st-bg: color-mix(in srgb, var(--ds-ink) 5%, var(--ds-card)); }
#screen-football .st-rank-cell { width: 36px; min-width: 36px; padding: 9px 4px; text-align: center; font: 700 16px/1 var(--ds-font-num); color: var(--ds-ink2); }
#screen-football .st-team-cell { padding: 9px 6px; text-align: start; vertical-align: middle; white-space: nowrap; }
#screen-football .st-team-name { font: 700 var(--ds-fs-17)/1.2 var(--ds-font); color: var(--ds-ink); }
#screen-football .st-num { padding: 9px 6px; text-align: center; vertical-align: middle; font: 700 16px/1 var(--ds-font-num);
  font-variant-numeric: tabular-nums; color: var(--ds-ink); direction: ltr; unicode-bidi: isolate; }
#screen-football .st-muted { color: var(--ds-ink2) !important; font-weight: 600 !important; }
#screen-football .ol-t td.st-num { min-width: 44px; }
#screen-football .ol-t tbody tr.ol-zb td { border-top: 1.5px dashed var(--ds-ink2); }
#screen-football .ol-t tr.ol-zh td { position: static; height: auto; padding: 10px 12px; text-align: start;
  background: color-mix(in srgb, var(--ds-ink) 6%, var(--ds-card)); border-bottom: 1px solid var(--ds-line); font: 500 var(--ds-fs-14) var(--ds-font); color: var(--ds-ink2);
  inline-size: auto; min-inline-size: 0; max-inline-size: none; }
#screen-football .ol-t tr.ol-zh b { margin-inline: 10px 0; font-weight: 800; color: var(--ds-ink); }
#screen-football .ol-t tr.ol-zh .ol-zs { vertical-align: -1px; }
/* each row in a soft wash of its club's colour (Claude Design, team marks §09), text that reaches 4.5:1 on it; the form's
   squares keep their own white letters */
#screen-football tr.st-wash { --rw-bg: var(--rw-bg-l); --rw-ink: var(--rw-ink-l); }
html[data-theme="dark"] #screen-football tr.st-wash { --rw-bg: var(--rw-bg-d); --rw-ink: var(--rw-ink-d); }
#screen-football .ol-t tr.st-wash > td { background: var(--rw-bg); color: var(--rw-ink); }
#screen-football .ol-t tr.st-wash > td :not(.team-crest):not(.team-crest *):not(.fb-f):not(.fb-f *) { color: var(--rw-ink) !important; }
#screen-football tr.st-wash .team-crest { box-shadow: 0 0 0 3px var(--rw-bg); }
#screen-football .fb-t .fb-pts b { font: 800 var(--ds-fs-17) var(--ds-font-num); }
.fb-t .st-team-cell { display: table-cell; }
span.fb-club { cursor: default; }
.fb-goals { direction: ltr; unicode-bidi: isolate; }
/* the table's form: its own class (as .fb-form it took the pitch's dark formation label, owner 25.11.2026: "why are the
   matches they lost or won in dark?") */
.fb-tform { white-space: nowrap; }
.fb-f { display: inline-grid; place-items: center; inline-size: 18px; block-size: 18px; margin-inline-end: 2px; font: 800 11px/1 var(--ds-font); font-style: normal; color: #fff; }
.fb-f-w { background: #15803D; }
.fb-f-d { background: #6B7280; }
.fb-f-l { background: #B91C1C; }
@media (max-width: 719px) {
  /* Every column on a phone: the table scrolls sideways under the finger, and the place and the club stay where they
     are while the numbers move (owner, 25.11.2026: "show all the data, and whoever wants will scroll with a finger"). */
  .fb-table .st-table-wrap { overflow-x: auto; padding: 0; -webkit-overflow-scrolling: touch; }
  .fb-t { min-inline-size: 640px; border-collapse: separate; border-spacing: 0; }
  .fb-t th:nth-child(1), .fb-t td:nth-child(1), .fb-t th:nth-child(2), .fb-t td:nth-child(2) { position: sticky; z-index: 1; background: var(--ds-card); }
  .fb-t th:nth-child(1), .fb-t td:nth-child(1) { inset-inline-start: 0; box-sizing: border-box; inline-size: 46px; min-inline-size: 46px; }
  .fb-t th:nth-child(2), .fb-t td:nth-child(2) { inset-inline-start: 46px; box-sizing: border-box; inline-size: 164px; min-inline-size: 164px; max-inline-size: 164px;
    border-inline-end: 1px solid var(--ds-line); }
  /* a long name takes a second line in the pinned column, never three dots ("עירוני קריית שמונה") */
  .fb-t .st-team-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
  .fb-t .fb-tform { padding-inline-end: 12px; }
  /* the edge the columns leave by fades while there is more to see (football.js marks the table's end) */
  html[dir="rtl"] .fb-table .st-table-wrap:not(.at-end) { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px); mask-image: linear-gradient(to right, transparent 0, #000 40px); }
  html[dir="ltr"] .fb-table .st-table-wrap:not(.at-end) { -webkit-mask-image: linear-gradient(to left, transparent 0, #000 40px); mask-image: linear-gradient(to left, transparent 0, #000 40px); }
  .fb-row { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); padding: 8px 10px; }
  .fb-name { font-size: var(--ds-fs-14); }
}

/* A match */
.fb-match { position: fixed; inset: 0; z-index: 300; background: var(--ds-bg); color: var(--ds-ink); overflow-y: auto; font-family: var(--ds-font); }
.fb-match[hidden] { display: none; }
html.fb-match-open, html.fb-match-open body { overflow: hidden; }
.fb-mbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; block-size: 56px; padding: 0 8px; background: var(--ds-card); border-bottom: 1px solid var(--ds-line); }
.fb-back { display: inline-flex; align-items: center; gap: 4px; block-size: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--ds-ink); font: 700 var(--ds-fs-15) var(--ds-font); cursor: pointer; }
.fb-mbody { max-width: 760px; margin: 0 auto; padding: 12px 12px 40px; }
.fb-mhead { padding: 16px 12px; background: var(--ds-card); border: 1px solid var(--ds-line); margin-bottom: 12px; }
.fb-mlg { margin: 0 0 12px; text-align: center; font: 700 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }
.fb-mteams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.fb-mside { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-inline-size: 0; }
.fb-mside b { font: 800 var(--ds-fs-17) var(--ds-font); line-height: 1.2; }
.fb-mmid { display: flex; flex-direction: column; align-items: center; gap: 4px; min-inline-size: 96px; }
.fb-mscore, .fb-mtime { font: 800 44px/1 var(--ds-font-num); white-space: nowrap; }
.fb-mscore i { font-style: normal; margin: 0 6px; color: var(--ds-ink2); }
.fb-mscore.is-on { color: var(--ds-live); }
.fb-ht { font: 600 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); }
.fb-mmeta { margin: 12px 0 0; text-align: center; font: 600 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }
/* the numbers we work out ourselves under the details (computed.py): the referee's season, a comeback, a late decider,
   "מגיע להם?" - each its own line, in the details' own type */
.fb-mmeta.fb-mnum { margin-top: 4px; font-weight: 500; }
/* the leaders' players / clubs / referees: basketball's two-way switch with a third side */
.fb-leaders .lg-seg.fb-lseg { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.fb-mtabs { display: flex; gap: 0; margin-bottom: 12px; border-bottom: 1px solid var(--ds-line); overflow-x: auto; }
.fb-mtab { flex: none; block-size: 44px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ds-ink2);
  font: 800 var(--ds-fs-15) var(--ds-font); cursor: pointer; }
.fb-mtab.is-on { color: var(--ds-ink); border-bottom-color: var(--ds-ink); }

.fb-events { list-style: none; margin: 0; padding: 0; background: var(--ds-card); border: 1px solid var(--ds-line); }
.fb-ev { display: flex; align-items: center; gap: 10px; min-block-size: 52px; padding: 8px 12px; border-top: 1px solid var(--ds-line); }
.fb-ev:first-child { border-top: 0; }
.fb-ev-a { flex-direction: row-reverse; text-align: end; }
.fb-emin { flex: none; inline-size: 48px; font: 800 var(--ds-fs-15) var(--ds-font-num); color: var(--ds-ink2); text-align: center; }
.fb-ei { flex: none; inline-size: 28px; block-size: 28px; display: grid; place-items: center; color: var(--ds-ink); }
.fb-ei-goal { color: var(--ds-ok); }
.fb-ei-miss { color: var(--ds-ink2); opacity: .7; }
.fb-ei-sub { color: var(--ds-ink2); }
.fb-ei-var { font: 800 10px/1 var(--ds-font); border: 1.5px solid var(--ds-ink); inline-size: auto; padding: 4px 5px; }
.fb-card { display: inline-block; inline-size: 12px; block-size: 16px; border-radius: 2px; }
.fb-card-y { background: #F2C200; }
.fb-card-r { background: #D62828; }
.fb-card-y2 { background: linear-gradient(135deg, #F2C200 50%, #D62828 50%); }
.fb-etx { display: flex; flex-direction: column; min-inline-size: 0; font: 600 var(--ds-fs-15) var(--ds-font); }
.fb-etx b { font-weight: 800; }
.fb-etm { display: block; }
.fb-etx small { font: 600 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }

.fb-lus, .fb-pls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 719px) { .fb-lus, .fb-pls { grid-template-columns: 1fr; } }
.fb-lu, .fb-pl { background: var(--ds-card); border: 1px solid var(--ds-line); padding: 12px; min-inline-size: 0; }
.fb-lu h3, .fb-pl h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 800 var(--ds-fs-17) var(--ds-font); }
.fb-lu h3 small { margin-inline-start: auto; font: 700 var(--ds-fs-14) var(--ds-font-num); color: var(--ds-ink2); }
.fb-lu h4 { margin: 12px 0 6px; font: 800 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }
.fb-xi, .fb-bench { list-style: none; margin: 0; padding: 0; }
.fb-xi li, .fb-bench li { display: flex; align-items: center; gap: 8px; min-block-size: 36px; border-top: 1px solid var(--ds-line); font: 600 var(--ds-fs-15) var(--ds-font); }
.fb-no { flex: none; inline-size: 26px; text-align: center; font: 800 var(--ds-fs-14) var(--ds-font-num); color: var(--ds-ink2); }
.fb-pn { flex: 1; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-pos { flex: none; font: 700 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); }
.fb-coach { margin: 10px 0 0; font: 600 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }

.fb-stats { background: var(--ds-card); border: 1px solid var(--ds-line); padding: 6px 12px; }
.fb-srow { padding: 10px 0; border-top: 1px solid var(--ds-line); }
.fb-srow:first-child { border-top: 0; }
.fb-sv { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.fb-sv b { font: 800 var(--ds-fs-17) var(--ds-font-num); min-inline-size: 44px; }
.fb-sv b:last-child { text-align: end; }
.fb-sv span { font: 700 var(--ds-fs-14) var(--ds-font); color: var(--ds-ink2); text-align: center; }
.fb-sbar { display: flex; gap: 4px; block-size: 6px; }
.fb-sbar i { display: block; block-size: 100%; }
.fb-sh { background: var(--ds-ink); }
.fb-sa { background: var(--ds-ink2); opacity: .45; }

.fb-pt { inline-size: 100%; border-collapse: collapse; }
.fb-pt th { padding: 6px 4px; font: 700 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); border-bottom: 1px solid var(--ds-line); }
.fb-pt th.st-team-col { text-align: start; }
.fb-pt td { padding: 6px 4px; border-bottom: 1px solid var(--ds-line); text-align: center; font: 600 var(--ds-fs-14) var(--ds-font-num); }
.fb-pt td.st-team-cell { text-align: start; font-family: var(--ds-font); max-inline-size: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── The line-ups on a pitch (24.11.2026): one club at a time, each starter where the formation puts him ── */
.fb-luw { display: flex; flex-direction: column; gap: 0; }
.fb-seg { display: flex; border: 1px solid var(--ds-line); background: var(--ds-card); }
.fb-segb { flex: 1 1 0; min-inline-size: 0; min-block-size: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 10px; border: 0; background: transparent; color: var(--ds-ink2); font: 800 var(--ds-fs-15) var(--ds-font); cursor: pointer; }
.fb-segb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-segb.is-on { background: var(--ds-ink); color: var(--ds-card); }
.fb-segb:focus-visible, .fb-natb:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
/* The pitch is green in both themes (a pitch is a pitch), a shade darker in the dark one; white lines and names on it
   read at 6:1 and more against the darker grass. */
.fb-pitch { --fb-grass: #2A6F37; --fb-band: rgba(255, 255, 255, .045); --fb-line: rgba(255, 255, 255, .7);
  position: relative; inline-size: 100%; aspect-ratio: 4 / 5; margin-top: 10px; background: #215B2C; overflow: hidden; }
html[data-theme="dark"] .fb-pitch { --fb-grass: #1E5628; background: #18471F; }
.fb-psvg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.fb-grass { fill: var(--fb-grass); }
.fb-band { fill: var(--fb-band); }
.fb-lines polyline, .fb-lines polygon { fill: none; stroke: var(--fb-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.fb-lines .fb-goal { stroke-width: 3; }
.fb-pms { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.fb-pm { position: absolute; inline-size: 84px; transform: translate(-50%, -19px); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fb-pm-d { position: relative; inline-size: 38px; block-size: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 800 16px/1 var(--ds-font-num); background: var(--ds-card); color: var(--ds-ink);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 6px rgba(0, 0, 0, .4); }
.fb-pm-d.is-plain { box-shadow: 0 0 0 2px var(--ds-ink2), 0 2px 6px rgba(0, 0, 0, .4); }
.fb-pm-n { max-inline-size: 84px; padding: 1px 6px; background: rgba(0, 0, 0, .55); color: #FFFFFF; border-radius: 2px;
  font: 700 12px/1.4 var(--ds-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-pm-flag { position: absolute; top: -6px; left: calc(50% - 28px); font-size: 15px; line-height: 1; margin: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
.fb-pm-ev { position: absolute; top: -7px; left: calc(50% + 10px); display: flex; align-items: center; gap: 1px; }
.fb-pb-goal { display: grid; place-items: center; inline-size: 17px; block-size: 17px; border-radius: 50%; background: #FFFFFF; color: #111111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.fb-pb-goal.is-own { background: #C62828; color: #FFFFFF; }
.fb-pb-n { font: 800 11px/1 var(--ds-font-num); color: #FFFFFF; }
.fb-pm-ev .fb-card { inline-size: 10px; block-size: 13px; box-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.fb-pm-off { position: absolute; top: 24px; left: calc(50% + 11px); display: inline-flex; align-items: center; gap: 1px; padding: 0 3px;
  background: #FFFFFF; color: #B71C1C; border-radius: 2px; font: 800 10px/15px var(--ds-font-num); box-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.fb-pbar { position: absolute; inset-inline: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.fb-form { padding: 5px 10px; background: rgba(0, 0, 0, .5); color: #FFFFFF; font: 800 var(--ds-fs-15)/1 var(--ds-font-num); }
.fb-natb { pointer-events: auto; min-block-size: 44px; padding: 0 16px; border: 1.5px solid #FFFFFF; background: rgba(0, 0, 0, .4); color: #FFFFFF;
  font: 800 var(--ds-fs-14) var(--ds-font); cursor: pointer; }
.fb-natb.is-on { background: #FFFFFF; color: #14381C; }
.fb-bw { margin-top: 12px; padding: 12px; background: var(--ds-card); border: 1px solid var(--ds-line); }
.fb-bw h4 { margin: 0 0 10px; font: 800 var(--ds-fs-15) var(--ds-font); }
.fb-bgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 8px 14px; }
.fb-bp { display: flex; align-items: center; gap: 10px; min-block-size: 44px; min-inline-size: 0; }
.fb-bp .fb-pm-d { flex: none; inline-size: 32px; block-size: 32px; font-size: 14px; }
.fb-bpt { display: flex; flex-direction: column; min-inline-size: 0; }
.fb-bpn { font: 700 var(--ds-fs-14)/1.3 var(--ds-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-bpt small { font: 600 var(--ds-fs-12)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-bp .fb-pm-ev { position: static; margin-inline-start: auto; }
.fb-flag { display: inline-block; font-size: 14px; line-height: 1; margin-inline-end: 5px; vertical-align: -1px; }
.fb-luw .fb-coach { margin: 10px 0 0; }
@media (min-width: 720px) {
  .fb-pitch { aspect-ratio: 16 / 11; }
  .fb-pm { inline-size: 104px; transform: translate(-50%, -22px); }
  .fb-pm-d { inline-size: 44px; block-size: 44px; font-size: 18px; }
  .fb-pm-n { max-inline-size: 104px; font-size: 13px; }
  .fb-pm-flag { left: calc(50% - 31px); font-size: 17px; }
  .fb-pm-ev { left: calc(50% + 13px); }
  .fb-pm-off { top: 28px; left: calc(50% + 14px); }
}

/* ── Injuries (25.11.2026): a league's list by club, and a match's missing players under its line-ups ── */
.fb-injw { display: flex; flex-direction: column; gap: 12px; }
.fb-injh { margin: 0; font: 900 var(--ds-fs-20) var(--ds-font); }
.fb-injw > .fb-note { margin: 0; }
.fb-injc { background: var(--ds-card); border: 1px solid var(--ds-line); padding: 12px; }
.fb-injc h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 800 var(--ds-fs-16) var(--ds-font); }
.fb-injc h3 small { margin-inline-start: auto; font: 800 var(--ds-fs-13) var(--ds-font-num); color: var(--ds-ink2); }
.fb-injl { list-style: none; margin: 0; padding: 0; }
.fb-inj { display: flex; align-items: center; gap: 10px; min-block-size: 48px; border-top: 1px solid var(--ds-line); }
.fb-injl .fb-inj:first-child { border-top: 0; }
.fb-injt { display: flex; flex-direction: column; flex: 1; min-inline-size: 0; }
.fb-injt b { font: 700 var(--ds-fs-15)/1.3 var(--ds-font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-injt small { font: 600 var(--ds-fs-13)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-ist { flex: none; padding: 3px 8px; font: 800 var(--ds-fs-12)/1.2 var(--ds-font); border: 1.5px solid currentColor; }
.fb-ist.is-out { color: #B3261E; }
.fb-ist.is-doubt { color: #8A5A00; }
html[data-theme="dark"] .fb-ist.is-out { color: #FF8A80; }
html[data-theme="dark"] .fb-ist.is-doubt { color: #FFD180; }
.fb-missw .fb-note { margin: 8px 0 0; }

/* ── The teams' numbers by topic (25.11.2026) ── */
.fb-stats { display: flex; flex-direction: column; gap: 12px; background: none; border: 0; padding: 0; }
.fb-sgroup { background: var(--ds-card); border: 1px solid var(--ds-line); padding: 4px 12px 6px; }
.fb-sgroup h3 { margin: 8px 0 2px; font: 800 var(--ds-fs-15) var(--ds-font); }
.fb-sgroup h3 + .fb-srow { border-top: 0; }
.fb-sv b { white-space: nowrap; }
.fb-sv b small { font: 600 var(--ds-fs-12) var(--ds-font-num); opacity: .8; }
.fb-sv b.is-best { padding: 0 6px; background: var(--ds-ink); color: var(--ds-card); }

/* ── The shot map (25.11.2026): one club's shots on the half it attacks ── */
.fb-shw { display: flex; flex-direction: column; gap: 10px; }
.fb-shmap { --fb-grass: #2A6F37; --fb-line: rgba(255, 255, 255, .7); position: relative; inline-size: 100%; max-inline-size: 560px;
  margin: 0 auto; aspect-ratio: 68 / 55.5; background: #215B2C; overflow: hidden; isolation: isolate; }
/* isolation: the chosen shot's z-index stays inside its pitch (it had painted over the page's sticky bar on a scroll) */
html[data-theme="dark"] .fb-shmap { --fb-grass: #1E5628; }
.fb-ssvg, .fb-strail { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; pointer-events: none; }
.fb-strail line { stroke: #FFFFFF; stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.fb-shot { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; padding: 0; border: 2px solid #FFFFFF;
  background: rgba(255, 255, 255, .1); cursor: pointer; }
.fb-shot.is-goal { background: #F4C430; border-color: #14381C; }
.fb-shot.is-save { background: #FFFFFF; }
.fb-shot.is-block { border-style: dashed; background: rgba(0, 0, 0, .2); }
.fb-shot.is-post { background: rgba(255, 255, 255, .45); }
.fb-shot.is-sel { z-index: 2; box-shadow: 0 0 0 3px #14381C, 0 0 0 5px #FFFFFF; }
.fb-shot:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }
.fb-slegend { display: flex; flex-wrap: wrap; gap: 6px 14px; inline-size: 100%; max-inline-size: 560px; margin: -10px auto 0; padding: 8px 10px;
  box-sizing: border-box; background: #215B2C; color: #FFFFFF; font: 600 var(--ds-fs-12)/1.4 var(--ds-font); }
html[data-theme="dark"] .fb-slegend { background: #18471F; }
.fb-slegend span { display: inline-flex; align-items: center; gap: 5px; }
.fb-shot.is-key { position: static; transform: none; display: inline-block; inline-size: 12px; block-size: 12px; cursor: default; box-shadow: none; }
.fb-sdet { background: var(--ds-card); border: 1px solid var(--ds-line); padding: 10px 12px; }
.fb-sdeth { display: flex; align-items: center; gap: 10px; }
.fb-sdetw { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fb-sdetw b { font: 800 var(--ds-fs-16)/1.3 var(--ds-font); }
.fb-sdetw span { font: 600 var(--ds-fs-13)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-sdetl { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 10px 0 0; }
.fb-sdetl div { text-align: center; }
.fb-sdetl dt { font: 600 var(--ds-fs-12)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-sdetl dd { margin: 2px 0 0; font: 800 var(--ds-fs-16)/1.2 var(--ds-font-num); }
.fb-segb small { font: 800 var(--ds-fs-12) var(--ds-font-num); opacity: .75; }
.fb-segb:disabled, .fb-dnav:disabled { opacity: .4; cursor: default; }

/* ── The live pitch (27.11.2026): the whole pitch lying down, both clubs' shots, the shot map's own marks ── */
.fb-lp { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.fb-lpmap { --fb-grass: #2A6F37; --fb-line: rgba(255, 255, 255, .7); --fb-k: .6; position: relative; inline-size: 100%;
  aspect-ratio: 113 / 72; background: #215B2C; overflow: hidden; isolation: isolate; }
html[data-theme="dark"] .fb-lpmap { --fb-grass: #1E5628; }
@media (min-width: 520px) { .fb-lpmap { --fb-k: .8; } }
@media (min-width: 720px) { .fb-lpmap { --fb-k: 1; } }
.fb-lpmap .fb-shot { inline-size: calc(var(--r) * var(--fb-k)); block-size: calc(var(--r) * var(--fb-k)); min-inline-size: 10px; min-block-size: 10px; }
/* a phone's smaller marks keep a missed shot hollow, as the club page's season map does */
@media (max-width: 719px) { .fb-lpmap .fb-shot { border-width: 1.5px; } }
.fb-lp .fb-slegend { max-inline-size: none; }
/* whose shots each end holds: the club attacking that goal, at its top corner */
.fb-lpk { position: absolute; top: 6px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; max-inline-size: 46%; padding: 2px 7px 2px 3px;
  background: rgba(0, 0, 0, .55); color: #FFFFFF; border-radius: 2px; font: 700 12px/1.4 var(--ds-font); pointer-events: none; box-sizing: border-box; }
.fb-lpk.is-l { left: 6px; }
.fb-lpk.is-r { right: 6px; }
.fb-lpk .fb-crest { flex: none; }
.fb-lpkn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-inline-size: 0; }
.fb-lpk b { flex: none; font-weight: 800; white-space: nowrap; }
.fb-lpk .fb-lpkn::after { content: " ·"; }
@media (max-width: 519px) { .fb-lpkn { display: none; } }
.fb-lpcap { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 var(--ds-fs-14)/1.4 var(--ds-font); }
.fb-lpcap .fb-crest { flex: none; }
.fb-lpcap b { font-weight: 800; }
.fb-lp > .fb-note { margin: 0; }
.fb-mtabs { scroll-margin-top: 64px; }
@media (prefers-reduced-motion: no-preference) {
  .fb-lpmap .fb-shot.is-in { animation: fb-shot-in .45s cubic-bezier(.2, 1.5, .4, 1) both; }
  .fb-lpmap .fb-shot.is-ping::after { content: ""; position: absolute; inset: -3px; border: 2px solid #FFFFFF; border-radius: 50%;
    animation: fb-ping 1.4s ease-out .3s 3 both; pointer-events: none; }
  .fb-mobar.is-in { animation: fb-grow .6s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes fb-shot-in { from { transform: translate(-50%, -50%) scale(0); opacity: 0; } }
@keyframes fb-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes fb-grow { from { transform: scaleY(0); } }

/* ── Momentum (27.11.2026): each minute's bar, the home club above the line and the visitors below (the game story's strip) ── */
.fb-mo { margin-bottom: 12px; padding: 10px 12px 8px; background: var(--ds-card); border: 1px solid var(--ds-line); }
.fb-moh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 6px; }
.fb-moh h3 { margin: 0; margin-inline-end: auto; font: 800 var(--ds-fs-15) var(--ds-font); }
.fb-mok { display: inline-flex; align-items: center; gap: 5px; min-inline-size: 0; font: 700 var(--ds-fs-12)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-mok i { font-style: normal; font-size: 11px; }
.fb-mob { position: relative; padding: 20px 0 34px; }
.fb-mosvg { display: block; inline-size: 100%; block-size: 56px; overflow: visible; }
@media (min-width: 720px) { .fb-mosvg { block-size: 72px; } }
.fb-mo0 { stroke: var(--ds-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fb-mohalf { stroke: var(--ds-ink2); stroke-opacity: .5; stroke-width: 1; vector-effect: non-scaling-stroke; }
.fb-moet { stroke: var(--ds-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fb-mobar { transform-box: fill-box; }
.fb-mobar.is-h { transform-origin: 50% 100%; }
.fb-mobar.is-a { transform-origin: 50% 0; }
.fb-mom { position: absolute; transform: translateX(-50%); display: grid; place-items: center; line-height: 0; }
.fb-mom.is-h { top: 2px; }
.fb-mom.is-a { bottom: 16px; }
.fb-mog { display: grid; place-items: center; inline-size: 16px; block-size: 16px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ds-card); }
.fb-mom .fb-card { inline-size: 9px; block-size: 13px; box-shadow: 0 0 0 1.5px var(--ds-card); }
.fb-moticks { position: absolute; inset-inline: 0; bottom: 0; block-size: 14px; }
.fb-mot { position: absolute; bottom: 0; transform: translateX(-50%); font: 700 11px/1 var(--ds-font-num); color: var(--ds-ink2); white-space: nowrap; }
/* "מה השתנה?" (28.11.2026): the strip taps; the chosen moment's minutes as a band, the minute itself as a line, and under
   the strip the shot map's detail box (.fb-sdet) with the moment's numbers and the timeline's own rows */
.fb-mob[data-fb="mowhy"] { cursor: pointer; }
.fb-mob[data-fb="mowhy"]:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.fb-mosel { fill: var(--ds-ink); fill-opacity: .08; }
.fb-mocut { stroke: var(--ds-ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fb-mowhy { margin-top: 4px; }
.fb-mowhy .fb-sdetl { grid-template-columns: repeat(2, minmax(0, 1fr)); }     /* before on the reading side, since beside it */
.fb-mowhy .fb-sdetl dd { font: 700 var(--ds-fs-14)/1.35 var(--ds-font); }
.fb-mowhy .fb-mowhyev { margin: 10px 0 0; }
.fb-mowhyx { display: block; margin: 10px auto 0; }
.fb-mot:first-child { transform: translateX(var(--fb-mot0, 0)); }
.fb-mot:last-child { transform: translateX(var(--fb-motn, -100%)); }
[dir="rtl"] .fb-mot:first-child { --fb-mot0: -100%; }
[dir="rtl"] .fb-mot:last-child { --fb-motn: 0; }

/* Ligat Ha'Al's absences (25.11.2026): the chip and the reason's source */
.fb-ist.is-absent { color: var(--ds-ink2); }
.fb-injlast { margin: -2px 0 6px; font: 600 var(--ds-fs-12)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-injsrc { align-self: flex-start; margin-top: 2px; font: 700 var(--ds-fs-12)/1.3 var(--ds-font); color: var(--ds-ink); text-decoration: underline; }

/* ── A club's page (js/screens/football_team.js): a layer like the match's, drawn in the site's own team page
   (css/screens/team_hub.css, whose container rules it takes by carrying the container's name) ── */
/* it starts below a phone's clock (env(safe-area-inset-top)), so its tabs, which stay at the top while it scrolls, do too */
.fb-team { position: fixed; inset: 0; top: env(safe-area-inset-top, 0px); z-index: 300; background: var(--ds-bg); color: var(--ds-ink);
  overflow-y: auto; font-family: var(--ds-font); container-type: inline-size; container-name: th; }
.fb-team[hidden] { display: none; }
.fbt .fb-crest { flex: none; }
/* a draw, between a win's filled square and a defeat's open one */
.td-wl.is-draw, .th-sg-wl.is-draw { background: var(--ds-soft); color: var(--ds-ink); border-style: dashed; }
.th-sg-wl.lost { background: transparent; }
.fbt-comp { display: inline-block; margin-inline-start: 6px; padding: 1px 6px; border: 1px solid var(--ds-line); font: 700 var(--ds-fs-12)/1.4 var(--ds-font);
  color: var(--ds-ink2); white-space: nowrap; vertical-align: 1px; }
.fbt-when { font: 600 var(--ds-fs-13)/1.5 var(--ds-font); color: var(--ds-ink2); }
.td-game-name .fbt-comp, .th-sg-opp .fbt-comp { display: block; inline-size: fit-content; margin: 3px 0 0; }
/* won, drawn, lost: each number over its letter */
.fbt-wdl { display: inline-flex; gap: 16px; }
.fbt-wdl > span { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; }
.fbt-wdl b { font: 800 28px/1 var(--ds-font-num, var(--ds-font)); font-variant-numeric: tabular-nums; color: var(--ds-ink); }
.fbt-wdl i { font: 700 var(--ds-fs-12)/1 var(--ds-font); font-style: normal; color: var(--ds-ink2); }
.fbt-wdl.is-big { gap: 24px; }
.fbt-wdl.is-big b { font-size: 48px; }
.fbt-wdl.is-big i { font-size: var(--ds-fs-13); }
@media (min-width: 600px) { .fbt-wdl.is-big b { font-size: 56px; } }
.fbt-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ds-ink); }
.fbt-all { margin-block-start: 10px; }
/* a football score is short ("2-1"): the room goes to the club's name */
.fbt .th-sg-row--res { grid-template-columns: 44px 24px minmax(0, 1fr) 28px 52px; gap: 10px; }
.fbt .th-sg-row--up { grid-template-columns: 44px 24px minmax(0, 1fr) 16px; gap: 10px; }
.fbt-next .td-last-in { flex-wrap: nowrap; }
/* the club's honours (titlesHtml): basketball's championships pieces (team_hub.css .td-titles); a season ("1999/2000")
   is longer than basketball's year, so a little smaller, five to a row on a phone */
.fbt-titles .td-years { gap: 4px 10px; font-size: 18px; }
/* what marks the club's season: sentences, one to a line */
.fbt-traits-list { list-style: none; margin: 0; padding: 0; }
.fbt-traits-list li { padding: 13px 0; border-block-end: 1px solid var(--ds-line); font: 700 var(--ds-fs-16)/1.55 var(--ds-font); text-wrap: pretty; }
.fbt-traits-list li:last-child { border-block-end: 0; }
/* the season's numbers */
.fbt-stats, .fbt-moves { max-inline-size: 760px; margin: 0 auto; padding: 0 4px; }
.fbt-stats > .th-season-note { margin: 0 0 4px; }
.fbt-cells { padding-block-start: 14px; }
.fbt-cells .td-cell b { font-size: 26px; }
.fbt-what summary { display: inline-flex; align-items: center; min-block-size: 32px; font: 700 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2);
  text-decoration: underline; cursor: pointer; list-style: none; }
.fbt-what summary::-webkit-details-marker { display: none; }
.fbt-what summary:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.fbt-what p { margin: 2px 0 8px; max-inline-size: 60ch; font: 500 var(--ds-fs-13)/1.55 var(--ds-font); color: var(--ds-ink2); }
.fbt-parts { padding-block-start: 10px; }
/* mirrored around the minutes: scored on one side, conceded on the other, each number beside the minutes with its
   heading right above it, both bars growing away from the middle */
.fbt-parts-h, .fbt-parts-r { display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); gap: 10px; align-items: center; }
.fbt-parts-h { padding-block-end: 8px; font: 700 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); }
.fbt-parts-h > span { display: flex; }
.fbt-parts-h > .is-for { justify-content: flex-end; }
.fbt-parts-h > .is-mid { justify-content: center; }
.fbt-parts-h > .is-against { justify-content: flex-start; }
.fbt-parts-h i { display: flex; justify-content: center; inline-size: 24px; font-style: normal; white-space: nowrap; }   /* over the numbers' column */
.fbt-parts-r { min-block-size: 40px; border-block-start: 1px solid var(--ds-line); }
.fbt-parts-l { font: 700 var(--ds-fs-14) var(--ds-font-num); color: var(--ds-ink2); text-align: center; }
.fbt-parts-c { display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.fbt-parts-c.is-for .fbt-bar { display: flex; justify-content: flex-end; }
.fbt-parts-c b, .fbt-src b { flex: none; inline-size: 24px; font: 800 var(--ds-fs-16) var(--ds-font-num); text-align: center; }
.fbt-bar { flex: 1 1 auto; min-inline-size: 0; block-size: 12px; background: color-mix(in srgb, var(--ds-ink) 8%, var(--ds-card)); }
.fbt-bar i { display: block; block-size: 100%; }
.fbt-bar.is-for i { background: var(--ds-ink); }
.fbt-bar.is-against i { background: transparent; box-shadow: inset 0 0 0 2px var(--ds-ink2); }      /* scored is filled, conceded is an outline */
.fbt-turns { margin: 0; padding-block-start: 4px; }
.fbt-turns > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-block-size: 44px;
  box-sizing: border-box; padding: 9px 0; border-block-end: 1px solid var(--ds-line); }
.fbt-turns dt { font: 700 var(--ds-fs-15) var(--ds-font); }
.fbt-turns dd { margin: 0; font: 600 var(--ds-fs-15) var(--ds-font); color: var(--ds-ink2); }
.fbt-src, .fbt-pairs, .fbt-forms { list-style: none; margin: 0; padding: 4px 0 0; }
.fbt-src li { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 24px; gap: 12px; align-items: center; min-block-size: 40px;
  border-block-end: 1px solid var(--ds-line); font: 600 var(--ds-fs-15) var(--ds-font); }
.fbt-pairs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; min-block-size: 44px; box-sizing: border-box; padding: 9px 0;
  border-block-end: 1px solid var(--ds-line); font: 600 var(--ds-fs-15) var(--ds-font); }
.fbt-pairs-s { color: var(--ds-ink2); }
.fbt-pairs-s b { color: var(--ds-ink); }
.fbt-pairs .fbt-pairs-n { margin-inline-start: auto; font-weight: 800; color: var(--ds-ink); white-space: nowrap; }
.fbt-forms { display: flex; flex-wrap: wrap; gap: 8px; padding-block-start: 12px; }
.fbt-forms li { display: flex; align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid var(--ds-line); background: var(--ds-card); }
.fbt-forms b { font: 800 var(--ds-fs-17) var(--ds-font-num); }
.fbt-forms span { font: 600 var(--ds-fs-13) var(--ds-font); color: var(--ds-ink2); }
.fbt-leaders .th-stat-chips { margin-block-start: 14px; }
.fbt-pen { font: 600 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); white-space: nowrap; }
.fbt-shots { padding-block-start: 14px; }
.fbt-shots .fbt-only { margin: 0; }
.fbt-shots .fb-shot { border-width: 1.5px; }
.fbt-shotgo { margin-block-start: 10px; inline-size: 100%; }
.fbt-hint { margin: 0; text-align: center; }
/* the squad: the shirt number in the club's colours where a photo would be */
.fbt-num { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--ds-soft); color: var(--ds-ink);
  font: 800 var(--ds-fs-16)/1 var(--ds-font-num); }
/* the table: a phone shows one of the three at a time (all, home, away) */
.fbt-split { margin: 0 auto 12px; max-inline-size: 420px; }
.fbt-st { max-inline-size: 760px; margin: 0 auto; }
.fbt-tablebox { display: none; }
.fbt-tablebox.is-on { display: block; }
.fbt-tablebox > h3 { display: none; margin: 0 0 8px; font: 800 var(--ds-fs-15) var(--ds-font); }
.fbt-st-x { display: none; }
.fbt-st-n.fbt-st-g { inline-size: 58px; }
.fbt-note--split.is-off { display: none; }
.fbt-st-row { inline-size: 100%; box-sizing: border-box; margin: 0; text-align: start; font: inherit; color: inherit; background: transparent;
  border-inline: 0; border-block-start: 0; border-radius: 0; }
button.fbt-st-row { cursor: pointer; }
button.fbt-st-row:hover { background: var(--ds-soft); }
button.fbt-st-row:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.fbt-st-n { flex: none; inline-size: 40px; text-align: center; font: 600 var(--ds-fs-14) var(--ds-font-num); font-variant-numeric: tabular-nums; color: var(--ds-ink2); }
.fbt-st-n.fbt-st-pts { font-weight: 800; color: var(--ds-ink); }
.th-standings-head .fbt-st-n { font: 700 var(--ds-fs-12) var(--ds-font); color: var(--ds-ink2); }
.fbt-note { margin: 10px 2px 0; text-align: center; }
.fbt-hour { margin-inline-start: 8px; font: 700 var(--ds-fs-13) var(--ds-font-num); color: var(--ds-ink2); }
/* the transfers */
.fbt-moves .th-transfers-list { display: block; gap: 0; }
.fbt-move { display: flex; align-items: center; gap: 12px; padding: 8px 0; box-sizing: border-box; background: transparent; border: 0;
  border-block-end: 1px solid var(--ds-line); border-radius: 0; }
.fbt-move .th-transfer-date { margin: 0; }
.fbt-move .th-transfer-desc { min-inline-size: 0; overflow-wrap: anywhere; font: 500 var(--ds-fs-15)/1.4 var(--ds-font); }
.fbt-move .th-transfer-date { flex: none; inline-size: 88px; }
.fbt-move .th-transfer-desc span { color: var(--ds-ink2); }
.fbt-move small { color: var(--ds-ink2); font: 700 var(--ds-fs-13) var(--ds-font); white-space: nowrap; }
/* the ways in: a club's row in the table, a club at the top of a match's page */
.fb-club { display: flex; align-items: center; gap: 8px; min-inline-size: 0; inline-size: 100%; min-block-size: 40px; padding: 0; border: 0;
  background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.fb-club:hover .st-team-name, .fb-msideb:hover b { text-decoration: underline; }
.fb-club:focus-visible, .fb-msideb:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.fb-msideb { border: 0; background: transparent; color: inherit; padding: 4px; font: inherit; cursor: pointer; }

/* A computer gives the club's page the screen's width (owner, 25.11.2026: "on a computer everything should be on the
   whole screen, so it does not look made for a phone"): the season's numbers in two columns, the squad's lines in
   columns, the league's three tables side by side (or the one table with every column), arrivals beside departures. */
@container th (min-width: 1000px) {
  .fbt-stats, .fbt-moves, .fbt-st, .fbt-leaders .th-stat-cat { max-inline-size: none; }
  .fbt-stats { padding: 0 8px; }
  .fbt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .fbt-squad { columns: 2; column-gap: 20px; }
  .fbt-squad .th-squad-group { break-inside: avoid; margin-block-start: 0; }
  .fbt-moves { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .fbt-moves > .fbt-note { grid-column: 1 / -1; }
  .fbt-split { display: none; }
  .fbt-tables.is-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .fbt-tables.is-three .fbt-tablebox { display: block; }
  .fbt-tables.is-three .fbt-tablebox > h3 { display: block; }
  .fbt-tables.is-one { max-inline-size: 960px; margin: 0 auto; }
  .fbt-tables.is-one .fbt-st-x { display: block; }
  .fbt-note--split.is-off { display: block; }
}

/* ── The games page as basketball's (owner, 25.11.2026: "the dates should work as in basketball"; "why does the design look
   different in football and in basketball?"): the date row and the games card of the basketball board, and on a computer
   the league's table beside the games (home_board.css: 1.6fr | 1fr from 1000px); a phone stacks them ── */
.fb-board { display: flex; flex-direction: column; gap: 12px; }
.fb-col-main, .fb-col-side { display: flex; flex-direction: column; gap: 12px; min-inline-size: 0; }
@media (min-width: 560px) { .fb-board, .fb-col-main, .fb-col-side { gap: 16px; } }
@media (min-width: 1000px) {
  .fb-board { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
}
.fb-games .game-row:focus-visible, .fb-side-table .hb-tbody:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.fb-games .gr-side .fb-red { flex: none; }
.fb-games .fb-gt { margin: 0; padding: 14px 0 8px; border-top: 1px solid var(--ds-line); font: 800 var(--ds-fs-13)/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-games .fb-gt:first-child { border-top: 0; padding-top: 2px; }
.fb-games .fb-gnote { margin: 0; padding: 0 0 10px; }
/* the points read as words in Hebrew ("25 נק'"): the page's own direction, not the record's left-to-right */
.fb-side-table .hb-trec { direction: inherit; }

/* ── Injuries, as basketball's injuries screen (injuries_screen.css: its head, counters, tabs, cards and rows are global;
   the rules it scopes to #screen-injuries are repeated here for this screen). No star on a club's card yet, so its count
   keeps no room for one. ── */
#screen-football .fb-injpage { container-type: inline-size; }
#screen-football .inj-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; }
#screen-football .inj-search { flex: 1 1 240px; min-width: 0; min-height: var(--ds-h-field); padding: 0 14px; border: 1.5px solid var(--ds-line);
  border-radius: 0; background: var(--ds-card); color: var(--ds-ink); font: 600 var(--ds-fs-15) var(--ds-font); }
#screen-football .inj-search::placeholder { color: var(--ds-ink2); opacity: 1; }
#screen-football .inj-search:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; border-color: var(--ds-ink); }
#screen-football .inj-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; padding: 0;
  background: var(--ds-card); border-top: 2px solid var(--ds-ink); }
#screen-football .inj-summary:empty { display: none; }
#screen-football .inj-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; margin-top: 8px; background: var(--ds-card); }
#screen-football .inj-filters:empty { display: none; }
#screen-football .inj-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 8px; padding: 0; }
@container (min-width: 700px)  { #screen-football .inj-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1100px) { #screen-football .inj-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#screen-football .inj-list > .inj-hint { grid-column: 1 / -1; margin: 6px 0 0; }
#screen-football .inj-empty { grid-column: 1 / -1; padding: 40px 16px; text-align: center; background: var(--ds-card); font: 600 var(--ds-fs-15) var(--ds-font); color: var(--ds-ink2); }
#screen-football .inj-count.fb-inj-count { margin-inline-end: 0; }
#screen-football .inj-detail .fb-injsrc { display: inline-block; margin-top: 6px; }

/* A phone that draws the page under its clock (an iPhone with a notch or the Dynamic Island, an Android phone with a camera
   cut-out, opened from the home-screen icon) says how tall that strip is: the match's bar takes it, as basketball's game
   page bar does (game_page.css .gp-bar), and its back button sits below the clock (owner, 25.11.2026: "the back button on
   the iPhone is impossible, it collides with the clock"). */
.fb-mbar { box-sizing: content-box; block-size: 56px; padding-top: env(safe-area-inset-top, 0px); }

/* Following a club: "עקוב" beside the close button, drawn as it is (an outline in the header's own ink) */
.fbt-acts { display: flex; align-items: center; gap: 8px; }
.fbt-follow { display: inline-flex; align-items: center; gap: 6px; min-block-size: var(--ds-h-btn); padding: 0 14px; border: 1.5px solid currentColor;
  border-radius: 0; background: transparent; color: inherit; font: 800 var(--ds-fs-14) var(--ds-font); cursor: pointer; }
.fbt-follow:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.fbt-follow.is-on { background: color-mix(in srgb, currentColor 18%, transparent); }
.fbt-follow:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* ── The vote before the match (owner, 25.11.2026): basketball's "מי תנצח?" card (game_page.css .gp-win-*) with three
   answers a question, a score picker, and arrows between the questions. ── */
.fb-vote { padding: 16px 12px; background: var(--ds-card); border: 1px solid var(--ds-line); margin-bottom: 12px; }
.fb-vote .gp-win-btns, .fb-vote .gp-win-res { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fb-vote .gp-win-btn { min-block-size: 104px; padding: 10px 6px; }
.fb-vote .gp-win-btn span { font-size: 14px; overflow-wrap: break-word; }
.fb-vote .gp-win-side { padding: 10px 8px; }
/* three tiles at 390 are narrow: the crest over the name, and a name breaks between its words only ("בשיקט / אש" before) */
.fb-vres .gp-win-who { flex-direction: column; align-items: flex-start; gap: 6px; }
.fb-vres .gp-win-who b { font-size: 14px; overflow-wrap: break-word; }
.fb-vote .gp-win-pct { font-size: 32px; }
.fb-vmark { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border: 1.5px solid var(--ds-ink2); font: 800 17px/1 var(--ds-font-num); color: var(--ds-ink); }
.fb-vres .fb-vmark { inline-size: 28px; block-size: 28px; font-size: 13px; }
.fb-vbar i:nth-child(1) { background: var(--ds-ink); }
.fb-vbar i:nth-child(2) { background: var(--ds-ink2); }
.fb-vbar i:nth-child(3) { background: var(--ds-line); }
.fb-vright { outline: 2px dashed var(--ds-ink); outline-offset: -5px; }
.fb-vtag { display: inline-flex; align-items: center; gap: 4px; font: 800 12px/1.3 var(--ds-font); color: var(--ds-ink); }
.fb-vsc { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.fb-vstep { display: flex; flex-direction: column; align-items: center; gap: 8px; min-inline-size: 0; text-align: center; }
.fb-vstep b { font: 700 14px/1.3 var(--ds-font); overflow-wrap: anywhere; }
.fb-vstep-ctl { display: flex; align-items: center; gap: 6px; }
.fb-vstep-ctl button { inline-size: 44px; block-size: 44px; display: grid; place-items: center; border: 1.5px solid var(--ds-ink); border-radius: 0;
  background: var(--ds-card); color: var(--ds-ink); font: 800 22px/1 var(--ds-font); cursor: pointer; }
.fb-vstep-ctl button:hover:not([aria-disabled="true"]) { background: var(--ds-soft); }
.fb-vstep-ctl button[aria-disabled="true"] { opacity: .4; cursor: default; }
.fb-vstep-ctl button:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.fb-vstep-ctl output { min-inline-size: 34px; text-align: center; font: 800 34px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; color: var(--ds-ink); }
.fb-vsc-sep { padding-block-end: 8px; font: 800 30px/1 var(--ds-font-num); color: var(--ds-ink2); }
.fb-vsend { inline-size: 100%; }
.fb-vsc-n { display: inline-flex; align-items: center; gap: 4px; font: 800 22px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.fb-vsc-n i { font-style: normal; color: var(--ds-ink2); }
.fb-vtop { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fb-vtop li { display: flex; align-items: center; gap: 12px; min-block-size: 48px; padding: 6px 12px; border: 1px solid var(--ds-line); }
.fb-vtop li.on { border: 2px solid var(--ds-ink); }
.fb-vtop .fb-vother { font: 600 14px/1.3 var(--ds-font); color: var(--ds-ink2); }
.fb-vpct { margin-inline-start: auto; font: 800 22px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; color: var(--ds-ink); }
.fb-vpicked, .fb-vanswer { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 700 15px/1.5 var(--ds-font); color: var(--ds-ink); }
.fb-vnav { display: flex; align-items: center; gap: 10px; }
.fb-vnav .fb-vcount { margin-inline-end: auto; font: 700 13px/1 var(--ds-font); color: var(--ds-ink2); }
.fb-vdots { display: inline-flex; gap: 6px; margin-inline-start: auto; }
.fb-vdots i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--ds-line); }
.fb-vdots i.done { background: var(--ds-ink2); }
.fb-vdots i.on { background: var(--ds-ink); }

/* ── A player's page (football_player.js, 26.11.2026): basketball's player page in the club page's frame; a player's
   name, on the pitch, in a list or a table, opens it ── */
.fbp-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer;
  text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.fbp-link:hover { text-decoration-color: currentColor; }
.fbp-link:focus-visible, .fbp-row:focus-visible, .fb-pm.is-link:focus-visible, .fb-bp.is-link:focus-visible, .fb-xi li.is-link:focus-visible,
.fb-bench li.is-link:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.fbp-row { inline-size: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: start; cursor: pointer; }
.fbp-row:hover { background: var(--ds-soft); }
.fb-pm.is-link, .fb-bp.is-link, .fb-xi li.is-link, .fb-bench li.is-link { cursor: pointer; }
.fbp-club { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
.fbp-club:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.fbp-line { display: block; margin-block-start: 2px; font: 600 var(--ds-fs-12)/1.4 var(--ds-font); color: var(--ds-ink2); }

/* ── The comparison (js/screens/football_compare.js): basketball's cp-* pieces (compare.css) in football's page ── */
#screen-football .fb-cmp.cp {
  container-type: inline-size;
  width: 100%; max-width: 1180px; margin: 0 auto; box-sizing: border-box;
  padding: 20px clamp(10px, 3vw, 24px) 60px;
  color: var(--ds-ink); font-family: var(--ds-font);
}
/* the season's numbers side by side, the better one in bold */
.fbc-tot-h { margin: 0 0 10px; font: 800 var(--ds-fs-17)/1.3 var(--ds-font); color: var(--ds-ink); }
.fbc-tot-scroll { overflow-x: auto; }
.fbc-tot-t { width: 100%; border-collapse: collapse; font: 600 var(--ds-fs-14)/1.4 var(--ds-font); font-variant-numeric: tabular-nums; }
.fbc-tot-t th, .fbc-tot-t td { padding: 8px 10px; border-block-end: 1px solid var(--ds-line); text-align: center; }
.fbc-tot-t thead th { font-weight: 800; color: var(--ds-ink); white-space: nowrap; }
.fbc-tot-t thead th .cp-dot, .fbc-tot-t thead th .cp-sq { margin-inline-end: 6px; vertical-align: middle; }
.fbc-tot-t tbody th { text-align: start; font-weight: 600; color: var(--ds-ink2); }
.fbc-tot-t td.is-win { font-weight: 900; color: var(--ds-ink); }
.fbc-tot-t td:not(.is-win) { color: var(--ds-ink); }

/* The Professor's write-up of a finished match (27.11.2026), in the card the vote above it wears */
.fb-report { padding: 16px; background: var(--ds-card); border: 1px solid var(--ds-line); margin-bottom: 12px; }
.fb-report .fb-rep-h { margin: 0 0 8px; font-size: 18px; }
.fb-report h3 { margin: 14px 0 4px; font-size: 15px; }
.fb-report p { margin: 0 0 8px; line-height: 1.7; max-inline-size: 70ch; }
.fb-report .fb-rep-wait { color: var(--ds-ink2); }
/* The Professor's live bubble (27.11.2026): basketball's card (.gp-bub, game_page.css, loaded after this file: two
   classes so the spacing holds), in the rhythm of this page's cards */
.gp-card.fb-bub { margin: 0 0 12px; padding: 16px; }
