/* меню «Кабинет» (login.tpl, вошедший) — как на animego/amedia/animedia, цвета LordFilm (29.09.2026) */
.filmlord-lgn.um { --um-bg: #fff; --um-bg2: #f2f2f2; --um-tt: #333; width: 440px; max-width: calc(100% - 32px); padding: 0; border-radius: 18px; overflow: hidden;
	background: var(--um-bg); color: var(--um-tt); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.dt .filmlord-lgn.um { --um-bg: #1c1c1c; --um-bg2: #262626; --um-tt: #ddd; }
.um-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 22px 22px 20px; background: linear-gradient(135deg, #4d8a22 0%, var(--accent) 100%); color: #fff; }
.um-ava { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; padding: 3px; background: rgba(255,255,255,.35); }
.um-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #fff; }
.um-id { min-width: 0; flex: 1; }
.um-name { display: block; font-size: 19px; font-weight: 700; color: #fff !important; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-sub { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.9) !important; text-decoration: none; }
.um-sub:hover, .um-name:hover { color: #fff; text-decoration: underline; }
.filmlord-lgn.um .um-close { position: absolute; top: 10px; right: 12px; left: auto; width: 30px; height: 30px; padding: 0; font-size: 20px; color: #fff; opacity: .85; cursor: pointer; background: none; }
.filmlord-lgn.um .um-close:hover { opacity: 1; background: none; color: #fff; }
.um-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.um-grid a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px 14px; border-radius: 12px; background: var(--um-bg2);
	color: var(--um-tt); text-decoration: none; font-size: 13px; font-weight: 700; text-align: center; box-shadow: inset 0 0 0 1px rgba(128,128,128,.18); transition: transform .2s, box-shadow .2s; }
.um-grid a i { font-size: 22px; color: var(--accent); }
.um-grid a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent); color: var(--um-tt); }
.um-grid a b { position: absolute; top: 8px; right: 8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 11px; line-height: 20px; background: var(--accent); color: #fff; }
.um-grid a b[hidden], .um-grid a b:empty { display: none; }
.um-foot { display: flex; gap: 10px; padding: 0 18px 18px; }
.um-foot a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.um-admin { background: var(--accent); color: #fff !important; }
.um-admin:hover { filter: brightness(1.1); }
.um-exit { background: var(--um-bg2); color: var(--um-tt) !important; box-shadow: inset 0 0 0 1px rgba(128,128,128,.18); }
.um-exit:hover { color: #eb4d4b !important; }
@media (max-width: 420px) { .um-grid { grid-template-columns: repeat(2, 1fr); } }

/* шапка: аватар вошедшего открывает «Кабинет» */
.header__ava.filmlord-js-show-login { cursor: pointer; width: 36px; flex-shrink: 0; }
.header__ava.filmlord-js-show-login img { object-fit: cover; }

/* «Избранное» на странице фильма: движок отдаёт одну кнопку с обеими надписями (.dle-fav__add / .dle-fav__del),
   fav-dle.js переключает is-active — видна одна */
.page__fav .dle-fav { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
.page__fav .dle-fav .fal { margin-right: 6px; }
.dle-fav .dle-fav__del, .dle-fav.is-active .dle-fav__add { display: none; }
.dle-fav.is-active .dle-fav__del { display: inline; }
.dle-fav .fav-added { color: var(--accent); }

/* форма комментария: у движка вместо BB-редактора DLE голое textarea — даём ему размеры поля темы */
.ac-form__editor .addcomment-editor { display: block; width: 100%; height: 170px; min-height: 120px; line-height: 1.5; padding: 16px 20px; resize: vertical; border-radius: var(--ui-elem-bdrs); }
.filmlord-ac-toggle .ac-form__editor .addcomment-editor { resize: none; padding-bottom: 64px; }
.filmlord-ac-form.is-active .ac-form__bottom { justify-content: flex-end; }
.filmlord-ac-form .has-checkbox:empty { display: none; }

/* «Сиквелы и приквелы» (КДБ): части, которых нет на сайте, — приглушённо, без ссылки */
.filmlord-fr--kp { opacity: .6; }
.filmlord-fr--kp .fr__title { cursor: default; }
