.btn--gray:not(:hover){
    background-color: #e6e7e9;
}

.swal-content__textarea{
    font-size: 16px;
    line-height: 1.6;
}
.swal-content__input{
    font-size: 16px;
}

/* Плитка с иконкой: --fill растягивает её на ширину колонки */
.icon-tile{display:flex;align-items:center;justify-content:center;width:2.30em;height:2.30em;flex-shrink:0;border-radius:.50em;background-color:#f6ecd9;color:#936a3b}
.icon-tile svg{width:60%;height:60%}
.icon-tile--fill{width:100%;height:auto;aspect-ratio:1 / 1;border-radius:.80em}
.icon-tile--fill svg{width:50%;height:50%}

/* Уведомления в колокольчике */
.e-notice + .e-notice{padding-top:1.40em;border-top:1px solid #eff1f2}
.e-notice__img{width:5em;margin-right:1.40em}
.e-notice .e-card-img__poster{border-radius:8px}
.e-notice__body{min-width:0}
.e-notice__avatar{flex-shrink:0}
.e-notice__name{min-width:0;word-break:break-word}
.e-notice__name b{font-weight:600}
.e-notice__text{line-height:1.5;word-break:break-word}
.e-notice__hint{font-size:.93em;line-height:1.5}
.e-notice__details{font-size:.93em;margin-top:.50em}
.e-notice__release-text{font-size:.93em}
.e-notice__footer{margin-top:.90em}
.e-notice__date{font-size:.93em;text-transform:lowercase}
.e-notice__action{font-size:.93em}
.e-notice__action:hover{text-decoration:underline}
.e-notice__title{display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height:1.25;}

/* Админка: комментарии пользователей (/comments) */
.comments-admin__filter{margin-right:.60em;cursor:pointer}
.comments-admin__poster{display:block;width:2.60em;flex-shrink:0;margin-right:.80em}
.comments-admin__poster img{display:block;width:100%;border-radius:.30em;background-color:#eff1f2}
.comments-admin__card:hover{text-decoration:underline}
.comments-admin__text{word-break:break-word;white-space:pre-line}
.comments-admin__nick,.comments-admin__email{word-break:break-all}
.comments-admin__liked--bad{color:#e04f4f;font-weight:600}

/* OAuth: экран согласия (/oauth/authorize, /activate) */
.oauth-page{max-width:40em;margin:0 auto}
.oauth-consent{min-height:0}
.oauth-consent__head{display:flex;align-items:center;margin-bottom:1.40em}
.oauth-consent__icon{width:4em;height:4em;flex-shrink:0;margin-right:1.10em;border-radius:1em;overflow:hidden;background-color:#eff1f2;display:flex;align-items:center;justify-content:center;font-size:1.20em;font-weight:600}
.oauth-consent__icon img{display:block;width:100%;height:100%;object-fit:cover}
.oauth-consent__app{min-width:0}
.oauth-consent__name{font-weight:500;word-break:break-word}
.oauth-consent__meta{margin-top:.30em;font-size:.93em;word-break:break-all}
.oauth-consent__meta a:hover{text-decoration:underline}
.oauth-consent__descr{line-height:1.5;margin-bottom:1.40em;word-break:break-word}
.oauth-consent__warning{margin-bottom:1.40em;padding:.80em 1em;border-radius:.60em;background-color:rgba(224,79,79,.12);color:#c03b3b;line-height:1.5}
.oauth-consent__title{font-weight:600;margin-bottom:.80em}
.oauth-consent__scopes{list-style:disc;padding-left:1.20em;margin-bottom:1.40em;line-height:1.5}
.oauth-consent__scopes li + li{margin-top:.40em}
.oauth-consent__note{font-size:.93em;line-height:1.5;margin-bottom:1.40em}
.oauth-consent__note a{text-decoration:underline}
.oauth-consent__buttons{display:flex;flex-wrap:wrap;gap:.80em}
.oauth-consent__status{margin-top:1em;color:#c03b3b}
.oauth-consent__status:empty{display:none}
.oauth-activate__form{display:flex;flex-wrap:wrap;gap:.80em;align-items:center;margin-bottom:1em}
.oauth-activate__input{flex:1 1 12em;margin:0 !important;text-transform:uppercase;letter-spacing:.15em;font-weight:600}

/* OAuth: приложения разработчика (/oauth-apps) */
.oauth-apps__top{display:flex;align-items:center;flex-wrap:wrap;gap:1em;justify-content:space-between}
.oauth-apps__link{text-decoration:underline;cursor:pointer;margin-left:.30em}
.oauth-apps__filter{display:flex;flex-wrap:wrap;gap:.60em;align-items:center}
.oauth-apps__tab{padding:.45em 1em;border-radius:2em;background-color:#fff;font-size:.93em}
.oauth-apps__tab.active{background-color:#211f1b;color:#fff}
.oauth-app + .oauth-app{margin-top:20px}
.oauth-app{min-height:0}
.oauth-app .oauth-consent__head{align-items:flex-start}
.oauth-app__badge{margin-left:auto;flex-shrink:0;white-space:nowrap;padding:.35em .80em;border-radius:2em;font-size:.86em;background-color:#eff1f2}
.oauth-app__badge--approved{background-color:rgba(46,160,67,.15);color:#1f7a35}
.oauth-app__badge--blocked{background-color:rgba(224,79,79,.12);color:#c03b3b}
.oauth-app__row{display:grid;grid-template-columns:9em 1fr auto;gap:.60em;align-items:baseline;padding:.45em 0;word-break:break-word}
.oauth-app__row + .oauth-app__row{border-top:1px solid #eff1f2}
.oauth-app__code{font-family:monospace;background-color:#eff1f2;padding:.15em .45em;border-radius:6px;word-break:break-all}
.oauth-app__title{margin-bottom:.80em}
.oauth-app__status{margin-top:1em;font-size:.93em;color:#8a8a8a}
.oauth-app__status--approved{color:#1f7a35}
.oauth-app__status--blocked{color:#c03b3b}
.oauth-app-keys{min-height:0;margin-bottom:20px}
/* Приложения разработчика и модерация (/oauth-apps, /oauth-apps?admin=1, static/js/oauth-apps.js): шапка со ссылками и «+ Создать приложение»,
   карточка — grid: иконка | имя и «Мобильное · ТВ · Плагин» | статус e-block__status | меню elem-edit; ниже описание и строки «подпись — значение»
   (Client ID — elem-copy, права — elem-tag). Телефон: статус под текстом, подписи над значениями, кнопки шапки в нижней панели */
.oauth-apps__navs{gap:.60em 1.40em}
.oauth-apps__nav{display:inline-flex;align-items:center;gap:.55em;color:#211f1b}
.oauth-apps__nav + .oauth-apps__nav{padding-left:1.40em;border-left:1px solid #d9dadc}
.oauth-apps__nav svg{width:1.25em;height:1.25em;flex-shrink:0;color:#936a3b}
.oauth-apps__nav svg.oauth-apps__external{width:.95em;height:.95em;color:#78797a}
.oauth-apps__nav:hover span{text-decoration:underline}
.oauth-apps__note{flex-direction:row;align-items:center;gap:1em;line-height:1.50;color:#555}
.oauth-apps__note svg{width:1.40em;height:1.40em;flex-shrink:0;color:#936a3b}
.oauth-apps__count{margin-left:auto;color:#78797a;white-space:nowrap}
.oauth-apps__tabs{flex-wrap:wrap}
.oauth-apps__tabs .oauth-apps__count{padding-bottom:.60em;font-size:.93em}
.oauth-apps__card + .oauth-apps__card{margin-top:1.20em}
.oauth-apps__head{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"icon info status menu";align-items:start;column-gap:1.40em}
.oauth-apps__icon{grid-area:icon;display:flex;align-items:center;justify-content:center;width:4.40em;height:4.40em;border-radius:1em;overflow:hidden;background-color:#eff1f2;font-weight:700;color:#211f1b}
.oauth-apps__icon img{display:block;width:100%;height:100%;object-fit:cover}
.oauth-apps__info{grid-area:info;min-width:0}
.oauth-apps__name{font-size:1.30em;font-weight:700;color:#211f1b;overflow-wrap:anywhere}
.oauth-apps__meta{margin-top:.30em;color:#78797a}
.oauth-apps__status{grid-area:status;padding-top:.15em}
.oauth-apps__status .e-block__status{white-space:nowrap}
.oauth-apps__head .elem-edit{grid-area:menu;position:relative;top:auto;right:auto;opacity:1}
.oauth-apps__descr{margin-top:1.40em;line-height:1.50;color:#211f1b;overflow-wrap:anywhere}
.oauth-apps__rows{margin-top:1.40em;border-top:1px solid #eff1f2}
.oauth-apps__row{display:grid;grid-template-columns:10em minmax(0,1fr);gap:1em;align-items:baseline;padding-top:1.10em}
.oauth-apps__label{color:#78797a}
.oauth-apps__value{min-width:0;overflow-wrap:anywhere}
.oauth-apps__hint{margin-top:.70em;font-size:.88em;color:#78797a}
.oauth-apps__uris{white-space:pre-line;word-break:break-all}
.oauth-apps__site{text-decoration:underline;word-break:break-all}
@media (max-width:767px){
    .oauth-apps__head{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon info menu" "icon status .";column-gap:1.10em}
    .oauth-apps__icon{width:3.60em;height:3.60em}
    .oauth-apps__name{font-size:1.15em}
    .oauth-apps__status{padding-top:.70em}
    .oauth-apps__note{align-items:flex-start}
    .oauth-apps__row{grid-template-columns:minmax(0,1fr);gap:.50em}
    .friends-tabs.oauth-apps__tabs{gap:.75em}
    .oauth-apps__tabs .friends-tabs__tab{font-size:1em}
    .oauth-apps__tabs .oauth-apps__count{order:-1;flex:1 1 100%;margin:0 0 .80em;padding-bottom:0;font-size:.88em}
}
.oauth-app-keys .oauth-consent__warning{margin:1em 0}
#oauth-app-secret-action{margin-top:1em}
.oauth-app-form{display:flex;flex-direction:column}
.oauth-app-form__label{font-weight:600;margin:1.20em 0 .50em}
.oauth-app-form__label:first-child{margin-top:0}
.oauth-app-form .input-usher{margin-bottom:0}
.oauth-app-form__hint{font-size:.86em;margin-top:.50em;line-height:1.4}
.oauth-app-form__types,.oauth-app-form__scopes{display:flex;flex-direction:column;gap:.60em}
.oauth-app-form__check{display:flex;gap:.60em;align-items:flex-start;line-height:1.4;cursor:pointer}
.oauth-app-form__check input{margin-top:.25em;flex-shrink:0;-webkit-appearance:auto;appearance:auto;width:auto;height:auto}
.oauth-app-form .oauth-consent__buttons{margin-top:1.60em}
/* чекбокс/выбор типа в форме приложения: нативный input скрыт (hide), вид — elem-checkbox, класс active ставит static/js/oauth-app-edit.js */
.oauth-app-form__check .elem-checkbox{margin-top:.05em}
.oauth-app-form__check--disabled{cursor:default;opacity:.60}
@media (max-width:576px){.oauth-app__row{grid-template-columns:1fr}}

/* История просмотров (/history, окно «Добавить просмотр», блок на странице карточки) */
.history__filters{display:flex;flex-wrap:wrap;gap:.60em;align-items:center}
.history__filter,.history__card{padding:.45em 1em;border-radius:2em;background-color:#fff;font-size:.93em;cursor:pointer}
.history__filter.active{background-color:#211f1b;color:#fff}
.history__card{display:inline-flex;gap:.60em;align-items:center;cursor:default;background-color:#f4c84a}
.history__card-close{cursor:pointer;font-size:1.20em;line-height:1}
.history__select{display:flex;flex-wrap:wrap;gap:.80em;align-items:center;margin-bottom:20px;font-weight:600}
.history__premium{min-height:0;margin-bottom:20px;line-height:1.5}
.history__premium a{text-decoration:underline}
.history__day{font-weight:600;font-size:1.07em;margin:1.60em 0 .70em}
.history__day:first-child{margin-top:0}
.history__item{display:flex;align-items:center;gap:1em;padding:.70em 1em;background-color:#fff;border-radius:1em}
.history__item + .history__item{margin-top:8px}
.history__poster{width:3.20em;height:4.70em;flex-shrink:0;border-radius:.50em;overflow:hidden;background-color:#eff1f2}
.history__poster img{display:block;width:100%;height:100%;object-fit:cover}
.history__info{min-width:0;flex:1 1 auto}
.history__name{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history__name:hover{text-decoration:underline}
.history__meta{margin-top:.30em;font-size:.93em}
.history__when{flex-shrink:0;text-align:right}
.history__time{font-weight:600}
.history-add__results{margin-top:1em;max-height:24em;overflow-y:auto}
.history-add__item{display:flex;gap:.80em;align-items:center;padding:.50em;border-radius:.60em;cursor:pointer}
.history-add__item:hover{background-color:#eff1f2}
.history-add__poster{width:2.60em;height:3.80em;flex-shrink:0;border-radius:.40em;overflow:hidden;background-color:#eff1f2}
.history-add__poster img{display:block;width:100%;height:100%;object-fit:cover}
.history-add__name{font-weight:600}
.history-add__form{display:flex;flex-direction:column;min-width:min(26em,80vw)}
.history-add__form .input-usher{margin-bottom:0}
.history-add__title{font-weight:600;font-size:1.13em;margin-bottom:.40em}
.history-add__label{font-weight:600;margin:1.20em 0 .50em}
.history-add__when{display:flex;flex-direction:column;gap:.60em;margin-bottom:.80em}
.history-add__error{margin-top:1em;color:#c03b3b}
.history-add__buttons{display:flex;flex-wrap:wrap;gap:.80em;margin-top:1.40em}
.history-card{display:flex;align-items:center;flex-wrap:wrap;gap:1em}
.history-card__icon{width:2.40em;height:2.40em;flex-shrink:0}
.history-card__text{flex:1 1 14em;min-width:0}
.history-card__all{text-decoration:underline}

/* Отступы во flex-контейнерах (d-fx) */
.gap-10{gap:10px}
.gap-15{gap:15px}
.gap-20{gap:20px}

/* «История просмотров» /history: шапка, статистика одной панелью, вкладки (общие .friends-tabs), просмотры одной панелью по дням.
   Строка — grid: [галочка] постер | название и «Фильм · 2024» | время над источником | «…»; телефон — время у названия, источник под «Фильм · 2024» */
.history-head__sub{gap:.40em 2em}
.history-head__help{display:inline-flex;align-items:center;gap:.50em;color:#555}
.history-head__help svg{width:1.20em;height:1.20em;flex-shrink:0;color:#78797a}
.history-head__help span{text-decoration:underline;text-underline-offset:.25em;text-decoration-color:#c9cacb}
.history-head__help:hover span{text-decoration-color:currentColor}
.history-head__menu{display:flex;align-items:center;justify-content:center;width:3.60em;height:3.60em;flex-shrink:0;border-radius:100%;background-color:#e6e7e9;color:#211f1b;cursor:pointer;transition:background-color 200ms}
.history-head__menu:hover{background-color:#dadbdd}
.history-head__menu svg{width:1.40em;height:1.40em}
.history-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.35fr);align-items:center;padding-left:0;padding-right:0}
.history-sum__item,.history-sum__store{min-width:0;padding:.20em 1.80em}
.history-sum__item:first-child{padding-left:2.40em}
.history-sum__item + .history-sum__item,.history-sum__store{border-left:1px solid #eff1f2}
.history-sum__value{font-size:2.60em;font-weight:700;line-height:1.10;color:#211f1b}
.history-sum__label{margin-top:.40em;color:#78797a}
.history-sum__icon{width:1.80em;height:1.80em;flex-shrink:0;color:#78797a}
.history-sum__count{font-size:.93em;color:#555;white-space:nowrap}
.history-sum__bar{height:6px;margin-top:1.20em;border-radius:6px;background-color:#eff1f2;overflow:hidden}
.history-sum__bar div{min-width:6px;height:100%;border-radius:6px;background-color:#c29a5b}
.history-sum__bar--full div{background-color:#c03b3b}
.history-tabs{flex-wrap:wrap}
.history-tabs .history__card{margin-bottom:.60em}
.history-tabs__total{margin-left:auto;padding-bottom:.60em;font-size:.93em;color:#78797a}
.history-day{display:flex;align-items:baseline;gap:.70em;margin:1.40em 0 .80em}
.history-day:first-child{margin-top:0}
.history-day:after{content:'';flex:1 1 auto;align-self:center;height:1px;margin-left:.70em;background-color:#eff1f2}
.history-day__title{font-size:1.07em;font-weight:700;color:#211f1b}
.history-day__week{font-size:.93em;color:#78797a}
.history-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;grid-template-rows:1fr 1fr;grid-template-areas:"check poster info time menu" "check poster info source menu";align-items:center;padding:.60em 0}
.history-row__check{grid-area:check;display:none;margin-right:1.20em;cursor:pointer}
.history-row__check input{-webkit-appearance:auto;appearance:auto;width:1.10em;height:1.10em}
.history--selecting .history-row__check{display:block}
.history-row__poster{grid-area:poster;display:block;margin-right:1.60em;width:4.40em;height:6.40em;border-radius:.60em;overflow:hidden;background-color:#eff1f2}
.history-row__poster img{display:block;width:100%;height:100%;object-fit:cover}
.history-row__info{grid-area:info;min-width:0}
.history-row__name{display:block;font-size:1.20em;font-weight:700;color:#211f1b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.history-row__name:hover{text-decoration:underline}
.history-row__meta{margin-top:.30em;color:#78797a}
.history-row__time{grid-area:time;align-self:end;margin-left:1.60em;text-align:right;font-size:1.13em;font-weight:700;color:#211f1b}
.history-row__source{grid-area:source;align-self:start;justify-self:end;display:flex;align-items:center;gap:.50em;margin-top:.30em;margin-left:1.60em;color:#78797a;white-space:nowrap}
.history-row__source svg{width:1.20em;height:1.20em;flex-shrink:0}
.history-row__menu{grid-area:menu;margin-left:.60em;}
.modal--history-help{max-width:34em}
@media (max-width:1199px){
    .history-sum__item,.history-sum__store{padding-left:1.60em;padding-right:1.60em}
}
@media (min-width:1451px){
    .history-sum__label{white-space:nowrap}
}
/* рядом с боковым меню кабинета на пять колонок не хватает: хранилище — строкой под цифрами */
@media (max-width:1450px) and (min-width:768px){
    .history-sum{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:1.40em}
    .history-sum__store{grid-column:1 / -1;display:flex;align-items:center;gap:2em;padding-top:1.20em;border-left:0;border-top:1px solid #eff1f2}
    .history-sum__bar{flex:1 1 auto;margin-top:0}
}
.history-help p{line-height:1.50}
.history-help p + p{margin-top:.80em}
@media (max-width:767px){
    .history-sum{grid-template-columns:1fr 1fr;padding:.40em 1.40em}
    .history-sum__item{padding:1em 0}
    .history-sum__item:nth-child(odd){padding-left:0;padding-right:1.20em;border-left:0}
    .history-sum__item:nth-child(even){padding-left:1.20em}
    .history-sum__item:nth-child(-n+2){border-bottom:1px solid #eff1f2}
    .history-sum__store{grid-column:1 / -1;padding:1em 0 .80em;border-left:0;border-top:1px solid #eff1f2}
    .history-sum__value{font-size:2.20em}
    .history-sum__bar{display:none}
    .friends-tabs.history-tabs{gap:.75em}
    .history-tabs .friends-tabs__tab{font-size:1em}
    .history-tabs__total{font-size:.81em}
    .history-day{margin:1.20em 0 .60em}
    .history-row{grid-template-rows:auto auto;grid-template-areas:"check poster info time menu" "check poster source source source";align-content:center;align-items:start;padding:.50em 0}
    .history-row__check{margin-right:.80em}
    .history-row__poster{width:4em;height:5.80em;margin-right:1em}
    .history-row__name{font-size:1.07em;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
    .history-row__time{align-self:start;margin-left:.80em;font-size:1.07em}
    .history-row__source{justify-self:start;margin-top:.50em;margin-left:0}
    .history-row__menu{margin-top: -0.3em;}
}
@media (max-width:576px){
    .history__item{padding:.60em .70em;gap:.70em}
}
.history-add__buttons .btn{border-radius:2em}

/* Календарь (/calendar) */
.calendar__top{display:flex;align-items:center;flex-wrap:wrap;gap:1em;justify-content:space-between}
.calendar__filters{display:flex;flex-wrap:wrap;gap:.60em}
.calendar__filter{padding:.45em 1em;border-radius:2em;background-color:#fff;font-size:.93em;cursor:pointer}
.calendar__filter.active{background-color:#211f1b;color:#fff}
.calendar__week + .calendar__week{margin-top:2.50em}
.calendar__week-head{display:flex;align-items:baseline;gap:.80em;margin-bottom:1em}
.calendar__week-title{font-weight:700;font-size:1.25em}
.calendar__week-count{font-size:.87em;opacity:.6}
.calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0 .80em}
.calendar__day{position:relative;border-radius:1em;padding-bottom:.80em}
.calendar__day-head{text-align:center;padding:.70em 0 .60em;margin-bottom:.80em;}
.calendar__day-week{font-size:.69em;font-weight:600;text-transform:uppercase;letter-spacing:.08em;opacity:.7}
.calendar__day-num{display:inline-flex;align-items:center;justify-content:center;width:1.75em;height:1.75em;margin-top:.15em;border-radius:50%;font-weight:700;font-size:1.25em}
.calendar__date{display:none}
.calendar__day.is--today{background:linear-gradient(to bottom, rgb(216 195 154 / 25%), rgba(108, 84, 214, 0) 85%)}
.calendar__day.is--today .calendar__day-week{color:#d8c39a;opacity:1}
.calendar__day.is--today .calendar__day-num{background-color:#d8c39a;color:#fff}
.calendar__day-body{display:flex;flex-direction:column;gap:1.20em;}
.calendar__day .e-card{font-size:.95em;padding-top:0}
.calendar__day .e-card--serial{padding-top:.50em}
.calendar__day.is--past .e-card{opacity:.6}
.calendar__day.is--past .e-card:hover{opacity:1}
.calendar__empty{aspect-ratio:2/3;border:1px solid #dfe2e5;border-radius:8px;-webkit-mask-image:linear-gradient(to bottom,#000 30%,transparent);mask-image:linear-gradient(to bottom,#000 30%,transparent)}
/* бейдж и «просмотрено» — внизу постера e-card-img, сверху уже закладки и меню карточки */
.calendar__labels{position:absolute;left:.45em;right:.45em;bottom:.45em;display:flex;flex-wrap:wrap;gap:.30em;pointer-events:none}
.calendar__label{display:inline-flex;align-items:center;padding:.25em .60em;border-radius:2em;background-color:rgba(33,31,27,.75);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;font-size:.62em;font-weight:600;line-height:1.2}
.calendar__label::before{content:'';display:inline-block;width:.50em;height:.50em;margin-right:.35em;border-radius:50%;background-color:#7cc4ff}
.calendar__label--premiere::before,.calendar__label--season_premiere::before,.calendar__label--movie::before{background-color:#d8c39a}
.calendar__label--finale::before{background-color:#ff6b6b}
.calendar__label--watched{background-color:#3fb950;padding:.25em .45em}
.calendar__label--watched::before{display:none}
.calendar__label--watched svg{width:.90em;height:.90em}
@media (max-width:991px){
    .calendar__grid{gap:0 .40em}
    .calendar__day-body{padding:0}
}
/* до 767px — без колонок дней: карточки недели по три в ряд, дата над названием */
@media (max-width:767px){
    .calendar__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.20em .80em;padding-top:.80em;border-top:1px solid #d3d6d9}
    .calendar__day,.calendar__day-body{display:contents}
    .calendar__day-head,.calendar__empty{display:none}
    .calendar__date{display:block;margin-top:.70em;font-size:.75em;opacity:.6}
    .calendar__day.is--today .calendar__date{color:#d8c39a;opacity:1;font-weight:600}
    .calendar__date + .e-card-details__title{margin-top:.25em}
    .calendar__week.is--empty .calendar__grid{display:none}
    .calendar__week-head{margin-bottom:.70em}
}

/* Нижнее меню: 5 и больше пунктов (карточка с «Отметить», /history) на узком экране помещаются без прокрутки */
@media (max-width:420px){
    .e-navbar__item:first-child:nth-last-child(n+5),
    .e-navbar__item:first-child:nth-last-child(n+5) ~ .e-navbar__item{padding-left:.15em;padding-right:.15em;min-width:0}
}

.swal-button--add{
    background-color: #d8c39a;
}
.swal-button-container{
    display: block;
}
.swal-button{
    width: 100%;
    padding: 17px 24px;
}
.swal-button--remove:not(:hover){
    color: #fff;
}
/* Настройки аккаунта: ключи доступа (passkeys) */
.passkeys-list{border-radius:.80em;background-color:#f6f7f8;overflow:hidden}
.passkeys-item{display:flex;align-items:center;padding:1em 1.20em}
.passkeys-item + .passkeys-item{border-top:1px solid #e6e8ea}
.passkeys-item__icon{width:2.40em;height:2.40em;flex-shrink:0;margin-right:1em;border-radius:100%;background-color:#211f1b;color:#fff;display:flex;align-items:center;justify-content:center}
.passkeys-item__icon svg{width:1.20em;height:1.20em}
.passkeys-item__body{min-width:0;flex:1 1 0}
.passkeys-item__name{font-weight:600;word-break:break-word}
.passkeys-item__info{margin-top:.30em;font-size:.86em;opacity:.5}
.passkeys-item__actions{display:flex;flex-shrink:0;gap:1.20em;margin-left:1em}
.passkeys-item__actions a:hover{text-decoration:underline}
@media (max-width:576px){
    .passkeys-item{flex-wrap:wrap}
    .passkeys-item__actions{width:100%;margin:.80em 0 0 3.40em}
}

/* Окно входа: кнопка «Войти с ключом доступа» */
.signin-passkey{display:flex;align-items:center;justify-content:center}
.signin-passkey svg{width:1.20em;height:1.20em;margin-right:.60em}

/* Медиасерверы и плееры (/account-scrobble): шапка с золотой «Добавить медиасервер», три преимущества одной панелью,
   карточка сервера — grid: иконка | имя и профиль | статус | меню, ниже серая плашка последнего события; «Как подключить» — вкладки (общие .friends-tabs) и шаги с номерами.
   Телефон: преимущества столбиком, статус под профилем, «Добавить» в нижней панели */
.scrobble__link{text-decoration:underline;cursor:pointer}
.scrobble-head__history{display:inline-flex;align-items:center;gap:.60em;font-weight:500;color:#936a3b}
.scrobble-head__history svg{width:1.20em;height:1.20em;flex-shrink:0;transition:transform 200ms}
.scrobble-head__history:hover svg{transform:translateX(3px)}
.scrobble-badge{display:inline-block;padding:.30em .75em;border-radius:2em;background-color:#f6ecd9;font-size:.80em;font-weight:500;line-height:1.20;color:#936a3b;white-space:nowrap;vertical-align:middle}
a.scrobble-badge:hover{background-color:#efe0c4}
.scrobble-perks{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.30fr);padding-left:0;padding-right:0}
.scrobble-perk{display:flex;align-items:flex-start;gap:1.10em;min-width:0;padding:.20em 1.60em}
.scrobble-perk + .scrobble-perk{border-left:1px solid #eff1f2}
.scrobble-perk__icon{display:flex;align-items:center;justify-content:center;width:3em;height:3em;flex-shrink:0;border-radius:100%;background-color:#f6ecd9;color:#936a3b}
.scrobble-perk__icon svg{width:1.40em;height:1.40em}
.scrobble-perk__body{display:flex;flex-wrap:wrap;align-items:center;gap:.40em .80em;min-width:0}
.scrobble-perk__title{font-weight:700;color:#211f1b}
.scrobble-perk__text{flex:1 1 100%;font-size:.93em;line-height:1.50;color:#78797a}
.scrobble-hook + .scrobble-hook{margin-top:1.20em}
.scrobble-hook__head{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"icon info status menu";align-items:center;column-gap:1.40em}
.scrobble-hook__icon{grid-area:icon;display:flex;align-items:center;justify-content:center;width:4em;height:4em;border-radius:.90em;background-color:#eff1f2;color:#211f1b}
.scrobble-hook__icon svg{width:1.70em;height:1.70em}
.scrobble-hook__info{grid-area:info;min-width:0}
.scrobble-hook__name{font-size:1.30em;font-weight:700;color:#211f1b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scrobble-hook__meta{margin-top:.30em;color:#78797a;overflow-wrap:anywhere}
.scrobble-hook__meta b{font-weight:inherit}
.scrobble-hook__meta span + span:before{content:'·';margin:0 .45em}
.scrobble-hook__status{grid-area:status;display:inline-flex;align-items:center;gap:.60em;padding:.65em 1.10em;border-radius:2em;font-weight:500;white-space:nowrap;font-size: 0.8em}
.scrobble-hook__status:before{content:'';width:.75em;height:.75em;flex-shrink:0;border:2px solid currentColor;border-radius:100%}
.scrobble-hook__status--wait{background-color:#f6ecd9;color:#936a3b}
.scrobble-hook__status--ok{background-color:#e7f3ea;color:#2f7d46}
.scrobble-hook__status--ok:before{background-color:currentColor}
.scrobble-hook__status--error{background-color:#fbe9e9;color:#c03b3b}
.scrobble-hook__last{display:flex;align-items:flex-start;gap:1em;margin-top:1.40em;padding:1.10em 1.40em;border-radius:10px;background-color:#f5f6f7;line-height:1.50;color:#555;overflow-wrap:anywhere}
.scrobble-hook__last svg{width:1.30em;height:1.30em;flex-shrink:0;margin-top:.10em;color:#78797a}
.scrobble-guide{padding-top:1.20em}
.scrobble-step{display:flex;align-items:flex-start;gap:1.40em;padding:1.20em 0}
.scrobble-step + .scrobble-step{border-top:1px solid #eff1f2}
.scrobble-step__num{display:flex;align-items:center;justify-content:center;width:2.30em;height:2.30em;flex-shrink:0;border-radius:100%;background-color:#f6ecd9;font-weight:600;color:#936a3b}
.scrobble-step__title{font-weight:600;line-height:1.50;color:#211f1b}
.scrobble-step__title .scrobble-badge{margin-left:.50em}
.scrobble-step__path{margin-top:.20em;color:#555}
.scrobble-step__text{margin-top:.20em;font-size:.93em;line-height:1.50;color:#78797a}
.scrobble-guide__note{display:flex;align-items:flex-start;gap:.80em;padding-top:1em;border-top:1px solid #eff1f2;font-size:.88em;line-height:1.50;color:#78797a}
.scrobble-guide__note svg{width:1.30em;height:1.30em;flex-shrink:0}
.modal--scrobble{max-width:34em}
.scrobble-modal__submit{display:flex;align-items:center;justify-content:center;gap:.70em;width:100%;padding:1em 1.40em}
.scrobble-modal__submit svg{width:1.30em;height:1.30em;flex-shrink:0}
.scrobble-key__input{text-overflow:ellipsis}
.scrobble-key__warning{display:flex;align-items:flex-start;gap:.80em;margin-top:1.20em;padding:1em 1.20em;border-radius:10px;background-color:#fbf4e6;line-height:1.50;color:#555}
.scrobble-key__warning svg{width:1.30em;height:1.30em;flex-shrink:0;margin-top:.10em;color:#936a3b}
/* рядом с боковым меню кабинета три колонки узкие: иконка над текстом */
@media (max-width:1450px) and (min-width:768px){
    .scrobble-perk{flex-direction:column;gap:1em;padding-left:1.50em;padding-right:1.50em}
}
@media (max-width:767px){
    .scrobble-perks{grid-template-columns:1fr;padding:.40em 1.40em}
    .scrobble-perk{padding:1.10em 0}
    .scrobble-perk + .scrobble-perk{border-left:0;border-top:1px solid #eff1f2}
    .scrobble-perk__icon{width:2.70em;height:2.70em}
    .scrobble-perk__badge{order:3}
    .scrobble-hook__head{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon info menu" "icon status .";align-items:start;column-gap:1.10em}
    .scrobble-hook__icon{width:3.40em;height:3.40em}
    .scrobble-hook__status{justify-self:start;margin-top:.70em;padding:.45em .90em;font-size:.88em}
    .scrobble-hook__meta span{display:block}
    .scrobble-hook__meta span + span:before{content:none}
    .scrobble-hook__meta b{font-weight:600;color:#211f1b}
    .scrobble-hook__last{margin-top:1.10em;padding:.90em 1.10em;font-size:.93em}
    .scrobble-tabs.friends-tabs{justify-content:space-between;gap:.40em}
    .scrobble-step{gap:1em;padding:1em 0}
    .scrobble-step__num{width:2em;height:2em}
    .scrobble-step__path{font-size:.93em}
}

/* Друзья: /friends и приглашение /friends/invite/:code */
.friends__user{display:flex;align-items:center;gap:1.40em;min-width:0}
.friends__info{min-width:0}
.friends__name{word-break:break-word}
.friends__link{text-decoration:underline}
.friends__tab{cursor:pointer}
.friends__result{gap:1em}
.friends-invite{max-width:560px;margin:0 auto;text-align:center;min-height:0}
.friends-invite__avatar{width:96px;height:96px;margin: 0 auto;}
.friends-invite .e-alert{text-align:left}
@media (max-width:576px){.friends__user{gap:.80em}}
.friends__link-name:hover{text-decoration:underline}
.friends__permission{cursor:pointer;align-items:flex-start}
.friends__permission .elem-checkbox{margin-top:.15em}
.friends__profile-note:not(:empty){margin-bottom:15px}

/* Страница друга /friends/:name */
.friend__head{display:flex;align-items:center;gap:1.40em;flex-wrap:wrap}
.friend__avatar{width:72px;height:72px}
.friend__title{min-width:0;flex:1 1 auto}
.friend__name{word-break:break-word}
.friend__back{flex-shrink:0}
@media (max-width:576px){.friend__avatar{width:56px;height:56px}.friend__back{width:100%}}

/* Советы друзей: счётчик в меню, окно «Посоветовать» на карточке, страница /friends/recommendations */
.friends-menu-count{margin-left:auto;min-width:1.70em;padding:.15em .50em;border-radius:1em;background-color:#d8c39a;color:#211f1b;font-size:.80em;font-weight:600;text-align:center;line-height:1.4}
.btn .friends-menu-count{margin-left:.50em}

/* Страница «Друзья» /friends: шапка, плашка приватности, панель друзей, «Вам советуют», «Кто больше смотрит» */
.friends-head{display:flex;align-items:center;justify-content:space-between;gap:1.50em}
.friends-head__title{display:flex;align-items:baseline;gap:.60em}
.friends-head__count{font-size:1.60em;font-weight:600;color:#78797a}
.friends-head__actions{display:flex;align-items:center;gap:2.20em;flex-shrink:0}
.friends-head__invite{display:inline-flex;align-items:center;gap:.60em;padding:0;border:0;background:none;font:inherit;font-size:1.07em;color:#211f1b;cursor:pointer;white-space:nowrap}
.friends-head__invite svg{width:1.40em;height:1.40em;flex-shrink:0;color:#78797a}
.friends-head__invite:hover span{text-decoration:underline}
.friends-privacy{flex-direction:row;align-items:center;gap:1.10em;color:#211f1b}
.friends-privacy__icon{width:1.60em;height:1.60em;flex-shrink:0;color:#78797a}
.friends-privacy__body{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:1em}
.friends-privacy__text{color:#555}
.friends-privacy__profile{flex-shrink:0;font-weight:600;color:#936a3b;text-decoration:underline}
.friends-privacy:hover .friends-privacy__profile{text-decoration:none}
.friends-privacy__arrow{width:1.20em;height:1.20em;flex-shrink:0;margin-left:-.40em;color:#78797a}
.friends-tabs{display:flex;gap:1.60em;border-bottom:1px solid #e6e7e9}
.friends-tabs__tab{position:relative;padding:.40em .80em 1em;font-size:1.07em;color:#78797a;cursor:pointer}
.friends-tabs__tab.active{color:#211f1b;font-weight:600}
.friends-tabs__tab.active:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background-color:#c29a5b}
.friends-tabs__count{margin-left:.60em;color:#78797a;font-weight:400}
.friends-list__group{margin-top:1.40em;font-size:.86em;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#78797a}
.friends-row{position:relative;display:flex;align-items:flex-start;gap:1.60em;padding:1.40em 0}
.friends-row + .friends-row{border-top:1px solid #eff1f2}
.friends-row__avatar{width:4.40em;height:4.40em;flex-shrink:0;border-radius:100%;object-fit:cover}
.friends-row__info{flex:1 1 auto;min-width:0;padding-top:.20em}
.friends-row__name{font-size:1.20em;font-weight:700;word-break:break-word}
.friends-row__name a{color:#211f1b}
.friends-row__status{display:flex;align-items:center;gap:.50em;margin-top:.60em;color:#555}
.friends-row__status svg{width:1.20em;height:1.20em;flex-shrink:0;color:#d7c299}
.friends-row__status--closed{color:#78797a}
.friends-row__status--closed svg{color:#b8b9ba}
.friends-row__perms{display:flex;flex-wrap:wrap;max-width:22em;margin-top:.60em;font-size:.93em;line-height:1.60;color:#78797a}
.friends-row__perms span:not(:last-child):after{content:'·';margin:0 .45em}
.friends-row__buttons{display:flex;flex-wrap:wrap;gap:.60em;margin-top:.90em}
.friends-row__unblock{flex-shrink:0;align-self:center}
.friends-panel__empty{padding:2.50em 0;text-align:center;line-height:1.50}
.friends-panel__note{display:flex;align-items:center;gap:.90em;padding-top:1.20em;border-top:1px solid #eff1f2;font-size:.93em;color:#78797a}
.friends-panel__note svg{width:1.50em;height:1.50em;flex-shrink:0}
.friends-advice{flex-direction:row;align-items:center;gap:1.40em;color:#211f1b}
.friends-advice__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:3.30em;height:3.30em;border-radius:50%;background-color:#f5ece0;color:#936a3b}
.friends-advice__icon svg{width:1.50em;height:1.50em}
.friends-advice__text{flex:1 1 auto;min-width:0}
.friends-advice__title{display:flex;align-items:center;gap:.50em;font-size:1.07em;font-weight:700}
.friends-advice__title .friends-menu-count{margin-left:0}
.friends-advice__descr{display:block;margin-top:.30em;font-size:.93em;color:#78797a}
.friends-advice__arrow{width:1.30em;height:1.30em;flex-shrink:0;color:#555;transition:transform 200ms}
.friends-advice:hover .friends-advice__arrow{transform:translateX(3px)}
.friends-top{position:relative}
.friends-top__head{display:flex;align-items:center;gap:.80em;margin-bottom:.40em}
.friends-top__icon{width:1.80em;height:1.80em;flex-shrink:0;color:#c29a5b}
.friends-top__title{flex:1 1 auto;min-width:0;font-size:1.07em;font-weight:700}
.friends-top__tabs{display:flex;flex-shrink:0;padding:.25em;border-radius:1.20em;background-color:#f3f4f5}
.friends-top__tab{padding:.45em 1em;border-radius:1em;font-size:.93em;color:#555;cursor:pointer}
.friends-top__tab.active{background-color:#efe4d3;color:#211f1b}
.friends-top__row{display:flex;align-items:center;gap:1em;padding:1.10em 0}
.friends-top__row + .friends-top__row{border-top:1px solid #eff1f2}
.friends-top__place{width:1.20em;flex-shrink:0;font-size:1.15em;font-weight:700}
.friends-top__avatar{width:3.30em;height:3.30em;flex-shrink:0;border-radius:100%;object-fit:cover}
.friends-top__who{flex:1 1 auto;min-width:0}
.friends-top__name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.friends-top__detail{margin-top:.35em;font-size:.88em;color:#78797a}
.friends-top__hours{flex-shrink:0;font-size:1.25em;font-weight:700;white-space:nowrap}
.friends-top__foot{padding-top:1em;border-top:1px solid #eff1f2;font-size:.88em;color:#78797a}
.friends-top__empty{padding:1em 0;font-size:.93em;line-height:1.50;color:#78797a}
.friends-top .elem-loader{margin:1.50em auto}
/* окно «Профиль для друзей» (#modal-friends-profile) */
.modal--profiles{max-width:34em}
/* «Пригласить друга» (#modal-friends-invite): поле со ссылкой, золотая «Копировать ссылку», QR под разделителем, сроки в серой плашке, «Отозвать» красным */
.modal--invite{max-width:34em}
.friends-invite-modal__copy{display:flex;align-items:center;justify-content:center;gap:.70em;width:100%;padding:1em 1.40em}
.friends-invite-modal__copy svg{width:1.30em;height:1.30em;flex-shrink:0}
.friends-invite-modal__or{display:flex;align-items:center;gap:1em;margin:1.40em 0 1.20em;font-size:.93em;color:#78797a;white-space:nowrap}
.friends-invite-modal__or:before,.friends-invite-modal__or:after{content:'';flex:1 1 auto;height:1px;background-color:#e6e7e9}
.friends-invite-modal__code{width:11em;height:11em;margin:0 auto .90em}
.friends-invite-modal__code svg{display:block;width:100%;height:100%}
.friends-invite-modal__terms{display:flex;align-items:center;justify-content:center;margin-top:1.20em;padding:.90em 1em;border-radius:10px;background-color:#f5f6f7;color:#555}
.friends-invite-modal__term{display:inline-flex;align-items:center;gap:.60em;padding:0 1.40em}
.friends-invite-modal__term + .friends-invite-modal__term{border-left:1px solid #d9dadc}
.friends-invite-modal__term svg{width:1.30em;height:1.30em;flex-shrink:0;color:#78797a}
.friends-invite-modal__revoke{display:flex;align-items:center;justify-content:center;gap:.60em;width:100%;margin-top:1.20em;padding:1.10em 0 0;border:0;border-top:1px solid #eff1f2;background:none;font:inherit;color:#c03b3b;cursor:pointer}
.friends-invite-modal__revoke svg{width:1.30em;height:1.30em;flex-shrink:0}
.friends-invite-modal__revoke:hover span{text-decoration:underline}
@media (max-width:767px){
    .friends-invite-modal__term{padding:0 1em;white-space:nowrap}
    .friends-invite-modal__code{width:9em;height:9em}
    .friends-invite-modal__or{margin:1.10em 0 1em}
}
.friends-profiles{display:flex;flex-direction:column;gap:.80em}
.friends-profiles__item{display:flex;align-items:center;gap:1.20em;width:100%;padding:1em 1.30em;border:1px solid #e3e4e5;border-radius:1.10em;background-color:#fff;font:inherit;color:#211f1b;text-align:left;cursor:pointer;transition:border-color 200ms,background-color 200ms}
.friends-profiles__item:hover{border-color:#d8c39a}
.friends-profiles__item.active{border-color:#e6cfa1;background-color:#fbf5ea}
.friends-profiles__item:disabled{cursor:default;opacity:.70}
.friends-profiles__avatar{width:3.60em;height:3.60em;flex-shrink:0;border-radius:100%;object-fit:cover;background-color:#eff1f2}
.friends-profiles__info{flex:1 1 auto;min-width:0}
.friends-profiles__name{display:block;font-size:1.15em;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.friends-profiles__sub{display:block;margin-top:.25em;font-size:.93em;color:#78797a}
.friends-profiles__check{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.70em;height:1.70em;border:1.5px solid #c9cacb;border-radius:100%;color:#fff}
.friends-profiles__check svg{width:1.10em;height:1.10em;opacity:0}
.friends-profiles__item.active .friends-profiles__check{border-color:#b08a55;background-color:#b08a55}
.friends-profiles__item.active .friends-profiles__check svg{opacity:1}
.friends-profiles__error{margin-top:1em;color:#d24a43}
.friends-profiles__note{display:flex;align-items:flex-start;gap:.90em;margin-top:1.40em;font-size:.93em;line-height:1.50;color:#555}
.friends-profiles__note svg{width:1.50em;height:1.50em;flex-shrink:0;color:#78797a}
.friends-profiles__small{color:#78797a}
@media (max-width:767px){
    .friends-head{display:block}
    .friends-privacy__body{display:block}
    .friends-privacy__text{display:block;font-size:.93em}
    .friends-privacy__profile{display:inline-block;margin-top:.35em}
    .friends-privacy__arrow{margin-left:0}
    .friends-tabs{gap:1.20em}
    .friends-tabs__tab{padding:.20em .20em .80em}
    .friends-row{gap:1.10em;padding:1.20em 0}
    .friends-row__avatar{width:3.70em;height:3.70em}
    .friends-row__name{font-size:1.07em}
    .friends-row__status,.friends-row__perms{font-size:.88em}
    .friends-advice{gap:1.10em}
    .friends-top__foot{display:none}
    .friends-top__hours{font-size:1.10em}
}
/* Окно «Посоветовать» (static/app/friends-picker.js): «всем друзьям», заголовок списка со счётчиком, друзья с онлайном и статусом */
.recommend__all{display:flex;align-items:center;gap:.90em;padding:.80em 1em;margin-bottom:1.10em;border-radius:.80em;background-color:#f4f5f6;cursor:pointer}
.recommend__all:hover{background-color:#eceeef}
.recommend__all--disabled{cursor:default;opacity:.5}
.recommend__all--disabled .elem-checkbox{display:none}
.recommend__all-icon{display:flex;align-items:center;justify-content:center;width:2.40em;height:2.40em;flex-shrink:0}
.recommend__all-icon svg{width:1.50em;height:1.40em}
.recommend__all-title{font-weight:600;flex-grow:1;min-width:0}
.recommend__total{white-space:nowrap}
.recommend__label{display:flex;justify-content:space-between;gap:1em;font-weight:600;margin-bottom:.50em}
.recommend__label .color__gray{font-weight:400;font-size:.90em;white-space:nowrap}
.recommend__search{margin-bottom:.80em}
.recommend__friends{max-height:18em;overflow-y:auto;margin:0 -.30em 15px -.30em}
.recommend__friend{display:flex;align-items:center;gap:.90em;padding:.50em .30em;border-radius:.70em;cursor:pointer}
.recommend__friend:hover{background-color:#f4f5f6}
.recommend__avatar{position:relative;flex-shrink:0}
.recommend__avatar .elem-img-avatar{width:2.40em;height:2.40em;display:block}
.recommend__online{display:none;position:absolute;right:-.10em;bottom:-.10em;width:.80em;height:.80em;border-radius:100%;background-color:#2ecb48;border:2px solid #fff}
.recommend__friend--online .recommend__online{display:block}
.recommend__friend--disabled{cursor:default;opacity:.5}
.recommend__friend--disabled:hover{background-color:transparent}
.recommend__friend--disabled .elem-checkbox{display:none}
.recommend__info{min-width:0}
.recommend__name{font-weight:600;word-break:break-word}
.recommend__hint{margin-top:.10em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recommend__comment{width:100%;min-height:5em;resize:vertical}
.recommend__send{width:100%;margin-top:1em}
/* «Вам советуют» /friends/recommendations: шапка, вкладки (общие .friends-tabs), совет — белая карточка на grid.
   Десктоп: постер слева на всю высоту, справа текст, комментарий, кнопки. Телефон: постер и текст рядом, ниже всё на всю ширину */
.advice-note{margin-top:1.30em;font-size:.93em;color:#78797a}
.advice-note__link{color:#936a3b;text-decoration:underline}
.advice-note__link:hover{text-decoration:none}
.advice-note--bottom{margin-top:1.60em}
.advice-tabs{margin-bottom:1.60em;border-bottom-color:#dfe0e1}
.advice-tabs__count{display:inline-block;min-width:1.70em;margin-left:.50em;padding:.10em .50em;border-radius:1em;background-color:#efe4d3;color:#936a3b;font-size:.88em;font-weight:600;text-align:center}
.advice-item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"poster body" "poster comment" "poster actions";grid-template-rows:auto auto 1fr;column-gap:1.90em}
.advice-item + .advice-item{margin-top:1.20em}
.advice-item__poster{grid-area:poster;align-self:start;display:block;width:8.40em;height:12.40em;border-radius:.80em;overflow:hidden;background-color:#eff1f2}
.advice-item__poster img{display:block;width:100%;height:100%;object-fit:cover}
.advice-item__body{grid-area:body;min-width:0;padding-top:.30em;padding-right:3em}
.advice-item__title{display:block;font-size:1.50em;font-weight:700;line-height:1.25;word-break:break-word;color:#211f1b}
.advice-item__title:hover{text-decoration:underline}
.advice-item__meta{margin-top:.40em;color:#78797a}
.advice-item__from{display:flex;align-items:center;gap:.80em;margin-top:1.10em}
.advice-item__avatar{flex-shrink:0}
.advice-item__avatar img{display:block;width:2.40em;height:2.40em;border-radius:100%;object-fit:cover}
.advice-item__who{display:flex;align-items:baseline;flex-wrap:wrap;gap:.20em .70em;min-width:0}
.advice-item__name{font-weight:700;word-break:break-word;color:#211f1b}
.advice-item__name:hover{text-decoration:underline}
.advice-item__when{color:#78797a}
.advice-item__comment{grid-area:comment;margin-top:1.10em;padding:1em 1.60em;border-radius:.90em;background-color:#f3f4f5;line-height:1.50;word-break:break-word;white-space:pre-line}
.advice-item__actions{grid-area:actions;align-self:end;display:flex;align-items:center;justify-content:flex-end;gap:1.80em;margin-top:1.10em}
.advice-item__hide{display:inline-flex;align-items:center;gap:.60em;padding:0;border:0;background:none;font:inherit;color:#555;cursor:pointer}
.advice-item__hide svg{width:1.50em;height:1.50em;flex-shrink:0}
.advice-item__hide:hover span{text-decoration:underline}
.advice-item__later{display:inline-flex;align-items:center;justify-content:center;gap:.70em;padding:1em 1.70em}
.advice-item__later svg{width:1.40em;height:1.40em;flex-shrink:0}
.advice-item__hide:disabled,.advice-item__later:disabled{opacity:.60;cursor:default}
.advice-item__menu{position:absolute;top:1.40em;right:1.40em;opacity:1}
@media (max-width:767px){
    .advice-head{display:block;margin-bottom:1.20em}
    .advice-tabs{margin-bottom:1.20em}
    .advice-item{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"poster body" "comment comment" "actions actions";grid-template-rows:auto;column-gap:1.20em}
    .advice-item__poster{width:6.20em;height:9.20em}
    .advice-item__body{padding-right:0}
    .advice-item__title{font-size:1.25em}
    .advice-item__from{align-items:flex-start;margin-top:1em}
    .advice-item__avatar img{width:2.90em;height:2.90em}
    .advice-item__who{display:block}
    .advice-item__when{display:block;margin-top:.25em;font-size:.93em}
    .advice-item__comment{padding:.95em 1.30em}
    .advice-item__actions{flex-direction:column-reverse;align-items:stretch;gap:.90em}
    .advice-item__hide{justify-content:center;padding:.30em 0}
    /* меню на телефоне — только у скрытых: там в нём «Вернуть в «Новые»» */
    .advice-item__menu{display:none !important;top:1.10em;right:1.10em}
    .advice-item--dismissed .advice-item__menu{display:flex !important}
    .advice-item--dismissed .advice-item__body{padding-right:2.60em}
}

/* Лента друзей /friends/feed: событие — белая карточка на сетке grid.
   Десктоп: аватар | кто + время + детали | фильм с постером. Телефон: шапка, разделитель, детали | фильм, комментарий снизу */
.feed-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"user who target" "user detail target";column-gap:1.30em;row-gap:.90em;}
.feed-item + .feed-item{margin-top:1.25em}
.feed-item__user{grid-area:user;align-self:start}
.feed-item__avatar{display:block;width:3.70em;height:3.70em;border-radius:100%;object-fit:cover}
.feed-item__who{grid-area:who;min-width:0;align-self:start}
.feed-item__head{display:flex;align-items:baseline;gap:.70em;min-width:0;white-space:nowrap}
.feed-item__name{flex-shrink:0;font-weight:700;color:#936a3b}
.feed-item__name:hover{text-decoration:underline}
.feed-item__action{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#78797a}
.feed-item__time{margin-top:.25em;font-size:.93em;color:#78797a}
.feed-item__line{display:none}
.feed-item__detail{grid-area:detail;display:flex;align-items:center;gap:.80em;min-width:0;color:#78797a;align-self:start}
.feed-item__detail svg{width:1.40em;height:1.40em;flex-shrink:0;color:#211f1b}
.feed-item__comment{grid-area:detail;display:flex;align-items:center;gap:1.10em;justify-self:start;max-width:34em;padding:.75em 1.20em;border-radius:.90em;background-color:#f2f2f2;line-height:1.45;word-break:break-word;white-space:pre-line}
.feed-item__comment svg{width:1.40em;height:1.40em;flex-shrink:0;color:#9d9d9d}
.feed-item--comment .feed-item__detail{display:none}
.feed-item__target{grid-area:target;display:flex;align-items:center;gap:1.50em;min-width:0}
.feed-item__about{text-align:right;min-width:0}
.feed-item__title{display:block;max-width:16em;font-weight:700;color:#936a3b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feed-item__title:hover{text-decoration:underline}
.feed-item__meta{margin-top:.55em;font-size:.93em;color:#78797a}
.feed-item__poster{display:block;width:4.10em;height:6.10em;flex-shrink:0;border-radius:.50em;overflow:hidden;background-color:#eff1f2}
.feed-item__poster img{display:block;width:100%;height:100%;object-fit:cover}
.feed-item__collection{background:#eff1f2 url(/img/icons/cast.svg) 50% 50%/40% no-repeat}
@media (max-width:767px){
    .feed-item{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"user who who" "line line line" "detail detail target" "comment comment comment";column-gap:1em;row-gap:0;padding:1.30em 1.40em;}
    .feed-item + .feed-item{margin-top:1.20em}
    .feed-item__user{align-self:center}
    .feed-item__avatar{width:3.20em;height:3.20em}
    .feed-item__line{display:block;grid-area:line;height:1px;margin:1em -1.40em 1.10em;background-color:#eff1f2}
    .feed-item__detail{align-self:center;gap:.60em;padding-left:.20em}
    .feed-item__detail span{min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;word-break:break-word}
    .feed-item--comment .feed-item__detail{display:flex}
    .feed-item__comment{grid-area:comment;justify-self:stretch;max-width:none;margin-top:1.10em;padding:.95em 1.10em}
    .feed-item__comment svg{display:none}
    .feed-item__target{gap:.80em}
    .feed-item__about{text-align:left}
    .feed-item__title{max-width:7.20em;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.30}
    .feed-item__poster{width:3.50em;height:5.10em}
}
.card-friends__avatars{display:flex;flex-shrink:0}
.card-friends__avatar{display:block;width:2.40em;height:2.40em;border-radius:100%;overflow:hidden;border:2px solid #fff;background-color:#eff1f2}
.card-friends__avatar + .card-friends__avatar{margin-left:-.70em}
.card-friends__avatar img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:576px){
    .feed-item .history__poster{display:none}
    .feed-item__avatar{width:2.20em;height:2.20em}
}

/* Подсказка-ссылка: иконка «i» и текст с пунктиром, открывает пояснение. <a> или <button>:
   <a href="#" class="hint-link"><svg><use xlink:href="#icon-info"></use></svg><span>Как это работает</span></a> */
.hint-link{display:inline-flex;align-items:center;gap:.50em;padding:0;border:0;background:none;font:inherit;color:#555;white-space:nowrap;cursor:pointer;vertical-align:middle}
.hint-link span{border-bottom:1px dashed currentColor}
.hint-link:hover{color:#211f1b}
.hint-link svg{width:1.20em;height:1.20em;color:#78797a;flex-shrink:0}

/* Что посмотреть вместе /friends/together */
.together__missing{font-weight:600}
.together__card{width:100%;display:flex;flex-direction:column}
.together__reason{line-height:1.40;flex-grow:1}
/* обложка карточки: «Хотят / Нравится» плашкой слева, лампочка «предложить всем» справа */
.together-cover{position:absolute;left:.70em;right:.70em;bottom:.70em;display:flex;align-items:flex-end;gap:.50em;pointer-events:none;z-index:1}
.together-cover__stats{margin-right:auto;padding:.55em .85em;border-radius:.90em;background:rgba(33,31,27,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:.82em;line-height:1.45;min-width:0}
.together-cover__idea{pointer-events:auto;margin-left:auto;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:3em;height:3em;padding:0;border:0;border-radius:50%;background:#e6cfa1;color:#211f1b;cursor:pointer;box-shadow:0 .30em 1em rgba(33,31,27,.25);transition:background-color 200ms,transform 200ms}
.together-cover__idea svg{width:1.45em;height:1.45em}
.together-cover__idea:hover{background:#d8c39a;transform:scale(1.06)}
.together-cover__idea--sent{background:#fff;color:#c29a5b}
@media (max-width:575px){
    .together-cover{left:.50em;right:.50em;bottom:.50em}
    .together-cover__stats{font-size:.72em;padding:.45em .65em}
    .together-cover__idea{width:2.50em;height:2.50em}
}
/* тексты только для телефона / только для компьютера */
@media (min-width:768px){.together--mob{display:none !important}}
@media (max-width:767px){.together--desk{display:none !important}}
.together-head{margin-bottom:2em}
.together-bar{display:flex;align-items:center;gap:1.50em;margin-bottom:2.50em}
.together-bar__friends{display:flex;align-items:center;gap:1.20em;flex-grow:1;min-width:0}
.together-bar__title{font-weight:600}
.together-bar__hint{font-size:.85em;color:#78797a;margin-top:.30em}
.together-bar__ai{flex-shrink:0}
.together-bar__switch{display:flex;align-items:center;gap:.60em;cursor:pointer;user-select:none}
.together-bar__spark{width:1.40em;height:1.40em;color:#c29a5b;flex-shrink:0}
.together-bar__lock{width:1.10em;height:1.10em;color:#78797a;flex-shrink:0}
.together-bar__switch .elem-checkbox{margin-left:.40em}
.together-bar__run{flex-shrink:0}
.together-bar__run:disabled{opacity:.6;cursor:default}
/* кнопка выбора друзей: стопка аватаров и кружок с числом */
.together-pick{display:inline-flex;align-items:center;gap:.60em;padding:.55em 1em .55em .55em;background-color:#fff;border:0;border-radius:200px;cursor:pointer;flex-shrink:0;transition:box-shadow 200ms}
.together-pick:hover:not(:disabled){box-shadow:0 0 0 2px #d8c39a}
.together-pick:disabled{cursor:default}
.together-pick__avatars{display:flex}
.together-pick__avatars:empty{display:none}
.together-pick__avatars img{display:block;width:2.90em;height:2.90em;border-radius:100%;object-fit:cover;border:3px solid #fff;background-color:#eff1f2}
.together-pick__avatars img + img{margin-left:-1em}
.together-pick__count{display:flex;align-items:center;justify-content:center;width:2.40em;height:2.40em;border-radius:100%;background-color:#eff1f2;color:#78797a;font-weight:600}
.together-pick__count:empty{display:none}
.together-pick__count--empty{width:1.93em;height:1.93em;font-size:1.50em;font-weight:400;background-color:#d8c39a;color:#211f1b}
.together-pick--empty{padding-right:.55em}
.together-pick__arrow{width:1.40em;height:1.40em;margin-left:auto;color:#78797a}
/* модалка «С кем смотрим?» */
.modal--together{max-width:32em}
.together-modal__head{display:flex;align-items:center;gap:.80em;padding-bottom:1em;margin-bottom:1em;border-bottom:1px dashed #d6d7d8}
.together-modal__stack{flex-shrink:0}
.together-modal__stack img{width:2.40em;height:2.40em;border-width:2px}
.together-modal__stack img + img{margin-left:-.80em}
.together-modal__more{display:flex;align-items:center;justify-content:center;width:2.40em;height:2.40em;margin-left:-.80em;border-radius:100%;border:2px solid #fff;background-color:#eff1f2;color:#78797a;font-size:.85em;font-weight:600}
.together-modal__count{font-size:.90em;color:#78797a;white-space:nowrap}
.together-modal__count--limit{color:#c0392b}
.together-modal__add{display:inline-flex;align-items:center;gap:.60em;margin-left:auto;padding:.40em .40em .40em 1em;border-radius:200px;background-color:#eff1f2;color:#211f1b;font-size:.90em;white-space:nowrap}
.together-modal__add:hover{background-color:#e3e5e6}
.together-modal__add svg{width:1.80em;height:1.80em;padding:.35em;border-radius:100%;background-color:#fff}
.together-modal__search{margin-bottom:1em}
.together-modal__label{display:flex;justify-content:space-between;font-weight:600;margin-bottom:.50em}
.together-modal__label .color__gray{font-weight:400;font-size:.90em}
.together-modal__list{max-height:22em;overflow-y:auto;margin:0 -.50em}
.together-modal__friend{display:flex;align-items:center;gap:.90em;padding:.60em .50em;border-radius:.80em;cursor:pointer}
.together-modal__friend:hover{background-color:#f4f5f6}
.together-modal__avatar{width:3em;height:3em;border-radius:100%;object-fit:cover;flex-shrink:0;background-color:#eff1f2}
.together-modal__info{min-width:0;flex-grow:1}
.together-modal__name{font-weight:600;word-break:break-word}
.together-modal__sub{font-size:.85em;margin-top:.20em}
.together-modal__toggle{display:flex;align-items:center;justify-content:center;width:2.20em;height:2.20em;border-radius:100%;background-color:#eff1f2;flex-shrink:0;transition:background-color 200ms}
.together-modal__toggle svg{width:1em;height:1em}
.together-modal__plus{color:#78797a}
.together-modal__check{display:none;color:#211f1b}
.together-modal__friend.active .together-modal__toggle{background-color:#d8c39a}
.together-modal__friend.active .together-modal__plus{display:none}
.together-modal__friend.active .together-modal__check{display:block}
.together-modal__friend--full{opacity:.45}
.together-modal__done{width:100%;margin-top:1.20em;padding-top:.90em;padding-bottom:.90em}
/* Нижняя панель на телефоне: аватар первого выбранного с числом, «Подобрать» растягивается между ним и «Ещё» */
.together-nav__pick{position:relative;justify-content:center}
.e-navbar__item .together-nav__avatar{font-size:1em;display:flex;align-items:center;justify-content:center;width:2.90em;height:2.90em;margin:0;border-radius:100%;overflow:hidden;background-color:#eff1f2}
.together-nav__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.e-navbar__item .together-nav__avatar--empty{background-color:#d8c39a}
.together-nav__avatar svg{width:1.40em;height:1.40em;color:#211f1b}
.e-navbar__item .together-nav__count{position:absolute;right:.20em;top:50%;display:flex;align-items:center;justify-content:center;min-width:1.80em;height:1.80em;margin:0;padding:0 .40em;border:2px solid #fff;border-radius:2em;background-color:#eff1f2;font-size:.80em;font-weight:600;color:#78797a}
.e-navbar__item .together-nav__count.hide{display:none}
.together-nav__run-item{flex:1 1 auto;justify-content:center;min-width:0}
.together-nav__run{width:100%;max-width:12em;padding:.95em 1.40em;border-radius:3em;white-space:nowrap}
.together-nav__run:disabled{opacity:.6;cursor:default}
.together-nav--busy{pointer-events:none}
@media (max-width:991px){
    .together-bar{flex-wrap:wrap}
    .together-bar__ai{margin-left:auto;background: #fff;border-radius: 10px;padding: 1em;}
}
@media (max-width:767px){
    .together-head{margin-bottom:1.50em}
    .together-bar{display:block;margin-bottom:2em}
    .together-bar__ai-name{font-weight:600;}
    .together-bar__spark{width:1.60em;height:1.60em}
    .together-bar__switch .elem-checkbox{margin-left:auto}
    .together-bar__ai-hint{font-size:.90em;margin-top:.40em}
    .together-modal__head{flex-wrap:wrap;row-gap:.60em}
    .together-modal__count{order:3;flex-basis:100%}
    .together-modal__add{font-size:.85em}
}

/* Совпадение вкусов и «Кто больше смотрит» (Premium): страница друга, /friends */
.match{min-height:0}
.match__head{display:flex;align-items:center;gap:1.20em;flex-wrap:wrap}
.match__percent{font-size:2.60em;font-weight:700;line-height:1;color:#936a3b}
.match__title{font-weight:600}
.match__note{margin-top:.80em;line-height:1.5}
.match__genres{display:flex;flex-wrap:wrap;gap:.50em;margin-top:1.20em}
.match__genre{padding:.35em .90em;border-radius:2em;background-color:#eff1f2;font-size:.93em}
.match__cards{display:flex;gap:.70em;overflow-x:auto;margin-top:1em;padding-bottom:.30em}
.match__card{flex-shrink:0;width:4.60em}
.match__card img{display:block;width:100%;height:6.80em;object-fit:cover;border-radius:.50em;background-color:#eff1f2}
.match__card span{display:block;margin-top:.30em;font-size:.80em;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match__lock{position:relative;overflow:hidden}
.match__lock .match__blur{filter:blur(7px);pointer-events:none;user-select:none}
.match__cta{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.80em;text-align:center;padding:1em;background-color:rgba(255,255,255,.55)}
.match__tabs{margin-left:auto}
.match__row{display:flex;align-items:center;gap:1em;padding:.60em 0}
.match__row + .match__row{border-top:1px solid #eff1f2}
.match__place{width:1.60em;font-weight:700;text-align:center;flex-shrink:0}
.match__row img{width:2.20em;height:2.20em;border-radius:100%;object-fit:cover;flex-shrink:0}
.match__name{min-width:0;flex:1 1 auto;font-weight:600;word-break:break-word}
.match__row--me .match__name{color:#936a3b}
.match__hours{flex-shrink:0;text-align:right}
.friends__match{color:#936a3b;font-weight:600}
@media (max-width:576px){.match__detail{display:none}.match__name{word-break:normal;overflow-wrap:anywhere}}
/* Общие компоненты (/ui-kit, UI.md): метка-код, поле с копированием, иконка в бейдже статуса */
.elem-tag{display:inline-block;padding:.40em .75em;border-radius:6px;background-color:#f1f2f3;font-family:monospace;font-size:.88em;line-height:1.20;color:#211f1b;white-space:nowrap}
.elem-copy{display:flex;align-items:center;gap:.60em;min-width:0;padding:.45em .45em .45em 1.10em;border-radius:8px;background-color:#f5f6f7}
.elem-copy__value{flex:1 1 auto;min-width:0;padding:0;border-radius:0;background:none;font-family:monospace;font-size:.95em;color:#211f1b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.elem-copy__button{display:flex;align-items:center;justify-content:center;width:2.30em;height:2.30em;flex-shrink:0;border:0;border-radius:6px;background:none;color:#555;cursor:pointer;transition:background-color 200ms}
.elem-copy__button:hover{background-color:#e6e7e9}
.elem-copy__button svg{width:1.20em;height:1.20em}
.elem-copy__button--done{color:#2f7d46}
.e-block__status svg{width:1.15em;height:1.15em;margin-right:.40em;vertical-align:-.22em}
.ui-kit__lead{max-width:760px;line-height:1.8}
.ui-kit__nav .elem-label{display:inline-block;color:#000;text-decoration:none}
.ui-kit__item{height:100%;border:1px solid #ececec;border-radius:12px;overflow:hidden;background-color:#fff;display:flex;flex-direction:column}
.ui-kit__demo{background-color:#f4f4f4;padding:20px;min-height:110px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ui-kit__demo>*{max-width:100%}
.ui-kit__demo>.input-usher,.ui-kit__demo>.input-enter,.ui-kit__demo>.e-block,.ui-kit__demo>.e-stat,.ui-kit__demo>.e-scope,.ui-kit__demo>.cols-row,.ui-kit__demo>.table__wrap,.ui-kit__demo>.e-tabs-nav,.ui-kit__demo>.d-fx{width:100%}
.ui-kit__demo>.fa-left{width:100%}
.ui-kit__class{font-family:Consolas,Menlo,monospace;font-size:.86em;color:#936a3b;word-break:break-word}
.ui-kit__where{color:#78797a;font-size:.90em;line-height:1.5}
.ui-kit__code-toggle{margin-top:10px}
.ui-kit__code{margin:0;padding:15px;background-color:#211f1b;color:#e8e2d6;font-family:Consolas,Menlo,monospace;font-size:12px;line-height:1.5;white-space:pre;overflow-x:auto;max-height:320px}
.ui-kit__swatch{border-radius:12px;padding:14px;min-height:90px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid #ececec}
.ui-kit__swatch--white{background-color:#fff;color:#211f1b}
.ui-kit__swatch--oport{background-color:#d8c39a;color:#211f1b}
.ui-kit__swatch--potters-clay{background-color:#936a3b;color:#fff}
.ui-kit__swatch--zeus{background-color:#211f1b;color:#fff}
.ui-kit__swatch--gray{background-color:#78797a;color:#fff}
.ui-kit__icon{width:1.4em;height:1.4em}
.ui-kit__stat-ico{background-color:#9dc574;color:#fff}
.ui-kit__bar>div{width:63%}
.ui-kit__avatar{background-image:url(/img/profiles/h_4.png)}
.ui-kit__card{width:180px}
.ui-kit__edit{position:relative}

/* Кнопка «иконка + текст» (шапки страниц: «Добавить друга», «Добавить просмотр», «Создать приложение», «Подобрать»):
   <button class="btn btn-golden btn--bold btn--icon-text"><svg><use xlink:href="#icon-add"></use></svg><span>Добавить</span></button> */
.btn--icon-text{display:inline-flex;align-items:center;justify-content:center;gap:.60em;padding:1.05em 1.90em;white-space:nowrap}
.btn--icon-text svg{width:1.30em;height:1.30em;flex-shrink:0}

/* Телефон (<576px): в панелях с fs-14--xs текст не крупнее 14px — подписи и вкладки 1em, названия карточек 1.15em */
@media (max-width:576px){
    .friends-tabs__tab{font-size:1em}
    .friends-row__name,.friends-advice__title,.friends-top__title,.friends-top__hours{font-size:1em}
    .history-day__title,.history-row__name,.history-row__time{font-size:1em}
    .advice-item__title,.scrobble-hook__name{font-size:1.15em}
}

.sessions-stat__narrow{width:1em}

/* Сессии аккаунта (static/js/account-sessions.js): название устройства сжимается, а не выталкивает кнопки */
.e-session__info{flex:1 1 auto;min-width:0}

/* Баны пользователей /bans (static/js/bans.js): поле поиска тянется, длинная причина и email переносятся */
.bans-search__input{flex:1 1 auto;min-width:0}
.bans-user__info{min-width:0}
.bans-user__email{word-break:break-all}
.bans-list__reason{min-width:14em;word-break:break-word}

/* Строка-предложение: иконка, разделитель, заголовок с подписью и кнопка справа (пробный Premium на /premium).
   На телефоне кнопка уходит под текст на всю ширину. Разметка — UI.md, «Строка-предложение» */
.e-offer__main{min-width:0}
.e-offer__icon{font-size:1.90em}
.e-offer__body{min-width:0;padding-left:1.40em;border-left:1px solid #eff1f2}
.e-offer__action{flex:0 0 22em;max-width:100%}
@media (max-width:576px){
    .e-offer__icon{font-size:1.40em}
    .e-offer__body{padding-left:1em}
    .e-offer__action{flex-basis:auto}
}
