/* Katalog „Všechny seriály“ podle návrhu „Vsechny serialy“ (desky 1a–3b): nadpis, lišta filtrů, panel žánrů, řádek s počtem,
   mřížka dlaždic, stránkování a prázdný stav. Mobil < 1024 px je výchozí, od 1024 px desktop (breakpoint layoutu dodávky 1).
   Barvy jen z tokenů --st-*. Rozměry z naměření návrhu: dlaždice 186 px (8 px okraj, obrázek 170 × 123), desktop 6 sloupců
   s rozestupem `space-between`, mobil 2 sloupce `minmax(0, 1fr)` s mezerou 12 px, obrázek na šířku 170:123.

   Zkratky tříd: sm = celá stránka, sm-ht = nadpis, sm-sec = sekce výsledků, sm-tb = lišta filtrů (formulář), sm-q = hledání
   (qb lupa, x křížek), sm-sg = Stav, sm-row = Žánr a Jen sledované (chip), sm-sort = řazení (sel = select), sm-gn = rozbalovací
   panel žánrů (gt tlačítko, badge odznak, pop panel, ph mobilní hlavička, gf pole, gg mřížka voleb, go volba, gc počet, pf patička),
   sm-vp = výpis, sm-cnt = řádek s počtem (ct počet, ds popis, tags a tag štítky, clear Zrušit filtry), sm-g = mřížka, sm-t =
   dlaždice (tx text, s stav, e epizoda, p postup, bar, n čísla, f patička, b tlačítko), sm-pd / sm-pm = stránkování desktop /
   mobil (pg = položka ze sdíleného pagination.css), sm-em = prázdný stav.

   Mobil skládá lištu a výpis do jedné mřížky sekce: lišta (sm-tb), výpis (sm-vp) a řádek s počtem (sm-cnt) jsou
   `display: contents`, takže hledání, Stav, Žánr, [počet · Zrušit filtry · Řadit], štítky a dlaždice řadí `order`. Desktop je
   pořadí v DOM: lišta v jednom řádku, pod ní řádek s počtem a mřížka. */

/* Text jen pro desktop / jen pro mobil (jako na Úvodu; tyto stránky se tu nenačítají). */
.only-wide {
  display: none;
}

/* Skrytý atributem hidden (Zavřít, Zrušit výběr bez skriptu) zůstane skrytý, i když má komponenta vlastní display. */
.sm [hidden] {
  display: none !important;
}

.sm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Společné atributy ikon jsou tady, ne v každém <svg>: dlaždic je 24 a HTML strany má rozpočet. */
.sm svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Nadpis ---- */
.sm-ht {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 4px 0;
}

.sm-ht h1 {
  font-size: 36px;
  line-height: 38px;
  letter-spacing: -0.04em;
}

.sm-sub {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--st-text-secondary);
}

/* ---- Sekce: mobilní mřížka lišty a výpisu ---- */
.sm-sec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 8px;
}

.sm-tb,
.sm-vp,
.sm-cnt {
  display: contents;
}

/* Pořadí na mobilu: hledání, Stav, Žánr + Jen sledované, [počet · Zrušit filtry · Řadit], štítky, obsah. */
.sm-q,
.sm-sg,
.sm-row,
.sm-tags,
.sm-g,
.sm-em,
.sm-pd,
.sm-pm {
  grid-column: 1 / -1;
}

.sm-q {
  order: 1;
}

.sm-sg {
  order: 2;
}

.sm-row {
  order: 3;
}

.sm-ct {
  order: 4;
  grid-column: 1;
}

.sm-clear {
  order: 5;
  grid-column: 2;
  justify-self: start;
}

.sm-sort {
  order: 6;
  grid-column: 3;
}

.sm-tags {
  order: 7;
}

.sm-g,
.sm-em,
.sm-pd,
.sm-pm {
  order: 8;
}

/* ---- Hledání ---- */
.sm-q {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  padding: 0 6px 0 8px;
  border-radius: 999px;
  background: var(--st-surface);
  box-shadow: inset 0 0 0 1px var(--st-border-strong);
  color: var(--st-text-muted);
}

.sm-q:focus-within {
  box-shadow: inset 0 0 0 2px var(--st-text-link);
}

.sm-qb {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.sm-q label {
  flex: 1;
  min-width: 0;
  display: flex;
}

.sm-q input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--st-text-primary);
  font-size: 16px;
}

.sm-q input::placeholder {
  color: var(--st-text-muted);
}

.sm-q input::-webkit-search-cancel-button {
  display: none;
}

.sm-x {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--st-fill-secondary);
  color: var(--st-text-primary);
}

