@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;1,500&family=Golos+Text:wght@400;500;600&display=swap");

/* Миравен: стили страниц входа / регистрации / восстановления пароля Тильды (Members) */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)){
  --m-bg:#F6F1E8; --m-mist:#EDE5D8; --m-stone:#DDD2C0; --m-ink:#2B2330; --m-head:#4A3E45;
  --m-muted:#7B6F69; --m-gold:#C4913A; --m-gold-text:#8A6118; --m-err:#B4443A;
}

@media (prefers-color-scheme:dark){
  :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)){--m-bg:#0C0D10;--m-mist:#131519;--m-stone:#24262C;--m-ink:#EFE9DF;--m-head:#E8E1D4;--m-muted:#9A9DA6;--m-gold:#CC9A3C;--m-gold-text:#D8AD5E;--m-err:#E07A70}
}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)), :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) body{background:var(--m-bg)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) body, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-menu, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-switcher{font-family:"Golos Text","Segoe UI",Roboto,Arial,sans-serif!important;color:var(--m-ink);-webkit-font-smoothing:antialiased}

/* фон: убираем серую подложку */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-bg-filter, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-bg-filter__bg{background:var(--m-bg)!important;opacity:1!important}

/* карточка */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container-wrap{
  background:var(--m-mist)!important;border:1px solid var(--m-stone);border-radius:26px!important;
  box-shadow:0 30px 60px -40px rgba(43,35,48,.35)!important;padding:12px 8px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container{padding:32px 28px!important}
@media (max-width:480px){:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container{padding:24px 18px!important}}

/* заголовок */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) [data-field="tlk-title"], :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__title{
  font-family:"Lora",Georgia,serif!important;font-weight:600!important;color:var(--m-head)!important;
  font-size:30px!important;line-height:1.15!important;letter-spacing:-.01em;text-align:center}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__sup-text{color:var(--m-muted)!important;text-align:center;font-size:15px}

