/* ============================================
   H1 — Социальные стили для десктопа
   (чат, друзья)
   Только H1 (body:not(.pda)). PDA не затрагивается.
   ============================================ */
:root {
  /* РўС‘РјРЅР°СЏ С‚РµРјР° (РїРѕ СѓРјРѕР»С‡Р°РЅРёСЋ) */
  --mob-bg:          #0e0e11;
  --mob-bg-surface:  #17171c;
  --mob-bg-elevated: #1f1f26;
  --mob-bg-hover:    #26262e;
  --mob-text:        #ffffff;
  --mob-text-2:      #b3b3b3;
  --mob-text-muted:  #6e6e73;
  --mob-accent:      #6c5ce7;
  --mob-accent-2:    #4b7bec;
  --mob-accent-grad: linear-gradient(135deg, #6c5ce7 0%, #4b7bec 100%);
  --mob-border:      rgba(255,255,255,.08);
  --mob-border-2:    rgba(255,255,255,.14);
  --mob-radius:      12px;
  --mob-radius-lg:   16px;
  --mob-radius-pill: 999px;
  --mob-shadow-sm:   0 2px 8px rgba(0,0,0,.25);
  --mob-shadow-md:   0 8px 24px rgba(0,0,0,.35);
  --mob-shadow-lg:   0 16px 48px rgba(0,0,0,.45);
  --mob-head-h:      52px;
  --mob-bottom-h:    56px;
  --mob-player-h:    64px;
  --mob-t:           .18s cubic-bezier(.4,0,.2,1);
}

/* РЎРІРµС‚Р»Р°СЏ С‚РµРјР° */
body:not(.dark) {
  --mob-bg:          #eef1f5;
  --mob-bg-surface:  #ffffff;
  --mob-bg-elevated: #f5f5f7;
  --mob-bg-hover:    #ececf0;
  --mob-text:        #0e0e11;
  --mob-text-2:      #555555;
  --mob-text-muted:  #888888;
  --mob-accent:      #5b6fd6;
  --mob-accent-2:    #4b7bec;
  --mob-accent-grad: linear-gradient(135deg, #5b6fd6 0%, #4b7bec 100%);
  --mob-border:      rgba(0,0,0,.08);
  --mob-border-2:    rgba(0,0,0,.14);
}
/* ═══════════════════════════════════════════
   ЧАТ — форма отправки
   ═══════════════════════════════════════════ */
body:not(.pda) .chat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  padding-bottom: 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

body:not(.pda) .chat-form__input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 22px;
  outline: none;
  transition: var(--transition);
}

body:not(.pda) .chat-form__input::placeholder {
  color: var(--text-muted);
}

body:not(.pda) .chat-form__input:focus {
  border-color: var(--accent);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, .15);
}

body:not(.pda) .chat-form__send {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

body:not(.pda) .chat-form__send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(108, 92, 231, .4);
}

body:not(.pda) .chat-form__send:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* Нижний отступ окна чата, чтобы форма не прилипала к плееру */
body:not(.pda) .tg-slot > #mob-chat-overlay.tg-embedded #chat-window {
  padding-bottom: 16px;
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════
   ЧАТ — список диалогов
   ═══════════════════════════════════════════ */
body:not(.pda) .chat-dialog {
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 3px solid transparent;
  transition: var(--transition);
  margin-bottom: 2px;
}

body:not(.pda) .chat-dialog:hover {
  background: var(--bg-elevated);
}

body:not(.pda) .chat-dialog.active {
  background: var(--bg-elevated);
  border-left-color: var(--accent);
}

body:not(.pda) .chat-dialog--unread {
  background: rgba(108, 92, 231, .06);
}
[data-bs-theme="light"] body:not(.pda) .chat-dialog--unread {
  background: rgba(91, 111, 214, .06);
}

body:not(.pda) .chat-dialog__avatar-wrap {
  width: 48px;
  height: 48px;
}

body:not(.pda) .chat-dialog__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

body:not(.pda) .chat-dialog__online {
  width: 13px;
  height: 13px;
  bottom: 1px;
  right: 1px;
  border: 2px solid var(--bg-surface);
}

body:not(.pda) .chat-dialog__name {
  font-size: 14.5px;
  font-weight: 600;
}

body:not(.pda) .chat-dialog__time {
  font-size: 12px;
}

body:not(.pda) .chat-dialog__preview {
  font-size: 13px;
}