.sm-x:hover {
  background: var(--st-fill-secondary-hover);
  color: var(--st-text-primary);
}

/* ---- Stav (odkazy) ---- */
.sm-sg {
  display: flex;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: var(--st-surface);
  box-shadow: inset 0 0 0 1px var(--st-border-strong);
}

.sm-sg a {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.sm-sg a:hover {
  color: var(--st-text-primary);
}

.sm-sg a[aria-current="true"] {
  background: var(--st-toggle-on);
  color: var(--st-toggle-on-text);
}

/* ---- Žánr a Jen sledované ---- */
.sm-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-gn {
  position: relative;
}

.sm-gt {
  height: 44px;
  padding: 0 14px 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--st-surface);
  box-shadow: inset 0 0 0 1px var(--st-border-strong);
  color: var(--st-text-primary);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.sm-gt::-webkit-details-marker {
  display: none;
}

.sm-gt:hover {
  box-shadow: inset 0 0 0 1.5px var(--st-text-primary);
}

.sm-gn[open] > .sm-gt {
  box-shadow: inset 0 0 0 2px var(--st-text-primary);
}

.sm-gn[open] .sm-chev {
  transform: rotate(180deg);
}

.sm-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--st-toggle-on);
  color: var(--st-toggle-on-text);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Mobil: spodní panel přes celou šířku, tmavé pozadí kreslí obrovský stín. Panel se posouvá uvnitř a patička zůstává dole. */
.sm-pop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  max-height: calc(100dvh - 120px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  background: var(--st-surface);
  color: var(--st-text-primary);
  box-shadow: 0 0 0 100vmax var(--st-scrim);
}

.sm-ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 10px;
}

.sm-ph h2 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.02em;
}

.sm-ph .icon-button {
  background: var(--st-surface-subtle);
}

.sm-gf {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.sm-gf legend {
  padding: 0 10px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-text-muted);
}

.sm-gg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 4px;
}

/* Položky žánrů bez tříd: 48 položek × 2 třídy = ~1,3 kB HTML, rozpočet katalogu je 60 000 B. */
.sm-gg > label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sm-gg > label:hover {
  background: var(--st-surface-subtle);
}

.sm-gg input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--st-toggle-on);
  cursor: pointer;
}

.sm-gg > label > span:first-of-type {
  flex: 1;
  min-width: 0;
}

.sm-gg > label > span + span {
  font-size: 13px;
  font-weight: 500;
  color: var(--st-text-muted);
  font-variant-numeric: tabular-nums;
}

/* Patička panelu: Zobrazit nad Zrušit výběr, přes celou šířku; obal [data-region="zobrazit"] je bez boxu. */
.sm-pf {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  margin-top: 4px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--st-border-subtle);
  background: var(--st-surface);
}

.sm-pf [data-region="zobrazit"] {
  display: contents;
}

.sm-pf .button {
  width: 100%;
}

/* Počet se načítá (skript, po změně výběru): staré číslo zůstává čitelné, jen je tlumené. */
.sm-pf [data-region="zobrazit"][aria-busy="true"] .button {
  opacity: 0.6;
}

.sm-link {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--st-text-primary);
  color: var(--st-text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.sm-chip {
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--st-surface);
  box-shadow: inset 0 0 0 1px var(--st-border-strong);
  color: var(--st-text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.sm-chip:hover {
  box-shadow: inset 0 0 0 1.5px var(--st-text-primary);
  color: var(--st-text-primary);
}

.sm-chip .ck {
  display: none;
}

.sm-chip[aria-current="true"] {
  background: var(--st-toggle-on);
  box-shadow: none;
  color: var(--st-toggle-on-text);
}

.sm-chip[aria-current="true"]:hover {
  background: var(--st-toggle-on-hover);
  color: var(--st-toggle-on-text);
}

.sm-chip[aria-current="true"] .ck {
  display: block;
  color: var(--st-toggle-on-icon);
}

/* ---- Řazení ---- */
.sm-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-text-secondary);
}