/* подписи и поля */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) [data-field="tlk-text"], :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-title{color:var(--m-muted)!important;font-weight:400!important;font-size:13px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input{
  background:var(--m-bg)!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important;
  border-radius:14px!important;height:48px;padding:0 16px!important;font:inherit;font-size:16px!important;
  box-shadow:none!important;transition:border-color .25s,box-shadow .25s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input::placeholder{color:var(--m-muted);opacity:.7}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input:hover{border-color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input:focus{border-color:var(--m-gold)!important;box-shadow:0 0 0 3px rgba(196,145,58,.2)!important;outline:0}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-error{color:var(--m-err)!important;font-size:13px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input.tlk-input_error, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input_error{border-color:var(--m-err)!important}

/* кнопка */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn_gray{
  background:var(--m-ink)!important;color:var(--m-bg)!important;border:0!important;border-radius:999px!important;
  height:50px;padding:0 32px!important;font:inherit!important;font-weight:500!important;font-size:15px!important;
  cursor:pointer;transition:background .2s,transform .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn:hover{background:color-mix(in srgb,var(--m-ink) 86%,var(--m-bg))!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn:active{transform:scale(.98)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__submit-btn{display:flex;justify-content:center}

/* ссылки */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__wrap-links{justify-content:center;gap:8px 20px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__link, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form a{color:var(--m-muted)!important;text-decoration:none!important;border-bottom:1px solid var(--m-gold);padding-bottom:1px;font-size:14px;transition:color .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__link:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form a:hover{color:var(--m-gold-text)!important}

/* чекбокс согласия */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form input[type=checkbox]{accent-color:var(--m-gold)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form label, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-checkbox{color:var(--m-muted)!important;font-size:13px}

/* логотип над формой */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container::before{
  content:"";display:block;height:26px;margin:0 auto 22px;
  background:url("https://mattshaddd.github.io/MiravenWebSite/logo-header.webp") center/contain no-repeat}

/* плавающая панель профиля после входа */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup{border-radius:18px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup{background:var(--m-bg)!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)}

/* крестик закрытия в попапе */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) button[onclick*="CloseModal"]{top:14px!important;right:14px!important;width:34px;height:34px;display:grid;place-items:center;border-radius:50%!important;color:var(--m-ink)!important;opacity:.75!important;transition:opacity .2s,background .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) button[onclick*="CloseModal"]:hover{opacity:1!important;background:var(--m-stone)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) button[onclick*="CloseModal"] svg{width:16px;height:16px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) button[onclick*="CloseModal"] line{stroke:var(--m-ink)!important;stroke-width:1.4}

/* отдельная страница: карточка по центру, слоган под формой */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container-wrap{min-width:min(420px,100vw - 32px)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-title{margin-bottom:4px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__item{margin-bottom:6px}

/* ===== личный кабинет (после входа) ===== */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar{top:20px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__user, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__user-image{border-radius:50%!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__user{background:var(--m-ink)!important;color:var(--m-bg)!important;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-container, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-content, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container{background:var(--m-bg)!important;color:var(--m-ink)!important;border-radius:20px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup{border:1px solid var(--m-stone)!important;box-shadow:0 30px 60px -30px rgba(0,0,0,.5)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-name, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-heading, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-title{font-family:"Lora",Georgia,serif!important;color:var(--m-head)!important;font-weight:600!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-text, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-wrap-name, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-text{color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-store-item, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-groups-item, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-courses-item, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-accordion__link, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-accordion-link{border-radius:12px!important;transition:background .2s,color .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-store-item:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-groups-item:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-accordion__link:hover{background:var(--m-mist)!important;color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-logout, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-edit-profile{color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-logout:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-edit-profile:hover{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__loyalty, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-warning{background:var(--m-mist)!important;border-radius:14px!important;color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup{background:rgba(5,6,8,.55)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container{border:1px solid var(--m-stone)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__close{color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__button, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn_white, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn_black, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn_accent{border-radius:999px!important;font-family:inherit!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn_white{background:transparent!important;color:var(--m-ink)!important;box-shadow:inset 0 0 0 1px var(--m-stone)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn_white:hover{box-shadow:inset 0 0 0 1px var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__selected, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-menu, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-list{background:var(--m-bg)!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important;border-radius:14px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-item:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options *:hover{background:var(--m-mist)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-upload__button, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-upload-label{border-radius:999px!important;border:1px solid var(--m-stone)!important;color:var(--m-ink)!important;background:transparent!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-tooltip, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-tooltip_theme_dark{border-radius:10px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-page-error__title{font-family:"Lora",Georgia,serif!important;color:var(--m-head)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-loader__icon span{background:var(--m-gold)!important}

/* ===== страницы кабинета: Личный кабинет, Мои заказы, Адреса, Купленные товары, Профиль ===== */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords{--background-color:var(--m-bg)!important;--text-color:var(--m-ink)!important;--text-hover-color:var(--m-gold-text)!important;--box-background-color:var(--m-mist)!important;--box-background-color__no-transparency:var(--m-mist)!important;--box-radius:20px!important;--border-color:var(--m-stone)!important;--font-size:16px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) body, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t-body{background:var(--m-bg)!important;color:var(--m-ink)!important;font-family:"Golos Text","Segoe UI",Roboto,Arial,sans-serif!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords [class*="tmst-"], :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords [class*="tlk-resources"]{font-family:"Golos Text","Segoe UI",Roboto,Arial,sans-serif!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__wrap, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-orders-list__item, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-addresses__card, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__product, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-order-details__main-info-content, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-order-details__header, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card:not(.tmst-main__active-orders-card){background:var(--m-mist)!important;border:1px solid var(--m-stone)!important;border-radius:20px!important;box-shadow:none!important;color:var(--m-ink)!important;transition:border-color .3s,transform .4s cubic-bezier(.2,.8,.2,1)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-orders-list__item:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-addresses__card:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__product:hover{border-color:var(--m-gold)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__header a, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-order-details__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-title{font-family:"Lora",Georgia,serif!important;font-weight:600!important;font-size:20px!important;color:var(--m-head)!important;text-decoration:none!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__title span, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__order__profile-email, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-breadcrumbs__item, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-breadcrumbs__divider, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__empty-text{color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-breadcrumbs__item_current{color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-breadcrumbs__home svg *, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-breadcrumbs__home path{fill:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-breadcrumbs__home:hover svg *{fill:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__order__profile-name{font-weight:500;color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__link, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords [data-field="tlk-link"]{color:var(--m-ink)!important;font-weight:500;text-decoration:none!important;transition:color .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__link:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords [data-field="tlk-link"]:hover{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__link_secondary{color:var(--m-muted)!important}
/* «Выйти» в кабинете Тильды ведёт на её системную страницу входа без нашего оформления: кнопку скрываем, выйти можно из окна кабинета на сайте */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__link_secondary{display:none!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-main__card__link svg *{stroke:currentColor}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-products__image{border-radius:12px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-products__image_more{background:var(--m-bg)!important;border:1px solid var(--m-stone);color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__empty-image line, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__empty-image polyline{stroke:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-orders-list__status, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-badge{border-radius:999px!important}
/* футер кабинета (Tilda-блок) */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #rec1285626401{background:var(--m-mist)!important;border-top:1px solid var(--m-stone)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #rec1285626401 .t457__copyright, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #rec1285626401 .t457__li a, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #rec1285626401 a{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #rec1285626401 .t457__li a:hover{color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #rec1285626401 [style*="background"]{background:transparent!important}

/* исправление: карточка не должна быть flex-рядом (иначе слоган уезжает вправо, а форма сужается) */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container-wrap{display:block!important;box-sizing:border-box}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box}
@media (max-width:480px){:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container-wrap{min-width:0!important;width:100%!important}}

/* ===== профиль и смена пароля (/members/profile, /members/profile/password) ===== */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper{--box-background-color-inner:var(--m-bg);--box-border-color:var(--m-stone);--font-color:var(--m-ink);--font-color-muted:var(--m-muted);--success-bg:color-mix(in srgb,#5E9A6B 18%,transparent);--success-color:#7BBF8A;--error-bg:color-mix(in srgb,#B4443A 16%,transparent);--error-color:#E58B82;--loading-bg:var(--m-bg);--box-radius-small:12px;padding:clamp(22px,4vw,36px)!important;color:var(--m-ink)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile .tmst-container:not(.tmst-breadcrumbs){padding-bottom:56px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-title{font-family:"Lora",Georgia,serif!important;font-weight:600!important;font-size:clamp(24px,3vw,30px)!important;line-height:1.1!important;letter-spacing:-.01em;color:var(--m-head)!important;margin-bottom:24px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content{gap:clamp(24px,5vw,80px)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item .tlk-input-title{opacity:1!important;color:var(--m-muted)!important;font-size:13px!important;font-weight:400!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item input:not(.t-input-phonemask), :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item .t-input.t-input-phonemask__wrap, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-input-wrapper .tlk-input, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__form-wrap .tlk-input{background:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important;border-radius:14px!important;height:48px!important;padding:0 14px!important;box-sizing:border-box;box-shadow:none!important;font:inherit;font-size:15px!important;transition:border-color .25s,box-shadow .25s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item .t-input-phonemask__wrap{padding:0 6px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item .t-input-phonemask__wrap .t-input-phonemask{border:0!important;background:transparent!important;color:var(--m-ink)!important;height:100%!important;padding:0 8px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item input:focus, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-input-wrapper .tlk-input:focus{border-color:var(--m-gold)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--m-gold) 22%,transparent)!important;outline:0}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item input::placeholder, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-input-wrapper .tlk-input::placeholder{color:var(--m-muted)!important;opacity:.7}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-input-wrapper .tlk-input{padding-right:46px!important;letter-spacing:1px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-input-wrapper .tlk-password-toggle{bottom:14px!important;right:14px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-icon-hidden, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-icon-visible{opacity:.7;transition:opacity .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-toggle:hover .tlk-password-icon-hidden, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-toggle:hover .tlk-password-icon-visible{opacity:1}
@media (prefers-color-scheme:dark){:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-icon-hidden, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-icon-visible{filter:invert(1)}}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__regular-button{background:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important;border-radius:999px!important;height:40px!important;min-width:0!important;padding:0 18px!important;font-weight:500;transition:background .2s,color .2s,border-color .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__regular-button:hover{background:var(--m-ink)!important;color:var(--m-bg)!important;border-color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save__dark, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save__light{background:var(--m-ink)!important;color:var(--m-bg)!important;border:0!important;border-radius:999px!important;height:50px!important;font-size:15px!important;font-weight:500;transition:background .2s,transform .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save:hover{background:color-mix(in srgb,var(--m-ink) 86%,var(--m-bg))!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save:active{transform:scale(.985)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save__success{background:var(--success-bg)!important;color:var(--success-color)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save__loading{background:var(--loading-bg)!important;color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__close-save__error{background:var(--error-bg)!important;color:var(--error-color)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__cancel-button, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__cancel-button__dark, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__cancel-button__light{background:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important;border-radius:999px!important;height:50px!important;font-size:15px!important;transition:border-color .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-btn.tlk-profile__cancel-button:hover{border-color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__selected{background:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important;border-radius:14px!important;height:48px!important;font-size:15px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__selected::after{border-top-color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom ul.tlk-select-custom__options{background:var(--m-bg)!important;border:1px solid var(--m-stone)!important;border-radius:14px!important;box-shadow:0 22px 44px -22px rgba(0,0,0,.55);padding:6px!important;overflow:hidden}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options li{border-radius:10px;color:var(--m-ink)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options li:hover{background:var(--m-mist)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options li.selected{background:var(--m-mist)!important;color:var(--m-gold-text)!important}

/* единый нативный скролл внутри Members-попапов и длинных панелей */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-content, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-list, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__wrap{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--m-muted) 72%,transparent) transparent}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-content::-webkit-scrollbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container::-webkit-scrollbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options::-webkit-scrollbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-list::-webkit-scrollbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper::-webkit-scrollbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__wrap::-webkit-scrollbar{width:10px;height:10px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-content::-webkit-scrollbar-track, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container::-webkit-scrollbar-track, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options::-webkit-scrollbar-track, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-list::-webkit-scrollbar-track, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper::-webkit-scrollbar-track, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__wrap::-webkit-scrollbar-track{background:transparent}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-content::-webkit-scrollbar-thumb, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container::-webkit-scrollbar-thumb, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options::-webkit-scrollbar-thumb, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-list::-webkit-scrollbar-thumb, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper::-webkit-scrollbar-thumb, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__wrap::-webkit-scrollbar-thumb{min-height:44px;border:3px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--m-muted) 72%,transparent);background-clip:content-box}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__popup-content::-webkit-scrollbar-thumb:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-popup__container::-webkit-scrollbar-thumb:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-select-custom__options::-webkit-scrollbar-thumb:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-list::-webkit-scrollbar-thumb:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper::-webkit-scrollbar-thumb:hover, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-resources__wrap::-webkit-scrollbar-thumb:hover{background:var(--m-muted);background-clip:content-box}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-menu{background:var(--m-bg)!important;border:1px solid var(--m-stone)!important;border-radius:14px!important;box-shadow:0 22px 44px -22px rgba(0,0,0,.55)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-arrow{display:none}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-item{color:var(--m-ink)!important;border-radius:8px;padding:2px 4px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile-dropdown-item:hover{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-upload__default-preview{background:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-upload__default-preview svg{color:var(--m-bg)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-profile__item img{border:1px solid var(--m-stone)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-profile-content-wrapper .tlk-input-error{color:var(--error-color)!important;font-size:13px}

/* заголовки в шрифте сайта (перебиваем общее правило с #allrecords) и без плавающей корзины Тильды */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-profile-title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-main__card__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tlk-resources__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-order-details__title, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-title{font-family:"Lora",Georgia,serif!important;text-align:left!important;font-weight:600!important;color:var(--m-head)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t706__carticon, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t706__carticon_showed{display:none!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar{top:14px!important;right:16px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar__user-image{width:44px!important;height:44px!important}

/* на страницах кабинета плавающие иконки профиля и корзины не нужны */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-userbar, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t706__carticon, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t706__carticon_showed, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t-pos-widget, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .t-menuwidgeticons__button{display:none!important}

/* ===== купленные товары, заказы: кнопки, строки, пагинация ===== */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 18px!important;border-radius:999px!important;font:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1.2!important;text-decoration:none!important;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button:active{transform:scale(.97)}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button_primary, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button.tmst-purchased__go-to-catalog-btn{background:var(--m-ink)!important;color:var(--m-bg)!important;border:0!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button_primary:hover{background:color-mix(in srgb,var(--m-ink) 86%,var(--m-bg))!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button_secondary{background:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button_secondary:hover{border-color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button_text{background:transparent!important;border:0!important;color:var(--m-muted)!important;padding:0 8px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-button_text:hover{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__details__product-title{color:var(--m-ink)!important;font-weight:500!important;font-size:15px!important;text-decoration:none!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__details__product-title:hover{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__details__product-sku, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__product-details__date, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__details__product-option-name{color:var(--m-muted)!important;font-size:13px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__product-details__price{color:var(--m-head)!important;font-weight:600!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__list__product-image{border-radius:14px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__details__product-option-value{color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__product-details__action{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-purchased__product-cta-details{color:var(--m-muted)!important;font-size:13px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-pagination__button{border-radius:999px!important;border:1px solid var(--m-stone)!important;background:transparent!important;color:var(--m-ink)!important;min-width:38px;height:38px}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-pagination__button_active{background:var(--m-ink)!important;color:var(--m-bg)!important;border-color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-pagination-nav{color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-status{border-radius:999px!important;font-size:12px!important;padding:3px 10px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-error-text, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-error-message{color:var(--m-muted)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tmst-preloader-item{background:var(--m-stone)!important;border-radius:14px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-icon-hidden, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-password-icon-visible{opacity:.9!important}

/* кнопки кабинета: перебиваем цвета из настроек Тильды (#allrecords ...) */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button_primary, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button.tmst-purchased__go-to-catalog-btn:not(.tmst-button_secondary){background-color:var(--m-ink)!important;color:var(--m-bg)!important;border:0!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button_primary:hover{background-color:color-mix(in srgb,var(--m-ink) 86%,var(--m-bg))!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button_secondary{background-color:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button_secondary:hover{border-color:var(--m-ink)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button_text{background-color:transparent!important;color:var(--m-muted)!important;border:0!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button_text:hover{color:var(--m-gold-text)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button[disabled], :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button.disabled{opacity:.5;pointer-events:none}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button.tmst-button_secondary, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords a.tmst-button.tmst-button_secondary{background-color:transparent!important;color:var(--m-ink)!important;border:1px solid var(--m-stone)!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tmst-button.tmst-button_secondary:hover{border-color:var(--m-ink)!important;color:var(--m-gold-text)!important}

/* сообщения об ошибках и успехе в формах входа/регистрации: читаемый текст на мягком фоне */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tlk-input-error.tlk-input-error_all, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form .tlk-input-error_all, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-error_all{background:color-mix(in srgb,#B4443A 16%,transparent)!important;color:#E58B82!important;border:1px solid color-mix(in srgb,#B4443A 40%,transparent)!important;border-radius:12px!important;padding:12px 14px!important;margin:12px 0 0!important;font-size:13px!important;line-height:1.4!important;text-align:center!important;opacity:1!important;box-shadow:none!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tlk-input-error.tlk-input-error_all *, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-error_all *{color:inherit!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-error_all:empty{display:none!important;padding:0!important;border:0!important;margin:0!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tlk-input-error.tlk-input-error_success, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-error_success{background:color-mix(in srgb,#5E9A6B 16%,transparent)!important;color:#8CC79A!important;border:1px solid color-mix(in srgb,#5E9A6B 40%,transparent)!important;border-radius:12px!important;padding:12px 14px!important;font-size:13px!important;text-align:center!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form .tlk-input-error:not(.tlk-input-error_all){color:#E58B82!important;font-size:12px!important}
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input.tlk-input_error, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input_error{border-color:#B4443A!important}
@media (prefers-color-scheme:light){
  :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) #allrecords .tlk-input-error.tlk-input-error_all, :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-input-error_all{color:#9A2F26!important}
  :where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form .tlk-input-error:not(.tlk-input-error_all){color:#9A2F26!important}
}

/* слоган под формой убран */
:where(html:has([class*="tmst-"], .tlk-form, .tlk-resources__wrap)) .tlk-form__container-wrap::after{content:none!important;display:none!important}

/* Shared dropdown skin. New custom menus use .mv-dropdown / .mv-dropdown__item.
   Tilda adapters keep the original selection, keyboard and form behaviour. */
html:has(.site,.tlk-form,[class*="tmst-"],.tlk-resources__wrap),.site{
  --mv-menu-bg:var(--white,var(--m-bg,#F6F1E8));
  --mv-menu-hover:var(--mist,var(--m-mist,#EDE5D8));
  --mv-menu-text:var(--ink,var(--m-ink,#2B2330));
  --mv-menu-muted:var(--muted,var(--m-muted,#7B6F69));
  --mv-menu-line:var(--stone,var(--m-stone,#DDD2C0));
  --mv-menu-accent:var(--gold-text,var(--m-gold-text,#8A6118));
}
html body :is(.mv-dropdown,[role="listbox"],.tcart-select__options,.searchbox-list,.tlk-select-custom__options,.tlk-profile-dropdown-menu,.tlk-profile-dropdown-list){
  background:var(--mv-menu-bg)!important;color:var(--mv-menu-text)!important;
  border:1px solid var(--mv-menu-line)!important;border-radius:14px!important;
  box-shadow:0 16px 40px -18px rgba(0,0,0,.5)!important;
  padding:6px!important;box-sizing:border-box;max-height:min(360px,45dvh);overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:var(--mv-menu-muted) transparent;
}
html body :is(.mv-dropdown__item,[role="option"],.tcart-select__option,.searchbox-list-item,.tlk-select-custom__options li,.tlk-profile-dropdown-item){
  background:transparent!important;color:var(--mv-menu-text)!important;border-radius:10px!important;
  padding:10px 12px!important;box-sizing:border-box;white-space:normal;
}
html body :is(.mv-dropdown__item,[role="option"],.tcart-select__option,.searchbox-list-item,.tlk-select-custom__options li,.tlk-profile-dropdown-item):is(:hover,:focus-visible,.active,.selected,[aria-selected="true"],.tcart-select__option_selected,.mv-active){background:var(--mv-menu-hover)!important;color:var(--mv-menu-accent)!important}
html body :is(.mv-dropdown__item,[role="option"],.tcart-select__option,.searchbox-list-item,.tlk-select-custom__options li,.tlk-profile-dropdown-item) :is(span,b,strong,svg){color:inherit!important}
html body :is(.tcart-address__subtext,.tcart-address__name,.searchbox-list-item-description){color:var(--mv-menu-muted)!important}
html body :is(.tcart-select__selected,.tlk-select-custom__selected){background:var(--mv-menu-bg)!important;color:var(--mv-menu-text)!important;border:1px solid var(--mv-menu-line)!important;border-radius:14px!important}
html body :is(.tcart-select__option_disabled,[role="option"][aria-disabled="true"]){opacity:.5;cursor:default}
html body :is(.mv-dropdown__item,[role="option"],.tcart-select__option):focus-visible{outline:2px solid var(--mv-menu-accent);outline-offset:-2px}
html body :is(.site,.tlk-form,[class*="tmst-"],.t706__cartpage,.mv-cp) select,
html body :is(.site,.tlk-form,[class*="tmst-"],.t706__cartpage,.mv-cp) option{background-color:var(--mv-menu-bg)!important;color:var(--mv-menu-text)!important}

/* список стран у телефона (Тильда рисует его отдельным окном поверх страницы) и общая подсветка активного пункта с клавиатуры */
html body .t-input-phonemask__options-wrap{background:var(--mv-menu-bg)!important;color:var(--mv-menu-text)!important;border:1px solid var(--mv-menu-line)!important;border-radius:14px!important;box-shadow:0 16px 40px -18px rgba(0,0,0,.5)!important;padding:6px!important;box-sizing:border-box}
html body .t-input-phonemask__options-item{background:transparent!important;color:var(--mv-menu-text)!important;border-radius:10px!important;padding:9px 12px!important;box-sizing:border-box}
html body .t-input-phonemask__options-item:is(:hover,.mv-active,.t-input-phonemask__options-item_active){background:var(--mv-menu-hover)!important;color:var(--mv-menu-accent)!important}
html body .t-input-phonemask__options-name{color:inherit!important}
html body .t-input-phonemask__options-right{color:var(--mv-menu-muted)!important}
html body .t-input-phonemask__options-item:is(:hover,.mv-active) .t-input-phonemask__options-right{color:inherit!important}
html body :is(.tcart-select__selected,.t-input-phonemask__select,input.searchbox-input):focus-visible{outline:2px solid var(--mv-menu-accent);outline-offset:2px}
/* стрелка списка адресов Тильды нарисована чёрной рамкой */
html body .tcart-select__selected::after{border-top-color:var(--mv-menu-muted)!important}

/* Юридические страницы (публичная оферта /oferta и политика конфиденциальности /politika).
   Оформление накладывается поверх обычных блоков Тильды, поэтому ТЕКСТЫ ОСТАЮТСЯ РЕДАКТИРУЕМЫМИ в редакторе Тильды как раньше.
   Страницы определяются по data-tilda-page-alias. Добавить ещё одну такую страницу: дописать её alias в LEGAL_ALIASES в build.py.
   Файл подключается в members.css (сборка build.py), а он уже стоит в «Вставка кода → HEAD». */
html:has(:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"])){
  --lg-bg:#F6F1E8;--lg-surface:#EDE5D8;--lg-ink:#2B2330;--lg-head:#4A3E45;--lg-muted:#7B6F69;--lg-line:#DDD2C0;--lg-link:#8A6118;
}
html[data-mv-theme="dark"]:has(:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"])),html[data-mv-theme="dark"] :is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]){
  --lg-bg:#0C0D10;--lg-surface:#131519;--lg-ink:#EFE9DF;--lg-head:#E8E1D4;--lg-muted:#9A9DA6;--lg-line:#24262C;--lg-link:#D8AD5E;
}
html:has(:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"])),html:has(:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"])) body,:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]){background:var(--lg-bg)!important;color:var(--lg-ink)}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t-rec{background-color:transparent!important}
/* текстовый блок T220 (плашка с текстом) и цвета, заданные внутри текста в редакторе Тильды */
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t-rec :is(div,p,span,li,td,th,strong,b,em,i,u,font){color:var(--lg-ink)!important}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t220__textwrapper{background:var(--lg-surface)!important;border:1px solid var(--lg-line);border-radius:22px;padding:clamp(22px,4vw,44px)!important;box-sizing:border-box}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t220__textwrapper :is(div,p,span,li){font-family:"Golos Text","Segoe UI",Roboto,Arial,sans-serif;line-height:1.75}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t220__textwrapper :is(b,strong){font-weight:600;color:var(--lg-head)!important}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t220__textwrapper a{color:var(--lg-link)!important;text-decoration:underline;text-underline-offset:3px}
/* заголовки */
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-title,.t-heading,.t-name,h1,h2,h3,h4){font-family:"Lora",Georgia,"Times New Roman",serif!important;font-weight:600!important;color:var(--lg-head)!important;letter-spacing:-.01em;line-height:1.2!important}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-title_xxl,.t-title_xl,.t-title_lg,h1){font-size:clamp(30px,4vw,44px)!important}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-heading,.t-name_xl,.t-name_lg,h2,h3){font-size:clamp(20px,2.4vw,26px)!important;margin-top:1.6em}
/* основной текст */
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr,.t-text p,.t-text li,.t-text div,.t-descr p,.t-descr li){font-family:"Golos Text","Segoe UI",Roboto,Arial,sans-serif!important;font-size:16px!important;line-height:1.75!important;color:var(--lg-ink)!important;font-weight:400}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr) :is(b,strong){font-weight:600;color:var(--lg-head)}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr) :is(ul,ol){padding-left:1.3em}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr) li{margin:.35em 0}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr) a{color:var(--lg-link)!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr) a:hover{text-decoration-thickness:2px}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t-text,.t-descr) :is(table,td,th){border-color:var(--lg-line)!important;color:var(--lg-ink)!important}
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) hr,:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) .t-divider{border-color:var(--lg-line)!important;background:var(--lg-line)!important}
/* шапка Тильды на этих страницах, если она есть: в цветах темы */
:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"]) :is(.t228,.t228__positionfixed,.t456,.t396){background-color:var(--lg-bg)!important}
::selection{background:color-mix(in srgb,#C4913A 40%,transparent)}
/* плавающий кружок профиля Тильды на юридических страницах не нужен */
html:has(:is(#allrecords[data-tilda-page-alias="oferta"],#allrecords[data-tilda-page-alias="politika"])) .tlk-userbar{display:none!important}

/* Единый скролл всего сайта: без стрелок, тонкий, со скруглением. Попадает в members.css (он подключён на всех страницах через «Вставка кода → HEAD»).
   Важно: в Chrome 121+ любое значение scrollbar-color/scrollbar-width (кроме auto) отключает ::-webkit-scrollbar, поэтому для Chrome/Safari они здесь не задаются. */
@supports selector(::-webkit-scrollbar){
  *::-webkit-scrollbar{width:12px;height:12px}
  *::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
  *::-webkit-scrollbar-track{background:transparent}
  *::-webkit-scrollbar-corner{background:transparent}
  *::-webkit-scrollbar-thumb{min-height:40px;border:3px solid transparent;border-radius:999px;background:color-mix(in srgb,var(--muted,#8A8490) 60%,transparent);background-clip:content-box}
  *::-webkit-scrollbar-thumb:hover{background:var(--muted,#8A8490);background-clip:content-box}
}
@supports not selector(::-webkit-scrollbar){
  *{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted,#8A8490) 60%,transparent) transparent}
}
