/*
 * Основные стили сайта: site.css.
 * Версия файла: 1.3.8
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}


body {
    margin: 0;
}


main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

button,
input { /* 1 */
    overflow: visible;
}

button,
select { /* 1 */
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}











.ui-dialog .ui-dialog-buttonpane button,
.tsbutton,
button,
select,
input,
textarea {
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 105%;
    margin: 0px;
    padding: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius:1px;
    -khtml-border-radius:1px;
    -webkit-border-radius:1px;
    border-radius:1px;
    border-style: solid;
    border-color: #CCC;
    border-width: 1px;
}

.nav_prev,
.nav_next,
.nav_up,
.nav_down,
.div_rating_fast,
.ui-dialog .ui-dialog-buttonpane button,
.tsbutton,
input[type="file"],
input[type="radio"],
input[type="checkbox"],
button,
select
{
    cursor: pointer;
}

.tsbutton,
input[type="radio"],
input[type="checkbox"],
input[type="submit"],
button,
select
{
    color: #000000;
    font-weight: normal;
}

/* На кнопках отправки первое касание срабатывает сразу даже при быстром втором касании. */
#uploadfile_form [type="submit"],
#uploadavatar_form [type="submit"],
#submit_button[form="message_form"] {
    touch-action: manipulation;
}

