/* The home's "שלי / הכל" (Claude Design multi-sport canvas: boards Main, All and States; owner 19.11.2026),
   js/screens/home_scope.js. Sizes and weights are the boards' own; the colours are the site's tokens
   (design_system.css) in both themes, and a club's colours come from js/team_palette.js as --team-* properties. */

html[data-theme] {
  --hs-surface2: color-mix(in srgb, var(--ds-ink) 4%, var(--ds-card));
  --hs-live-solid: #B71C2B;         /* the pressed live button: white on it reads 6.5:1 */
  --hs-live-on: #FFFFFF;
  --hs-sk: color-mix(in srgb, var(--ds-ink) 8%, var(--ds-card));
  --hs-sk2: color-mix(in srgb, var(--ds-ink) 13%, var(--ds-card));
}
html[data-theme="dark"] {
  --hs-live-solid: #FF8A8A;
  --hs-live-on: #0C111C;
}

/* ── What the new home replaces ── */
#home-grid.hs-on #home-hero,
#home-grid.hs-on .dn-bar2,
#home-grid.hs-on .dn-cal,
#home-grid.hs-on .games-section { display: none !important; }
/* "הכל" and the live filter are about today: no day row there. */
#home-grid.hs-on[data-hs-view="all"] #date-nav,
#home-grid.hs-on[data-hs-view="live"] #date-nav { display: none !important; }
/* On the home the bar's "חי עכשיו" does what the results strip did; the strip stays on the other screens. */
html.hs-home body:not(.screen-locked) #dash-strip-bar { display: none !important; }

/* The order in the main column: the bar, the day, the sections (home_board.css orders the rest). */
#hs-bar   { order: -1; }
#hs-body  { order: 4; }
#home-grid.hs-on #date-nav { order: 1; }
#home-grid.hs-on #cup-home { order: 3; }

/* ── The bar: "שלי | הכל" and "● חי עכשיו N" ── */
.hs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--ds-card);
  border: 1px solid var(--ds-line);
  color: var(--ds-ink);
  font-family: var(--ds-font);
}
.hs-bar:empty { display: none; }
.hs-tabs {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 196px;
  height: 44px;
  box-sizing: border-box;
  border: 1.5px solid var(--ds-ink);
}
.hs-tabs button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: 600 15px/1 var(--ds-font);
  cursor: pointer;
}
.hs-tabs button[aria-selected="true"] { background: var(--ds-ink); color: var(--ds-card); font-weight: 800; }
.hs-tabs button:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; position: relative; z-index: 1; }
.hs-livebtn {
  margin-inline-start: auto;
  height: 44px;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--ds-ink);
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: 700 14px/1 var(--ds-font);
  white-space: nowrap;
  cursor: pointer;
}
.hs-livebtn > i { width: 8px; height: 8px; border-radius: 50%; background: var(--ds-live); flex: none; }
.hs-livebtn-n { font: 700 18px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.hs-livebtn.is-wait { opacity: .5; }
.hs-livebtn.is-on { background: var(--hs-live-solid); border-color: var(--hs-live-solid); color: var(--hs-live-on); font-weight: 800; }
.hs-livebtn.is-on > i { background: currentColor; }
.hs-livebtn:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }

/* ── The day row, as the Main board draws it ── */
#home-grid.hs-on .date-nav { background: transparent; }
#home-grid.hs-on .dn-date-row { flex-wrap: nowrap; gap: 6px; padding: 0; }
#home-grid.hs-on .dn-title { order: 0; flex: 1 1 auto; flex-basis: auto; min-width: 0; flex-wrap: nowrap; }
#home-grid.hs-on .dn-date { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#home-grid.hs-on .dn-today { margin-inline-start: auto; padding: 0 8px; height: 28px; box-sizing: border-box; display: flex; align-items: center;
  border-width: 1px; font-weight: 700; }
#home-grid.hs-on .dn-today[hidden] { display: none; }
#home-grid.hs-on .date-nav-arrow.dn-sq { width: 40px; height: 44px; border: 1px solid var(--ds-line); background: var(--ds-card); }