body:not(.pda) .chat-dialog__badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
  border-radius: 10px;
}

/* Заголовок даты (СЕГОДНЯ, ВЧЕРА) */
body:not(.pda) .chat-list__date {
  padding: 14px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   ЧАТ — шапка окна диалога
   ═══════════════════════════════════════════ */
body:not(.pda) .chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 60px;
}

body:not(.pda) .chat-header__back {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

body:not(.pda) .chat-header__back:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

body:not(.pda) .chat-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

body:not(.pda) .chat-header__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

body:not(.pda) .chat-header__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

body:not(.pda) .chat-header__close:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   ЧАТ — сообщения
   ═══════════════════════════════════════════ */
body:not(.pda) #chat-messages {
  padding: 16px;
  gap: 8px;
}

body:not(.pda) .chat-msg {
  max-width: 65%;
}

body:not(.pda) .chat-msg__body {
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

body:not(.pda) .chat-msg--mine .chat-msg__body {
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 1px 3px rgba(108, 92, 231, .25);
}

body:not(.pda) .chat-msg:not(.chat-msg--mine) .chat-msg__body {
  border-radius: 16px 16px 16px 4px;
}
body:not(.pda) .chat-msg--mine .chat-msg__body {
  background: var(--accent-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
}
body:not(.pda) .chat-msg--mine .chat-msg__text {
  color: #fff !important;
}
body:not(.pda) .chat-msg__text {
  font-size: 14.5px;
  line-height: 1.45;
}

body:not(.pda) .chat-msg__time {
  font-size: 11px;
  margin-top: 4px;
}

body:not(.pda) .chat-msg__avatar {
  width: 32px;
  height: 32px;
}

/* ═══════════════════════════════════════════
   ДРУЗЬЯ — контейнер и карточки
   ═══════════════════════════════════════════ */
body:not(.pda) .mob-friends__stats,
body:not(.pda) #mob-friends-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}

body:not(.pda) .mob-friends__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

body:not(.pda) .mob-friends__stat:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

body:not(.pda) .mob-friends__stat b {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

body:not(.pda) .mob-friends__stat span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* Поиск */
body:not(.pda) .mob-friends__search {
  margin: 0 16px 12px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
}

body:not(.pda) .mob-friends__search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
}

body:not(.pda) .mob-friends__search input::placeholder {
  color: var(--text-muted);
}

/* Табы */
body:not(.pda) .mob-friends__tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
}

body:not(.pda) .mob-friends__tab {
  padding: 8px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body:not(.pda) .mob-friends__tab:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

body:not(.pda) .mob-friends__tab.active {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
}

/* Карточки друзей */
body:not(.pda) #mob-friends-list {
  padding: 0 8px 16px;
}

body:not(.pda) .mob-friend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

body:not(.pda) .mob-friend:hover {
  background: var(--bg-elevated);
}

body:not(.pda) .mob-friend__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

body:not(.pda) .mob-friend__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body:not(.pda) .mob-friend__online {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 13px;
  height: 13px;
  background: #22c55e;
  border: 2px solid var(--bg-base);
  border-radius: 50%;
}

body:not(.pda) .mob-friend__info {
  flex: 1;
  min-width: 0;
}

body:not(.pda) .mob-friend__name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

body:not(.pda) .mob-friend__meta {
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

body:not(.pda) .mob-friend__actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;

  transition: var(--transition);
}

body:not(.pda) .mob-friend:hover .mob-friend__actions {
  opacity: 1;
}

body:not(.pda) .mob-friend__btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

body:not(.pda) .mob-friend__btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

body:not(.pda) .mob-friend__btn--danger:hover {
  background: rgba(255, 77, 109, .12);
  border-color: rgba(255, 77, 109, .3);
  color: #ff4d6d;
}

body:not(.pda) .mob-friend__btn--ok:hover {
  background: rgba(34, 197, 94, .12);
  border-color: rgba(34, 197, 94, .3);
  color: #22c55e;
}

/* Буквы-разделители */
body:not(.pda) .mob-friends__letter {
  padding: 12px 14px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* Пусто */
body:not(.pda) .mob-friends__empty {
  padding: 60px 20px;
  text-align: center;
}

body:not(.pda) .mob-friends__empty-icon {
  font-size: 56px;
  color: var(--accent);
  opacity: .4;
  margin-bottom: 16px;
  display: block;
}

body:not(.pda) .mob-friends__empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

body:not(.pda) .mob-friends__empty-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

body:not(.pda) .mob-friends__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent-grad);
  border: none;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

body:not(.pda) .mob-friends__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(108, 92, 231, .35);
}