.ui-dialog .ui-dialog-buttonpane button,
.tsbutton {
    min-width:66px;
    outline: none;
    padding: 2px 6px 2px 6px;
    margin: 0px 2px 0px 2px;
    -moz-border-radius:1px;
    -webkit-border-radius:1px;
    border-radius:1px;
    border:1px solid #dcdcdc;
    text-decoration:none;
    background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
    background:-ms-linear-gradient( top, #ededed 5%, #dfdfdf 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf) );
    background-color:#ededed;
    -webkit-box-shadow:inset 1px 1px 1px 0px #ffffff;
    -moz-box-shadow:inset 1px 1px 1px 0px #ffffff;
    box-shadow:inset 1px 1px 1px 0px #ffffff;
}

.ui-dialog .ui-dialog-buttonpane button:not(:disabled):not([aria-disabled="true"]):hover,
.tsbutton:not(:disabled):not([aria-disabled="true"]):hover {
    background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
    background:-ms-linear-gradient( top, #dfdfdf 5%, #ededed 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #dfdfdf), color-stop(100%, #ededed) );
    background-color:#dfdfdf;
}

.ui-dialog .ui-dialog-buttonpane button:not(:disabled):not([aria-disabled="true"]):active,
.tsbutton:not(:disabled):not([aria-disabled="true"]):active {
    background:-moz-linear-gradient( center top, #d6d6d6 5%, #e4e4e4 100% );
    background:-ms-linear-gradient( top, #d6d6d6 5%, #e4e4e4 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#d6d6d6', endColorstr='#e4e4e4');
    background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #d6d6d6), color-stop(100%, #e4e4e4) );
    background-color:#d6d6d6;
    webkit-box-shadow:inset -2px -2px 1px 0px #f0f0f0;
    moz-box-shadow:inset -2px -2px 1px 0px #f0f0f0;
    box-shadow:inset -2px -2px 1px 0px #f0f0f0;
}

/* Блокировка видна без изменения размеров; обработку нажатий оставляем браузеру и JS. */
.ui-dialog .ui-dialog-buttonpane button:disabled,
.ui-dialog .ui-dialog-buttonpane button[aria-disabled="true"],
.tsbutton:disabled,
.tsbutton[aria-disabled="true"] {
    opacity: .5;
    cursor: default;
}

textarea {
    display: inline;
    padding: 4px;
    resize: none;
    resize: none;
}

legend {
    font-family: MS Sans Serif,Arial;
    font-size: smaller;
    color: #DADBDD;
    white-space: nowrap;
    font-weight: bold;
}

fieldset {
    border-style: solid;
    border-width: 1px;
    -moz-border-radius:3px;
    -khtml-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
}

img, object, video {
    vertical-align: bottom;
    border-width: 0px;
    font-size:0;
}

table {
    margin: 0px;
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    padding: 0px;
    margin: 0px;
}

form {
    margin: 0px;
    display: inline;
}

[hidden] { display: none; }

body {
    font-family: MS Sans Serif,Arial;
    font-size: 13px;
    color: #DADBDD;
    background: #415A7A;
    margin-top: 3px;
    margin-left: 0px;
    margin-right: 0px;
    overflow-y: scroll;
}

a {outline: none; color: #FFCD05; text-decoration: none;}
a:hover {color: #FFCD05; text-decoration: underline;}
/* Действия в тексте справки и в комментариях сохраняют оформление ссылок. */
button.pp-dialog-action {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #FFCD05;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}
button.pp-dialog-action:hover { text-decoration: underline; }
button.pp-dialog-action:active { color: #DADBDD; }
/* Ссылки-кнопки сохраняют цвет обычной кнопки, включая пустые результаты поиска. */
a.tsbutton:link, a.tsbutton:visited, a.tsbutton:hover, a.tsbutton:active {color: #000; text-decoration: none;}
a:active {color: #DADBDD; text-decoration: underline;}

.uploadbar_wtd {
    width:100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.uploadbar_table {
    width: 280px;
    background: #111922;
    border-spacing: 1px;
    border-collapse: separate;
}

.uploadbar_td, .uploadbar_td2 {
    text-align: left;
    padding: 3px;
    background: #2D3D51;
}

.uploadbar_td {
    width: 42%;
}

.uploadbar_td2 {
    width: 58%;
}

/* progress bar container */
.progressbar {
    position: relative;
    text-align: left;
    background-color: #DADBDD;
    color: #111922;
}

/* color bar */
.progressbar div.progress{
    position:absolute;
    width: 0px;
    height: 100%;
    overflow: hidden;
    background-color: #369;
}

/* text off bar */
.progressbar div.text, .progressbar div.progress .text{
    position:absolute;
    font-family: Helvetica, sans-serif, Arial;
    font-size: 13px;
    cursor: default;
    -moz-user-select: none;-khtml-user-select: none;user-select: none;
    text-align: center;
}

/* text on bar */
.progressbar div.progress .text{
    color: #DADBDD;
}

.b1, .paylogos, .zoomimg, object {
    border: 1px solid #1c1c1c;
}

.preprogressbar, .ui-dialog, .dropmenudiv, .cluetip-default .cluetip-outer, .vidSprite {
    border: 1px solid #111922;
}

.subtiny_shadow {
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.6);
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.6);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.6);
    border-collapse: separate;
}

.tiny_shadow, .pmsg_avatar {
    -moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    -webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    border-collapse: separate;
}

.med_shadow, .shdiv, .shbdiv, .zoomimg, .preprogressbar, .paylogos, .dropmenudiv, fieldset, .nav_up, .nav_down, .nav_prev, .nav_next, .pnum {
    -moz-box-shadow: 1px 1px 7px rgba(0,0,0,0.8);
    -webkit-box-shadow: 1px 1px 7px rgba(0,0,0,0.8);
    box-shadow: 1px 1px 7px rgba(0,0,0,0.8);
    border-collapse: separate;
}

.big_shadow, .main_table, .mainz_table, .main100_table, .ui-dialog, .cluetip, .adv_top_table {
    -moz-box-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    -webkit-box-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    box-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    border-collapse: separate;
}

.shdiv, .shbdiv, .zoomdiv, .zoom2div, .preprogressbar {
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    background: #1F2B3A;
    margin: 3px;
    padding: .01px;	/* kostil dlya gchrome :( */
}

.shbdiv {
    background: #111922;
}

.shdiv {
    margin: 6px;
}

.t_split {
    padding: 5px;
}

.st_split {
    padding: 2px;
}

.t_splitb {
    padding: 8px;
}

.main_table {
    margin-left: auto;
    margin-right: auto;
}

.main_table, .mainz_table, .main100_table, .cttt_table, .cttt2_table {
    background: #111922;
    border-spacing: 1px;
    border-collapse: separate;
}

.main100_table {
    width: 100%;
}

.main_header_td, .sp_header_td, .sm_header_td, .com_header_td, .adv_bottom_table_head {
    background: #1F2B3A url('../images/ui/head_bg.png') repeat-x;
    padding: 0px 6px 0px 6px;
}

.sp_header_td {
    font-weight: bold;
    height: 26px;
}

.sm_header_td {
    height: 22px;
}

.prof_div {
    margin: 6px;
}

.profbio_expander_div {
    position: relative;
    overflow: hidden;
    min-height: 30px;
}

.profbio_expander_span {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    cursor: pointer;
    -moz-box-shadow: inset 0px -16px 16px -14px rgba(45,61,81,1);
    -webkit-box-shadow: inset 0px -16px 16px -14px rgba(45,61,81,1);
    box-shadow: inset 0px -16px 16px -14px rgba(45,61,81,1);
}

.main_td, .main_tdb, .main_tdc, .main_tdr {
    width: 100%;
    padding: 4px;
    background: #2D3D51;
}

.main_tdb {
    font-weight: bold;
}

.main_tdc {
    text-align: center;
}

.main_tdr {
    text-align: right;
}

.sp_td {
    width: 100%;
    vertical-align: bottom;
    padding: 24px;
    background: #2D3D51;
}

.sp_ftd {
    padding: 8px;
    background: #2D3D51;
}

.sp_ftdc {
    text-align: center;
    padding: 8px;
    background: #2D3D51;
}

.main_rtoolbar_td {
    width: 50%;
    text-align: right;
    padding: 4px;
    background: #1F2B3A;
}

.main_ltoolbar_td {
    width: 50%;
    text-align: left;
    padding: 4px;
    background: #1F2B3A;
}

.main_th_td {
    font-weight: bold;
    text-align: left;
    padding: 2px;
    background: #1F2B3A;
}

.main_th_tdc {
    font-weight: bold;
    text-align: center;
    padding: 2px;
    background: #1F2B3A;
}

.main_t_td {
    font-weight: bold;
    text-align: left;
    font-size: 14px;
    padding: 4px;
    background: #2D3D51;
}

.main_t_tdc {
    text-align: center;
    padding: 2px;
    background: #2D3D51;
}

.rtmenu_td, .ltmenu_td {
    width: 50%;
    padding: 5px 6px;
    font-size: 110%;
}

.rtmenu_td {
    text-align: right;
}

.ltmenu_td {
    text-align: left;
}

.childnav_table {
    font-size: 14px;
}

.childnav_table_nf, .childnav_table {
    width: 100%;
    height: 26px;
    margin-left:auto;
    margin-right:auto;
}

.childnav_td_left {
    width: 100%;
    text-align: left;
    vertical-align: middle;
}

.childnav_td_right {
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
}

.pthumb_td {
    vertical-align: bottom;
    text-align: center;
    padding: 4px;
    background: #2D3D51;
}

.pithumb_table, .pi_table {
    font-size: 12px;
    background: #111922;
    border-spacing: 1px;
    border-collapse: separate;
}

.pithumb_cel {
    white-space: nowrap;
    text-align: left;
    padding: 2px;
    background: #1F2B3A;
}

.pithumb_headcel {
    font-size: 13px;
    white-space: nowrap;
    text-align: center;
    padding: 2px;
    background: #1F2B3A url('../images/ui/detail_bg.png') top repeat-x;
    position: relative;
}

.pithumb_rmlink {
    white-space: nowrap;
    text-align: right;
    padding: 0px 12px 0px 0px;
}

.pi_cel {
    white-space: nowrap;
    text-align: center;
    padding: 3px;
    background: #1F2B3A;
}

.pil_cel {
    text-align: left;
    padding: 3px;
    background: #1F2B3A;
}

.pi_headcel {
    white-space: nowrap;
    padding: 3px;
    background: #1F2B3A url('../images/ui/detail_bg.png') repeat-x;
}

.com_header_td {
    font-weight: bold;
    height: 24px;
}

.com_edl_td {
    padding: 2px;
    text-align: left;
}

.com_avatarni_td {
    padding: 3px;
    vertical-align: top;
    text-align: left;
    background: #2D3D51;
}

.com_avatar_td {
    vertical-align: top;
    text-align: center;
}

.com_unifo_td {
    vertical-align: top;
    text-align: left;
    white-space: nowrap;
    padding: 3px;
    font-size: 12px;
}

.com_datep_td {
    vertical-align: middle;
    text-align: left;
    padding: 0px 6px 0px 6px;
    background: #2D3D51;
}

.com_chtml_td {
    vertical-align: top;
    text-align: left;
    background: #2D3D51;
    font-size: 13px;
}

.com_htmcute_div {
    vertical-align: top;
    text-align: left;
    padding: 4px;
    overflow: hidden;
    text-overflow: clip;
}

.com_bbuttons_td {
    vertical-align: middle;
    background: #2D3D51;
    width: 100%;
    padding: 1px 2px 1px 2px
}

.cont_btntd {
    width:100%;
    height:35px;
}

.pmsg_splttd {
    height:5px;
}

.pmsg_contactsDiv {
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
    width: 100%;
    overflow-y: scroll;
    /* На границах списка не передаём прокрутку всей странице. */
    overscroll-behavior-y: contain;
    background: white;
    border-style: solid;
    border-color: #CCC;
    border-width: 1px;
}

.pmsg_contactsTD {
    position: relative;
    min-width: 200px;
    padding: 4px;
}

/* Список занимает всю высоту трёх строк с тем же отступом, что и лента справа. */
.pmsg_contactsPanel {
    position: absolute;
    inset: 4px;
    display: flex;
    flex-direction: column;
}
.pmsg_contacts_empty {padding: 8px; font-size: 12px; color: #555; text-align: center;}
/* Во время подгрузки сообщение видно у нижнего края списка без сдвига строк. */
.pmsg_contacts_pending {position: sticky; bottom: 0; background: white;}
#pmsg_contact_rows > div {position: relative;}
/* Закреплением управляет меню; отметка не перехватывает открытие переписки. */
.pmsg_contactDiv > a, .pmsg_curcontactDiv > a {position: relative;}
.pmsg_pin {position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); background-repeat: no-repeat; background-position: center; background-size: 16px 16px; pointer-events: none;}
.pmsg_pin[hidden] {display: none;}
/* Булавка текущего контакта оставляет место для полосы выделения справа. */
.pmsg_curcontactDiv .pmsg_pin {right: 8px;}

/* Меню лежит поверх ленты и не меняет ширину или высоту страницы. */
.pmsg_actions {position: relative; margin: 0 2px;}
/* Текст и стрелка свободно помещаются; обе кнопки сохраняют одинаковую ширину. */
#pmsg_actions_button, #pmsg_gallery {width: 170px; min-width: 170px;}
#pmsg_actions_button {display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 2px 10px; white-space: nowrap;}
#pmsg_gallery {display: inline-block; text-align: center; white-space: nowrap;}
/* Ссылки-кнопки сохраняют стандартный цвет текста без подчёркивания во всех состояниях. */
#pmsg_gallery {color: #000; text-decoration: none;}
#pmsg_gallery.pmsg_toolbar_disabled {opacity: .5; cursor: default;}
#pmsg_actions_button[aria-expanded="true"] {background: linear-gradient(#e4e8ed, #d5dce4);}
#pmsg_actions_button:disabled {opacity: .5; cursor: default;}
#pmsg_actions_button:focus-visible, .pmsg_action_item:focus-visible {outline: 2px solid #526b87; outline-offset: 1px;}
.pmsg_actions_menu {position: absolute; z-index: 20; left: 0; top: 100%; margin-top: 4px; width: 220px; box-sizing: border-box; padding: 4px; border: 1px solid #9ba8b5; border-radius: 2px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.2);}
.pmsg_actions_menu[hidden] {display: none;}
.pmsg_action_item {display: flex; align-items: center; gap: 9px; width: 100%; min-height: 35px; margin: 0; padding: 7px 9px; border: 0; border-radius: 1px; background: #fff; color: #2d3d51; font: 13px/1.2 Arial, Helvetica, sans-serif; text-align: left; white-space: normal;}
.pmsg_action_item:hover, .pmsg_action_item:focus {background: #e7edf4;}
.pmsg_action_item:disabled {color: #999; background: #fff; cursor: default;}
.pmsg_action_item:disabled .pmsg_action_icon {opacity: .4;}
.pmsg_action_danger {color: #8b0000;}
.pmsg_actions_separator {height: 1px; margin: 4px 5px; background: #dce1e6;}
.pmsg_action_icon {display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; background-position: center; background-repeat: no-repeat; background-size: 16px 16px;}
#pmsg_actions_button .pmsg_action_icon {flex-basis: 10px; width: 10px; height: 10px; background-size: 10px 10px;}
/* Иконки Lucide встроены в CSS: дополнительных запросов и библиотек нет.
   Условия использования сохранены в pmsg-icons-LICENSE.txt. */
.pmsg_icon_pin {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23526b87%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2017v5%22%20%2F%3E%3Cpath%20d%3D%22M9%2010.76a2%202%200%200%201-1.11%201.79l-1.78.9A2%202%200%200%200%205%2015.24V16a1%201%200%200%200%201%201h12a1%201%200%200%200%201-1v-.76a2%202%200%200%200-1.11-1.79l-1.78-.9A2%202%200%200%201%2015%2010.76V7a1%201%200%200%201%201-1%202%202%200%200%200%200-4H8a2%202%200%200%200%200%204%201%201%200%200%201%201%201z%22%20%2F%3E%3C%2Fsvg%3E");}
.pmsg_icon_unpin {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23526b87%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2017v5%22%20%2F%3E%3Cpath%20d%3D%22M15%209.34V7a1%201%200%200%201%201-1%202%202%200%200%200%200-4H7.89%22%20%2F%3E%3Cpath%20d%3D%22m2%202%2020%2020%22%20%2F%3E%3Cpath%20d%3D%22M9%209v1.76a2%202%200%200%201-1.11%201.79l-1.78.9A2%202%200%200%200%205%2015.24V16a1%201%200%200%200%201%201h11%22%20%2F%3E%3C%2Fsvg%3E");}
.pmsg_icon_contact_add {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23526b87%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2021a8%208%200%200%201%2013.292-6%22%20%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%228%22%20r%3D%225%22%20%2F%3E%3Cpath%20d%3D%22M19%2016v6%22%20%2F%3E%3Cpath%20d%3D%22M22%2019h-6%22%20%2F%3E%3C%2Fsvg%3E");}
.pmsg_icon_contact_remove {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23526b87%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2021a8%208%200%200%201%2013.292-6%22%20%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%228%22%20r%3D%225%22%20%2F%3E%3Cpath%20d%3D%22M22%2019h-6%22%20%2F%3E%3C%2Fsvg%3E");}
.pmsg_icon_block {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238b0000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%3Cpath%20d%3D%22M4.929%204.929%2019.07%2019.071%22%20%2F%3E%3C%2Fsvg%3E");}
.pmsg_icon_delete {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238b0000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2011v6%22%20%2F%3E%3Cpath%20d%3D%22M14%2011v6%22%20%2F%3E%3Cpath%20d%3D%22M19%206v14a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2V6%22%20%2F%3E%3Cpath%20d%3D%22M3%206h18%22%20%2F%3E%3Cpath%20d%3D%22M8%206V4a2%202%200%200%201%202-2h4a2%202%200%200%201%202%202v2%22%20%2F%3E%3C%2Fsvg%3E");}
.pmsg_icon_down {background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%20%2F%3E%3C%2Fsvg%3E");}
/* Наклейка черновика лежит у правого нижнего края и не меняет высоту карточки. */
.pmsg_contact_marks {position: absolute; z-index: 3; right: 0; bottom: 0; padding: 0; line-height: 0; pointer-events: none;}
/* Счётчик лежит поверх аватара и не увеличивает высоту строки контакта. */
.pmsg_contact_unread {
    position: absolute;
    z-index: 2;
    left: 3px;
    bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 22px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 5px 5px 5px 2px;
    background: #D32F2F;
    color: #fff;
    box-shadow: 0 1px 2px rgba(17,25,34,.26);
    font: bold 11px/1 Arial, Verdana, Helvetica, sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    animation-duration: .75s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}
.pmsg_contact_unread_wide {width: 30px;}
.pmsg_contact_unread:before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 4px;
    border-top: 4px solid #fff;
    border-right: 5px solid transparent;
}
.pmsg_contact_unread:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 5px;
    border-top: 3px solid #D32F2F;
    border-right: 3px solid transparent;
}
@keyframes pmsgUnreadLift {
    0%, 100% {transform: translateY(0);}
    36% {transform: translateY(-2px);}
    72% {transform: translateY(.5px);}
}
@keyframes pmsgUnreadLiftAgain {
    0%, 100% {transform: translateY(0);}
    36% {transform: translateY(-2px);}
    72% {transform: translateY(.5px);}
}
@media (prefers-reduced-motion: reduce) {
    .pmsg_contact_unread {animation: none !important;}
}
.pmsg_contact_draft {
    display: inline-block;
    box-sizing: border-box;
    min-width: 38px;
    height: 12px;
    margin: 0;
    padding: 0 5px;
    border: 1px solid #fff;
    border-right: 0;
    border-radius: 6px 0 0 2px;
    background: #875b10;
    color: #fff;
    box-shadow: -1px 0 2px rgba(0,0,0,.2);
    font: normal 9px/10px Arial, Verdana, Helvetica, sans-serif;
    white-space: nowrap;
    text-align: center;
    vertical-align: bottom;
}

/* Геометрия карточки не зависит от длины имени, статуса и наклеек. */
.pmsg_contactDiv > a, .pmsg_curcontactDiv > a {
    display: block;
    height: 40px;
    overflow: hidden;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    box-shadow: inset 0 -1px #d3d8dd;
    transition: background-color 140ms ease-out;
}
.pmsg_contactDiv > a:hover {background-color: #f0f3f6;}
.pmsg_curcontactDiv > a {
    background: #e7eef5;
    box-shadow: inset 0 -1px #d3d8dd;
}
/* Полоса обозначает открытую переписку и не перехватывает нажатия. */
.pmsg_contactDiv > a::after, .pmsg_curcontactDiv > a::after {
    content: '';
    position: absolute;
    right: 1px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    border-radius: 2px;
    background: #526b87;
    pointer-events: none;
    opacity: 0;
    transition: opacity 140ms ease-out;
}
.pmsg_curcontactDiv > a::after {opacity: 1;}
.pmsg_curcontactDiv > a:hover {background-color: #e1eaf3;}
.pmsg_contactDiv > a:focus-visible, .pmsg_curcontactDiv > a:focus-visible {outline: 2px solid #526b87; outline-offset: -2px;}
.pmsg_avatar {
    position: absolute;
    left: 3px;
    top: 2px;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: none;
}
/* До первого ответа индикатор скрыт; серый означает подтверждённый офлайн. */
.pmsg_contact_presence {
    position: absolute;
    z-index: 1;
    left: 30px;
    top: 2px;
    width: 9px;
    height: 9px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #a3aab2;
}
.pmsg_contact_presence[data-online="1"] {background: #24ac4d;}
.pmsg_contact_presence[hidden] {display: none;}
/* Имя занимает доступную ширину карточки; место под значок нужно не всем. */
.pmsg_usernameDiv {
    position: absolute;
    left: 44px;
    right: 4px;
    top: 0;
    height: 14px;
    color: #202b38;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Имя текущего контакта использует место прежней стрелки. */
.pmsg_curcontactDiv .pmsg_usernameDiv {right: 8px;}
.pmsg_contact_pinned .pmsg_usernameDiv {right: 24px;}
.pmsg_curcontactDiv.pmsg_contact_pinned .pmsg_usernameDiv {right: 28px;}
/* Поднимаем текст на 2px: нижние элементы букв не касаются разделителя карточки. */
.pmsg_detailsDiv {position: absolute; left: 44px; right: 0; top: 13px; font-size: 11px; line-height: 12px; color: #435367;}
.pmsg_contact_demographics, .pmsg_contact_location {display: block; height: 12px; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.pmsg_contact_demographics {padding-right: 24px;}
.pmsg_contact_location {padding-right: 4px; color: #687688;}
/* Длинный текст и отметки не перекрывают полосу текущей переписки. */
.pmsg_curcontactDiv .pmsg_contact_location {padding-right: 8px;}
.pmsg_curcontactDiv.pmsg_contact_pinned .pmsg_contact_demographics {padding-right: 28px;}
.pmsg_curcontactDiv .pmsg_contact_marks {right: 5px;}
/* Наклейка не перекрывает длинное название города. */
.pmsg_contact_has_draft .pmsg_contact_location {padding-right: 41px;}
.pmsg_curcontactDiv.pmsg_contact_has_draft .pmsg_contact_location {padding-right: 46px;}

.pmsg_uploadTD, .pmsg_uploadestspTD {
    height:34px;
    vertical-align:middle;
    text-align:right;
}

.pmsg_viewallcontacts, .pmsg_viewallcontacts a, .pmsg_viewallcontacts a:hover {
    padding: 4px;
    color: #000000;
    text-align: center;
}

.notyetread {
    color: #8c8c8c;
    display: inline;
}

.pmsg_div a {color: #8c8c8c;}
.pmsg_div a:link{color: #8c8c8c;}
.pmsg_div a:visited{color: #8c8c8c;}
.pmsg_div a:hover{color: #6c6c6c;}
.pmsg_div {
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 13px;
    background-color: white;
    color: black;
    border-style: solid;
    border-color: #CCC;
    border-width: 1px;
    text-align: left;
}

.pmsg_div1 {
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
}

/* Вложения остаются под слоем ожидания, включая кадры видеопревью. */
.pmsg_div1 > #divmsg {
    position: relative;
    z-index: 0;
}

/* Ожидание находится вне прокручиваемой истории и не меняет её высоту. */
#pmsg_progress_overlay {
    position: absolute;
    left: 8px;
    right: 24px;
    bottom: 8px;
    z-index: 1;
    pointer-events: none;
    text-align: left;
    font-family: Arial, Verdana, Helvetica, sans-serif;
}
/* Тень двух уведомлений ожидания затухает вместе со слоем и не меняет размеры ленты. */
#pmsg_progress_overlay > .pmsg_notice {
    margin: 0;
    font-size: 12px;
    line-height: 17px;
    box-shadow: 0 2px 8px rgba(24, 39, 55, .20), 0 1px 2px rgba(24, 39, 55, .10);
}
#pmsg_progress_overlay .pmsg_time {font-size: 11px;}

.pmsg_div2 {
    overflow-x: hidden;
    padding: 6px;
}

/* Интервал между обычными сообщениями; отступы уведомлений уточняются ниже. */
#divmsg2 > .pmsg_message,
#divmsg2 > .pmsg_notice {
    margin: 0;
    padding: 12px 0 0;
}

.pmsg_attachment {
    margin: 0;
    padding: 4px 0 0 4px;
}
/* Сохраняем прежний цвет вложений вне ленты чата. */
.pmsg_attachment a.pmsg_attachment_name {color: #800000;}

.pmsg_body {
    margin: 0 0 0 6px;
}

/* Длинные адреса переносятся, не расширяя ленту и не меняя сам адрес. */
.pmsg_body, .pmsg_body a {
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.pmsg_body pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}
.pmsg_body ul, .pmsg_body ol {
    margin: 4px 0;
    padding-left: 24px;
}
.pmsg_body blockquote {
    margin: 4px 0 4px 8px;
    padding-left: 8px;
    border-left: 2px solid #8c8c8c;
}
.pmsg_body h1, .pmsg_body h2, .pmsg_body h3,
.pmsg_body h4, .pmsg_body h5, .pmsg_body h6 {
    font-size: 1.25em;
    margin: 4px 0;
}
.pmsg_body img { max-width: 100%; }


/* Одинаковый отступ от заголовка до текста или миниатюры. */
#divmsg2 > .pmsg_message > .pmsg_body,
#divmsg2 > .pmsg_notice > .pmsg_body {
    padding-top: 4px;
}

/* Если есть только ссылка на файл, отступ задаёт блок вложения. */
#divmsg2 > .pmsg_message > .pmsg_body:empty,
#divmsg2 > .pmsg_notice > .pmsg_body:empty {
    display: none;
}

#divmsg2 > .pmsg_message:first-child,
#divmsg2 > .pmsg_notice:first-child {
    padding-top: 0;
}

/* Убираем верхний отступ текста, сохраняя отступ миниатюры. */
#divmsg2 .pmsg_body > :first-child:not(.shbdiv) {
    margin-top: 0;
}

#divmsg2 .pmsg_body > :last-child {
    margin-bottom: 0;
}

/* Оформление ленты: текст, время и ссылки имеют разную визуальную важность. */
/* Имена авторов выводятся без подложек и внутренних отступов. */
#divmsg2 > .pmsg_message > .nmsg_bluefont,
#divmsg2 > .pmsg_message > .nmsg_redfont {
    display: inline;
    font-size: 14px;
    font-weight: bold;
    line-height: inherit;
    vertical-align: baseline;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}
#divmsg2 > .pmsg_message > .nmsg_bluefont {color: #5278a8;}
#divmsg2 > .pmsg_message > .nmsg_redfont {color: #b66770;}
#divmsg2 .pmsg_time, #divmsg2 .notyetread {font-size: 11px;}
#divmsg2 .pmsg_time {color: #647080;}
/* Статус предпросмотра занимает такую же строку заголовка, как unread. */
#divmsg2 .pmsg_send_status {display: inline-block; white-space: nowrap; font-size: 11px; color: #647080; margin-left: 6px;}
/* Пульсация как у загрузки контактов: меняется только прозрачность, без сдвига текста. */
#divmsg2 > .pmsg_pending:not(.pmsg_pending_uncertain) > .pmsg_send_status {
    animation: pmsgSendingPulse 1400ms ease-in-out infinite;
}
@keyframes pmsgSendingPulse {
    0%, 100% {opacity: 1;}
    50% {opacity: .55;}
}
@media (prefers-reduced-motion: reduce) {
    #divmsg2 > .pmsg_pending:not(.pmsg_pending_uncertain) > .pmsg_send_status {animation: none;}
}
#divmsg2 .pmsg_pending_uncertain .pmsg_send_status {color: #b66770;}

#divmsg2 .notyetread {color: #b1b8c2;}
/* Статус скрывается после подтверждения прочтения. */
#divmsg2 > .pmsg_message > .notyetread {position: relative; display: inline-block; margin-left: 6px; white-space: nowrap;}
/* Прежний статус лежит поверх нового и не меняет ширину заголовка. */
#divmsg2 .pmsg_status_previous {position: absolute; left: 0; top: 0; color: #647080; pointer-events: none;}
/* Заглушка занимает место миниатюры; ссылка на файл остаётся отдельной строкой. */
#divmsg2 .pmsg_attachment_pending {position: relative; box-sizing: border-box;}
#divmsg2 .pmsg_thumbnail_placeholder {position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #111922; color: #a7b4c2; font: normal 11px/15px Arial, sans-serif; text-align: center; pointer-events: none;}
/* Подпись показывается только целиком; размер заглушки остаётся размером миниатюры. */
#divmsg2 .pmsg_thumbnail_label {flex: 0 1 auto; min-width: 0; max-width: 100%; overflow-wrap: normal; word-wrap: normal; word-break: normal; visibility: hidden;}
/* Световая волна проходит только по буквам, не изменяя размеры подписи и миниатюры. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    #divmsg2 .pmsg_thumbnail_label {
        background-image: linear-gradient(100deg, #a7b4c2 30%, #DADBDD 45%, #DADBDD 52%, #a7b4c2 67%);
        background-size: 250% 100%;
        background-position: 120% 0;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: pmsgPreviewShine 2200ms ease-in-out infinite;
    }
}
@keyframes pmsgPreviewShine {
    0%, 12% {background-position: 120% 0;}
    80%, 100% {background-position: -20% 0;}
}
.pmsg-motion-paused #divmsg2 .pmsg_thumbnail_label {animation-play-state: paused;}
@media (prefers-reduced-motion: reduce) {
    #divmsg2 .pmsg_thumbnail_label {animation: none; background: none; color: inherit;}
}
#divmsg2 > .pmsg_message > .pmsg_body {font-size: 14px; line-height: 20px;}
#divmsg2 .pmsg_body a,
#divmsg2 .pmsg_attachment .pmsg_attachment_name {
    color: #374151;
    text-decoration: underline;
    text-underline-offset: 2px;
}
#divmsg2 .pmsg_body a:hover,
#divmsg2 .pmsg_attachment a.pmsg_attachment_name:hover {color: #1f2937;}
#divmsg2 .pmsg_attachment {padding-left: 6px; overflow-wrap: anywhere; word-wrap: break-word;}
/* Размер и насыщенность имени файла одинаковы до и после подтверждения. */
#divmsg2 .pmsg_attachment_name {font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; font-weight: normal;}
#divmsg2 .pmsg_attachment_label, #divmsg2 .pmsg_attachment_size {font-size: 11px; color: #687687;}
/* Во время отправки вся строка вложения имеет цвет служебной подписи. */
#divmsg2 > .pmsg_pending > .pmsg_attachment .pmsg_attachment_name {color: #687687;}
/* Миниатюра и подпись начинаются на одной линии с текстом сообщения. */
#divmsg2 > .pmsg_message > .pmsg_body > .shbdiv {margin-left: 0; margin-right: 0; vertical-align: top; line-height: 0;}
/* У заглушки, фото и видео одинаковая геометрия без отступа под базовую линию. */
#divmsg2 > .pmsg_message > .pmsg_body > .shbdiv > a,
#divmsg2 > .pmsg_message > .pmsg_body > .shbdiv img.b1 {display: block;}

/* Служебные сообщения остаются в ленте; отступы сворачиваются прежней анимацией. */
#divmsg2 > .pmsg_notice {
    margin: 10px 0 0 6px;
    padding: 4px 0 4px 9px;
    border-left: 2px solid #b8c7bb;
    font-size: 12px;
    line-height: 17px;
    color: #56645a;
}
#divmsg2 > .pmsg_notice:first-child {margin-top: 0; padding-top: 4px;}
#divmsg2 > .pmsg_notice > .pmsg_body {margin: 0; padding-top: 1px;}
#divmsg2 > .pmsg_notice > .nmsg_greenfont {font-size: 12px; font-weight: normal; color: #516b57;}
#divmsg2 > .pmsg_notice > .pmsg_time {color: #748078;}
/* Ошибки выделяются цветом, не меняя порядок сообщений или обработку ответа. */
#divmsg2 > .pmsg_notice_error {border-left-color: #b66b60; background: #fdf4f1; color: #8a3f36;}
#divmsg2 > .pmsg_notice_error > .nmsg_greenfont {color: #8a3f36;}
/* Обычные уведомления выделяем плашкой; красные ошибки сохраняют своё оформление. */
#divmsg2 > .pmsg_notice:not(.pmsg_notice_error),
#pmsg_progress_overlay > .pmsg_notice {
    display: flex;
    align-items: baseline;
    column-gap: 9px;
    flex-wrap: wrap;
    padding: 6px 10px;
    border-left: 3px solid #7891aa;
    border-radius: 0 3px 3px 0;
    background: #e8eff7;
    color: #405c7a;
}
#divmsg2 > .pmsg_notice:not(.pmsg_notice_error) > .nmsg_greenfont,
#pmsg_progress_overlay > .pmsg_notice > .nmsg_greenfont {display: none;}
#divmsg2 > .pmsg_notice:not(.pmsg_notice_error) > .pmsg_body,
#pmsg_progress_overlay > .pmsg_notice > .pmsg_body {order: 1; margin: 0; padding: 0; min-width: 0;}
#divmsg2 > .pmsg_notice:not(.pmsg_notice_error) > .pmsg_time,
#pmsg_progress_overlay > .pmsg_notice > .pmsg_time {order: 2; color: #5d6b79;}
/* Тип присутствия передаётся явно и не зависит от текста языкового файла. */
#divmsg2 > .pmsg_notice_online:not(.pmsg_notice_error) {background: #e7f1e9; color: #3f6349; border-left-color: #78917d;}
#divmsg2 > .pmsg_notice_offline:not(.pmsg_notice_error) {background: #edf0f3; color: #596574; border-left-color: #9aa6b2;}
#divmsg2 > .pmsg_notice_presence > .pmsg_body > .nmsg_redfont {color: inherit; font-weight: normal;}
/* Оба ограничения Premium: светло-синий образец; графитовая ссылка пульсирует только прозрачностью. */
#divmsg2 > .pmsg_notice_premium:not(.pmsg_notice_error) {display: block; font-size: 14px; line-height: 21px; padding: 6px 10px; border-radius: 0 3px 3px 0; background: #e8eff7; color: #405c7a; border-left-color: #7891aa;}
#divmsg2 > .pmsg_notice_premium > .pmsg_time {display: none;}
#divmsg2 > .pmsg_notice_premium .pmsg_premium_link,
#divmsg2 > .pmsg_notice_premium .pmsg_premium_link:visited,
#divmsg2 > .pmsg_notice_premium .pmsg_premium_link .redfont {color: #374151;}
#divmsg2 .pmsg_wait_words,
#pmsg_progress_overlay .pmsg_wait_words {animation: pmsgWaitWords 1800ms ease-in-out infinite;}
@keyframes pmsgWaitWords {0%, 100% {opacity: 1;} 50% {opacity: .65;}}
.pmsg-motion-paused #divmsg2 .pmsg_wait_words,
.pmsg-motion-paused #pmsg_progress_overlay .pmsg_wait_words,
.pmsg-motion-paused #divmsg2 .pmsg_send_status {animation-play-state: paused;}
@media (prefers-reduced-motion: reduce) {
    #divmsg2 .pmsg_wait_words, #pmsg_progress_overlay .pmsg_wait_words {animation: none;}
    .pmsg_contactDiv > a, .pmsg_curcontactDiv > a,
    .pmsg_contactDiv > a::after, .pmsg_curcontactDiv > a::after {transition: none;}
}

/* Верхняя панель переписки в стиле Conversations: общие края с лентой, один разделитель.
 * Меню может выходить за панель; прокрутка и уведомления остаются внутри прежней ленты. */
.pmsg_chat_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    border: 1px solid #b9c3cd;
    border-bottom: 0;
    background: #edf0f3;
}
.pmsg_chat_toolbar .tsbutton {min-height: 28px; margin: 0;}
.pmsg_chat_toolbar .pmsg_actions {flex: 0 0 auto; margin: 0;}
.pmsg_chat_toolbar #pmsg_gallery {display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;}
.pmsg_chat_toolbar .pmsg_toolbar_back {flex: 0 0 auto; margin-left: auto;}

/* Одинаковый цвет существующих рамок ленты и редактора. */
.pmsg_layout #divmsg, #message_form table.mceLayout, #message_form #html {border-color: #b9c3cd;}
.pmsg_chat_toolbar + .pmsg_div1 #divmsg {border-top-color: #c5ccd3;}

.pmsg_contbtn {
    width: 150px;
}

.pmsg_commsgdt {
    vertical-align: top;
    padding: 4px;
}

/* При раскрытии редактора высота ленты сообщений сохраняется. */
.pmsg_layout #divmsg {
    box-sizing: border-box;
    height: 400px;
}

/* Центр кнопки совпадает с центром ленты и редактора. */
/* От редактора до Send около 17px, снизу — стандартный отступ около 20px. */
.pmsg_sendbarTD {
    padding: 6px 4px 15px;
    vertical-align: bottom;
}

.pmsg_sendbar {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 28px;
}

/* Выбор файла и прогресс занимают одно место, не сдвигая кнопку. */
.pmsg_upload_slot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 280px;
    text-align: right;
}

.pmsg_upload_slot #progressbar {
    width: 100%;
}

.pmsg_upload_slot .preprogressbar {
    display: block;
    box-sizing: border-box;
}

.pmsg_html{
    text-align: left;
    padding: 0px;
    margin: 6px;
}

.pmsg_sep_td {
    background: #111922;
    width: 100%;
    height: 1px;
}

.pmsg_septrans_td {
    width: 100%;
    height: 2px;
}

.pmsg_msgcon_td, .pmsg_msgcon2_td {
    padding: 2px;
    white-space: nowrap;
}

.pmsg_msgcon2_td, .pmsg_msgcon2_td a, .pmsg_msgcon2_td a:hover {
    color: #DADBDD;
}

.pmsg_mt_td {
    padding: 8px;
    background: #2D3D51;
    vertical-align: top;
}

.pmsg_md_td {
    vertical-align: top;
    text-align: center;
    padding: 6px;
}

.reg_upprem2_td, .reg_upprem_td, .upprem_td {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    background: #2D3D51;
}

.reg_upprem_td {
    font-size: 13px;
}

.upprem_fs {
    padding: 8px;
    text-align: left;
    font-weight: normal;
    font-size: 12px;
}

.upprem_rd {
    margin: 3px;
}

.premthumbs {
    width:113px;
    height:85px;
    border-width: 0px;
    background: #1F2B3A;
}

.paylogos {
    width:63px;
    height:32px;
    -moz-border-radius:2px;
    -khtml-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    background: #1F2B3A;
}

.upprem_td {
    padding: 10px;
}

.noresults500_td {
    width: 100%;
    height: 300px;
    vertical-align: middle;
    text-align: center;
    font-size: 13px;
    background: #2D3D51;
}

.cute_div {
    overflow-x: hidden;
    text-overflow: clip;
    white-space: nowrap;
    display: inline-block;
    padding: 0px;
    margin: 0px;
}

.cute_div_ellipsis {
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    padding: 0px;
    margin: 0px;
}

.inline_block_div {
    display: inline-block;
    white-space: nowrap;
    padding: 0px;
    margin: 0px;
}

.div_center {
    width: 100%;
    text-align: center;
}

table {
    margin: 0 auto;
    text-align: left;
}

.ztl {
    margin: 0;
    text-align: left;
}

.onlineimg {border-width: 0px; width:7px; height:7px; vertical-align: middle; margin: 0px 2px 0px 0px; display: none;}

.img_online {
    width: 7px;
    height: 7px;
    margin: 0px 0px 0px 2px;
    vertical-align: baseline;
}

.img_newpmsg {
    width: 19px;
    height: 8px;
    vertical-align: top;
}

.img_rss {
    width: 80px;
    height: 15px;
    vertical-align: middle;
}

.img_nonewposts {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.img_progress {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.img_msgst {
    width: 16px;
    height: 16px;
    padding: 0px 1px 0px 1px;
    vertical-align: bottom;
}

.redfont, .nmsg_redfont {
    color: red;
    display: inline;
}

.bluefont, .nmsg_bluefont {
    color: blue;
    display: inline;
}

.greenfont, .nmsg_greenfont {
    color: green;
    display: inline;
}

.nmsg_bluefont, .nmsg_greenfont, .nmsg_redfont {
    font-weight: bold;
}

.vgreenfont {
    color: #00FF00;
    display: inline;
}

.boldfont {
    font-weight: bold;
    display: inline;
}

.italicfont {
    font-style: italic;
    display: inline;
}

.vlargefont {
    font-size: 13pt;
    font-family: Arial;
    font-weight: bold;
    display: inline;
}

.zt {
    margin-left: auto;
    margin-right: auto;
}

.ztl_td {
    text-align: left;
}

.ztr_td {
    text-align: right;
}

.ztc_td {
    text-align: center;
}

.zt100 {
    width: 100%;
}

.zt100100 {
    width: 100%;
    height: 100%;
}

.nojscript_div {
    margin-left:auto;
    margin-right:auto;
    width: 724px;
    text-align: center;
    line-height:5em;
    font-weight: bold;
    font-size: 13px;
}

.adv_top_table {
    border-spacing: 1px;
    border-collapse: separate;
    width: 802px;
    margin-left:auto;
    margin-right:auto;
    background: #111922;
}

.aff_top_child_table {
    width: 100%;
    border-spacing: 1px;
    border-collapse: separate;
    background: #DADBDD;
}

.aff_top_child_table_btdd {
    white-space: nowrap;
    background: #2D3D51;
}

.aff_top_table_btd, .aff_top_table_std {
    width: 100%;
    background: #1F2B3A url('../images/ui/head_bg.png') repeat-x;
    text-align: center;
    padding: 2px;
    font-size: 14px;
    font-weight: bold;
}

.aff_top_table_btd a, .aff_top_table_btd a:hover, .aff_top_table_btd a:active {color: #DADBDD;}

.aff_top_table_std {
    width: 33%;
    background: #2D3D51;
}

.adv_bottom_table_head {
    width: 100%;
    height: 26px;
    text-align: left;
    font-weight: bold;
}

.ft_div {
    margin-left: auto;
    margin-right: auto;
    font-family: Verdana,Arial,Helvetica,Sans-Serif;
    font-size: 7.8pt;
    padding: 3px;
    text-align: center;
}

.ft_div2 {
    margin-left: auto;
    margin-right: auto;
    font-family: Arial;
    font-size:14px;
    padding: 3px;
    text-align: center;
}

.ft_rmban {
    text-align: right;
    font-size: 8.3pt;
    padding: 0px 4px 0px 0px;
}

.msgbox_table {
    width: 100%;
    margin: 1.2em 1.0em 3.2em 1.4em;
}

.msgbox_icontd {
    padding: 0em 2.2em 0em 1em;
    width: 32px;
    height: 32px;
    text-align: center;
    vertical-align: top;
}

.msgbox_msgtd {
    width: 100%;
    text-align:left;
    vertical-align: top;
}

.dialog_loading_td {
    padding: 2px;
    vertical-align: middle;
    font-weight: bold;
}

.dialog_loading_tdtd {
    width: 100%;
    vertical-align: middle;
}

.dialog_iframe_td {
    visibility: hidden;
    vertical-align: top;
    text-align: center;
    position: absolute;
    height: 0px;
    width: 0px;
}

.vidRotator {
    position:relative;
    overflow:hidden;
    display:block;}
.vidRotator span.loading {
    display:block;
    position:absolute;
    top:4px;
    left:18px;
    width:20px;
    height:20px;
    background-repeat:no-repeat;
    background-image: url(../images/ui/loader.gif);
    z-index:1;}
.vidSprite {
    position:absolute;
    top:0px;
    left:0px;
    width:0;
    height:0;
    background-repeat:no-repeat;
    z-index:2;}

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
.ui-helper-clearfix:after { clear: both; }
.ui-helper-clearfix { zoom: 1; }
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }

/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }

/* Icons
----------------------------------*/

/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }

/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay {position: absolute; top: 0; left: 0; background: transparent url('../images/ui/blank.gif') no-repeat; }

.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: 0px; left: 0; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/* dialog window style */

.ui-dialog {
    position: absolute; top: 0; left: 0; overflow: hidden;
    background-color: #2D3D51;
}

.ui-dialog .ui-dialog-titlebar {
    position: relative;
    border-bottom: 1px solid #111922;
    background: #1F2B3A url('../images/ui/head_bg.png') repeat-x;
    padding: 0px;
    height: 22px;
}

.ui-draggable .ui-dialog-titlebar { cursor: move; }
.ui-dialog .ui-dialog-titlebar-close span {display: none;}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { position: relative; border: 0; text-align: center;}

.ui-dialog .ui-dialog-titlebar-close {
    width: 11px;
    height: 11px;
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px 0px;
    position:absolute;
    top: 6px;
    right: 6px;
    cursor: pointer;
    outline: none;
}

.ui-dialog .ui-dialog-title {
    float: left;
    margin-left: 5px;
    top: 5px;
    font-weight: bold;
    position: relative;
}

.ui-dialog .ui-dialog-buttonpane {
    position: absolute;
    bottom: 7px;
    right: 8px;
    left: 8px;
    width: 100%;
    text-align: center;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {}
.ui-dialog .ui-dialog-buttonpane button {
    margin: 1px 1px 2px 1px;
}

.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-dialog-dragging { opacity: .7; filter:Alpha(Opacity=70); }
.ui-dialog-resizing { opacity: .7; filter:Alpha(Opacity=70); }

.myResisableImage .ui-resizable-s {cursor: s-resize; height: 7px; width: 100%; bottom: 0px; left: 0px; background: transparent url('../images/ui/resizable-s.gif') no-repeat center bottom; }
.myProcessBox .ui-dialog-titlebar-close {display: none;}

.ifbody { font-family: MS Sans Serif,Arial; font-size: 11px; color: #DADBDD; background: #2D3D51; margin: 0px; padding: 0px;}
.iformtable {border-collapse: separate; width: 100%; height: 100%; padding: 4px; text-align: left; vertical-align: top;}
.iformtablev {border-collapse: separate; width: 100%; height: 100%; padding: 0px; text-align: center; vertical-align: middle;}
.iformvideoplayer { padding: 0px; width:100%; height: 100%; text-align: center; vertical-align: middle; }
.iformelementtitle, .iformelementtitler { padding: 0px 3px 2px 3px; }
.iformelementtitler { text-align: right;}
.iformelement { padding: 0px 2px 6px 2px; }
.iformtextarea { padding: 0px 2px 6px 2px; width:100%; height: 100%; vertical-align: top;}
.iformelementbutton { padding: 4px 0px 4px 0px; width:100%; text-align: center; vertical-align: bottom; }

.chromestyle:after{display: block; height: 0; clear: both; visibility: hidden;}
.chromestyle ul{margin: 0;}
.chromestyle ul li{display: inline;}
.chromestyle ul li a{margin: 0;}
.chromestyle ul li a[rel]:after{content: " ";}
.dropmenudiv {
    text-align: left;
    position:absolute;
    font-family: Arial;
    font-size: 103%;
    line-height:22px;
    z-index: 3;
    background-color: #2D3D51;
    width: 140px;
    visibility: hidden;
}

/* Длинная подпись загрузки остаётся в одну строку. */
#galmenu {width: 160px;}

.dropmenudiv a{width: auto;display: block;text-indent: 5px;border-bottom: 1px solid #111922;padding: 1px 0;}
.dropmenudiv a:hover{background-color: #1F2B3A;}

/* global */
div.ui-cluetip {
    display: none;
}

.ui-cluetip-content {
    padding: 1px;
}
.ui-cluetip-header {
    padding: 4px;
    margin: 0px;
    font-family: MS Sans Serif,Arial;
    font-size: 12px;
    font-weight: bold;
    background: #1F2B3A url(../images/ui/detail_bg.png) repeat-x;
    border-bottom: 1px solid #111922;
    overflow: hidden;
}

.cluetip-title .cluetip-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 11px;
    height: 11px;
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px 0px;
    cursor: pointer;
}

.cluetip-close img {
    border: 0;
}

#cluetip-waitimage {
    width: 16px;
    height: 16px;
    position: absolute;
    background-image: url(../images/ui/loading-indicator.gif);
    border: 0;
}

.cluetip-extra, .cluetip-arrows {
    display: none;
}

/***************************************
=cluetipClass: 'default'
-------------------------------------- */
.cluetip-default .cluetip-outer {
    margin: 0px;
    padding: 0px;
    position: relative;
    background-color: #2D3D51;
    color: #DADBDD;
    font-family: MS Sans Serif,Arial;
    font-size: 11px;
}

.cttt_table {
    width: 474px;
}

/* Ссылки перелистывания должны помещаться и в узкое или низкое окно. */
.ui-cluetip.pp-rating-tip {
    box-sizing: border-box;
    max-width: 100vw;
}
.pp-rating-list {
    width: 100%;
    max-height: calc(100vh - 110px);
    overflow: auto;
}
.pp-rating-list-long {
    height: 440px;
}

.cttt2_table {
    width: 100%;
}

.cttt_td, .cttt_td2, .cttt_td3, .cttt_td_50, .cttt_avatar {
    text-align: left;
    vertical-align: middle;
    background-color: #2D3D51;
    padding: 2px;
}

.cttt_td_50 {
    width: 50%;
}

.cttt_td2 {
    width: 111px;
    font-weight: bold;
    white-space: nowrap;
}

.cttt_td3_div {
    position: relative;
    overflow: hidden;
    max-height: 30px;
    width: 468px; /*big string fix*/
}

.cttt_td3_span {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    cursor: pointer;
    -moz-box-shadow: inset 0px -5px 5px -4px rgba(45,61,81,1);
    -webkit-box-shadow: inset 0px -5px 5px -4px rgba(45,61,81,1);
    box-shadow: inset 0px -5px 5px -4px rgba(45,61,81,1);
}

.cttt_avatar {
    padding: 3px;
    vertical-align: top;
    text-align: center;
    width: 100%;
}

.cttt_thumb {
    text-align: center;
    width: 16.6%;
}

.newpmsg_ticker {
    width:210px;
    height:120px;
    padding: 2px;
    cursor: pointer;
    overflow: hidden;
}


.rstreasons {
    padding: 4px;
    text-align: center;
    font-weight: bold;
}

.rstreasonsbd {
    padding: 0px 8px 4px 8px;
}

.checkmem_table {


}

.checkmem_cel{
    text-align: left;
    padding: 4px;
    background: #1F2B3A;

    border-style: solid;
    border-width: 1px;
}

.div_read_more, .div_read_less {
    width: 32px;
    height: 32px;
    display: inline-block;
    position: absolute;
    width: 10px;
    height: 10px;
    margin: 1px;
    bottom: 0;
    right: 0;
    cursor: pointer;
    -moz-box-shadow: -2px -2px 6px 4px rgba(45,61,81,1);
    -webkit-box-shadow: -2px -2px 6px 4px rgba(45,61,81,1);
    box-shadow: -2px -2px 6px 4px rgba(45,61,81,1);
}

.div_read_more {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px -11px;
}

.div_read_less {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px -21px;
    display: none;
}

.div_toolbaricon_mediumimg, .div_toolbaricon_thumbnails, .div_toolbaricon_handsfree,.div_toolbaricon_upload,
.div_toolbaricon_favactivity, .div_toolbaricon_subscribe, .div_toolbaricon_comments {
    width: 20px;
    height: 20px;
    vertical-align: top;
    display: inline-block;
}

.div_toolbaricon_mediumimg {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -20px -104px;
}

.div_toolbaricon_thumbnails {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -60px -84px;
}

.div_toolbaricon_handsfree {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -40px -104px;
}

.div_toolbaricon_upload {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -40px -84px;
}

.div_toolbaricon_favactivity {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -20px -84px;
}

.div_toolbaricon_subscribe {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat 0px -84px;
}

.div_toolbaricon_comments {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -60px -104px;
}


.div_msgboxicon_warning, .div_msgboxicon_error, .div_msgboxicon_question, .div_msgboxicon_information {
    width: 32px;
    height: 32px;
    vertical-align: top;
    display: inline-block;
}

.div_msgboxicon_warning {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -96px -124px;
}

.div_msgboxicon_error {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat 0px -124px;
}

.div_msgboxicon_question {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -32px -124px;
}

.div_msgboxicon_information {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -64px -124px;
}

.nav_up, .nav_down, .nav_prev, .nav_next{
    z-index: 4;
    padding:0px;
    border:0px;
    position:fixed;
    width:42px;
    height:42px;
    opacity:0.7;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}

.nav_up{
    background: #1F2B3A  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat 0px -42px;
    bottom:20px;
    right:72px;
}

.nav_down{
    background: #1F2B3A  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -42px -42px;
    bottom:20px;
    right:20px;
}

.nav_prev{
    background: #1F2B3A  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat 0px 0px;
    bottom:72px;
    right:72px;
}

.nav_next{
    background: #1F2B3A  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -42px 0px;
    bottom:72px;
    right:20px;
}

.myhr {
    width: 600px;
    border: 0;
    height: 1px;
    background: #DADBDD;
}

.posternav_table {
    text-align: right;
    font-size: 14px;
    padding-top:8px;
    margin-left: auto;
    margin-right: auto;
}

.posternav_td {
    text-align: right;
    font-size: 14px;
    padding-top:8px;
}

.pnum, a .pnum {
    display: inline-block;
    margin: 2px;
    padding: 3px 8px;
    min-width: 20px;
    text-align: center;
    border: 1px solid #111922;
    background: #2D3D51;
    cursor: default;
}

a:hover .pnum {
    text-decoration: underline;
    cursor: pointer;
}

.div_star {
    width: 12px;
    height: 13px;
    margin: 0px 1px 0px 1px;
    vertical-align: middle;
    display: inline-block;
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -95px 0px;
}

.div_oldbtn_pmsg, .div_oldbtn_edit, .div_oldbtn_reply, .div_oldbtn_gallery, .div_oldbtn_delete {
    width: 53px;
    height: 15px;
    vertical-align: middle;
    display: inline-block;
}

/* Удаление: прежняя ячейка www, размер и координаты остальных элементов сохранены. */
.div_oldbtn_delete {
    background: transparent url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px -31px;
}

.div_oldbtn_pmsg {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px -91px;
}

.div_oldbtn_edit {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px -76px;
}

.div_oldbtn_reply {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -84px -46px;
}

.div_oldbtn_gallery {
    width: 55px;
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -82px -106px;
}

.div_rating_comment_good, .div_rating_comment_poor {
    height: 15px;
    width: 15px;
    vertical-align: middle;
    display: inline-block;
}

.div_rating_comment_good {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -122px -15px;
}

.div_rating_comment_poor {
    background: transparent  url(../images/ui/ui-sprite.png?v=20261114-comment-delete-1.0.1) no-repeat -122px 0px;
}

.radio_rating_fast {
    margin: 0px 4px 0px 4px;
    vertical-align: middle;
}

.div_rating_fast {
    padding: 2px 0px 2px 3px;
    display: inline-block;
}

/* Единый выбор оценки: исходные значки, спокойный фон и круглый индикатор. */
.pp-comment-ratings {display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:6px 0}
.pp-rating-group {display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;vertical-align:middle;max-width:100%}
.pp-rating-option {position:relative;display:inline-block;margin:0;padding:0;vertical-align:middle;cursor:pointer;font:13px/18px Arial,sans-serif;color:#DADBDD}
.pp-rating-option > input.pp-rating-input {position:absolute;left:4px;top:50%;width:13px;height:13px;margin:-6.5px 0 0;opacity:0;padding:0}
.pp-rating-content {box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 4px;border-radius:3px;color:#DADBDD;white-space:nowrap;background:transparent;transition:background-color .16s,color .16s,opacity .16s}
.pp-rating-dot {box-sizing:border-box;width:13px;height:13px;flex:0 0 13px;border:1px solid #8d9fb2;border-radius:50%;background:#223446;box-shadow:inset 0 0 0 3px #223446;transition:background-color .16s,border-color .16s}
.pp-rating-icon {display:inline-flex;position:relative;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px}
.pp-rating-picture {display:inline-flex;align-items:center;justify-content:center;transition:opacity .16s}
.pp-rating-option > input:checked + .pp-rating-content,.pp-rating-saved > .pp-rating-content {background:rgba(255,255,255,.045);color:#eef4fa}
.pp-rating-option > input:checked + .pp-rating-content .pp-rating-dot,.pp-rating-saved .pp-rating-dot {border-color:#cfdeeb;background:#f0cb58}
.pp-rating-option:hover > input:not(:disabled) + .pp-rating-content {background:rgba(255,255,255,.055)}
.pp-rating-option > input:focus + .pp-rating-content {outline:2px solid #9dbedc;outline-offset:1px}
.pp-rating-option > input:disabled + .pp-rating-content {opacity:.45;cursor:default}
.pp-rating-sending > input:disabled + .pp-rating-content {opacity:.85}
.pp-rating-sending .pp-rating-picture,.pp-rating-saved .pp-rating-picture {opacity:0}
.pp-rating-sending .pp-rating-icon:after {content:"";position:absolute;inset:1px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-bottom-color:transparent;border-radius:50%;animation:ppRatingSpin .7s linear infinite}
.pp-rating-saved .pp-rating-icon:after {content:"✓";position:absolute;inset:0;text-align:center;font:bold 18px/18px Arial,sans-serif}
.pp-rating-count-updated {animation:ppRatingCount .24s ease-out}
/* Быстрое голосование помещается в одну строку; подписи сохранены для чтения с экрана. */
.pi_cel.pp-rating-cell {white-space:nowrap}
.pp-rating-fast {flex-wrap:nowrap;margin-left:4px;gap:3px}
.pp-rating-fast .pp-rating-option {font:inherit}
.pp-rating-fast .pp-rating-content {min-height:24px;padding:2px 3px;gap:4px}
.pp-rating-fast .pp-rating-dot {width:12px;height:12px;flex-basis:12px}
/* Сразу выделяем выбранную оценку, даже пока кнопки этой фотографии отключены. */
.pp-rating-fast .pp-rating-option > input:checked + .pp-rating-content {opacity:1;background:rgba(240,203,88,.14);transition:none}
.pp-rating-fast .pp-rating-option > input:checked + .pp-rating-content .pp-rating-dot {transition:none}
/* Сохраняем место для индикатора; боковые поля расширяют область нажатия. */
.pp-rating-fast .pp-rating-icon {width:16px;height:16px;flex-basis:16px;margin:0 1.5px}
/* Участок спрайта 15 × 15 выводим размером 17 × 17. */
.pp-rating-fast .pp-rating-picture,
.pp-comment-ratings .pp-rating-picture {transform:scale(1.1333333333)}
.pp-rating-fast .pp-rating-saved .pp-rating-icon:after {font-size:16px;line-height:16px}
.pp-rating-fast .pp-rating-caption {position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.ifbody .pp-rating-option {font-size:12px}
.ifbody .pp-rating-content {min-height:28px;padding:3px 4px;gap:5px}
@keyframes ppRatingSpin {to {transform:rotate(360deg)}}
@keyframes ppRatingCount {from {opacity:.35}to {opacity:1}}
@media(max-width:550px) {
    .pp-comment-ratings {gap:6px}
    .pp-comment-ratings > span:first-child {flex-basis:100%}
    .pp-rating-group {gap:4px}
}
@media(pointer:coarse) {
    .pp-rating-option .pp-rating-content {min-height:44px;min-width:44px}
    .pp-rating-fast .pp-rating-content {min-width:47px}
}
@media(prefers-reduced-motion:reduce) {
    .pp-rating-content,.pp-rating-dot,.pp-rating-picture {transition:none}
    .pp-rating-sending .pp-rating-icon:after,.pp-rating-count-updated {animation:none}
}

.img_16flag {
    width: 16px;
    height: 16px;
    margin: 0px;
    padding: 0px;
    vertical-align: baseline;
}

.img_24flag {
    width: 24px;
    height: 24px;
    margin: 0px;
    padding: 0px;
    vertical-align: baseline;
}

.img_32flag {
    width: 32px;
    height: 32px;
    margin: 0px;
    padding: 0px;
    vertical-align: baseline;
}

.div_norating {
    vertical-align: middle;
    text-align: center;
    padding: 20px;
    width: 100%;
    font-weight: bold;
}

/* chaturbate banner */
.list .thumbnail_label, .list .thumbnail_label_featured{position:absolute;right:3px;padding:1px 3px 1px 3px;text-align:center;overflow:hidden;color:#FFF;font:10px 'UbuntuRegular',Arial,Helvetica,sans-serif;}
.list .thumbnail_label{top:132px;}
.list .thumbnail_label_featured{top:130px;border-bottom:2px solid #dd7f21;}
.list .thumbnail_label_exhibitionist{top:130px;background-color:#6D85B5;}
.list .thumbnail_label_recorded{background-color:#4f4f4f;}
.list .thumbnail_label_offline{background-color:#4f4f4f;}
.list .thumbnail_label_plug{background-color:#900;}
.list .thumbnail_label_c{background-color:#0C6A93;}
.list .thumbnail_label_c_hd{background-color:#2472b4;}
.list .thumbnail_label_c_private_show{background-color:#C00;}
.list .thumbnail_label_c_group_show{background-color:#b60a42;}
.list .thumbnail_label_c_new{background-color:#b45f04;}

.list img{display:block;}
.list .details{padding:4px 7px 0;text-align:left;}
.list .title{width:100%;overflow:hidden; border-bottom:1px solid #928f96;}
.list .title a {float:left;font:1.166em/1.142em 'UbuntuMedium',Arial,Helvetica,sans-serif;width:125px;overflow:hidden;}
.list .title .age{float:right;padding:2px 18px 0 0;font:1em/1.333em 'UbuntuMedium',Arial,Helvetica,sans-serif;}
.list .title .genderf{background:url('../images/ui/ico-female.png') no-repeat 100% 0;}
.list .title .genderm{background:url('../images/ui/ico-male.png') no-repeat 100% 0;}
.list .title .genderc{background:url('../images/ui/ico-couple.png') no-repeat 100% 0;}
.list .title .genders{background:url('../images/ui/ico-trans.png') no-repeat 100% 0;}

.subject{list-style:none;margin:0;padding:0;font-size:12px;line-height:16px;width:168px;height:32px;overflow:hidden;}
.subject.one_line{height:16px;}
.subject li{width:auto;background:none;border:0;margin:0!important;padding:0 2px;}
.subject li a{}
.sub-info{list-style:none;margin:0;padding:0 0 4px;font-size:.8333em;color:#928f96;overflow:hidden;height:1%;}
.sub-info li{width:auto;background:none;border:0;padding:0 0 0 18px;margin:0!important;position:relative;float:none;height:1%;text-align:left;}
.sub-info li.cams{background:url('../images/ui/ico-cams.png') no-repeat 0 50%;width:145px;height:15px;overflow:hidden;}

.list_tc {
    width:175px;
    background:#1F2B3A;
    float:left;
    position:relative;
    margin:6px;
    border:1px solid #111922;
    max-height:222px;
    overflow:hidden;
}
/* chaturbate banner */

.flag_icon {
    border: 0px;
    padding: 0px;
    margin: 0px;
    line-height: 10px;
    font-size: 16px;
    vertical-align: middle;
}

.flag_icon a, .flag_icon a:hover, .flag_icon a:active {
    text-decoration: none;
}

.div_flag {
    display: inline-block;
    vertical-align: middle;
}

.onlineusers_span {
    white-space: nowrap;
}

.thumblabel_wrap {
    position: relative;
}

.thumblabel {
    position: absolute;
    right: 3px;
    bottom: 3px;
    margin: 0px;
    padding: 1px 3px 1px 3px;
    text-align: right;
    overflow: hidden;
    color: rgba(218, 219, 221, 0.9);
    background-color: rgba(79, 79, 79, 0.6);
    font:10px 'UbuntuRegular',Arial,Helvetica,sans-serif;
}
/* Единая надпись над фотографией, видео или миниатюрой. */
.media-operation-notice {
    display: block;
    margin: 0 0 8px;
    text-align: center;
    font-weight: bold;
    overflow-wrap: break-word;
}


/* Редактор ПМСГ: штатная иконка изменения высоты справа в панели TinyMCE. */
#message_form .pmsg_editor_toolbar {display:block;width:100%;height:auto;margin:0;padding:0 3px;box-sizing:border-box}
#message_form .pmsg_editor_toolbar>tbody {display:block}
#message_form .pmsg_editor_row {display:flex;align-items:center;width:100%}
#message_form .pmsg_editor_row>td {display:block;flex:0 0 auto}
#message_form .pmsg_editor_row>.mceToolbarStart,#message_form .pmsg_editor_row>.mceToolbarEnd {display:none}
#message_form .pmsg_editor_row>.pmsg_editor_expand {margin-left:auto}
/* Смайлики не участвуют в расчёте размеров: Send остаётся точно по центру. */
.pmsg_recent_smileys {position:absolute;left:0;top:-10px;width:calc(50% - 42px);display:flex;align-items:center;gap:5px;font-size:12px;line-height:30px;text-align:left}
.pmsg_recent_smileys[hidden] {display:none}
/* В ПМСГ видны только смайлики; подпись в комментариях и подсказки кнопок сохраняются. */
.pmsg_recent_smileys .pp-recent-label {display:none}
.pmsg_recent_smileys .pp-recent-list {display:flex;align-items:center;min-width:0;gap:1px}
.pmsg_recent_smiley {display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:2px;border:0;background:transparent;cursor:pointer}
.pmsg_recent_smiley img {display:block;width:22px;height:22px;max-width:100%;object-fit:contain}
.pmsg_recent_smiley:focus-visible {outline:1px solid #bdcbd8;outline-offset:1px}

/* Общие значки ПМСГ и Conversations. Встроены в CSS, дополнительных загрузок нет. */
.pmsg_ui_action::before {content:"";display:inline-block;width:16px;height:16px;margin-right:5px;vertical-align:-3px;background-position:center;background-repeat:no-repeat;background-size:16px 16px;pointer-events:none;}
.pmsg_ui_icon {display:inline-block;flex:0 0 16px;width:16px;height:16px;background-position:center;background-repeat:no-repeat;background-size:16px 16px;pointer-events:none;}
#pmsg_contacts_clear.pmsg_ui_action,.pmsg_conversations_clear.pmsg_ui_action {font-size:0;}
#pmsg_contacts_clear.pmsg_ui_action::before,.pmsg_conversations_clear.pmsg_ui_action::before {width:14px;height:14px;margin:0;background-size:14px 14px;}
.pmsg_ui_plus::before,.pmsg_ui_icon.pmsg_ui_plus {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M5%2012h14%22%2F%3E%3C%2Fsvg%3E");}
.pmsg_ui_clear::before,.pmsg_ui_icon.pmsg_ui_clear {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M18%206%206%2018%22%2F%3E%3C%2Fsvg%3E");}
.pmsg_ui_search::before,.pmsg_ui_icon.pmsg_ui_search {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22%2F%3E%3Cpath%20d%3D%22m16%2016%205%205%22%2F%3E%3C%2Fsvg%3E");}
.pmsg_ui_back::before,.pmsg_ui_icon.pmsg_ui_back {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2012H4m6-6-6%206%206%206%22%2F%3E%3C%2Fsvg%3E");}
.pmsg_ui_gallery::before,.pmsg_ui_icon.pmsg_ui_gallery {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22m3%2017%205-5%204%204%204-6%205%207%22%2F%3E%3C%2Fsvg%3E");}
.pmsg_ui_read::before,.pmsg_ui_icon.pmsg_ui_read {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2012%205%205L20%205M13%2017l8-8%22%2F%3E%3C%2Fsvg%3E");}
.pmsg_ui_reset::before,.pmsg_ui_icon.pmsg_ui_reset {background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23454b52%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010a8%208%200%201%201%201%208M4%204v6h6%22%2F%3E%3C%2Fsvg%3E");}
