/* ============================================================
   ДИЗАЙН-СИСТЕМА LIQUID GLASS — КАРТОЧКА ЗАНЯТИЯ
   ------------------------------------------------------------
   Внутри: .ls-club-slot-card и вся семья вокруг неё — метка
           направления, время, название, зал, тренер с аватаром,
           шкала мест, состояния is-full и наведения; столбцы
           дней двухнедельного вида (.ls-day-col, .ls-col-slot,
           .ls-col-club-card) и фильтры расписания.
   Зависит: только от ds/tokens.css. Ни базы, ни контроллера
           карточке не нужно: пустая страница с двумя этими
           файлами и разметкой партиала уже показывает карточку.
   Разметка: templates/components/workout-card.php.
   Точки перелома: 960px — та же, что в ds/layout.css.
   ============================================================ */

/* ── Фильтры расписания ── */

.ls-club-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding: 14px 20px;
  background: var(--ls-black-025);
  border: var(--ls-bevel) solid var(--ls-black-06);
  border-radius: 20px;
  animation: lsFadeIn 0.3s ease;
}

[data-theme="dark"] .ls-club-filters {
  background: var(--ls-white-035);
  border-color: var(--ls-white-07);
}

.ls-club-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ls-club-filter-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ls-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ls-club-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ls-filter-chip {
  border: var(--ls-bevel) solid var(--ls-black-06);
  background: var(--ls-black-035);
  color: var(--ls-text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--ls-r-pill);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.2s var(--ls-e-glass);
  user-select: none;
  white-space: nowrap;
}

[data-theme="dark"] .ls-filter-chip {
  border-color: var(--ls-white-09);
  background: var(--ls-white-06);
}

.ls-filter-chip:hover {
  border-color: var(--ls-white);
  background: var(--ls-white-65);
  color: var(--ls-text-primary);
}

[data-theme="dark"] .ls-filter-chip:hover {
  border-color: var(--ls-white-35);
  background: var(--ls-white-12);
}

.ls-filter-chip.is-active {
  background: var(--ls-white-94);
  border: var(--ls-bevel) solid var(--ls-white);
  color: var(--ls-ink-deep);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px #FFFFFF;
  font-weight: 600;
}

[data-theme="dark"] .ls-filter-chip.is-active {
  background: var(--ls-white-20);
  border: var(--ls-bevel) solid var(--ls-white-30);
  color: var(--ls-white);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.ls-club-filter-selects {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ls-club-select-wrap {
  position: relative;
}

.ls-club-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--ls-surface-elevated);
  border: var(--ls-bevel) solid var(--ls-white-65);
  border-radius: var(--ls-r-pill);
  height: 34px;
  padding: 0 34px 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ls-text-secondary);
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(120,120,128,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

[data-theme="dark"] .ls-club-select {
  border-color: var(--ls-white-16);
  background-color: var(--ls-white-06);
  color: var(--ls-text-primary);
}

.ls-club-select:hover,
.ls-club-select:focus {
  border-color: var(--ls-white);
  color: var(--ls-text-primary);
}

/* ── Карточка занятия ──
      Стекло собрано здесь же, а не классом .ls-glass, и это единственный
      такой узел в модуле. Причина: карточки главной печатает
      variants/v7_5_liquid_studio.js — класс в его разметку не поставить,
      а класс карточки общий с публичной страницей, поэтому и партиал
      .ls-glass не зовёт: иначе стекло разошлось бы между двумя страницами.
      Копия держится проверкой в tests/test_variant_7_5.php: набор деклараций
      обязан совпадать с .ls-glass + .ls-glass--panel декларация в декларацию. */

.ls-club-slot-card {
  border-radius: var(--ls-r-card);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  background: var(--ls-surface);
  backdrop-filter: var(--ls-blur);
  -webkit-backdrop-filter: var(--ls-blur);
  border: var(--ls-border);
  box-shadow: var(--ls-specular-panel);
  transition: all var(--ls-d-glass) var(--ls-e-glass);
  text-align: left;
  /* Карточку публичной страницы calendar.css знает ещё и как .erow — строку
     расписания. Три его значения пришли бы из той раскладки и растащили бы
     колонку: поэтому раскладка карточки задана целиком, а не по остатку. */
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}

/* ── Цвет метки владельца ──
      В `workouts.color` лежит ключ палитры (App\Directory\Palette), и он
      приходит на карточку классом .ls-tone--<ключ>. Дальше метка, кружок
      тренера и полоса занятости считают от одного имени --ls-tone: восемь
      ключей на три места дали бы двадцать четыре правила вместо трёх.
      Значения — в ds/tokens.css, и их равенство палитре держит
      tests/test_workout_card.php. Категории главной (.ls-cat--*, .ls-avatar--*,
      .ls-fill--*) стоят ниже и перекрывают эти правила: у них своя пара
      «фон/текст» на каждую тему. */

.ls-tone--sage { --ls-tone: var(--ls-tone-sage); }

.ls-tone--moss { --ls-tone: var(--ls-tone-moss); }

.ls-tone--sand { --ls-tone: var(--ls-tone-sand); }

.ls-tone--clay { --ls-tone: var(--ls-tone-clay); }

.ls-tone--rust { --ls-tone: var(--ls-tone-rust); }

.ls-tone--plum { --ls-tone: var(--ls-tone-plum); }

.ls-tone--sky { --ls-tone: var(--ls-tone-sky); }

.ls-tone--slate { --ls-tone: var(--ls-tone-slate); }

.ls-club-slot-card:hover {
  background: var(--ls-surface-active);
  border-color: var(--ls-white);
  box-shadow: inset 0 2px 2px #FFFFFF, 0 16px 36px -6px rgba(15, 23, 42, 0.10);
}

[data-theme="dark"] .ls-club-slot-card:hover {
  border-color: var(--ls-white-35);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.35), 0 20px 44px -8px rgba(0, 0, 0, 0.7);
}

