/* Блок «Новое заседание из суда появляется в деле» на главной (web/scripts/landing/case-live.html, /site/case-live.js).
   Цвета и шрифты — переменные главной. Движение — только пока блок на экране и пока не нажата пауза; при prefers-reduced-motion
   показывается итоговое состояние. Одна светлая тема. */
.cl { margin: 0; width: 100%; max-width: 580px; min-width: 0; justify-self: end; }
.cl-points { list-style: none; display: grid; gap: 10px; margin: 24px 0 0; padding: 0; }
.cl-points li { display: flex; gap: 10px; font-size: 16px; font-weight: 600; }
.cl-points li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--marker); font-size: 13px; line-height: 22px; text-align: center; }
.cl-stage { display: grid; align-content: start; min-height: 468px; font-size: 14px; line-height: 1.4; }
.cl-court { padding: 14px 16px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper-sunk); color: var(--ink-2); }
.cl-court > b, .cl-case-head b { display: block; font-weight: 800; color: var(--ink); }
.cl-court > b { margin-bottom: 8px; font-size: 13px; color: var(--ink-3); }
.cl-ev { display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; gap: 10px; padding: 7px 8px; border-top: 1px solid var(--line); border-radius: 8px; }
.cl-ev:first-of-type { border-top: 0; }
.cl-ev time, .cl-ev span:last-child { font-variant-numeric: tabular-nums; }
.cl-new { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease, background-color .6s ease; }
.cl-case { position: relative; margin: -14px 0 0 28px; padding: 18px; border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-lift); }
.cl-case-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.cl-case-head b { font: 700 18px/1.25 var(--font-display); letter-spacing: -.03em; }
.cl-case-head small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.cl-chip { display: inline-grid; padding: 6px 12px; border-radius: 999px; background: var(--paper-sunk); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cl-chip > * { grid-area: 1 / 1; visibility: hidden; display: inline-flex; align-items: center; gap: 6px; }
.cl-chip .a { visibility: visible; }
.cl-chip .spin { width: 12px; height: 12px; border: 2px solid var(--line-strong); border-top-color: transparent; border-radius: 50%; }
.cl-case h4 { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
.cl-h { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: var(--paper-sunk); }
.cl-h + .cl-h { margin-top: 6px; }
.cl-h time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.cl-h small { grid-column: 2; font-size: 13px; color: var(--ink-3); }
.cl-h.cl-new { background: var(--marker-soft); }
.cl-mail { display: grid; gap: 2px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--marker-edge); border-radius: 14px; background: var(--marker-soft); color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.cl-mail b { font-size: 13px; }
.cl-mail span { font-size: 13px; color: var(--ink-2); }
.cl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cl-bar figcaption { font-size: 13px; color: var(--ink-3); }
.cl-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font: 700 18px var(--font-sans); cursor: pointer; }
.cl-btn:hover { background: var(--marker-soft); }
.cl-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cl-btn[hidden] { display: none; }
.cl-stage.is-1 .cl-court .cl-new, .cl-stage.is-3 .cl-case .cl-new, .cl-stage.is-4 .cl-mail { opacity: 1; transform: none; }
.cl-stage.is-1 .cl-court .cl-new { background: var(--marker-soft); }
.cl-stage.is-3 .cl-court .cl-new { background: transparent; }
.cl-stage.is-2 .cl-chip .b { visibility: visible; }
.cl-stage.is-2 .cl-chip .a, .cl-stage.is-3 .cl-chip .a, .cl-stage.is-3 .cl-chip .b { visibility: hidden; }
.cl-stage.is-2 .cl-chip .spin { animation: cl-spin .9s linear infinite; }
.cl-stage.is-3 .cl-chip .c { visibility: visible; }
.cl-stage.is-3 .cl-chip { background: var(--marker-soft); border-color: var(--marker-edge); color: var(--ink); }
@keyframes cl-spin { to { transform: rotate(360deg); } }
@media (max-width: 1100px) { .cl { justify-self: stretch; max-width: none; } }
@media (max-width: 560px) {
  .cl-stage { min-height: 514px; }
  .cl-ev { grid-template-columns: 84px minmax(0, 1fr); }
  .cl-ev span:last-child { display: none; }
  .cl-case { margin-left: 12px; padding: 16px 14px; }
  .cl-h { grid-template-columns: minmax(0, 1fr); }
  .cl-h small { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .cl-new, .cl-mail { transition: none; } }