/* ── Sections ── */
.hs-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 2px 0 4px;          /* the page's column already holds the side gutters */
  color: var(--ds-ink);
  font-family: var(--ds-font);
}
.hs-body:empty { display: none; }
.hs-sec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hs-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--ds-ink);
}
.hs-head h2 { margin: 0; font: 900 22px/1.1 var(--ds-font); color: var(--ds-ink); }
.hs-head--s h2 { font-size: 20px; }
.hs-n { font: 700 20px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; color: var(--ds-ink2); }
.hs-head--s .hs-n { font-size: 18px; }
.hs-n.is-live { color: var(--ds-live); }
.hs-sub { font: 600 13px/1.3 var(--ds-font); color: var(--ds-ink2); }
.hs-stale { margin-inline-start: auto; align-self: center; padding: 1px 6px; border: 1px solid var(--ds-ink2); color: var(--ds-ink2); font: 800 12px/1.4 var(--ds-font); }
.hs-rows { background: var(--ds-card); border: 1px solid var(--ds-line); min-width: 0; }
.hs-intro { margin: 0; font: 400 13px/1.5 var(--ds-font); color: var(--ds-ink2); }
.hs-note { margin: 0; padding: 12px; background: var(--ds-card); border: 1px solid var(--ds-line); font: 500 13px/1.5 var(--ds-font); color: var(--ds-ink2); }
.hs-note--err { border-color: var(--ds-live); }