.ls-club-slot-card.is-full {
  opacity: 0.6;
}

/* Верхняя строка: Категория + Статус мест */

.ls-club-slot__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.ls-club-slot__cat {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  /* Направление владельца — произвольный текст, а метка стоит в одной строке
     со временем: без права сжаться длинная строка вытолкнула бы её из карточки
     на 390px. Сжимается метка, а не время. */
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 10px;
  border-radius: var(--ls-r-pill);
  line-height: 1.2;
  /* Надпись стоит на primary, а не на самом оттенке: восемь ключей палитры
     приглушённые, и цветной текст по цветной заливке ушёл бы под норму. */
  background: color-mix(in oklch, var(--ls-tone) 28%, transparent);
  color: var(--ls-text-primary);
  border: var(--ls-bevel) solid color-mix(in oklch, var(--ls-tone) 52%, transparent);
}

/* Мест нет: метка гаснет вместе с карточкой и цвет направления не носит */
.ls-club-slot__cat--none {
  background: color-mix(in oklch, var(--ls-tone-none) 14%, transparent);
  color: var(--ls-text-secondary);
  border: var(--ls-bevel) solid color-mix(in oklch, var(--ls-tone-none) 30%, transparent);
}

.ls-cat--orange {
  background: var(--ls-cat-orange-bg);
  color: var(--ls-cat-orange-fg);
  border: var(--ls-bevel) solid var(--ls-cat-orange-line);
}

.ls-cat--teal {
  background: var(--ls-cat-teal-bg);
  color: var(--ls-cat-teal-fg);
  border: var(--ls-bevel) solid var(--ls-cat-teal-line);
}

.ls-cat--blue {
  background: var(--ls-cat-blue-bg);
  color: var(--ls-cat-blue-fg);
  border: var(--ls-bevel) solid var(--ls-cat-blue-line);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.ls-cat--purple {
  background: var(--ls-cat-purple-bg);
  color: var(--ls-cat-purple-fg);
  border: var(--ls-bevel) solid var(--ls-cat-purple-line);
}

.ls-cat--crimson {
  background: var(--ls-cat-crimson-bg);
  color: var(--ls-cat-crimson-fg);
  border: var(--ls-bevel) solid var(--ls-cat-crimson-line);
}

.ls-cat--cyan {
  background: var(--ls-cat-cyan-bg);
  color: var(--ls-cat-cyan-fg);
  border: var(--ls-bevel) solid var(--ls-cat-cyan-line);
}

/* Строка времени и длительности */

.ls-club-slot__time-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  /* Сжимается метка, а не время: направление владельца — произвольный текст,
     и на узкой колонке ужиматься должна строка, которую можно обрезать. */
  flex-shrink: 0;
}

