/* Кнопка «Слушать» в записи блога (listen.js): дорожка над текстом и липкая панель внизу.
   Размеры и цвета — по спецификации поставки дизайна «кнопка Слушать» 2026-11-14-1223 и её дополнению 1
   (поставка 2026-11-14-1341: панель на 1440).
   nzl--d — десктопная вёрстка (1440), nzl--m — мобильная (390, вёрстка по User-Agent). */

.nzl { display: flex; margin: -3px 0 20px; font-family: RobotoRegular, Arial, sans-serif; color: #282828; line-height: normal; }
.nzl--m { margin: 4px 0 14px; max-width: 338px; font-family: Roboto_Regular, Arial, sans-serif; }

.nzl button { box-sizing: border-box; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: normal;
              text-transform: none; letter-spacing: normal; box-shadow: none; -webkit-appearance: none; appearance: none; cursor: pointer;
              -webkit-tap-highlight-color: transparent; }
.nzl button:focus { outline: none; }
.nzl button:focus-visible { outline: 2px solid #282828; outline-offset: 2px; }
.nzl svg { display: block; width: 24px; height: 24px; flex: none; }

/* Дорожка: одна кнопка в покое и после конца, группа кнопок во время чтения */
.nzl .nzl-track { display: flex; align-items: center; box-sizing: border-box; height: 46px; border: 1px solid #CFDCC3; border-radius: 23px; background: #FFFFFF; max-width: 100%; }
.nzl--m .nzl-track { border-color: #D3DECE; }
.nzl .nzl-pill { gap: 12px; padding: 0 20px 0 0; }
.nzl--m .nzl-pill { padding-right: 18px; }

.nzl .nzl-circle { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 22px; background: #3A7D04; color: #FFFFFF; }
.nzl--m .nzl-circle, .nzl-panel--m .nzl-circle { background: #4A7A3A; }
.nzl-label { font-family: RobotoMedium, Arial, sans-serif; font-size: 15px; white-space: nowrap; }
.nzl--m .nzl-label { font-family: Roboto_Regular_Bold, Arial, sans-serif; }
.nzl-sub { font-size: 14px; color: #6B6B6B; white-space: nowrap; }

.nzl .nzl-stop { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 22px; color: #282828; }
.nzl-sep { flex: none; width: 1px; height: 24px; margin: 0 12px 0 4px; background: #E2E2E2; }
.nzl--m .nzl-sep { margin: 0 10px 0 2px; }
.nzl-status { font-size: 14px; color: #282828; white-space: nowrap; padding-right: 12px; }
.nzl--m .nzl-status { padding-right: 10px; }

.nzl .nzl-speed { display: flex; align-items: center; justify-content: center; flex: none; height: 44px; margin-right: 4px; }
.nzl-speed-face { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 56px; height: 36px; padding: 0 10px;
                  border: 1px solid #E2E2E2; border-radius: 18px; background: #F7F7F7; color: #282828; font-family: RobotoMedium, Arial, sans-serif; font-size: 14px; }
.nzl--m .nzl-speed-face { font-family: Roboto_Regular_Bold, Arial, sans-serif; }

.nzl-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Текущий абзац: тень, а не поля — текст не сдвигается */
.nzl-cur { background: #EEF5E6 !important; box-shadow: 0 0 0 6px #EEF5E6; border-radius: 4px; }

/* Липкая панель: состояние не «покой» и дорожка вне экрана. nzl-panel--m — мобильная (390), nzl-panel--d — десктопная (1440):
   ширина колонки записи 855 у её левого края (контейнер 1140 по центру). left и width ниже — запас на случай, если скрипт
   колонку не нашёл: обычно listen.js ставит панель по колонке записи сам (уже 1200 у сайта контейнер 940, а не 1140) */
.nzl-panel { position: fixed; z-index: 2147483000; display: flex; align-items: center; box-sizing: border-box; background: #FFFFFF; border: 1px solid #E2E2E2;
             box-shadow: 0 4px 16px rgba(0, 0, 0, .16); color: #282828; line-height: normal; }
.nzl-panel--m { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); gap: 10px; height: 60px; padding: 0 6px 0 7px; border-radius: 14px;
                font-family: Roboto_Regular, Arial, sans-serif; }
.nzl-panel--d { left: max(8px, calc(50% - 570px)); width: min(855px, calc(100% - 16px)); bottom: 16px; gap: 14px; height: 64px; padding: 0 10px; border-radius: 16px;
                font-family: RobotoRegular, Arial, sans-serif; }
.nzl-panel--d .nzl-circle { background: #3A7D04; }
.nzl-panel--d .nzl-panel-bottom { font-family: RobotoMedium, Arial, sans-serif; }
.nzl-panel .nzl-speed { display: flex; align-items: center; justify-content: center; flex: none; height: 44px; }
.nzl-panel[hidden] { display: none; }
.nzl-panel button { box-sizing: border-box; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: normal;
                    box-shadow: none; -webkit-appearance: none; appearance: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nzl-panel button:focus { outline: none; }
.nzl-panel button:focus-visible { outline: 2px solid #282828; outline-offset: 2px; }
.nzl-panel svg { display: block; width: 24px; height: 24px; flex: none; }
.nzl-panel .nzl-circle { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 22px; color: #FFFFFF; }
.nzl-panel .nzl-round { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid #E2E2E2; border-radius: 22px;
                        background: #FFFFFF; color: #282828; }
.nzl-panel-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nzl-panel-top { font-size: 12px; line-height: 15px; color: #6B6B6B; }
.nzl-panel-bottom { font-size: 14px; line-height: 18px; color: #282828; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Пока панель видна — запас под текстом: конец статьи и подвал прокручиваются выше панели */
.nzl-spacer { height: calc(76px + env(safe-area-inset-bottom)); }
.nzl-spacer--d { height: 96px; }
.nzl-spacer[hidden] { display: none; }