/* ═══════════════════════════════════════════
   АДАПТИВ — на мобиле всё компактнее
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {
  body:not(.pda) .chat-form {
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  body:not(.pda) .chat-form__input {
    padding: 10px 16px;
  }

  body:not(.pda) .chat-form__send {
    width: 40px;
    height: 40px;
  }

  body:not(.pda) .chat-msg {
    max-width: 85%;
  }

  body:not(.pda) .mob-friends__stats,
  body:not(.pda) #mob-friends-stats {
    padding: 12px;
    gap: 8px;
  }

  body:not(.pda) .mob-friends__stat {
    padding: 12px 8px;
  }
  body:not(.pda) .mob-friends__stat b {
    font-size: 20px;
  }
}

/* Оверлей НЕ должен быть виден, если нет .open */
body:not(.pda) #mob-chat-overlay:not(.open),
body:not(.pda) #mob-friends-overlay:not(.open) {
  display: none !important;
}

/* Когда .open + tg-embedded — flex */
body:not(.pda) #mob-chat-overlay.open.tg-embedded,
body:not(.pda) #mob-friends-overlay.open.tg-embedded {
  display: flex !important;
}

/* Когда .open без tg-embedded — модалка (block/fixed) */
body:not(.pda) #mob-chat-overlay.open:not(.tg-embedded),
body:not(.pda) #mob-friends-overlay.open:not(.tg-embedded) {
  display: block !important;
}

/* ============================================
   H1 — Социальные стили: LIGHT-тема
   ============================================ */

/* ═══ ЧАТ — список диалогов ═══ */
[data-bs-theme="light"] body:not(.pda) .chat-dialog:hover {
  background: var(--bg-elevated);
}
[data-bs-theme="light"] body:not(.pda) .chat-dialog.active {
  background: var(--bg-elevated);
  border-left-color: var(--accent);
}
[data-bs-theme="light"] body:not(.pda) .chat-dialog--unread {
  background: rgba(91, 111, 214, .05);
}

[data-bs-theme="light"] body:not(.pda) .chat-list__date {
  color: var(--text-muted);
}

[data-bs-theme="light"] body:not(.pda) .chat-dialog__name {
  color: var(--text-primary);
}
[data-bs-theme="light"] body:not(.pda) .chat-dialog__preview,
[data-bs-theme="light"] body:not(.pda) .chat-dialog__time {
  color: var(--text-muted);
}

/* ═══ ЧАТ — сообщения ═══ */
[data-bs-theme="light"] body:not(.pda) #chat-messages {
  background: var(--bg-base);
}

[data-bs-theme="light"] body:not(.pda) .chat-msg__body {
  background: #ffffff;
  border: 1px solid #e2e6eb;
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(20, 30, 50, .04);
}