.ls-club-slot__time {
  font-size: 18px;
  font-weight: 800;
  color: var(--ls-text-primary);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.ls-club-slot__duration {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ls-text-tertiary);
  white-space: nowrap;
}

/* Заголовок тренировки */

.ls-club-slot__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ls-text-primary);
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Булавка зала. Переехала из variants/v7_5_liquid_studio.css: её печатает
   и карточка главной, и партиал, а вариант лендинга публичная страница
   не подключает — класс оставался бы там без единого правила. */

.ls-slot-loc-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  stroke: var(--ls-accent-primary);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.ls-club-slot__hall {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ls-text-secondary);
  margin-bottom: 8px;
}


/* Мета-информация: Тренер */

.ls-club-slot__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: var(--ls-bevel) solid var(--ls-black-06);
  border-bottom: var(--ls-bevel) solid var(--ls-black-06);
  margin-bottom: 14px;
}

[data-theme="dark"] .ls-club-slot__meta {
  border-color: var(--ls-white-07);
}

.ls-club-slot__coach {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ls-club-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
  background: color-mix(in oklch, var(--ls-tone) 32%, transparent);
  color: var(--ls-text-primary);
  border: var(--ls-bevel) solid color-mix(in oklch, var(--ls-tone) 55%, transparent);
}

.ls-avatar--orange {
  background: var(--ls-avatar-orange-bg);
  color: var(--ls-avatar-orange-fg);
  border: var(--ls-bevel) solid var(--ls-avatar-orange-line);
}

.ls-avatar--teal {
  background: var(--ls-avatar-teal-bg);
  color: var(--ls-avatar-teal-fg);
  border: var(--ls-bevel) solid var(--ls-avatar-teal-line);
}

.ls-avatar--blue {
  background: var(--ls-avatar-blue-bg);
  color: var(--ls-avatar-blue-fg);
  border: var(--ls-bevel) solid var(--ls-avatar-blue-line);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.ls-avatar--purple {
  background: var(--ls-avatar-purple-bg);
  color: var(--ls-avatar-purple-fg);
  border: var(--ls-bevel) solid var(--ls-avatar-purple-line);
}

.ls-avatar--crimson {
  background: var(--ls-avatar-crimson-bg);
  color: var(--ls-avatar-crimson-fg);
  border: var(--ls-bevel) solid var(--ls-avatar-crimson-line);
}

.ls-avatar--cyan {
  background: var(--ls-avatar-cyan-bg);
  color: var(--ls-avatar-cyan-fg);
  border: var(--ls-bevel) solid var(--ls-avatar-cyan-line);
}

.ls-club-coach-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ls-club-coach-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ls-text-primary);
}

.ls-club-coach-role {
  font-size: 11.5px;
  color: var(--ls-text-muted);
  margin-top: 2px;
}

/* Заполняемость зала и прогресс-бар */

.ls-club-slot__capacity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ls-club-cap-bar {
  width: 100%;
  height: 5px;
  background: var(--ls-black-06);
  border-radius: var(--ls-r-pill);
  overflow: hidden;
}

[data-theme="dark"] .ls-club-cap-bar {
  background: var(--ls-white-08);
}

.ls-club-cap-fill {
  height: 100%;
  border-radius: var(--ls-r-pill);
  transition: width 0.3s ease;
  background: var(--ls-tone);
}

/* Ширину полосы этот файл не задаёт вовсе: лестница шагов .ls-club-cap-fill--pNN
   — геометрия, общая обоим стилям, и объявлена она один раз в calendar.css.
   Карточки главной задают ширину сами, инлайном из своего JS. */

.ls-fill--orange { background: var(--ls-fill-orange); }

.ls-fill--teal { background: var(--ls-fill-teal); }

.ls-fill--blue { background: var(--ls-fill-blue); }

.ls-fill--purple { background: var(--ls-fill-purple); }

.ls-fill--crimson { background: var(--ls-fill-crimson); }

.ls-fill--cyan { background: var(--ls-fill-cyan); }

.ls-club-cap-fill.is-urgent {
  background: var(--ls-fill-urgent);
}

