.tlk-userbar__popup, .tlk-popup__container {
  border-radius: 12px !important;
  background: rgba(41, 41, 41, 0.6) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(208, 190, 190, 0.2);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* скрытие лишнего */
.ticodelk, .tlk-userbar__popup-groups, .tlk-userbar__popup-courses {
  display: none;
}

/* кнопка редактирования */
.tlk-userbar__popup-edit-profile {
  background: rgba(41, 41, 41, 0.4) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  width: 100%;
  border: 1px solid rgba(208, 190, 190, 0.3);
  padding: 7px !important;
  margin-top: 10px !important;
  color: #CFCECE !important;
  transition: 0.3s ease;
}

.tlk-userbar__popup-edit-profile:hover {
  color: #292929 !important;
  background: rgba(208, 190, 190, 0.8) !important;
  border: 1px solid #CFCECE;
  box-shadow: 0 0 12px rgba(208, 190, 190, 0.3);
}

/* hover ссылки */
.tlk-userbar__popup-groups-link:hover,
.tlk-userbar__popup-courses-link:hover {
  background: transparent !important;
  opacity: 0.8;
}

/* крестик */
.tlk-popup__close::before,
.tlk-popup__close::after {
  background-color: #CFCECE !important;
}

/* текст */
.tlk-userbar__popup-name,
.tlk-input-title,
.tlk-userbar__popup-heading,
.tlk-popup__change-lang,
.tlk-userbar__popup-text span,
.tlk-userbar__popup-text {
  color: #CFCECE !important;
}

/* заголовок */
.tlk-popup__title {
  color: #CFCECE !important;
  font-size: 20px !important;
}

/* линия */
.tlk-userbar__popup-container {
  border-top: 0px solid transparent !important;
  position: relative;
}

.tlk-userbar__popup-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #CFCECE;
  opacity: 0.2;
  pointer-events: none;
}

/* инпуты */
.tlk-input {
  background: rgba(41, 41, 41, 0.4) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(208, 190, 190, 0.3) !important;
  border-radius: 8px;
  color: #CFCECE !important;
}

/* кнопки */
.tlk-btn.tlk-btn_gray {
  background: rgba(41, 41, 41, 0.4) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #CFCECE !important;
  border-radius: 8px !important;
  width: 50%;
  border: 1px solid rgba(208, 190, 190, 0.3);
  transition: 0.3s ease;
}

.tlk-popup__button.tlk-btn_white {
  border: 1px solid rgba(208, 190, 190, 0.3) !important;
  border-radius: 8px !important;
  color: #CFCECE !important;
  width: 50%;
  background: rgba(41, 41, 41, 0.2) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

.tlk-btn.tlk-btn_gray:hover,
.tlk-popup__button.tlk-btn_white:hover,
.tlk-popup__change-password:hover,
.tlk-upload__button:hover {
  background: rgba(208, 190, 190, 0.9) !important;
  color: #292929 !important;
  border-color: #CFCECE !important;
  box-shadow: 0 0 12px rgba(208, 190, 190, 0.3);
}

/* смена пароля */
.tlk-popup__change-password {
  font-size: 14px;
  color: #CFCECE;
  border-radius: 8px;
  width: 100%;
  padding: 9px 15px 8px !important;
  border: 1px solid rgba(208, 190, 190, 0.3) !important;
  background: rgba(41, 41, 41, 0.3);
  backdrop-filter: blur(6px);
  transition: 0.3s ease;
}

/* кнопка загрузки */
.tlk-upload__button {
  background: rgba(41, 41, 41, 0.4) !important;
  color: #CFCECE !important;
  border-radius: 8px;
  border: 1px solid rgba(208, 190, 190, 0.3);
  backdrop-filter: blur(6px);
}

/* hover аккордеон */
.tlk-accordion__link:hover,
.tlk-userbar__popup-accordion-link:hover {
  background-color: rgba(208, 190, 190, 0.15) !important;
}

/* текст ссылок */
.tlk-userbar__popup-groups-link span {
  color: #CFCECE !important;
}

/* скрытие */
.tcd {
  display: none;
}

/* фон корзины */
.t706__cartwin .t-popup__content,
.t706__cartwin .t706__cartwin-content,
.t706__cartwin .t-store__cart,
.t-popup__content {
    background-color: #292929 !important;
}

/* ВСЕ ТЕКСТЫ (чёрные → #CFCECE) */
.t706__cartwin,
.t706__cartwin * {
    color: #CFCECE !important;
}

/* ОКНО АВТОРИЗАЦИИ */
.t706__cartwin .t706__cartwin-userdata,
.t706__cartwin .t706__cartwin-client,
.t706__cartwin .t706__cartwin-prodamount {
    background-color: #292929 !important;
}

/* ОКНО АВТОРИЗАЦИИ (универсальный захват Tilda) */
.t706__cartwin .t706__cartwin-userdata,
.t706__cartwin .t706__cartwin-login,
.t706__cartwin .t706__cartwin-auth,
.t706__cartwin .t-inputgroup,
.t706__cartwin .t-input-outer,
.t706__cartwin form {
    background-color: #292929 !important;
}

.t706__cartwin form div {
    background-color: #292929 !important;
}