[data-bs-theme="light"] body:not(.pda) .chat-msg--mine .chat-msg__body {
  background: var(--accent-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 6px rgba(91, 111, 214, .25);
}

[data-bs-theme="light"] body:not(.pda) .chat-msg__text {
  color: var(--text-primary);
}
[data-bs-theme="light"] body:not(.pda) .chat-msg--mine .chat-msg__text {
  color: #fff;
}

[data-bs-theme="light"] body:not(.pda) .chat-msg__time {
  color: var(--text-muted);
}
[data-bs-theme="light"] body:not(.pda) .chat-msg--mine .chat-msg__time {
  color: rgba(255, 255, 255, .75);
}

[data-bs-theme="light"] body:not(.pda) .chat-msg__reply {
  background: rgba(91, 111, 214, .08);
  border-left-color: var(--accent);
}
[data-bs-theme="light"] body:not(.pda) .chat-msg__reply b {
  color: var(--accent);
}
[data-bs-theme="light"] body:not(.pda) .chat-msg__reply span {
  color: var(--text-secondary);
}

/* ═══ ЧАТ — форма ═══ */
[data-bs-theme="light"] body:not(.pda) .chat-form {
  background: #ffffff;
  border-top-color: #e2e6eb;
}
[data-bs-theme="light"] body:not(.pda) .chat-form__input {
  background: var(--bg-base);
  border-color: #e2e6eb;
  color: var(--text-primary);
}
[data-bs-theme="light"] body:not(.pda) .chat-form__input:focus {
  border-color: var(--accent);
  background: #ffffff;
}
[data-bs-theme="light"] body:not(.pda) .chat-form__input::placeholder {
  color: var(--text-muted);
}

/* ═══ ЧАТ — шапка ═══ */
[data-bs-theme="light"] body:not(.pda) .chat-header {
  background: #ffffff;
  border-bottom-color: #e2e6eb;
}
[data-bs-theme="light"] body:not(.pda) .chat-header__title {
  color: var(--text-primary);
}
[data-bs-theme="light"] body:not(.pda) .chat-header__back:hover,
[data-bs-theme="light"] body:not(.pda) .chat-header__close:hover {
  background: var(--bg-base);
}

/* ═══ ДРУЗЬЯ ═══ */
[data-bs-theme="light"] body:not(.pda) .mob-friends__stat {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(20, 30, 50, .05);
}

[data-bs-theme="light"] body:not(.pda) .mob-friends__search {
  background: var(--bg-base);
  border-color: #e2e6eb;
}

[data-bs-theme="light"] body:not(.pda) .mob-friends__tab {
  background: var(--bg-base);
  border-color: #e2e6eb;
}
[data-bs-theme="light"] body:not(.pda) .mob-friends__tab:hover {
  background: #e8edf4;
}
[data-bs-theme="light"] body:not(.pda) .mob-friends__tab.active {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
}

[data-bs-theme="light"] body:not(.pda) .mob-friend:hover {
  background: var(--bg-base);
}

[data-bs-theme="light"] body:not(.pda) .mob-friend__name {
  color: var(--text-primary);
}
[data-bs-theme="light"] body:not(.pda) .mob-friend__meta {
  color: var(--text-muted);
}

[data-bs-theme="light"] body:not(.pda) .mob-friend__btn {
  background: var(--bg-base);
  border-color: #e2e6eb;
  color: var(--text-secondary);
}
[data-bs-theme="light"] body:not(.pda) .mob-friend__btn:hover {
  background: #e8edf4;
  color: var(--text-primary);
}

[data-bs-theme="light"] body:not(.pda) .mob-friends__letter {
  color: var(--text-muted);
}

/* ============================================
   ЧАТ — Action Sheet (меню сообщения/диалога)
   ============================================ */
body:not(.pda) .chat-actions {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: chatActionsFade .2s ease;
}

@keyframes chatActionsFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body:not(.pda) .chat-actions.hidden {
  display: none !important;
}

body:not(.pda) .chat-actions__sheet {
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: chatActionsSlide .25s ease;
}

@keyframes chatActionsSlide {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* Эмодзи-панель */
body:not(.pda) .chat-actions__emojis {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
body:not(.pda) .chat-actions__emojis::-webkit-scrollbar {
  display: none;
}

body:not(.pda) .chat-actions__emoji {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  padding: 0;
}

body:not(.pda) .chat-actions__emoji:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Кнопки действий */
body:not(.pda) .chat-actions__list {
  padding: 6px 0;
}

body:not(.pda) .chat-actions__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

body:not(.pda) .chat-actions__item:hover {
  background: var(--bg-elevated);
}

body:not(.pda) .chat-actions__item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

body:not(.pda) .chat-actions__item:hover i {
  color: var(--accent);
}

body:not(.pda) .chat-actions__item--danger {
  color: #ff4d6d;
}
body:not(.pda) .chat-actions__item--danger i {
  color: #ff4d6d;
}
body:not(.pda) .chat-actions__item--danger:hover {
  background: rgba(255, 77, 109, .1);
}

/* LIGHT-тема */
[data-bs-theme="light"] body:not(.pda) .chat-actions {
  background: rgba(20, 30, 50, .5);
}
[data-bs-theme="light"] body:not(.pda) .chat-actions__sheet {
  box-shadow: 0 24px 60px rgba(20, 30, 50, .2);
}
[data-bs-theme="light"] body:not(.pda) .chat-actions__item:hover {
  background: var(--bg-base);
}

/* Мобиле */
@media (max-width: 767px) {
  body:not(.pda) .chat-actions {
    align-items: flex-end;
    padding: 0;
  }
  body:not(.pda) .chat-actions__sheet {
    max-width: none;
    border-radius: 20px 20px 0 0;
    animation: chatSheetUp .25s ease;
  }
  @keyframes chatSheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
}