.ls-club-cap-fill.is-full {
  background: var(--ls-fill-none);
}

.ls-club-cap-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ls-text-muted);
}

.ls-club-cap-pct {
  font-weight: 700;
  color: var(--ls-text-secondary);
}

.ls-sched-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: var(--ls-surface-subtle);
  border: var(--ls-border-subtle);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ls-sched-empty-text {
  font-size: 14px;
  color: var(--ls-text-secondary);
}

/* ── Двухнедельный формат расписания (столбцы дней) ── */

.ls-twoweeks-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0 4px;
  flex-wrap: wrap;
}

.ls-twoweeks-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ls-twoweeks-legend-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--ls-text-primary);
  letter-spacing: -0.02em;
}

.ls-twoweeks-legend-sub {
  font-size: 13px;
  color: var(--ls-text-secondary);
}

.ls-twoweeks-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Стрелка доски печатается из PHP, поэтому стекло приходит классом .ls-glass
   в разметке; здесь остаётся только форма, блик-пилюля и поведение. */

.ls-twoweeks-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ls-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ls-specular-pill);
  transition: all 0.2s var(--ls-e-glass);
}

.ls-twoweeks-arrow-btn:hover {
  background: var(--ls-surface-active);
  border-color: var(--ls-white);
  transform: scale(1.06);
}

[data-theme="dark"] .ls-twoweeks-arrow-btn:hover {
  border-color: var(--ls-white-40);
}

.ls-twoweeks-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 8px 4px 20px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ls-white-25) transparent;
}

.ls-twoweeks-board::-webkit-scrollbar {
  height: 6px;
}

.ls-twoweeks-board::-webkit-scrollbar-track {
  background: transparent;
}

.ls-twoweeks-board::-webkit-scrollbar-thumb {
  background: var(--ls-white-22);
  border-radius: var(--ls-r-pill);
}

[data-theme="light"] .ls-twoweeks-board::-webkit-scrollbar-thumb {
  background: var(--ls-black-18);
}

/* Столбец одного дня в двухнедельной сетке (без контейнера/подложки) */

.ls-day-col {
  flex: 0 0 240px;
  min-width: 240px;
  scroll-snap-align: start;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ls-day-col:hover {
  border-color: transparent;
}

.ls-day-col.is-today {
  border-color: transparent;
  box-shadow: none;
}

.ls-day-col-header {
  border-bottom: var(--ls-bevel) solid var(--ls-white-10);
  padding: 4px 2px 10px 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 2px;
}

[data-theme="light"] .ls-day-col-header {
  border-bottom: var(--ls-bevel) solid var(--ls-black-08);
}

.ls-day-col.is-today .ls-day-col-header {
  border-bottom: 2px solid var(--ls-accent-primary);
}

.ls-day-col-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ls-day-col-dayname {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ls-text-primary);
  letter-spacing: -0.01em;
}

.ls-day-col.is-today .ls-day-col-dayname {
  color: var(--ls-accent-primary);
}

.ls-day-col-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--ls-text-tertiary);
  padding: 2px 7px;
  border-radius: var(--ls-r-pill);
  background: var(--ls-white-08);
}

[data-theme="light"] .ls-day-col-count {
  background: var(--ls-black-05);
}

.ls-day-col-date {
  font-size: 12px;
  color: var(--ls-text-secondary);
}

/* Карточка слота в столбце тренера (прямо на доске) */