/* ── A game row: home | score or time | visitors ── */
.hs-row {
  width: 100%;
  display: grid;
  /* The board's 92px middle holds two-digit scores; basketball's three digits (121 : 124) need 104. */
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
  column-gap: 4px;
  align-items: center;
  min-height: 64px;
  padding: 6px 12px;
  box-sizing: border-box;
  border: 0;
  border-top: 1px solid var(--ds-line);
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.hs-rows > .hs-row:first-child,
.hs-rows > .hs-qrow:first-child,
.hs-rows > .hs-pop:first-child,
.hs-rows > .hs-sk-row:first-child,
.hs-rows > .hs-sk-nx:first-child { border-top: 0; }
.hs-row:hover { background: var(--ds-soft); }
.hs-row:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.hs-row.is-flat { cursor: default; }
.hs-row.is-flat:hover { background: transparent; }
.hs-row--dense { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); min-height: 56px; padding: 4px 12px; }
.hs-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hs-side--a { justify-content: flex-end; }
.hs-side .team-crest, .hs-big .team-crest, .hs-next .team-crest { flex: none; }
/* Up to two lines: the board's names were short, an NBA club's Hebrew name is not ("קליבלנד קאבלירס"). */
.hs-nm { min-width: 0; font: 700 14px/1.25 var(--ds-font); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* A followed club: a star before the name, the name in bold (owner, 15.11). */
.hs-nm.is-mine { font-weight: 800; }
.hs-star { margin-inline-end: 3px; font-size: 12px; }
/* A followed team's next game: under the time its day, then its league's mark and name (owner, 19.11: the list mixes
   leagues). The longest names ("ליגת ווינר סל", "Champions League") fill the middle column; past it they end in "…". */
.hs-day { font: 700 12px/1.2 var(--ds-font); color: var(--ds-ink2); white-space: nowrap; }
.hs-lgname { display: flex; align-items: center; gap: 4px; max-width: 100%; font: 700 11px/1.2 var(--ds-font); color: var(--ds-ink2); }
.hs-lgname > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-lgname .hs-mark { flex: none; }
/* a national team's competition ("מוקדמות מונדובאסקט") wraps onto two lines rather than being cut (26.11.2026) */
.hs-lgname--wrap { align-items: flex-start; justify-content: center; }
.hs-lgname--wrap > span:last-child { white-space: normal; overflow: visible; text-align: center; }

/* Each side in its club's colour, strongest at the edge and fading to the card under the score (Claude Design, team
   marks §10, "fade from the edge"; the owner's choice for game rows, 6.11), as home_board.css draws the games list. */
.hs-row.hs-wash {
  --h-str: var(--h-str-l, var(--ds-card)); --h-soft: var(--h-soft-l, var(--ds-card)); --h-ink: var(--h-ink-l, var(--ds-ink));
  --a-str: var(--a-str-l, var(--ds-card)); --a-soft: var(--a-soft-l, var(--ds-card)); --a-ink: var(--a-ink-l, var(--ds-ink));
  --hs-wash-dir: to left;
  --hs-wash: linear-gradient(var(--hs-wash-dir), var(--h-str) 0, var(--h-soft) 27.5%, var(--ds-card) 50%, var(--a-soft) 72.5%, var(--a-str) 100%);
  background: var(--hs-wash);
}
html[dir="ltr"] .hs-row.hs-wash { --hs-wash-dir: to right; }
html[data-theme="dark"] .hs-row.hs-wash {
  --h-str: var(--h-str-d, var(--ds-card)); --h-soft: var(--h-soft-d, var(--ds-card)); --h-ink: var(--h-ink-d, var(--ds-ink));
  --a-str: var(--a-str-d, var(--ds-card)); --a-soft: var(--a-soft-d, var(--ds-card)); --a-ink: var(--a-ink-d, var(--ds-ink));
}
.hs-row.hs-wash:hover { background: var(--hs-wash); filter: brightness(.97); }
.hs-row.hs-wash .hs-side:not(.hs-side--a) .hs-nm { color: var(--h-ink); }
.hs-row.hs-wash .hs-side--a .hs-nm { color: var(--a-ink); }
.hs-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.hs-sc { display: flex; gap: 5px; font: 700 25px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.hs-sc i { font-style: normal; color: var(--ds-ink2); }
.hs-row--dense .hs-sc { font-size: 23px; }
/* The state under the score stays inside its column: a line wider than the column goes on to a second line rather than
   over the club's name (owner, 26.11.2026: "why does the text run into the team's name?"). */
.hs-st { max-inline-size: 100%; font: 700 13px/1.2 var(--ds-font-num); color: var(--ds-ink2); text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
.hs-st.is-live { color: var(--ds-live); }
.hs-time { font: 700 24px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.hs-row.is-stale .hs-sc { color: var(--ds-ink2); }

/* ── The big live card, in the club's colour ── */
.hs-big {
  --hs-field: var(--ds-card);
  --hs-fg: var(--ds-ink);
  background: var(--hs-field);
  color: var(--hs-fg);
  border: 1px solid var(--ds-line);
}
html[data-theme] .hs-big.is-team { --hs-field: var(--team-field-l); --hs-fg: var(--team-fg-l); border-color: var(--team-ring-l, transparent); }
html[data-theme="dark"] .hs-big.is-team { --hs-field: var(--team-field-d); --hs-fg: var(--team-fg-d); border-color: var(--team-ring-d, transparent); }
.hs-big-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
button.hs-big-main:focus-visible { outline: 3px solid currentColor; outline-offset: -6px; }
.hs-big-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px 0; min-width: 0; }
.hs-pill {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 8px;
  background: var(--hs-fg);
  color: var(--hs-field);
  font: 800 12px/1 var(--ds-font);
}
.hs-pill i { width: 7px; height: 7px; border-radius: 50%; background: #FF5C70; }
.hs-big-clock { flex: none; font: 700 17px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.hs-big-lg { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; min-width: 0; font: 700 12px/1.3 var(--ds-font); }
.hs-big-lg > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-big-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 10px 12px 12px;
}
.hs-big-side { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.hs-big-nm { font: 700 15px/1.2 var(--ds-font); overflow-wrap: anywhere; }
.hs-big-nm.is-mine { font-weight: 800; }
.hs-big-sc { display: flex; align-items: center; gap: 6px; font: 700 60px/1 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.hs-big-sc i { font-style: normal; font-size: 40px; opacity: .55; }
.hs-prof {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: #0F2247;
  color: #F6F4F0;
  font: 400 13px/19px var(--ds-font);
  text-align: start;
  cursor: pointer;
}
.hs-prof img { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--hs-acc, #F6F4F0); }
.hs-prof b { color: var(--hs-acc, #F6F4F0); font-weight: 700; }
.hs-prof:focus-visible { outline: 2px solid #F6F4F0; outline-offset: -4px; }

/* ── "הקבוצות שלי · המשחקים הבאים": game rows (above) ── */
.hs-invite { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px; }
.hs-invite p { margin: 0; flex: 1 1 200px; font: 500 14px/1.5 var(--ds-font); color: var(--ds-ink2); }

/* ── "הליגות שלי" ── */
.hs-lg { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hs-lghead { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hs-lghead h3 { margin: 0; flex: none; font: 900 18px/1.2 var(--ds-font); color: var(--ds-ink); }
.hs-lgmeta { min-width: 0; font: 400 12px/1.3 var(--ds-font); color: var(--ds-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-mark { flex: none; display: grid; place-items: center; }
.hs-link {
  flex: none;
  margin-inline-start: auto;
  min-height: 44px;
  margin-block: -10px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: 700 13px/1 var(--ds-font);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
.hs-link span { text-decoration: none; }
.hs-link:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.hs-qrow { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 4px 12px; border-top: 1px solid var(--ds-line); min-width: 0; }
.hs-qname { flex: none; font: 800 15px/1.2 var(--ds-font); }
.hs-qsub { min-width: 0; font: 400 12px/1.3 var(--ds-font); color: var(--ds-ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-qrow .hs-link { margin-block: 0; }

/* ── Buttons ── */
.hs-btn {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ds-ink);
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: 800 14px/1 var(--ds-font);
  cursor: pointer;
}
.hs-btn--solid { background: var(--ds-ink); color: var(--ds-card); }
.hs-btn:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }

/* ── "הכל": popularity ── */
.hs-search {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1.5px solid var(--ds-ink);
  border-radius: 0;
  background: var(--ds-card);
  color: var(--ds-ink2);
  font: 400 14px/1 var(--ds-font);
  text-align: start;
  cursor: pointer;
}
.hs-search svg { flex: none; color: var(--ds-ink); }
.hs-search:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.hs-pop { border-top: 1px solid var(--ds-line); }
.hs-pop-row { display: flex; align-items: center; gap: 8px; min-height: 60px; padding-inline: 12px 8px; }
.hs-pop-open {
  flex: 1;
  min-width: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.hs-pop-open:disabled { cursor: default; color: var(--ds-ink); opacity: 1; }
.hs-pop-open:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.hs-pop-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hs-pop-nm { font: 900 16px/1.25 var(--ds-font); }
.hs-pop-sub { font: 400 12px/1.35 var(--ds-font); color: var(--ds-ink2); }
.hs-pop-sub b.is-live { color: var(--ds-live); font-weight: 700; }
.hs-chev { flex: none; margin-inline-start: auto; display: grid; place-items: center; color: var(--ds-ink2); transition: transform var(--ds-t-ctrl) ease; }
.hs-chev.is-open { transform: rotate(180deg); }
.hs-follow {
  flex: none;
  height: 44px;
  min-width: 86px;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1.5px solid var(--ds-ink);
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: 800 14px/1 var(--ds-font);
  cursor: pointer;
}
.hs-follow.is-on { background: var(--ds-ink); color: var(--ds-card); }
.hs-follow:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.hs-sub-rows { background: var(--hs-surface2); }
.hs-sub-rows .hs-row, .hs-grp .hs-row { border-top: 1px solid var(--ds-line); }
.hs-more {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-top: 1px solid var(--ds-line);
  border-radius: 0;
  background: var(--hs-surface2);
  color: var(--ds-ink);
  font: 800 13px/1 var(--ds-font);
  cursor: pointer;
}
.hs-grp .hs-more { background: var(--ds-card); }
.hs-more:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }

/* ── The live filter: groups by league ── */
.hs-grp { background: var(--ds-card); border: 1px solid var(--ds-line); }
.hs-grp-head {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.hs-grp-head:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.hs-grp-nm { font: 900 16px/1.2 var(--ds-font); }
.hs-grp-n { font: 700 16px/1 var(--ds-font-num); color: var(--ds-live); }
.hs-nolive h2 { margin: 0; padding-bottom: 6px; border-bottom: 3px solid var(--ds-ink); font: 900 22px/1.15 var(--ds-font); }

/* ── States board: nothing of the reader's today ── */
.hs-empty { gap: 16px; }
.hs-empty-h { margin: 0; padding-bottom: 6px; border-bottom: 3px solid var(--ds-ink); font: 900 26px/1.1 var(--ds-font); color: var(--ds-ink); text-wrap: balance; }
.hs-empty-p { margin: -10px 0 0; font: 400 14px/21px var(--ds-font); color: var(--ds-ink2); }
.hs-next {
  --hs-field: var(--ds-card);
  --hs-fg: var(--ds-ink);
  --hs-trim: var(--ds-ink);
  display: flex;
  flex-direction: column;
  background: var(--hs-field);
  color: var(--hs-fg);
  border: 1px solid var(--ds-line);
}
html[data-theme] .hs-next.is-team { --hs-field: var(--team-field-l); --hs-fg: var(--team-fg-l); --hs-trim: var(--team-trim-l); border-color: var(--team-ring-l, transparent); }
html[data-theme="dark"] .hs-next.is-team { --hs-field: var(--team-field-d); --hs-fg: var(--team-fg-d); --hs-trim: var(--team-trim-d); border-color: var(--team-ring-d, transparent); }
.hs-next-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px 0; font: 700 13px/1.3 var(--ds-font); }
.hs-next-date { padding: 2px 8px; border: 1.5px solid currentColor; font: 700 15px/1.2 var(--ds-font-num); }
.hs-next-team { display: flex; align-items: center; gap: 12px; padding: 14px; min-width: 0; }
.hs-next-names { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hs-next-nm { font: 900 24px/1.05 var(--ds-font); }
.hs-next-vs { font: 400 13px/1.35 var(--ds-font); }
.hs-next-rec { font: 700 13px/1.35 var(--ds-font); }
/* "2/5 ‹": on to the next of the reader's games, by time. */
.hs-next-cyc {
  margin-inline-start: auto;
  flex: none;
  min-width: 44px;
  height: 36px;
  margin-block: -6px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1.5px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 700 14px/1 var(--ds-font-num);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.hs-next-cyc:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.hs-next-cyc[aria-expanded="true"] { background: var(--hs-fg); color: var(--hs-field); }

/* The card's list of everyone followed: a panel over the card, in the page's colours. */
.hs-next { position: relative; }
.hs-spot-pop {
  position: absolute;
  z-index: 6;
  top: 50px;
  inset-inline: 10px;
  max-height: min(60vh, 400px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ds-card);
  color: var(--ds-ink);
  border: 1.5px solid var(--ds-ink);
  box-shadow: 0 14px 34px rgba(12, 22, 48, .3);
}
html[data-theme="dark"] .hs-spot-pop { box-shadow: 0 14px 34px rgba(0, 0, 0, .6); }
.hs-spot-pop h3 { margin: 0; padding: 10px 12px 6px; font: 900 15px/1.2 var(--ds-font); color: var(--ds-ink); }
.hs-spot-pop h3 span { font: 700 15px/1 var(--ds-font-num); color: var(--ds-ink2); }
.hs-spot-find {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  margin: 0 12px 8px;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1.5px solid var(--ds-ink);
  color: var(--ds-ink);
}
.hs-spot-find:focus-within { outline: 2px solid var(--ds-ink); outline-offset: 2px; }
.hs-spot-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ds-ink); font: 600 15px/1.2 var(--ds-font); }
.hs-spot-pop li[hidden] { display: none; }
.hs-spot-pop ul { list-style: none; margin: 0; padding: 0; }
.hs-spot-pop li { border-top: 1px solid var(--ds-line); }
.hs-spot-item {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.hs-spot-item:hover { background: var(--ds-soft); }
.hs-spot-item:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: -2px; }
.hs-spot-item.is-on { box-shadow: inset -4px 0 0 var(--ds-ink); }
[dir="ltr"] .hs-spot-item.is-on { box-shadow: inset 4px 0 0 var(--ds-ink); }
.hs-spot-item .team-crest { flex: none; }
.hs-spot-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hs-spot-nm { font: 800 15px/1.25 var(--ds-font); }
.hs-spot-sub { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font: 400 12px/1.35 var(--ds-font); color: var(--ds-ink2); }
.hs-spot-sub b.is-live { color: var(--ds-live); font-weight: 700; }
.hs-next-when { display: flex; align-items: flex-end; gap: 10px; padding: 0 14px 12px; min-width: 0; }
.hs-next-time { font: 700 64px/.9 var(--ds-font-num); font-variant-numeric: tabular-nums; }
.hs-next-when > span:nth-child(2) { padding-bottom: 6px; font: 700 14px/1 var(--ds-font); }
.hs-next-arena { margin-inline-start: auto; padding-bottom: 6px; font: 600 15px/1 var(--ds-font-num); letter-spacing: .06em;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-next-acts { display: flex; gap: 8px; padding: 0 14px 14px; }
.hs-next-acts button { flex: 1; height: 46px; box-sizing: border-box; border-radius: 0; font: 800 15px/1 var(--ds-font); cursor: pointer; }
.hs-next-b1 { border: 0; background: var(--hs-fg); color: var(--hs-field); }
.hs-next-b2 { border: 1.5px solid var(--hs-fg); background: transparent; color: var(--hs-fg); }
.hs-next-acts button:focus-visible { outline: 2px solid var(--hs-fg); outline-offset: 2px; }
.hs-next-trim { display: block; height: 6px; background: var(--hs-trim); }
.hs-toall {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1.5px solid var(--ds-ink);
  border-radius: 0;
  background: transparent;
  color: var(--ds-ink);
  font: 800 16px/1.2 var(--ds-font);
  cursor: pointer;
}
.hs-toall-n { font: 700 18px/1 var(--ds-font-num); }
.hs-toall:focus-visible { outline: 2px solid var(--ds-ink); outline-offset: 2px; }

/* ── States board: a load that failed ── */
.hs-err { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--ds-card); border: 1.5px solid var(--ds-live); }
.hs-err-top { display: flex; align-items: flex-start; gap: 10px; }
.hs-err-top svg { flex: none; color: var(--ds-live); }
.hs-err h2 { margin: 0; font: 900 18px/1.25 var(--ds-font); color: var(--ds-ink); }
.hs-err p { margin: 3px 0 0; font: 400 13px/19px var(--ds-font); color: var(--ds-ink2); }
.hs-err-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hs-err-acts span { font: 400 12px/1.4 var(--ds-font); color: var(--ds-ink2); }

/* ── States board: loading (the sections hold their places, so nothing jumps) ── */
.hs-skel { display: flex; flex-direction: column; gap: 16px; }
.hs-sk-head { padding-bottom: 6px; border-bottom: 3px solid var(--hs-sk2); }
.hs-sk-head i { display: block; height: 20px; background: var(--hs-sk2); }
.hs-sk-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); align-items: center; min-height: 60px; padding: 6px 12px; border-top: 1px solid var(--ds-line); }
.hs-sk-row span { display: flex; align-items: center; gap: 8px; }
.hs-sk-row span:nth-child(2) { justify-content: center; }
.hs-sk-row span:nth-child(3) { justify-content: flex-end; }
.hs-sk-row i, .hs-sk-nx i { display: block; background: var(--hs-sk); }
.hs-sk-row i.c { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.hs-sk-row i.n { height: 12px; }
.hs-sk-row i.s { width: 58px; height: 22px; background: var(--hs-sk2); }
.hs-sk-nx { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-top: 1px solid var(--ds-line); }
.hs-sk-nx i.w1 { width: 55%; height: 12px; }
.hs-sk-nx i.w2 { width: 80%; height: 20px; }

/* ── "שלי" by sport (owner, 26.11.2026, "כן תעשה א"): once football is followed, each sport's part under its name and
   mark, basketball's first; the sections inside are the same as before. A rule and space between the two parts. ── */
.hs-part { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hs-part + .hs-part { margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--ds-line); }
.hs-sport { display: flex; align-items: center; gap: 10px; margin: 0; font: 900 28px/1.1 var(--ds-font); color: var(--ds-ink); letter-spacing: -.01em; }
.hs-sport-mk { flex: none; display: grid; place-items: center; inline-size: 36px; block-size: 36px; background: var(--ds-ink); color: var(--ds-card); }

@media (prefers-reduced-motion: reduce) {
  .hs-chev { transition: none; }
}