.sm-sel {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sm-sel select {
  height: 44px;
  padding: 0 40px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--st-surface);
  box-shadow: inset 0 0 0 1px var(--st-border-strong);
  color: var(--st-text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.sm-sel svg {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--st-text-primary);
}

/* ---- Řádek s počtem ---- */
.sm-ct {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}

.sm-ct b {
  font-weight: 700;
}

.sm-ds {
  margin-left: 6px;
  color: var(--st-text-muted);
}

.sm-clear {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.sm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sm-tag {
  height: 32px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--st-toggle-on);
  color: var(--st-toggle-on-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sm-tag:hover {
  background: var(--st-toggle-on-hover);
  color: var(--st-toggle-on-text);
}

/* ---- Mřížka dlaždic ---- */
.sm-g {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-g > li {
  min-width: 0;
  scroll-margin-top: 16px;
}

.sm-t {
  position: relative;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: var(--st-surface);
  color: var(--st-text-primary);
}

.sm-t:hover {
  box-shadow: inset 0 0 0 2px var(--st-text-primary);
}

.sm-t img,
.sm-t .ph {
  width: 100%;
  height: auto;
  aspect-ratio: 170 / 123;
  border-radius: 8px;
  object-fit: cover;
}

.sm-t img {
  display: block;
}

/* Náhrada obrázku, který v projektu není (stejná šedá plocha jako na Úvodu a v Playlistu). */
.ph {
  display: grid;
  place-items: center;
  background: var(--st-fill-secondary);
  color: var(--st-text-muted);
}

.ph svg {
  width: 24px;
  height: 24px;
}

.sm-tx {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px 6px;
}

.sm-tx h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Odkaz v h3 roztáhne klik na celou kartu; fokus kreslí ::after. */
.stretch {
  color: inherit;
  text-decoration: none;
}

.stretch:hover {
  color: inherit;
}

.stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
}

.stretch:focus-visible {
  outline: none;
}

.stretch:focus-visible::after {
  outline: 2px solid var(--st-text-link);
  outline-offset: 2px;
}

/* Stav: tečka (šedá ukončený, zelená běží) a text. */
.sm-s {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 16px;
  color: var(--st-text-muted);
  font-variant-numeric: tabular-nums;
}

.sm-s::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--st-border-strong);
}

.sm-s.on::before {
  background: var(--st-success);
}

.sm-e {
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 16px;
  color: var(--st-text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sm-e b {
  font-weight: 700;
  color: var(--st-text-secondary);
  font-variant-numeric: tabular-nums;
}

.sm-p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.sm-bar {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--st-border-subtle);
  appearance: none;
  -webkit-appearance: none;
}

.sm-bar::-webkit-progress-bar {
  background: var(--st-border-subtle);
  border-radius: 9999px;
}

.sm-bar::-webkit-progress-value {
  background: var(--st-accent);
  border-radius: 9999px;
}

.sm-bar::-moz-progress-bar {
  background: var(--st-accent);
  border-radius: 9999px;
}

.sm-n {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 11px;
  line-height: 14px;
  color: var(--st-text-muted);
  font-variant-numeric: tabular-nums;
}

.sm-n b {
  color: var(--st-text-primary);
}

/* Patička s tlačítkem leží nad rozbaleným odkazem (z-index), aby šlo kliknout na tlačítko, ne na detail. */
.sm-f {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  padding: 0 4px 4px;
}

.sm-b {
  position: relative;
  height: 30px;
  padding: 0 10px 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--st-border-subtle);
  color: var(--st-text-secondary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}

/* Klikací plocha je zvětšena na 44 px na výšku. */
.sm-b::before {
  content: "";
  position: absolute;
  inset: -7px -4px;
}

.sm-b:hover {
  background: var(--st-surface-subtle);
  color: var(--st-text-primary);
  box-shadow: inset 0 0 0 1px var(--st-border-strong);
}

.sm-b:focus-visible {
  outline: 2px solid var(--st-text-link);
  outline-offset: 2px;
}

.sm-b[aria-pressed="true"] {
  background: var(--st-accent-soft);
  color: var(--st-accent-soft-text);
  box-shadow: none;
}

/* ---- Stránkování ---- */
.sm-pd {
  display: none;
}

.sm-pm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.sm-pm > span {
  font-size: 15px;
  font-weight: 600;
  color: var(--st-text-secondary);
  font-variant-numeric: tabular-nums;
}

.sm-pm b {
  color: var(--st-text-primary);
}

/* ---- Prázdný stav ---- */
.sm-em {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 20px 20px;
  border-radius: 20px;
  background: var(--st-surface);
}

.sm-em h2 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.sm-em p {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--st-text-secondary);
}

/* Mobil: Požádat o přidání nad Zrušit filtry (v DOM je desktopové pořadí), tlačítka přes celou šířku. */
.sm-em-a {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  margin-top: 4px;
}

/* ---- Desktop (od 1024 px) ---- */
@media (min-width: 1024px) {
  .only-wide {
    display: inline;
  }

  .only-narrow {
    display: none;
  }

  .sm {
    gap: 24px;
  }

  /* Pořadí desktopu je pořadí v DOM. */
  .sm-q,
  .sm-sg,
  .sm-row,
  .sm-ct,
  .sm-clear,
  .sm-sort,
  .sm-tags,
  .sm-g,
  .sm-em,
  .sm-pd,
  .sm-pm {
    order: 0;
    grid-column: auto;
  }

  /* ---- Nadpis ---- */
  .sm-ht {
    justify-content: flex-end;
    gap: 8px;
    min-height: 84px;
    padding: 0;
  }

  .sm-ht h1 {
    font-size: 64px;
    line-height: 60px;
  }

  .sm-sub {
    font-size: 17px;
    line-height: 24px;
  }

  /* ---- Sekce: lišta v jednom řádku, pod ní výpis ---- */
  .sm-sec {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  /* Lišta je kotva popoveru žánrů (viz .sm-pop), proto position: relative. */
  .sm-tb {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .sm-row {
    display: contents;
  }

  .sm-gn {
    position: static;
  }

  .sm-vp {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sm-q {
    flex: 0 1 420px;
    min-width: 0;
  }

  .sm-sg a {
    flex: none;
  }

  .sm-gt {
    height: 48px;
  }

  .sm-chip {
    height: 48px;
    padding: 0 16px;
  }

  .sm-sort {
    margin-left: auto;
  }

  /* ---- Panel žánrů: popover pod lištou, 3 sloupce, posun uvnitř při nízkém okně ----
     Kotví se k levému okraji lišty (ne k tlačítku Žánr, které je ≈ 673 px od něj), takže pravý okraj je nejvýš
     levý okraj obsahu + 620 px. Obsah má od 1024 px aspoň 976 px (viewport − 2 × 24 px), tj. 1024 → 24…644 px,
     1280 → 40…660, 1366 → 83…703, 1440 → 120…740: nikdy nepřeteče. Pod lištu (top: 100% + 8 px = 56 px u jednořádkové
     lišty) se dostane i když se lišta na užším desktopu zalomí do dvou řádků. */
  .sm-pop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    bottom: auto;
    width: min(620px, 100%);
    max-height: min(560px, calc(100dvh - 160px));
    padding: 16px 12px 0;
    border-radius: 20px;
    box-shadow: 0 16px 40px var(--st-scrim), 0 0 0 1px var(--st-border-subtle);
  }

  .sm-gf legend.only-wide {
    display: block;
  }

  .sm-gg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm-pf {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    padding: 12px 4px 12px 10px;
  }

  .sm-pf [data-region="zobrazit"] {
    display: block;
  }

  .sm-pf .button {
    width: auto;
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }

  .sm-link {
    height: 44px;
    padding: 0;
    box-shadow: none;
    color: var(--st-text-link);
    font-size: 15px;
    text-decoration: underline;
    text-decoration-color: var(--st-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
  }

  /* ---- Řádek s počtem ---- */
  .sm-cnt {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 36px;
    padding-top: 16px;
    border-top: 1px solid var(--st-border-subtle);
  }

  .sm-ct {
    font-size: 15px;
    line-height: 22px;
  }

  .sm-clear {
    height: 36px;
    padding: 0;
  }

  /* ---- Mřížka ---- */
  .sm-g {
    /* Šest sloupců po 186 px potřebuje 1116 px; užší desktop (od 1024 px) sloupce zmenší, obrázek (100 % karty, poměr
       170 / 123) je při 186 px přesně 170 × 123. */
    grid-template-columns: repeat(6, minmax(0, 186px));
    justify-content: space-between;
    /* Minimální mezera 12 px, aby se karty na užším desktopu nedotýkaly; plných 186 px tak mají od ≈ 1224 px. */
    gap: 24px 12px;
  }

  .ph svg {
    width: 28px;
    height: 28px;
  }

  .sm-tx {
    gap: 5px;
  }

  .sm-tx h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .sm-s {
    gap: 6px;
    font-size: 13px;
    line-height: 18px;
  }

  .sm-s::before {
    width: 7px;
    height: 7px;
  }

  .sm-e {
    font-size: 13px;
    line-height: 18px;
  }

  .sm-e b {
    letter-spacing: 0.02em;
  }

  .sm-p {
    gap: 5px;
  }

  .sm-n {
    font-size: 12px;
    line-height: 16px;
  }

  /* ---- Stránkování ---- */
  .sm-pd {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
  }

  .sm-pm {
    display: none;
  }

  /* ---- Prázdný stav ---- */
  .sm-em {
    align-items: center;
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
  }

  .sm-em-k {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--st-fill-secondary);
    color: var(--st-text-primary);
  }

  .sm-em h2 {
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.025em;
  }

  .sm-em p {
    max-width: 520px;
    font-size: 16px;
    line-height: 24px;
  }

  .sm-em-a {
    flex-direction: row;
    margin-top: 8px;
  }
}