.ls-col-slot {
  background: var(--ls-surface);
  backdrop-filter: var(--ls-blur);
  -webkit-backdrop-filter: var(--ls-blur);
  border: var(--ls-border);
  border-radius: 18px;
  padding: 13px 15px;
  cursor: pointer;
  box-shadow: var(--ls-specular-panel);
  transition: all 0.2s var(--ls-e-glass);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ls-col-slot:hover {
  background: var(--ls-surface-active);
  border-color: var(--ls-white-35);
  box-shadow: var(--ls-specular-panel), 0 8px 24px -4px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .ls-col-slot:hover {
  border-color: var(--ls-black-20);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.ls-col-slot.is-booked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.ls-col-slot-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ls-col-slot-time {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--ls-text-primary);
}

.ls-col-slot-dur {
  font-size: 11.5px;
  color: var(--ls-text-tertiary);
}

.ls-col-slot-title {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ls-text-primary);
  line-height: 1.35;
}

.ls-col-slot-loc {
  font-size: 11px;
  color: var(--ls-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ls-col-slot-status {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--ls-lime-15);
  color: var(--ls-accent-lime);
  border: var(--ls-bevel) solid var(--ls-lime-30);
}

/* Карточка слота в столбце клуба (прямо на доске) */

.ls-col-club-card {
  background: var(--ls-surface);
  backdrop-filter: var(--ls-blur);
  -webkit-backdrop-filter: var(--ls-blur);
  border: var(--ls-border);
  border-radius: 18px;
  padding: 13px 15px;
  cursor: pointer;
  box-shadow: var(--ls-specular-panel);
  transition: all 0.2s var(--ls-e-glass);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ls-col-club-card:hover {
  background: var(--ls-surface-active);
  border-color: var(--ls-white-35);
  box-shadow: var(--ls-specular-panel), 0 8px 24px -4px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .ls-col-club-card:hover {
  border-color: var(--ls-black-20);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.ls-col-club-card.is-full {
  opacity: 0.55;
}

.ls-col-club-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ls-col-club-time {
  font-size: 14px;
  font-weight: 850;
  color: var(--ls-text-primary);
}

.ls-col-club-cat {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ls-col-club-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ls-text-primary);
  line-height: 1.3;
}

.ls-col-club-coach-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ls-text-primary);
}

.ls-col-club-coach-icon {
  width: 12px;
  height: 12px;
  stroke: var(--ls-text-secondary);
  flex-shrink: 0;
}

.ls-col-club-coach-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-col-club-hall-row {
  font-size: 11px;
  color: var(--ls-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-col-club-bar {
  height: 4px;
  border-radius: var(--ls-r-pill);
  background: var(--ls-black-06);
  overflow: hidden;
  margin-top: 2px;
}

[data-theme="dark"] .ls-col-club-bar {
  background: var(--ls-white-08);
}

.ls-col-club-fill {
  height: 100%;
  border-radius: var(--ls-r-pill);
}

.ls-col-club-seats {
  font-size: 10.5px;
  color: var(--ls-text-muted);
}

/* ── Карточка на публичной странице записи ──
      Структура здесь та же, что у карточки главной, и правила выше работают
      без добавок. Дописано ровно то, чего у демонстрации нет: тело тренерской
      карточки, подписи «Свободно» и «Вы записаны» и два узла, чьи имена
      принадлежат calendar.js. Скрипт переписывает им className и содержимое
      целиком, поэтому визуального класса на них нет — оформляет их модуль
      по имени родителя, и селектор из двух классов нужен, чтобы перебить
      прежнее оформление строки расписания из calendar.css. */

.ls-club-slot-card .ls-club-slot__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* Тело занятого часа пусто до тех пор, пока calendar.js не узнает в нём
   свою бронь: пустой узел не занимает места и не рисует отступа. */

.ls-club-slot-card .ls-club-slot__body:empty {
  display: none;
}

.ls-club-slot__body .ls-club-slot__title {
  min-height: 0;
}

.ls-club-slot__body .ls-club-slot__hall {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ls-text-secondary);
  margin-bottom: 0;
}

.ls-club-slot__free {
  font-size: 13px;
  font-weight: 500;
  color: var(--ls-text-muted);
}

/* «Вы записаны» показывает calendar.css, когда скрипт узнал свою бронь;
   здесь у надписи только вид. */

.ls-club-slot__mine {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--ls-r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ls-accent-go-wash);
  color: var(--ls-accent-go);
  border: var(--ls-bevel) solid var(--ls-accent-go-wash);
}

/* Остаток мест клубной карточки: имя узла — calendar.js, оформление — здесь */

.ls-club-cap-count .erow__left {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.ls-club-cap-count .erow__left--none {
  font-weight: 700;
}

/* ── Адаптивность: 960px — та же точка перелома, что в ds/layout.css ── */

@media (max-width: 960px) {
  .ls-club-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 12px;
  }
  .ls-club-filter-selects {
    width: 100%;
  }
  .ls-club-select-wrap {
    flex: 1;
  }
  .ls-club-select {
    width: 100%;
  }
}
