/* INFO MESSAGES, ERRORS */
.message-info {color: #5c5c5c; line-height: 1.5; margin-bottom: 20px; 
	background-color: #FFF3E0; box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
	border: 1px solid #FF9800; position: relative; padding: 15px 20px; border-left-width: 44px;}
.message-info__title {font-weight: 500;}
.message-info a {color: #000; text-decoration: underline;}
.message-info::before {content:"\f071"; font-family:'Font Awesome 5 Pro'; font-weight: 300; font-size: 22px;
	color: #fff; margin-top: -18px; position: absolute; left: -44px; top: 50%; width: 44px; text-align: center;}

/* VOTE BLOCK */


/*--- VOTE BARS ---*/


/* MAY BE TO DELETE */
.ui-icon, .close {display: block; overflow: hidden; text-indent: -9999px; white-space: nowrap;}
#pollbox {border-bottom: 1px dashed #E3E3E3; padding-bottom: 22px;}
#dle-poll-list, #searchtable, .pm-status {padding: 0 0 20px 0; border-radius: 6px;}
.bbcodes_poll{width:100px}
.fbutton {margin-right:10px;}
fieldset {border: 1px solid #bfced6;padding: 5px;text-align: left;}


/* SERVICE FORM BASIC
----------------------------------------------- */
.form__header {margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center;}
.form__title {font-size: 24px; flex: 1 1 0; max-width: 100%; min-width: 50px;}
.form__row {display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; margin-bottom: 20px;}
.form__row:last-child {margin-bottom: 0;}
.form__caption {width: 200px; padding-right: 20px;}
.form__caption span {font-size: 12px; color: var(-tt-2); font-weight: 600;}
.form__content {flex: 1 1 0; position: relative; max-width: 100%; min-width: 50px;}
.form__label--important::after {content: "*"; margin: 0 0 0 5px; color: #e85319;}
.form__caption--above {width: 100%; padding: 10px 20px; background-color: #2f343a; color: #fff;}
.form__btn--secondary {margin-left: 20px;}
.form__btn--find-related {position: absolute; right: 0; top: 0; margin: 0; padding: 0 10px; font-size: 13px !important;}


/* SERVICE FORM EXTENDED
----------------------------------------------- */
.form__content--admintag {display: flex; flex-wrap: wrap; justify-content: flex-start; margin-right: -20px;}
.form__content--admintag .checkbox {width: 33.33%; margin-bottom: 20px; padding-right: 20px;}
.checkbox, .comments_subscribe {position: relative; padding-left: 50px;}
.checkbox input, .comments_subscribe input {appearance: none; -webkit-appearance: none; display: inline-block; transition: all .2s linear;
	height: 20px; width: 40px; border-radius: 10px; background-color: var(--ui-bg-darkest); cursor: pointer;
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); position: absolute; left: 0; top: 50%; margin-top: -10px;}
.checkbox input::before, .comments_subscribe input::before {content: ''; width: 18px; height: 18px; border-radius: 10px; 
	position: absolute; left: 1px; top: 1px; background-color: var(--ui-bg); transition: all .2s linear;}
.checkbox input:checked, .comments_subscribe input:checked {background-color: #6ab04c;}
.checkbox input:checked::before, .comments_subscribe input:checked::before {left: 21px;}
.findrelated {margin-top: 10px; padding: 8px 10px; background-color: #f6e58d; font-size: 13px;}
.form__table {width: 100%;}
.form__table td {padding-bottom: 20px;}
.form__table .addnews {width: 200px;}
.xfields textarea, .xprofile textarea, .form__textarea-inside textarea, .page__comments #comments_ifr {height:100px !important;}
.xfields input, .xprofile input {max-width: width 100%;}
.xfields_table td {vertical-align:top;}
.xfields .bb-editor, .xfields .wseditor {margin-top:10px;}
.form__content--sec-code input {display: inline-block; max-width: 210px; vertical-align: middle; 
	margin-right: 10px; height: 80px; line-height: 80px; font-size: 24px;}
.form__content--sec-code > a {display: inline-block; vertical-align: middle;}
#result-registration > span {display: inline-block; margin-top: 10px;}
.form__content select, #category {width: 100% !important;}
.form__content--usertag .checkbox {width: 50%;}


/* STATS, PM
----------------------------------------------- */
.stats__list {width:33.33%; margin-bottom: 20px;}
.stats__list li {padding:0 15px 10px 1px;}
.stats h2 {font-size:18px; margin-top: 20px;}
.stats__latest li {margin-bottom: 10px;}
.table-responsive {overflow-y:hidden; overflow-x:auto;}
.dle-table, .pm {width: 100%; border: 1px solid var(--ui-bdc);}
.dle-table td, .pm td {padding:10px; font-size:13px; border: 1px solid var(--ui-bdc);}
.dle-table thead tr:nth-child(1), .pm tr:nth-child(1) {background-color:var(--ui-bg-darkest);}
.dle-table tr:nth-child(2n+2), .pm tr:nth-child(2n+2) {background-color:var(--ui-bg-darker);}
.pm tr td:first-child {width: 37px;}
.pm__links a, a.pm_list + a {margin-right: 20px;}
.pm__status, #blind-animation {margin-bottom:40px;}
.pm_progress_bar {border-radius:4px; margin:10px 0; overflow:hidden; 
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.1); background-color: var(--ui-bg-darkest);}
.pm_progress_bar span {background:#6ab04c; font-size:0; text-indent:-2000em; height:20px; display:block; overflow:hidden;}
.pm select {width:100%; margin-bottom:10px;}

.pm-item__meta > span {margin-right: 20px; font-size: 13px;}
.pm-page{background-color: var(--ui-bg); margin-right: -30px;margin-left: -30px;padding:30px;}
.pm-item {
  flex-direction: column;
}

.pm-item__header {
  align-items: center;
  margin-bottom: -8px;
}

.pm-item__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}
.pm-item__top {
  align-items: center;
  margin-bottom: -8px;
}
.pm-item__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pm-item__author {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pm-item__sub span {
  margin-right: 12px;
  font-size: 12px;
  color: #888;
}
.pm-item__actions span {
  margin-right: 20px;
  font-size: 13px;
}
/* USER PROFILE, POPUP
----------------------------------------------- */
.usp {background-color: var(--ui-bg); border-radius: 0 0 6px 6px;}
.edit__profile { margin-top: 20px; background-color: var(--bg); padding:20px;}
.usp__meta {background-color: var(--ui-bg-darker); padding: 20px;}
.profile__list {padding: 20px; display: grid; grid-gap: 10px 40px; 
	grid-template-columns: repeat(auto-fill,minmax(300px,1fr));}
.profile__list li {display: flex; justify-content: space-between;}
.profile__list li > span:first-child {color: var(--tt-2); display: inline-flex; align-items: center;
	flex: 1 1 0; min-width: 100px; max-width: 100%; margin-right: 10px; white-space: nowrap;}
.profile__list li > span:first-child::after {content: ''; border-top: 1px dashed var(--pagelist); 
	flex: 1 1 0; min-width: 10px; max-width: 100%; margin-left: 10px;}
	.profile__list li a {color: var(--accent); text-decoration: underline;}
.profile__title { font-size: 16px; font-weight: 600; margin: 15px 0 10px 40px;  }
.profile__stat { margin-left: 20px; margin-right: 20px; background: var(--urank); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
@media (max-width: 1130px) {
.usp-mrg {margin-top: -80px;}
.usp-mrg-g {margin-bottom: -80px;}
}

/* PM MAIN
----------------------------------------------- */
.pm_list_head {
  display: flex;
  align-items: center;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;

  background: var(--tt-5);
  margin-bottom:10px;
  border-radius: 4px;
  color: #fff;
}
.pm_h_icon { width: 28px; flex-shrink: 0; }
.pm_h_subject { flex: 1; }
.pm_h_check { width: 36px; text-align: center; flex-shrink: 0; }

.pm_list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pm_user_link a {color: #2a99d9;}
.pm_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 12px;
  border-radius: 8px;
  background: var(--urank);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .12s;
}

.pm_item.pm-unread {
  border-left: 2px solid var(--accent, #5b6af0);
  padding-left: 10px;
}

.pm_icon {
  width: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-read-image   { opacity: .35; }
.pm-unread-image { color: var(--accent, #5b6af0); }
.pm-reply-image  { color: #4db888; }

.pm_content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pm_subject {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pm_subject a { color: inherit; text-decoration: none; }
.pm_item.pm-unread .pm_subject { font-weight: 700; }
.pm_last_message {
  font-size: 12px;
  opacity: .7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top:3px;
}

.pm_date {
  font-size: 11px;
  opacity: .35;
  white-space: nowrap;
  flex-shrink: 0;
}

.pm_checkbox {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  justify-content: center;
}
.form-check-input {
  width: 15px;
  height: 15px;
  cursor: pointer;
  opacity: .3;
  transition: opacity .15s;
}
.pm_meta_row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: .5;
}
.pm_meta_row .pm_date { font-size: 12px; opacity: 1; }
.pm_item:hover .form-check-input, 
.form-check-input:checked { opacity: 1; }

.usp__columns {
    background: var(--ui-bg-accent);
    padding: 30px 20px;
    color: #fff;
    position: relative;
}
.form__line {
    height: 10px;
    background: var(--bg-2);
    margin: 20px 0;
    margin-left: -20px;
margin-right: -20px;
}
.usp__left, .usp__middle, .usp__right {position: relative; z-index: 5;}
.usp__columns::before {
    content: '';
    background-color: var(--ui-bg-accent);
    opacity: 0.6;
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
}

/* Центральный блок с аватаром */
.usp__middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
}
.usp__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 0 5px rgba(0,0,0,0.2);
}
.usp__name {
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
}
.usp__group {
    font-size: 13px;
    margin-top: 6px;
    text-align: center;
}
.usp__group > b {
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    background-color: var(--ui-bg);
    padding: 3px 6px;
    margin-left: 3px;
}

/* Боковые блоки с кнопками */
.usp__left, .usp__right {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.usp__left {
    justify-content: flex-end;
    padding-right: 0;
    margin-right: 16px;
}
.usp__right {
    justify-content: flex-start;
    padding-left: 0;
    margin-left: 16px;
}
.usp__btn_new a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    height: 32px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    transition: color 0.2s, border-color 0.2s;
}
.usp__btn_new a:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
    background: transparent;
}
.usp__btn_new a:active {
    transform: translateY(1px);
}

.usp__btn_edit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 30px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background-color: var(--ui-bg);
    color: var(--ttm);
}
.usp__btn_edit a:active {transform: translateY(1px);}

    .usp__columns.d-flex {
        flex-direction: column;
        align-items: center;
    }

    /* Показываем кнопки под аватаром */
.usp__btns-mobile {
    display: flex;
    width: 100%;           
    justify-content: space-between;
    gap: 10px;
    margin-top: -30px;
    margin-bottom: -10px;
}

/* Мобильный */
@media (max-width: 768px) {
    .usp__btns-mobile {
        justify-content: center;
      margin-top: 20px;
      margin-bottom: -20px;
    }
}

 /* блок с активностью */

.usp__meta {
    justify-content: center;
}

/* Активность */
.usp__activity {
    width: auto;
    justify-content: center;
}

.usp__meta i {
    margin-right: 4px;
    color: var(--accent);
    
}

.usp__activity > div {
    margin-left: 40px;
    font-size: 13px;
    text-align: center;
}

.usp__activity > div:first-child {
    margin-left: 0;
}

.usp__activity > div > div {
    font-size: 18px;
    margin-top: 3px;
}

/* сам блок рейтинга */
.usp__points {
    display: flex;
    justify-content: center;
    margin: 10px auto;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 22px;
    border-radius: 40px;
    border: 1px solid var(--accent);
    font-size: 20px;
    font-weight: 700;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 180, 90, 0.08);
    font-weight: 700;
}

.rating-score i {
    color: var(--accent);
}
.rating-rank {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid rgba(29, 204, 103, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;   
}
.rating-rank i {
    color: var(--accent);
}

.rating-rank b {
    font-size: 12px; color: var(--tt-2);
}

.rating-rank strong {
    font-size: 15px; color: var(--accent);
}

.rank-number-user {
    font-size: 16px;
    font-weight: 700;
}

.rank-total {
    font-size: 13px;
    font-weight: 500;
    margin-left: 4px;
    opacity: 0.8;
}

.rank-total i {
color: orange;
font-size: 17px;
}

/* кнопки */
.usp__info-btn {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 15px auto 0;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all .2s ease;
}

/* hover кнопки */
.usp__info-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    color: inherit;
}

/* иконки */
.usp__info-btn i {
    font-size: 13px;
    opacity: .7;
    transition: opacity .2s ease, transform .2s ease;
    color: var(--red);
    animation: infoPulse 2s ease-in-out infinite;
}

/* hover иконки */
.usp__info-btn:hover i {
    opacity: 1;
    transform: translateY(-1px);
}

/* оранжевая иконка рейтинга */
.rating-btn i {
    color: orange;
    text-shadow: 0 0 6px rgba(255,165,0,0.35);
}

/* glow при hover */
.rating-btn:hover i {
    text-shadow: 0 0 10px rgba(255,165,0,0.6);
}

/* mobile */
@media (max-width: 480px) {
    .usp__info-btn {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* анимация */
@keyframes infoPulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ── Устройство пользователя ──────────────────────────────────────────────── */
.udevice { background: var(--urank); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08); padding: 16px; margin: 12px 20px; }
.udevice__title { font-size: 16px; font-weight: 600; margin: 5px 0 -15px 30px; }
.udevice__title i:last-child {color: var(--accent);}
.udevice__title i {margin: 10px 0 15px 0;}
.udevice__edit-btn { background: none; border: none; cursor: pointer; color: var(--tt-3); font-size: 14px; padding: 4px 8px; border-radius: 6px; transition: color .2s, background .2s; }
.udevice__edit-btn:hover { color: var(--accent, #45aaf2); background: rgba(69,170,242,.1); }
.udevice__main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.udevice__icon { font-size: 22px; color: var(--accent, #45aaf2); }
.udevice__name { font-size: 15px; font-weight: 700; color: var(--tt-1); }
.udevice__android { font-size: 12px; color: var(--tt-3); background: rgba(69,170,242,.1); border-radius: 20px; padding: 2px 8px; }
.udevice__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.udevice__specs span { font-size: 12px; color: var(--tt-2); background: var(--bg2, rgba(0,0,0,.04)); border-radius: 6px; padding: 3px 8px; display: flex; align-items: center; gap: 4px; }
.udevice__specs i { color: var(--accent, #45aaf2); font-size: 11px; }
.udevice__empty { font-size: 13px; color: var(--tt-3); padding: 4px 0; }

/* ── Модальное окно ───────────────────────────────────────────────────────── */
.udevice__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; }
.udevice__overlay.active { display: block; }
.udevice__modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 480px; max-width: calc(100vw - 32px); background: var(--bg, #fff); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.18); z-index: 1001; overflow: hidden; }
.udevice__modal.active { display: block; }
.udevice__modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border, rgba(0,0,0,.08)); font-weight: 700; font-size: 15px; color: var(--tt-1); }
.udevice__modal-head i { color: var(--accent, #45aaf2); margin-right: 6px; }
.udevice__modal-close { background: none; color: var(--red); border: none; cursor: pointer;  font-size: 18px; padding: 4px; border-radius: 6px; transition: color .2s; }
.udevice__modal-close:hover {  background: none; border: none; }
.udevice__modal-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: 60vh; overflow-y: auto; }
.udevice__modal-foot { padding: 14px 20px; border-top: 1px solid var(--border, rgba(0,0,0,.08)); display: flex; align-items: center; gap: 12px; }
.udevice__field { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.udevice__field label { font-size: 12px; color: var(--tt-3); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.udevice__field label i { color: var(--accent, #45aaf2); }
.udevice__field select, .udevice__field input[type=text] { background: var(--bg2, rgba(0,0,0,.04)); border: 1px solid var(--border, rgba(0,0,0,.1)); border-radius: 7px; padding: 7px 10px; font-size: 13px; color: var(--tt-1); outline: none; transition: border-color .2s; width: 100%; }
.udevice__field select:focus, .udevice__field input[type=text]:focus { border-color: var(--accent, #45aaf2); }
.udevice__row { display: flex; gap: 10px; }
.udevice__type-row { display: flex; gap: 10px; }
.udevice__type-opt { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border, rgba(0,0,0,.1)); font-size: 13px; color: var(--tt-1); transition: border-color .2s, background .2s; flex: 1; justify-content: center; }
.udevice__type-opt input { display: none; }
.udevice__type-opt:has(input:checked) { border-color: var(--accent, #45aaf2); background: rgba(69,170,242,.08); color: var(--accent, #45aaf2); }
.udevice__type-opt i { font-size: 16px; }
.udevice__save-btn { background: var(--accent, #45aaf2); color: #fff; border: none; border-radius: 8px; padding: 8px 18px; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: opacity .2s; }
.udevice__save-btn:hover { opacity: .85; }
.udevice__save-msg { font-size: 12px; }

/* ── Бейдж в комментариях ─────────────────────────────────────────────────── */
.udevice__badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--tt-3);  margin-bottom: 10px;}
.udevice__badge i { color: var(--accent, #45aaf2); font-size: 12px; }

/* ── Адаптив ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .udevice { margin-left: 20px; margin-right: 20px; }
    .udevice__row { flex-wrap: wrap; }
    .udevice__modal { width: calc(100vw - 24px); }
}


/* ── Достижения ─────────────────────────────────────── */

.uachieve { margin: 16px 0; font-family: inherit; margin-left: 20px; margin-right: 20px;}
.uachieve__title { font-size: 16px; font-weight: 600; margin: 15px 0 10px 20px;}
.uachieve__row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); background: var(--urank); border-radius: 8px; margin-bottom: 8px; }
.uachieve__img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  background: #f8f9fa;        
  border-radius: 6px;
}
.uachieve__icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.uachieve__body { flex: 1; min-width: 0; }
.uachieve__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.uachieve__name { font-size: 13px;  font-weight: 500; }
.uachieve__val { color: #999; font-size: 12px; font-weight: 400; margin-left: 4px; }
.uachieve__stage { font-size: 12px; color: #999; white-space: nowrap; flex-shrink: 0; margin-left: 8px; }
.uachieve__track { position: relative; height: 7px; background: #e8e8e8; border-radius: 10px; overflow: visible; }
.uachieve__fill { height: 100%; border-radius: 10px; transition: width .6s ease; position: relative; z-index: 1; }
.uachieve__tick { position: absolute; top: -2px; width: 2px; height: 11px; background: #fff; z-index: 2; border-radius: 1px; transform: translateX(-50%); }

/* ── График активности ─────────────────────────────────────────────────────────────── */
.uactivity {  padding: 20px 10px; margin-left: 20px; margin-right: 20px; font-size: 12px; color: var(--tt-3); background: var(--urank); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08);}
.uactivity__chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.uactivity__col { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 4px; height: 100%; justify-content: flex-end; }
.uactivity__bar-wrap { flex: 1; display: flex; align-items: flex-end; width: 100%; }
.uactivity__bar { width: 100%; background: var(--accent, #45aaf2); opacity: .4; border-radius: 3px 3px 0 0; transition: opacity .2s; min-height: 2px; cursor: pointer; }
.uactivity__bar:hover { opacity: 1; }
.uactivity__bar--best { opacity: 1; background: var(--accent, #45aaf2); }
.uactivity__label { font-size: 9px; color: var(--tt-3); white-space: nowrap; }
.uactivity__best { margin-top: 10px; font-size: 12px; color: var(--tt-2); }
.uactivity__best b {font-size: 15px; color: var(--tt-2); }
.uactivity__best strong { color: var(--red); }
.uactivity__best span { color: var(--accent); }
.uactivity__empty { padding: 10px 10px; margin-left: 20px; margin-right: 20px; font-size: 12px; color: var(--tt-3); background: var(--urank); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.uactivity__bar-wrap { position: relative; }
.uactivity__cur-pts {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent, #45aaf2);
    white-space: nowrap;
}
.uactivity__best-meta{display: none;}


/* ── Медали ─────────────────────────────────────────────────────────────── */
.umedal {padding: 10px 10px; margin-left: 20px; margin-right: 20px; background: var(--urank); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.umedal__title { font-size: 16px; font-weight: 600; margin: 15px 0 10px 40px; }
.umedal__grid { display: flex; flex-wrap: wrap; gap: 10px; }

/* Карточка медали */
.umedal__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: var(--bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 10px;
    padding: 4px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
body:not(.is-touch) .umedal__item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(39,174,96,.2);
    transform: translateY(-2px);
}

.umedal__img { width: 72px; height: 72px; object-fit: contain; display: block; }
.umedal__emoji { font-size: 32px; line-height: 1; display: block; }
.umedal__name { display: none; }

/* Тултип — десктоп */
.umedal__popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e8f5e9;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 150px;
    max-width: 210px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(39,174,96,.15);
    pointer-events: none;
}
.umedal__popup strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 4px;
}
.umedal__popup span {
    font-size: 11px;
    color: #777;
    line-height: 1.4;
}
/* Стрелочка тултипа */
.umedal__popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 2px rgba(39,174,96,.1));
}
.umedal__popup::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #e8f5e9;
    margin-top: 1px;
}

body:not(.is-touch) .umedal__item:hover .umedal__popup { display: block; }
body.is-touch .umedal__item:hover .umedal__img,
body.is-touch .umedal__item:hover .umedal__emoji { transform: none; }
body.is-touch .umedal__item { -webkit-tap-highlight-color: transparent; outline: none; }
body.is-touch .umedal__item * { outline: none; }

/* Оверлей — мобайл */
.umedal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9998; align-items: center; justify-content: center; }
.umedal-overlay.is-open { display: flex; }
.umedal-overlay__box {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 20px;
    max-width: 280px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    border-top: 4px solid #27ae60;
}
.umedal-overlay__img { width: 128px; height: 128px; object-fit: contain; margin: 0 auto 14px; display: block; }
.umedal-overlay__emoji { font-size: 56px; line-height: 1; display: block; margin-bottom: 14px; }
.umedal-overlay__title { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 8px; }
.umedal-overlay__desc { font-size: 14px; color: #666; line-height: 1.6; }
.umedal-overlay__close {
    margin-top: 18px;
    display: inline-block;
    padding: 9px 28px;
    background: #27ae60;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .2s;
}
.umedal-overlay__close:hover { background: #219a52; }

/* Спойлер */
.usp__info-spoiler {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease, margin-top 0.3s ease;
    width: 100%;
    margin-top: 0;
}

.usp__info-spoiler.is-open {
    grid-template-rows: 1fr;
    margin-top: 16px;
}

.usp__info-spoiler > .usp__info-inner {
    overflow: hidden;
    background: transparent;
    border-radius: 10px;
    padding: 0 20px;
    font-size: 13px;
    line-height: 1.6;
    border: none;
    box-shadow: none;
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.1s ease;
        margin-left: 20px;
    margin-right: 20px;
}

    
.usp__info-spoiler.is-open > .usp__info-inner {
    padding: 16px 20px;
    background: var(--urank);
    margin-bottom: 10px;
}

.usp__info-inner h4 {font-size: 16px; margin-bottom: 7px;}

.usp__info-inner b {color: var(--red);}

.usp__info-spoiler ul {
    margin: 0 0 14px 18px; /* отступ через margin вместо padding */
    padding-left: 0;
}

.usp__info-spoiler ul li {
    margin-bottom: 4px;

}

.usp__info-spoiler ul li span {
    color: var(--accent);
    font-weight: 600;
}

.usp__info-spoiler .usp__levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.usp__level-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg, #fff);
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
}

.usp__level-item i {
    color: var(--accent) !important;
    margin-right: 0 !important;
}

.usp__level-item strong {
    font-weight: 600;
}



/* Адаптивность */
@media (max-width: 1129px) {
  .usp {margin-top: -16px;}
    .usp__activity {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 12px 0;
    }

    .usp__activity > div {
        margin-left: 0;
    }
}

@media (min-width: 481px) and (max-width: 690px) {
    .usp__activity > div {
        font-size: 11px;
    }

    .usp__activity > div > div {
        font-size: 15px;
    }

    .usp__activity > div > div i {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .usp__activity {
        justify-content: space-evenly;
    }

    .usp__activity > div {
        flex: 0 0 30%;
    }
}

.file-upload__preview {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
    padding: 10px 15px;
    background-color: var(--bg);
    border: 1px solid var(--ui-bdc);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.file-upload__preview.has-file {
    border-color: var(--accent);
}

#avatar-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

.file-upload__name {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-upload__name.selected {
    color: var(--text-color);
    font-weight: 500;
}

/* Мобильный */
@media (max-width: 768px) {
    .file-upload {
        flex-direction: column;
        align-items: stretch;
    }

    .file-upload__label {
        justify-content: center;
    }

    .file-upload__preview {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    #avatar-preview {
        width: 50px;
        height: 50px;
    }

    .file-upload__name {
        text-align: center;
        white-space: normal;
        word-break: break-all;
    }
}
.usp-popup__left {width: 80px; margin-right: 30px; text-align: center;}
.usp-popup__img {border-radius: 10px; width: 80px; height: 80px; margin: 0 auto;}
.usp-popup__left .usp__status {width: 80px; margin: 15px 0 0 0; display: inline-block;}
.usp-popup__list li {margin-bottom: 6px; font-size: 13px;}
.usp-popup__list li span:first-of-type {
    opacity: 0.6;
}
.usp-popup__list li.usp-popup__stats-row span:first-of-type {
    opacity: 1;
}

.form__section {
	margin-bottom: 10px;
	padding-bottom: 10px;

}

.form__section:last-of-type {
	border-bottom: none;
}

.form__section-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--text-color);
	padding-left: 10px;
	border-left: 3px solid var(--accent-color);
}
/* Стилизация загрузки файла */
.file-upload {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.file-upload input[type="file"] {
	display: none;
}

.file-upload__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background-color: var(--accent);
	color: #fff;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.file-upload__label svg {
	width: 18px;
	height: 18px;
}

.file-upload__preview {
	flex: 1;
	min-width: 200px;
	padding: 10px 15px;
	background-color: var(--bg);
	border: 1px solid var(--ui-bdc);
	border-radius: 6px;
	transition: all 0.3s ease;
}

.file-upload__preview.has-file {
	border-color: var(--accent);
}

.file-upload__name {
	font-size: 13px;
	color: #999;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.file-upload__name.selected {
	font-weight: 500;
}
.form__row--without-label {
	display: flex;
	align-items: center;
}

.form__btn--danger {
	background-color: #eb4d4b;
	color: #fff;
	padding: 12px 30px;
	border-radius: 6px;
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-left: 15px;
}

.form__btn--danger:hover {
	background-color: #c0392b;
}

.form__btn--danger a {
	color: #fff;
	text-decoration: none;
}
@media (max-width: 590px) {

	.form__row--without-label {
		display: flex;
		align-items: center;
	}

	/* Кнопка сохранить растягивается */
	.form__btn--primary {
		flex: 1;
	}

	/* Кнопка удаления маленькая и справа */
	.form__btn--danger {
		flex: 0 0 auto;
		margin-left: 12px;
		margin-top: 10px;
		padding: 12px 18px; /* уменьшаем ширину */
	}
	.form__btn--primary,
	.form__btn--danger {
		height: 44px;
	}
}
.file-upload__image {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 8px;
	border: 2px solid var(--accent);
}


/* Адаптив для мобильных */
@media (max-width: 768px) {
	.file-upload {
		flex-direction: column;
		align-items: stretch;
	}
	
	.file-upload__label {
		justify-content: center;
	}
	
	.file-upload__preview {
		width: 100%;
	}
}

/* Модальное окно - выезжает снизу на мобильных, по центру на десктопе */
.avatar-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.avatar-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	animation: fadeIn 0.3s ease;
}

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

.avatar-modal__content {
	position: relative;
	background-color: var(--bg);
	border-radius: 20px 20px 0 0;
	width: 100%;
	max-width: 500px;
	padding: 30px;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	transform-origin: bottom;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(100%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Индикатор что можно потянуть */
.avatar-modal__content::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 4px;
	background-color: #ddd;
	border-radius: 2px;
}

.avatar-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
	padding: 0;
	z-index: 10;
}

.avatar-modal__close:hover {
	background-color: #f5f5f5;
	color: #333;
}

.avatar-modal__body {
	text-align: center;
	padding-top: 10px;
}

.avatar-preview {
	width: 120px;
	height: 120px;
	margin: 0 auto 25px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #e0e0e0;
	transition: all 0.3s ease;
}

.avatar-preview:hover {
	border-color: #3498db;
	transform: scale(1.05);
}

.avatar-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-btn--minimal {
	display: block;
	width: 100%;
	padding: 14px 20px;
	background-color: transparent;
	border: 2px solid var(--accent);
	color: var(--bg-btn);
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.avatar-btn--minimal:hover {
	transform: translateY(-2px);

}

.avatar-btn--save-minimal {
	display: block;
	width: 100%;

	background-color: var(--accent);
	border: none;
	color: #fff;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 12px;
}

.avatar-btn--save-minimal:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Для десктопа - по центру */
@media (min-width: 769px) {
	.avatar-modal {
		align-items: center;
		justify-content: center;
	}
	
	.avatar-modal__content {
		border-radius: 16px;
		max-width: 420px;
		animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	}
	
	@keyframes scaleIn {
		from {
			opacity: 0;
			transform: scale(0.9);
		}
		to {
			opacity: 1;
			transform: scale(1);
		}
	}
	
	.avatar-modal__content::before {
		display: none;
	}
}

/* Анимации закрытия */
@keyframes slideDown {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(100%);
		opacity: 0;
	}
}

@keyframes scaleOut {
	from {
		transform: scale(1);
		opacity: 1;
	}
	to {
		transform: scale(0.9);
		opacity: 0;
	}
}

/* Аватар с оверлеем */
.avatar-wrapper {
    position: relative;
    cursor: pointer;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.avatar-mask {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 5px rgba(0,0,0,0.2);
}

#user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}
.avatar-camera-icon {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 28px;
	height: 28px;
	background-color: rgba(29, 204, 103, 0.45);
	backdrop-filter: blur(4px); /* лёгкий стеклянный эффект */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	z-index: 3;
}
.avatar-wrapper:hover .avatar-camera-icon {
	transform: scale(1.1);
	background-color: rgba(46, 204, 113, 0.6);
}
.avatar-camera-icon svg {
	width: 16px;
	height: 16px;
}

/* SEARCH PAGE, SEARCH TABLE */
.search-page__title {font-size: 18px; margin-bottom: 20px;}
.search-page .search > div {display: flex; justify-content: space-between; margin: 0 !important; padding: 20px;
	background-color: var(--ui-bg); border-radius: 6px; padding-bottom: 10px;}
.search-page .search br {display: none;}
.search-page .search #searchinput {flex: 1 1 0; margin-right: 20px; min-width: 100px;}
.searchstyle { width: 480px }
.search { padding: 0 }
#searchtable, #searchtable td { vertical-align: top; text-align: left }
#searchtable fieldset { font-size: 11px; border: 1px solid #d7d7d7; padding: 10px; text-align: left; 
	margin: 0 4px 4px 0 !important; border-radius: 6px }
fieldset legend { font-size: 11px; font-weight: bold; color: #696969; }
#searchtable table, #searchtable form { margin: 0; width:100%;}
#searchuser, #searchinput { width: 90% !important; }
.search > div {margin-bottom:10px;}
.search input[type="text"], .search select {display:block; width:100% !important; margin-bottom:10px;}
.search input[type="checkbox"], .search input[type="radio"] {margin-right:5px;}
#searchinput + br, #searchinput + br + br {display:none;}


/*--- AJAX LOADER ---*/
#loading-layer{background:#000;padding:10px;text-align:center;color:#fff;border-radius:2px}
#loading-layer.withouttext{background:rgb(0 0 0 / 60%);padding:5px 5px 0 5px;text-align:center;color:#fff;border-radius:50%}
#loading-layer.withtext{padding:10px;background:rgb(0 0 0 / 60%);color:#fff;border-radius:5px;box-shadow:0 3px 6px rgb(0 0 0 / 16%),0 3px 6px rgb(0 0 0 / 23%)}


/*--- QUOTES, SPOILERS, HIDDEN TEXT, SCRIPTCODE ---*/
.scriptcode, .title_spoiler, .text_spoiler { padding: 3px 5px; background: #f0f0f0; border: 1px solid #e3e3e3; }
.title_quote {background-color: #deeaf3; color: #958971; padding: 5px 15px; font-size: 12px;}
.quote {margin: 0 0 25px 0; padding: 20px 20px 20px 80px; position: relative;
	background-color: #eff3f7; color: #5a4f3e;}
.quote::before {content:"\f10e"; font-family:'Font Awesome 5 Pro'; font-weight: 300; 
	position: absolute; left: 30px; top: 12px; color: var(--accent); font-size: 24px;}
.comment-item__main .quote {margin: 0 0 10px 0; font-size: 12px; padding: 10px 15px 10px 40px;}
.comment-item__main .quote::before {left: 12px; top: 6px; font-size: 16px;}
.title_spoiler {margin-top: 2px; }
.text_spoiler { margin-bottom: 2px; }
.title_spoiler img { vertical-align: middle !important; margin:0 5px 0 0; border:0;}
.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
.title_spoiler { font-weight: normal; }
.text_spoiler { border-top: 0; text-align: justify; }
.hide { background-color: #f0f0f0; padding: 5px; color: #000; margin: 0 0 1em 0 }
.hide a { text-decoration: underline; } 
.hide a:hover { text-decoration: none }
.inhide { border: 1px solid #d1e3ef; padding: 5px; background-color: #fff; margin-bottom: 5px }


/*--- RATING ---*/
.unit-rating {display: inline-flex; position: relative;}
.unit-rating li {background:url(../dleimages/rating.svg) no-repeat; position: relative; z-index: 5; 
	background-size: 30px auto}
.unit-rating li a {display:block; width:30px; height:30px; text-indent: -100px; overflow: hidden;}
.unit-rating:hover li {background-position: 0 -30px; z-index: 10;}
.unit-rating li:hover ~ li {background-position: 0 0 !important; z-index: 5;}
.unit-rating li.current-rating {background-position: 0 -60px; background-repeat: repeat-x; pointer-events: none;
	position:absolute; left: 0; top: 0; height:100%; text-indent: -200px; overflow: hidden; z-index:6;}
.pmovie__rating--10-stars .unit-rating {top: 7px; left: -6px;}
.pmovie__rating--10-stars .unit-rating li {background-size: 17px auto;}
.pmovie__rating--10-stars .unit-rating li a {width: 17px; height: 17px;}
.pmovie__rating--10-stars .unit-rating:hover li {background-position: 0 -17px;}
.pmovie__rating--10-stars .unit-rating li.current-rating {background-position: 0 -34px;}


/*---BB EDITOR ---*/
.bb-pane {border: 1px solid var(--ui-bdc); background: var(--ui-bg); padding:5px 1px 5px 10px; border-radius: 3px 3px 0 0;
	display: flex; flex-wrap: wrap; justify-content: flex-start; position: relative; z-index: 10; 
	background: linear-gradient(to top, var(--ui-bg-darkest) 0%, var(--ui-bg) 80%, var(--ui-bg) 100%);}
.bb-btn {display: inline-block; height: 26px; line-height: 26px; width: 26px; margin-right: 5px; color: var(--tt-3); 
    cursor: pointer; font-size: 12px; border-radius: 3px; text-align: center; transition: all .3s}
.bb-btn:hover {color: var(--ui-text-color-on-accent); background-color: var(--ui-bg-accent);}
@font-face {font-family: 'bb-editor-font'; src: url(../webfonts/bb-editor.woff) format('woff'); font-weight: normal; font-style: normal;}
[class^="bb-btn"], [class*=" bb-btn"] {font-family: 'bb-editor-font'; font-style: normal; 
    font-weight: normal; font-variant: normal; text-transform: none;
    -webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
.bb-sel { padding: 2px 2px 0 2px; }
.bb-sel select { font-size: 11px; }
.bb-sep { display: inline-block; width: 1px; padding: 2px; }
.bb-btn { cursor: pointer;  outline: 0; }
#b_font select { padding: 0px;}
#b_size select { padding: 0px;}
#b_b:before {content: "\f032";}
#b_i:before {content: "\f033";}
#b_u:before {content: "\f0cd";}
#b_s:before {content: "\f0cc";}
#b_img:before { content: "\f03e"; }
#b_up:before { content: "\e930"; }
#b_emo:before { content: "\f118"; }
#b_url:before { content: "\f0c1"; }
#b_leech:before { content: "\e98d"; }
#b_mail:before { content: "\f003"; }
#b_video:before { content: "\e913"; }
#b_audio:before { content: "\e911"; }
#b_hide:before { content: "\e9d1"; }
#b_quote:before { content: "\e977"; }
#b_code:before { content: "\f121"; }
#b_left:before { content: "\f036"; }
#b_center:before { content: "\f037"; }
#b_right:before { content: "\f038"; }
#b_color:before { content: "\e601"; }
#b_spoiler:before { content: "\e600"; }
#b_fla:before { content: "\ea8d"; }
#b_yt:before { content: "\f166"; }
#b_tf:before { content: "\ea61"; }
#b_list:before { content: "\f0ca"; }
#b_ol:before { content: "\f0cb"; }
#b_tnl:before { content: "\ea61"; }
#b_br:before { content: "\ea68"; }
#b_pl:before { content: "\ea72"; }
#b_size:before { content: "\f034"; }
#b_font:before { content: "\f031"; }
#b_header:before { content: "\f1dc"; }
#b_sub:before { content: "\f12c"; }
#b_sup:before { content: "\f12b"; }
#b_justify:before { content: "\f039"; }
.bb-pane h1{font-size:36px;margin-top:5px;margin-bottom:5px}
.bb-pane h2{font-size:30px;margin-top:5px;margin-bottom:5px}
.bb-pane h3{font-size:24px;margin-top:5px;margin-bottom:5px}
.bb-pane h4{font-size:18px;margin-top:5px;margin-bottom:5px}
.bb-pane h5{font-size:14px;margin-top:5px;margin-bottom:5px}
.bb-pane h6{font-size:12px;margin-top:5px;margin-bottom:5px}
.bb-pane-dropdown{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:180px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:11px;border:1px solid rgba(0, 0, 0, 0.15);border-radius:4px;background:white;box-shadow:0 1px 2px #dadada}
.bb-pane-dropdown > li > a{display:block;padding:3px 10px;clear:both;font-weight:normal;line-height:1.42857;color:#333333;white-space:nowrap}
.bb-pane-dropdown > li > a:hover,.bb-pane-dropdown > li > a:focus{text-decoration:none;color:#262626;background-color:whitesmoke}
.bb-pane-dropdown .color-palette div .color-btn{width:17px;height:17px;padding:0;margin:0;border:1px solid #fff;cursor:pointer}
.bb-pane-dropdown .color-palette{padding:0px 5px}
.bb-editor textarea{margin-top:-1px}
.editorcomm .bb-editor { width: 565px;}
.editorcomm .bb-editor textarea { height: 200px; }


/*--- QUICK EDIT FIELDS---*/
.quick-edit-text {padding: .4em;width: 350px;}
.quick-edit-textarea {height: 250px;padding: 2px; border: 1px solid #d7d7d7;width: 100%;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);}


/*--- DROP NENU ---*/
#dropmenudiv {font: 13px Arial; padding: 10px; display: none; background: var(--ui-bg); 
	border-radius: 8px;  box-shadow: 0 0 50px 0 rgba(0,0,0,0.22); z-index:200 !important;}
#dropmenudiv a {display: block; text-decoration: none; padding: 5px 8px; width: 154px;}


/*--- HIGHSLIDE GALLERY ---*/
.highslide-container {z-index: 1099 !important;}
.highslide-wrapper, .highslide-outline {background: #fff; color: #000;}
.highslide-image { border: 2px solid #fff }
.highslide-active-anchor { visibility: hidden } 
.highslide-active-anchor img { visibility: hidden }
.highslide-dimming { background-color: black }
.highslide-html { background-color: white }
.highslide-loading { display: block; color: white; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid white; background-color: black }
a.highslide-full-expand { background: url("../dleimages/fullexpand.gif") no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px }
.highslide-display-block { display: block }
.highslide-display-none { display: none }
.highslide-caption { display: none; padding: 5px; background: white }
.highslide-controls { width: 195px; height: 40px; background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 0 -90px; margin-right: 15px; margin-bottom: 10px; margin-top: 10px }
.highslide-controls ul { position: relative; left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif") no-repeat 100% -90px }
.highslide-controls li { float: left; padding: 5px 0; }
.highslide-controls a { background: url("../../../engine/classes/highslide/graphics/controlbar-black-border.gif"); display: block; float: left; height: 30px; width: 30px; outline: none }
.highslide-controls a.disabled { cursor: default }
.highslide-controls a span { display: none }
.highslide-controls .highslide-previous a { background-position: 0 0 }
.highslide-controls .highslide-previous a:hover { background-position: 0 -30px }
.highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important }
.highslide-controls .highslide-play a { background-position: -30px 0 }
.highslide-controls .highslide-play a:hover { background-position: -30px -30px }
.highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important }
.highslide-controls .highslide-pause a { background-position: -60px 0 }
.highslide-controls .highslide-pause a:hover { background-position: -60px -30px }
.highslide-controls .highslide-next a { background-position: -90px 0 }
.highslide-controls .highslide-next a:hover { background-position: -90px -30px }
.highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important }
.highslide-controls .highslide-move a { background-position: -120px 0 }
.highslide-controls .highslide-move a:hover { background-position: -120px -30px }
.highslide-controls .highslide-full-expand a { background-position: -150px 0 }
.highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px }
.highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important }
.highslide-controls .highslide-close a { background-position: -180px 0 }
.highslide-controls .highslide-close a:hover { background-position: -180px -30px }


/*--- TAGS CLOUD ---*/
.clouds_xsmall, .clouds_small, .clouds_medium, .clouds_large, .clouds_xlarge {display:inline-block; 
border-radius:6px; margin:0 3px 6px 0;}
.clouds_xsmall { font-size: 1em }
.clouds_small { font-size: 1.1em; font-weight: bold }
.clouds_medium { font-size: 1.2em; font-weight: bold }
.clouds_large { font-size: 1.3em }
.clouds_xlarge { font-size: 1.4em }
.cloud-tags span a {display:block; padding:5px 7px; border:1px solid var(--ui-bdc);}
.cloud-tags span a:hover {background-color:var(--ui-bg-accent); 
	box-shadow:0 0 10px 0 rgba(0,0,0,0.2); color:var(--ui-text-color-on-accent);}
.tags_more {margin-top:10px;}


/*--- SEARCH SUGGESTIONS---*/
#searchsuggestions {z-index: 99998; word-wrap: break-word; max-height: 60vh; overflow-x: hidden; overflow-y: auto; border-radius: var(--ui-bdrs);
	background: var(--ui-bg); box-shadow: 0 10px 20px rgba(0,0,0,0.3); width: var(--searchWidth,300px); max-width: 600px;}
#searchsuggestions span {display: block; font-size: 14px;}
#searchsuggestions span.notfound {padding: 20px; border-bottom: 1px solid var(--ui-bdc); text-align: center;}
#searchsuggestions span.seperator a {padding: 20px; text-align: center; background-color: var(--ui-bg-darker); display: block;}
.fs-result {padding: 10px; border-bottom: 1px solid var(--ui-bdc);}
.fs-result__img {width: 40px; height: 40px; margin-right: 10px; border-radius: 3px;}
.fs-result__title {font-weight: 500; font-size: 14px;}
.fs-result__meta {margin-top: 3px; color: var(--ui-tt-fade); font-size: 12px; gap: 10px;}
.fs-result__rating {
  border-radius: 3px;
  padding: 4px 6px; 
  font-size: 12px;
  background: var(--accent);
  color: #fff;
}

/*--- UI WIDGETS ---*/
.ui-widget-overlay {
    background: #000;
    opacity: 0.5;
    left: 0; top: 0; right: 0; bottom: 0;
    position: fixed;
    z-index: 1000;
}

.ui-dialog {
    background-color: var(--ui-bg);
    position: fixed; /* было absolute — из-за этого на больших экранах уезжало */
    width: 500px;
    max-width: calc(100% - 30px) !important; /* отступы по бокам на мобильных */
    max-height: calc(100vh - 30px); /* не выходит за экран по высоте */
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* titlebar + content + buttons — колонкой */
    
    /* Центрирование на любом экране */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.ui-dialog-titlebar {
    background-color: var(--ui-bg-accent);
    color: var(--ui-text-color-on-accent);
    flex-shrink: 0; /* не сжимается */
}

.ui-dialog-title {
    display: block;
    font-size: 18px;
    padding: 15px 60px 15px 30px;
}

.ui-dialog-content {
    padding: 20px;
    overflow-y: auto; /* скролл внутри контента если не влезает */
    position: relative;
    flex: 1 1 auto; /* занимает всё доступное место между шапкой и кнопками */
    margin-bottom: 0; /* убрал -5px, это ломало отображение */
}

.ui-dialog-buttonpane {
    padding: 15px 25px;
    background-color: var(--ui-bg-darker);
    flex-shrink: 0; /* ВАЖНО: не сжимается и всегда видна */
}

.ui-dialog-buttonset {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ui-dialog-buttonset button {
    flex: 1;
    min-width: 100px; /* кнопки не становятся слишком узкими */
}

.ui-dialog-buttonset button:last-child:nth-child(3) {
    flex: 1 1 100%;
}

.ui-dialog-buttonpane button {
    height: 36px; /* было 30px — маловато для мобильных (тач-зона) */
    margin: 0;
    padding: 0 15px;
    font-size: 13px;
}



.ui-icon-closethick {
    cursor: pointer;
    position: absolute;
    right: 7px; top: 7px;
    width: 40px; height: 40px;
}

.ui-icon-closethick:before {
    content: "\f00d";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    width: 40px; height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--ui-text-color-on-accent);
    position: absolute;
    right: 0; top: 0;
    text-indent: 0;
    font-size: 18px;
    display: block;
}

.ui-dialog-titlebar-close {
    overflow: hidden;
}

.ui-dialog .ui-resizable-se {
    bottom: 3px; height: 14px;
    right: 3px; width: 14px;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

.ui-state-error {
    background: #fef1ec 50% 50% repeat-x !important;
    border: 1px solid #cd0a0a;
    color: #cd0a0a;
}

/* Чекбоксы */
.ui-dialog input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px; height: 18px;
    min-width: 18px;
    border: 2px solid var(--ui-border-color, #aaa);
    border-radius: 4px;
    background-color: var(--ui-bg);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: background 0.15s, border-color 0.15s;
}

.ui-dialog input[type="checkbox"]:checked {
    background-color: var(--ui-accent-color, #4a90e2);
    border-color: var(--ui-accent-color, #4a90e2);
}

.ui-dialog input[type="checkbox"]:checked::after {
    content: "\f00c";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    font-size: 11px;
    color: #fff;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.ui-dialog input[type="checkbox"]:focus {
    outline: 2px solid var(--ui-accent-color, #4a90e2);
    outline-offset: 2px;
}

/* ---  UI MENU --- */
.ui-autocomplete { position: absolute; cursor: default; }
.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; float: left; background: #fff 50% bottom repeat-x; border: 1px solid #dedede; color: #222; }
.ui-menu .ui-menu { margin-top: -3px; }
.ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; float: left; clear: left; width: 100%; }
.ui-menu .ui-menu-item a { text-decoration:none; display:block; padding:.2em .4em; line-height:1.5; zoom:1; }
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; border: 1px solid #a7a7a7; color: #4e4e4e; font-weight: bold; }
.usp-popup__stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.usp-popup__stats-row i {color:var(--accent);}
.usp-popup__left i {color:var(--accent);}
.usp__points_pop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: all .2s ease;
    margin-top: 5px;
}

/*--- UPDATES TO NEW VERSIONS ---*/
#dlefastreplycomments{border:none;background:var(--bg-3);padding:10px;margin-bottom:30px}
#dlefastreplycomments textarea,#dlereplypopup textarea,.comments-edit-area .bb-editor textarea{line-height:23px;height:150px!important}
#dlefastreplycomments .quick-edit-text,#dlefastreplycomments textarea{margin:10px 0}
#dlefastreplycomments .comments-image-uploader-area{margin-bottom:15px;padding:3px;text-align:center;color:var(--spo-t);background-color:var(--comm-img-bg);border-radius:4px;cursor:pointer;position:relative}
.comments-image-uploader-area a{text-decoration:none;display:block;width:100%;height:100%;position:relative;color:inherit}


/*--- 11, 12 ---*/
.emoji {border: none;vertical-align: middle;width: 22px;height: 22px;}
.xfieldsrow {padding-top:5px;clear: both;}
.xfieldscolleft {float: left; width: 30%;}
.xfieldscolright {float: left;width: 70%;}
.file-box {width: 95%;max-width: 437px;border:1px solid #B3B3B3; border-radius: 3px;background-color: #F5F5F5;padding: 10px;margin-top: 10px;}
.qq-uploader { position:relative; width: 100%;}
.qq-upload-drop-area {position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;max-width: 437px;background:#FF9797; text-align:center; }
.qq-upload-drop-area span {display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;}
.qq-upload-drop-area-active {background:#FF7171;}
.uploadedfile {width: 115px;height: 130px;margin: 10px 5px 5px 5px;border:1px solid #B3B3B3;box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	text-align: center;background:#ffffff;}
.uploadedfile .uploadimage {margin-top: 5px;width: 115px;height: 90px;display: flex;align-items: center;justify-content: center;cursor: move;}
.sortable-ghost {opacity: 0.4;}
.uploadedfile .info {text-align: left;white-space: nowrap;margin: 0px 5px 0px 5px;overflow: hidden;}
.progress {overflow:hidden;margin-top:10px;margin-bottom:10px;background-color:whitesmoke;height:10px;
	border-radius:8px;background:#eee;box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;}
.progress .progress-bar {float:left;width:0%;font-size:13px;line-height:20px;color:white;text-align:center;background-color:#428bca;
	box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);transition:width 0.6s ease;border-radius:8px;box-shadow:none;height:8px;}
.progress-bar span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;}
.progress-blue {background-image:linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);background-repeat:repeat-x;border:1px solid #55aeee;}
/*.xfieldimagegallery {margin:20px -5px; list-style: none; clear: both;}
.xfieldimagegallery:after {content: ""; display: table; clear: both;}
.xfieldimagegallery li {list-style: none; margin:0;}
.xfieldimagegallery li img {float: left; margin:5px; border: 5px solid #fff; width: 150px; height: 100px;}
.xfieldimagegallery li img:hover {box-shadow: 0px 0px 7px rgba(0,0,0,0.4);}*/
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {cursor:not-allowed; pointer-events:none; opacity:0.65;}
.dle-captcha { position: relative; }
.dle-captcha:after { clear: both; display: block; content: ""; }
.dle-captcha > a { float: left; margin-right: 5px; }
.dle-captcha img {position: relative; display: block; width: 130px; height: 46px; transition: all ease .2s;}
.dle-captcha > input { float: left; width: 130px; }
.xfieldsnote {color: #838383; font-size: .9em;}
.instagram-media, .twitter-tweet {display: inline-block !important;}
      

/*--- 13, 14 ---*/
.ui-front {z-index: 1000;}
.ui-button-icon-only {overflow: hidden; text-indent: -9999px;}
button.ui-dialog-titlebar-close {background: none; position: absolute; right: 0; top: 0;}
.emoji_box {width:100%; max-width: 390px;}
.emoji_category {padding:7px; clear:both;}
.emoji_list {margin-top:5px; margin-bottom:5px; width:100%;
	font-family:'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols'; font-size:2em;}
.emoji_symbol {float:left; margin-bottom: 10px; width:12.5%; text-align:center;}
.emoji_symbol a,  .emoji_symbol a:hover {cursor: pointer; text-decoration:none;}
.native-emoji {font-size: 1.3em; font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';}

.mce-toc {border-bottom: 1px solid var(--bdc); padding-bottom: 15px; margin-bottom: 30px; margin-top: -15px;}
.mce-toc h2 {font-size: 18px; margin-bottom: 10px;}
.mce-toc ul li {position: relative; padding-left: 36px; margin-bottom: 3px;}
.mce-toc a {text-decoration: none; color: var(--tt);}
.mce-toc ul li:before {content: ''; width: 8px; height: 8px; border-radius: 50%; 
	background-color: #fcc506; position: absolute; top: 10px; left: 15px;}
figure {margin: 0;}
figure.align-left {float: left;}
figure.align-right {float: right;}
figure.image.align-center {display: table; margin-left: auto; margin-right: auto;}
figure.image figcaption {padding: 10px; background-color: var(--ui-bg-darker); font-size: 13px;
	caption-side: bottom; word-break: break-word; text-align: center;}
figure.image.align-center figcaption {display: table-caption;}
.image-bordered {border: 1px solid var(--ui-bdc);}
.image-shadows {box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px;}
.image-padded {padding: 0.5rem;}
.comments-user-profile {font-weight: bold; cursor: pointer; color: #3394e6;}
.mce-accordion summary {cursor: pointer;}
.self_delete_link {margin: 0; color: var(--ui-accent); text-decoration: underline;}

.dle-popup-quickedit .ui-dialog-titlebar-close, .ui-dialog-titlebar .ui-button-text {text-indent: -200px;}
.ui-dialog-titlebar .ui-button-text::before {content:"\f00d"; font-family:'Font Awesome 5 Pro'; font-weight: var(--ui-fw-fa); text-indent: 0; 
	position: absolute; inset: 0; display: grid; place-items: center;}
	.dle-popup-quickedit .ui-dialog-content {height: calc(100vh - 170px) !important;}
.quick-edit-text {width: 100%;}
.xfieldsrow::after {content: ''; clear: both; display: table;}

.title_spoiler {display: flex; align-items: center; gap: 6px;}
.title_spoiler a {display: block;}
.title_spoiler a:first-child, .title_spoiler svg {width: 18px; height: 18px;}
.title_spoiler a + a {flex: 1 1 0; max-width: 100%; min-width: 50px;}

.DLEPush {
    z-index: 1000;
    position: fixed;
    right: 20px;
    top: 20px;
}

/* Анимация появления */

@keyframes DLEPush-show {
    from {
        opacity: 0;
        transform: translateX(40px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Уведомление */

.DLEPush-notification.wrapper {

    animation: DLEPush-show .35s cubic-bezier(.22,1,.36,1);

    position: relative;
    display: grid;
    gap: 4px;

    margin-bottom: 12px;
    width: 400px;
    max-width: calc(100vw - 40px);
    min-height: 45px;
    padding: 16px 40px 16px 78px;
    color: var(--push-text,#1a2e2b);
    background: var(--push-bg,#e8faf5);

    border-radius: 8px;

    backdrop-filter: blur(6px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.08),
        0 4px 8px rgba(0,0,0,.06),
        inset 0 0 0 1px var(--push-border,rgba(0,0,0,.05));
}

/* Цветная плашка */

.DLEPush-notification.wrapper::before {

    content: "";
    position: absolute;

    left: 0;
    top: 0;

    width: 56px;
    height: 100%;

    background: var(--push-accent);

    border-radius: 8px 0 0 8px;
}

/* Иконка */

.DLEPush-notification .DLEPush-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
}

.DLEPush-notification .DLEPush-icon svg {
    width: 26px;
    height: 26px;
}

/* Заголовок */

.DLEPush-notification .DLEPush-header {
    font-weight: 600;
    font-size: .9rem;
    color: var(--push-accent);
    line-height: 1.3;
}

.DLEPush-notification .DLEPush-header:empty {
    display: none;
}

/* Текст */

.DLEPush-notification .DLEPush-body {
    font-size: .83rem;
    line-height: 1.5;
    opacity: .85;
}

/* Кнопка закрытия */

.DLEPush-notification .DLEPush-close {position: absolute;top: 50%;right: 12px;transform: translateY(-50%); background: none; border: 0; padding: 2px; color: inherit; font-size: 1rem; opacity: 0.4; cursor: pointer; border-radius: 4px; line-height: 1; transition: opacity 0.15s, background 0.15s; }

.DLEPush-notification .DLEPush-close:hover {opacity: .8;}

@keyframes DLEPush-hide{
    to{
        opacity:0;
        transform:translateX(40px);
    }
}
/* Ссылки */

.DLEPush-notification.wrapper a {

    color: var(--tt-accent);
    border-bottom: 1px dashed var(--tt-accent);

    text-decoration: none;

    transition: opacity .2s;
}

.DLEPush-notification.wrapper a:hover {

    opacity: .75;
}

/* Цветовые темы */

.DLEPush-notification.wrapper.push-success {

    --push-accent:#1dcc67;
    --push-bg:#edfaf3;
    --push-text:#0d2b1c;
    --push-border:rgba(29,204,103,.2);
}

.DLEPush-notification.wrapper.push-warning {

    --push-accent:#c9af1c;
    --push-bg:#faf8e6;
    --push-text:#2b2700;
    --push-border:rgba(201,175,28,.2);
}

.DLEPush-notification.wrapper.push-error {

    --push-accent:#eb4d4b;
    --push-bg:#fef0f0;
    --push-text:#2b0c0c;
    --push-border:rgba(235,77,75,.2);
}

.ui-dialog-buttonset button.ui-button-delete {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}
.ui-dialog-buttonset button.ui-button-delete:hover {
    background-color: #db3a2f;
    border-color: #db3a2f;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
}

/*--- 18 ---*/
.page__comments .tox-tinymce {height:135px !important;}
.pm th{text-align: left; font-weight: 500; white-space: nowrap;padding: 10px;}
.pm th.pm_checkbox {text-align: center;}
.pm_list.pm_subj, .pm_list.pm_icon, .pm_list.pm_last_user {cursor: pointer;}
.pm_list.pm_icon svg {width: 1.4rem; height: 1.4rem; vertical-align: middle;}
.pm_list.pm_icon.pm-unread-image {color: #3394e6;}
.pm td.pm_list.pm_icon, .userstop td, th.pm_head.pm_icon {border-bottom: none;}
.pm_list.pm_icon.pm-reply-image {color: #087e02c4;}
.pm_list.pm_icon.pm-read-image {color: #afafaf;}
.pm_list .pm_last_message, .pm_list .pm_last_date, .pm_list .pm_with_user {color: #64748b; font-size: .8rem;}
.pm tbody > tr:hover {background-color: var(--ui-bdc) !important;}
.pm_navigation {margin-top: 1rem;}
.pm_navigation .navigation {display: inline-block; color: var(--tt-fade); border-radius: 0.188rem; padding: .4rem;}
.pm_navigation .navigation a, .pm_navigation .navigation span {color: var(--tt-fade);padding: 0.5rem; min-width: 2.25rem;border-bottom: 0;     background-color: var(--bg);}
.pm_navigation .navigation span {background-color: var(--bg-dark); color: #fff;}
.pm_navigation .navigation a {text-decoration: none; color: var(--tt-fade);}
.pm_navigation .navigation a:hover {background-color: var(--bg-dark); color: #fff;}

/* --- ADAPTIVE --- */
@media screen and (max-width: 1220px) {
  .form-mgn {margin-bottom: -80px;}
} 
@media screen and (max-width: 760px) {
	.form__caption:not(.form__caption--above), .form__table .addnews {width: 100%; padding: 0 0 10px 0;}
	.form__content--admintag .checkbox {width: 100%;}
	.usp {margin-left: -20px; margin-right: -20px;}
	.usp__btn_edit {width: 100%; margin-left: -20px; margin-right: -20px;width: calc(100% + 40px);}
	.edit__profile {margin-left: -10px; margin-right: -10px;}
}
@media screen and (max-width: 590px) {
	.form__title {font-size: 18px;}
	.form__header .form__btn .far {display: none;}
	.form__btn--find-related {position: static; width: 100%; margin-top: 10px;}
	.qq-upload-button, .pm__links li, .stats__list {width: 100% !important;}
	.form__row--without-label > .form__btn, .pm__links li a {width: 100%; margin: 10px 0 0 0;}
	.form__content--sec-code input {max-width: 100%; width: 100%; margin: 0 0 10px 0; 
		height: 40px; line-height: 40px; font-size: 16px;}
	.usp__right, .usp__meta .usp__btn_new {width: 100%; margin-top: 20px; margin-left: 0;}
	.usp__left {width: 60px; margin-right: 40px;}


	.usp__status {width: auto; margin: 0; padding-left: 10px; padding-right: 10px;}
	.ui-dialog {width:100% !important;}

	.ui-dialog .ui-dialog-buttonpane button {margin:0 0 5px 0; width:100%;}
	#dofullsearch, #searchsuggestions span.seperator {display:none !important;}
    .dcont button {font-size:13px; padding:0 15px !important;}
    .mass_comments_action {display:none;}
}
