/* ============================================= */
/* ПРЕЛОАДЕР (АДАПТИРОВАН ПОД ТЕМНУЮ/СВЕТЛУЮ ТЕМУ) */
/* ============================================= */

#loading-layer {
    display: none;
    background-color: var(--bg-primary);
    background-color: rgba(var(--bg-primary-rgb, 11, 14, 17), 0.92);
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.3s ease;
}

#loading-layer:before,
#loading-layer:after {
    content: "";
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
}

#loading-layer:before {
    background-color: var(--gold);
    -webkit-animation: load1 0.8s infinite ease;
    animation: load1 0.8s infinite ease;
    box-shadow: 0 0 20px rgba(245, 175, 25, 0.3);
}

#loading-layer:after {
    background: var(--gold-gradient);
    -webkit-animation: load2 0.8s infinite ease;
    animation: load2 0.8s infinite ease;
    box-shadow: 0 0 20px rgba(241, 39, 17, 0.25);
}

@-webkit-keyframes load1 {
    0%, 80%, 100% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
    }
    40% {
        -webkit-transform: translate(50%, 0) scale(0.6, 0.6);
        transform: translate(50%, 0) scale(0.6, 0.6);
    }
}

@keyframes load1 {
    0%, 80%, 100% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
    }
    40% {
        -webkit-transform: translate(50%, 0) scale(0.6, 0.6);
        transform: translate(50%, 0) scale(0.6, 0.6);
    }
}

@-webkit-keyframes load2 {
    0%, 80%, 100% {
        -webkit-transform: translate(100%, 0);
        transform: translate(100%, 0);
    }
    40% {
        -webkit-transform: translate(-50%, 0) scale(0.6, 0.6);
        transform: translate(-50%, 0) scale(0.6, 0.6);
    }
}

@keyframes load2 {
    0%, 80%, 100% {
        -webkit-transform: translate(100%, 0);
        transform: translate(100%, 0);
    }
    40% {
        -webkit-transform: translate(-50%, 0) scale(0.6, 0.6);
        transform: translate(-50%, 0) scale(0.6, 0.6);
    }
}

[data-theme="light"] #loading-layer {
    background-color: rgba(244, 246, 249, 0.92);
}

[data-theme="light"] #loading-layer:before {
    background: var(--gold);
    box-shadow: 0 0 30px rgba(245, 175, 25, 0.25);
}

[data-theme="light"] #loading-layer:after {
    background: var(--gold-gradient);
    box-shadow: 0 0 30px rgba(241, 39, 17, 0.2);
}

@media (max-width: 480px) {
    #loading-layer:before,
    #loading-layer:after {
        width: 24px;
        height: 24px;
        margin: -12px 0 0 -12px;
    }
}

/* ============================================= */
/* БЛОКИ ЦИТАТ, СПОЙЛЕРОВ И ПРОЧЕЕ */
/* ============================================= */

.scriptcode,
.title_spoiler,
.text_spoiler {
    padding: 15px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
}

.title_quote {
    margin-top: 2px;
    font-weight: bold;
    padding: 15px 5px;
    border-top: 3px solid var(--gold);
    color: var(--text-primary);
}

.quote,
blockquote {
    padding: 0 1em 1em 3em;
    border: 0 solid var(--gold);
    border-top-width: 3px;
    border-bottom-width: 3px;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.0em;
    position: relative;
    color: var(--text-secondary);
}

.title_quote + .quote {
    border-top-width: 0;
}

.quote:before,
blockquote:before {
    position: absolute;
    left: 0;
    top: 0;
    content: "\0022";
    font-weight: bold;
    font-size: 4em;
    margin-left: -.1em;
    color: var(--gold);
}

.title_spoiler {
    margin-top: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.title_spoiler:hover {
    border-color: var(--border-hover);
}

.title_spoiler img {
    vertical-align: middle;
    margin: -1px 0 0 !important;
}

.scriptcode {
    color: var(--gold);
    text-align: left;
    font-family: "Courier New", monospace;
    background: var(--bg-input);
}

.text_spoiler {
    margin-bottom: 2px;
    border-top: 0;
    display: none;
    border-radius: 0 0 12px 12px;
}

.hide {
    background-color: var(--bg-input);
    padding: 5px;
    color: var(--gold);
    margin: 0 0 1em 0;
    border-radius: 8px;
}

.hide a {
    text-decoration: underline;
    color: var(--text-primary);
}

.hide a:hover {
    text-decoration: none;
    color: var(--gold);
}

/* ============================================= */
/* КАЛЕНДАРЬ */
/* ============================================= */

.calendar {
    width: 100%;
    text-align: center;
    font-size: .9em;
    margin-bottom: 0;
}

.calendar tr td,
.calendar tr th {
    padding: 3px;
}

.calendar tr td a {
    color: var(--gold) !important;
    font-weight: bold;
}

.calendar tr td {
    padding: 5px 3px;
    color: var(--text-secondary);
}

.calendar tr td.weekday,
.calendar tr th.weekday {
    color: var(--gold);
}

.calendar tr th {
    background-color: var(--bg-input);
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-primary);
    border-radius: 8px;
}

.calendar tr th.monthselect {
    background-color: transparent;
    padding-bottom: 15px;
}

/* ============================================= */
/* ПРОГРЕСС-БАРЫ ДЛЯ ГОЛОСОВАНИЙ */
/* ============================================= */

.voteprogress,
.pollprogress {
    overflow: hidden;
    height: 6px;
    margin-bottom: 10px;
    background-color: var(--bg-input);
    border-radius: 3px;
    margin-top: 6px;
}

.voteprogress span,
.pollprogress span {
    text-indent: -9999px;
    height: 6px;
    display: block;
    overflow: hidden;
    background: var(--gold-gradient);
    border-radius: 3px;
}

/* ============================================= */
/* РЕЙТИНГ (ЗВЕЗДЫ) */
/* ============================================= */

.rating,
.unit-rating {
    width: 150px;
    height: 30px;
}

.rating {
    font-size: 11px;
}

.unit-rating,
.unit-rating li a:hover,
.unit-rating li.current-rating {
    background-image: url(data:image/png;base64,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);
    -webkit-background-size: 30px auto;
    background-size: 30px auto;
}

.unit-rating {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    background-position: 0 -30px;
}

.unit-rating li {
    text-indent: -90000px;
    padding: 0;
    margin: 0;
    float: left;
}

.unit-rating li a {
    display: block;
    width: 30px;
    height: 30px;
    text-decoration: none;
    border: 0 none !important;
    text-indent: -9000px;
    z-index: 17;
    position: absolute;
    padding: 0;
}

.unit-rating li a:hover {
    background-position: 0 -60px;
    z-index: 2;
    left: 0;
}

.unit-rating a.r1-unit {
    left: 0;
}
.unit-rating a.r1-unit:hover {
    width: 30px;
}
.unit-rating a.r2-unit {
    left: 30px;
}
.unit-rating a.r2-unit:hover {
    width: 60px;
}
.unit-rating a.r3-unit {
    left: 60px;
}
.unit-rating a.r3-unit:hover {
    width: 90px;
}
.unit-rating a.r4-unit {
    left: 90px;
}
.unit-rating a.r4-unit:hover {
    width: 120px;
}
.unit-rating a.r5-unit {
    left: 120px;
}
.unit-rating a.r5-unit:hover {
    width: 150px;
}

.unit-rating li.current-rating {
    background-position: 0 0;
    position: absolute;
    height: 30px;
    display: block;
    text-indent: -9000px;
    z-index: 1;
}

.comment .rating,
.comment .unit-rating {
    width: 75px;
    height: 15px;
}

.comment .unit-rating,
.comment .unit-rating li a:hover,
.comment .unit-rating li.current-rating {
    -webkit-background-size: 15px auto;
    background-size: 15px auto;
}

.comment .unit-rating {
    background-position: 0 -15px;
}

.comment .unit-rating li a {
    width: 15px;
    height: 15px;
}

.comment .unit-rating li a:hover {
    left: 0;
    background-position: 0 -30px;
}

.comment .unit-rating a.r1-unit {
    left: 0;
}
.comment .unit-rating a.r1-unit:hover {
    width: 15px;
}
.comment .unit-rating a.r2-unit {
    left: 15px;
}
.comment .unit-rating a.r2-unit:hover {
    width: 30px;
}
.comment .unit-rating a.r3-unit {
    left: 30px;
}
.comment .unit-rating a.r3-unit:hover {
    width: 45px;
}
.comment .unit-rating a.r4-unit {
    left: 45px;
}
.comment .unit-rating a.r4-unit:hover {
    width: 60px;
}
.comment .unit-rating a.r5-unit {
    left: 60px;
}
.comment .unit-rating a.r5-unit:hover {
    width: 75px;
}

.comment .unit-rating li.current-rating {
    height: 15px;
}

.ratingplus {
    color: var(--success-color);
}

.ratingminus {
    color: var(--danger-color);
}

.ratingzero {
    color: var(--text-muted);
}

/* ============================================= */
/* ТАБЛИЦЫ ПОЛЬЗОВАТЕЛЕЙ И ЛИЧНЫХ СООБЩЕНИЙ */
/* ============================================= */

.userstop td,
.pm td.pm_list,
.pm th.pm_head {
    border-bottom: 1px solid var(--border-color);
    padding: 12px 8px;
}

table.pm,
table.userstop {
    width: 100%;
    margin-bottom: 0;
}

table.pm select {
    width: 150px;
}

.userstop thead td,
.pm td.pm_head {
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
    color: var(--text-primary);
}

table.pm .navigation {
    border-top-width: 0;
    margin: 0;
}

.pm th {
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-primary);
}

.pm th.pm_checkbox {
    text-align: center;
}

.pm_list.pm_subj,
.pm_list.pm_icon,
.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: var(--text-muted);
}

.pm_list .pm_last_message,
.pm_list .pm_last_date,
.pm_list .pm_with_user {
    color: var(--text-muted);
    font-size: .8rem;
}

.pm tbody > tr:hover {
    background-color: var(--bg-card-hover);
}

.pm_navigation {
    margin-top: 15px;
}

.pm_navigation .navigation {
    display: inline-block;
    color: var(--text-primary);
    background-color: var(--bg-input);
    border-radius: 0.188rem;
    padding: .4rem;
}

.pm_navigation .navigation a,
.pm_navigation .navigation span {
    padding: 0.5rem;
    min-width: 2.25rem;
}

.pm_navigation .navigation span {
    background: var(--gold-gradient);
    color: #fff;
}

.pm_navigation .navigation a {
    text-decoration: none;
    color: var(--text-primary);
}

.pm_navigation .navigation a:hover {
    background-color: var(--bg-card-hover);
    border-radius: 0.188rem;
}

/* ============================================= */
/* ВЫПАДАЮЩИЕ МЕНЮ */
/* ============================================= */

#dropmenudiv {
    padding: 10px 0;
    min-width: 140px;
    width: auto !important;
    font-size: .9em;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
    background-clip: padding-box;
    background-color: var(--bg-secondary);
}

#dropmenudiv a {
    text-decoration: none !important;
    color: var(--text-primary);
    display: block;
    padding: 5px 20px;
    border: 0 none;
    white-space: nowrap;
}

#dropmenudiv a:hover {
    background: var(--gold-gradient);
    color: #fff;
}

/* ============================================= */
/* ПОИСКОВЫЕ ПОДСКАЗКИ */
/* ============================================= */

#searchsuggestions {
    z-index: 2200;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    background-clip: padding-box;
    font-size: .9em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#searchsuggestions a,
#searchsuggestions span.notfound {
    padding: 15px 25px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

#searchsuggestions a {
    color: var(--text-primary);
}

#searchsuggestions a:hover {
    background-color: var(--bg-card-hover);
}

#searchsuggestions a span {
    display: block;
    cursor: pointer;
}

#searchsuggestions span.searchheading {
    display: block;
    font-weight: bold;
    margin-bottom: .2em;
    color: var(--gold);
}

#searchsuggestions span.seperator {
    display: block;
}

#searchsuggestions span.seperator a {
    padding: 10px 0;
    text-align: center;
    border: 0 none;
    background-color: transparent;
    color: var(--text-muted);
}

#searchsuggestions span.notfound {
    padding: 15px 25px;
    display: block;
    color: var(--text-muted);
}

#searchsuggestions .break {
    display: none;
}

/* ============================================= */
/* UI-ЭЛЕМЕНТЫ (МОДАЛЬНЫЕ ОКНА, ДИАЛОГИ) */
/* ============================================= */

.ui-front {
    z-index: 1000;
}

.ui-button-icon-only {
    overflow: hidden;
    text-indent: -9999px;
}

.ui-widget-overlay {
    background: #000;
    opacity: 0.5;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    position: fixed;
}

.ui-helper-clearfix:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.ui-helper-clearfix {
    display: inline-block;
}

* html .ui-helper-clearfix {
    height: 1%;
}

.ui-helper-clearfix {
    display: block;
}

.ui-dialog {
    text-align: left;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 420px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    background-clip: padding-box;
    outline: none;
}

.ui-dialog-titlebar {
    padding: 1.39em 1.39em;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.ui-dialog-title {
    float: left;
    font-weight: bold;
    font-size: 1em;
    color: var(--text-primary);
}

.ui-dialog-titlebar-close {
    position: absolute;
    right: .77em;
    top: 50%;
    margin-top: -1.24em !important;
    height: 1.78em !important;
    width: 2.47em;
    border: 0 none !important;
    background-color: inherit !important;
    box-shadow: none !important;
    padding: 0px !important;
    background-image: inherit !important;
}

.ui-dialog-titlebar-close .ui-icon {
    display: block;
    margin: .77em auto 0 auto;
    width: 1em;
    height: 1em;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAGFBMVEUAAAD/SFv/SFv/SFv/SFv/SFv/SFv/SFsH0wwQAAAAB3RSTlMAzhK8Mb0yjxeujgAAAGZJREFUGNNjcFZggAEmE4ZwIThPsZhBsVABJiUuBMZgABIHEzApCAmTglIwQQgNF4MwIEIwSYgUTFIJJAWXFARJwSXL4VIIHqZKhCmYNiBsx3QZwtVoPkL1LWpIoIWSOUoIJiOHLgBIeRWBi4fJWAAAAABJRU5ErkJggg==);
    -webkit-background-size: 1em auto;
    background-size: 1em auto;
    opacity: .5;
}

.ui-dialog-titlebar-close span.ui-button-text {
    display: block;
    margin: .77em auto 0 auto;
    width: 1em;
    height: 1em;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAAGFBMVEUAAAD/SFv/SFv/SFv/SFv/SFv/SFv/SFsH0wwQAAAAB3RSTlMAzhK8Mb0yjxeujgAAAGZJREFUGNNjcFZggAEmE4ZwIThPsZhBsVABJiUuBMZgABIHEzApCAmTglIwQQgNF4MwIEIwSYgUTFIJJAWXFARJwSXL4VIIHqZKhCmYNiBsx3QZwtVoPkL1LWpIoIWSOUoIJiOHLgBIeRWBi4fJWAAAAABJRU5ErkJggg==);
    -webkit-background-size: 1em auto;
    background-size: 1em auto;
    opacity: .5;
    text-indent: -9999px;
}

.ui-button {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    font-size: .9em;
    border-radius: .231em;
    outline: none;
    color: #fff;
    padding: .463em 1.16em;
    text-decoration: none !important;
    box-shadow: 0 1px .231em 0 rgba(0, 0, 0, 0.14);
    background: var(--gold-gradient);
    box-sizing: border-box;
}

.ui-dialog-titlebar-close:hover .ui-icon {
    opacity: 1;
}

.ui-icon {
    overflow: hidden;
    text-indent: -9999px;
}

.ui-dialog label {
    color: var(--text-secondary);
}

.ui-dialog-content {
    padding: 20px;
    border: 1px solid transparent;
    overflow: auto;
    position: relative;
    zoom: 1;
    color: var(--text-primary);
}

.loginbox.ui-dialog,
.loginbox .ui-dialog-content {
    overflow: visible !important;
}

.ui-dialog-content h2 {
    display: inline;
    font-size: 1em;
    font-weight: bold;
    color: var(--gold);
}

.ui-dialog .ui-dialog-buttonpane {
    padding: 20px;
    text-align: right;
    border-top: 1px solid var(--border-color);
}

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

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

.ui-state-error {
    background: var(--danger-bg) !important;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.ui-button {
    margin: 0 .208em;
}

.ui-helper-hidden-accessible {
    display: none;
}

.ui-button:hover {
    opacity: 0.85;
}

.ui-dialog-buttonset button:last-child {
    background: var(--gold-gradient);
    color: #fff;
}

.ui-dialog-buttonset button:last-child:hover {
    opacity: 0.85;
}

.ui-dialog-buttonset button:first-child {
    background-color: var(--text-muted);
    border-color: var(--text-muted);
    color: #fff;
}

.ui-dialog-buttonset button:first-child:hover {
    opacity: 0.8;
}

.ui-dialog-buttonset button.ui-button-delete {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: #fff;
}

.ui-dialog-buttonset button.ui-button-delete:hover {
    opacity: 0.85;
}

.tox .tox-dialog__footer .tox-button--secondary {
    background-color: var(--text-muted) !important;
    border-color: var(--text-muted) !important;
    color: #fff !important;
}

.tox .tox-button {
    background: var(--gold-gradient) !important;
    border-color: transparent !important;
}

/* ============================================= */
/* АВТОДОПОЛНЕНИЕ */
/* ============================================= */

.ui-autocomplete {
    position: absolute;
    cursor: default;
}

* html .ui-autocomplete {
    width: 1px;
}

.ui-menu {
    list-style: none;
    padding: 2px;
    margin: 0;
    float: left;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.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;
    color: var(--text-primary);
}

.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 var(--gold);
    color: var(--gold);
    font-weight: bold;
    background: var(--bg-card-hover);
}

/* ============================================= */
/* БЫСТРОЕ РЕДАКТИРОВАНИЕ */
/* ============================================= */

.quick-edit-text {
    padding: .4em;
    width: 350px;
}

.quick-edit-textarea {
    height: 250px;
    padding: 2px;
    border: 1px solid var(--border-color);
    width: 100%;
    background: var(--bg-input);
    color: var(--text-primary);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    border-radius: 8px;
}

/* ============================================= */
/* ПОЛЯ ВВОДА (АДАПТАЦИЯ ПОД ТЕМУ) */
/* ============================================= */

select,
textarea,
input[type="text"],
input[type="password"],
input[type="file"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
    display: inline-block;
    width: 20.83em;
    padding: .555em .83em;
    vertical-align: middle;
    border-radius: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    -webkit-transition: border 0.2s linear 0s;
    transition: border 0.2s linear 0s;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

select {
    width: auto;
    padding: .4rem 2.25rem .4rem .75rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7a8a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    appearance: none;
}

select[multiple] {
    padding-right: .75rem;
    background-image: none;
}

textarea {
    margin: 0;
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="file"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: var(--gold);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(245, 175, 25, 0.1);
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"] {
    width: auto;
}

input[type="search"] {
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

select[multiple],
select[size],
textarea {
    height: auto;
}

::-moz-placeholder,
:-moz-placeholder,
::-webkit-input-placeholder {
    opacity: 0.6;
    color: var(--text-muted);
}

input:focus {
    outline: none;
}

input[type="file"],
input[type="image"] {
    padding: 0;
    border-width: 0;
    background: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.wide,
.bb-editor textarea,
.ui-dialog textarea,
select#category,
.timezoneselect,
.twofactorselect,
.quick-edit-text {
    width: 100% !important;
}

#searchuser,
#searchinput {
    width: 100% !important;
    margin-bottom: 10px;
}

table.xfields input {
    width: 100%;
}

table.xfields tr > td:first-child {
    padding-right: 10px;
}

/* ============================================= */
/* CAPTCHA */
/* ============================================= */

.form_submit .c-capcha {
    float: right;
}

.c-capcha {
    position: relative;
}

.c-capcha:after {
    clear: both;
    display: block;
    content: "";
}

.c-capcha > a {
    float: left;
    margin-right: 0;
}

.c-capcha img {
    position: relative;
    display: block;
    width: 100px;
    height: 39px;
    border-radius: 8px 0 0 8px;
    z-index: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    -webkit-transition: all ease .2s;
    transition: all ease .2s;
}

.c-capcha:hover img {
    box-shadow: var(--box-shadow);
    -webkit-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3);
    border-color: var(--gold);
    border-radius: 8px;
    z-index: 10;
}

.c-capcha > input {
    border-radius: 0 8px 8px 0;
    float: left;
    width: 150px;
    border-left-width: 0;
    text-align: center;
}

.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;
    -webkit-transition: all ease .2s;
    transition: all ease .2s;
    border-radius: 8px;
}

.dle-captcha > input {
    float: left;
    width: 130px;
}

@media screen and (max-width: 344px) {
    #rc-imageselect,
    .g-recaptcha {
        transform: scale(0.925);
        -webkit-transform: scale(0.925);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}

/* ============================================= */
/* КНОПКИ */
/* ============================================= */

.btn,
.bbcodes {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    font-size: .94em;
    border-radius: 8px;
    outline: none;
    color: #fff !important;
    padding: .59em 1.48em;
    text-decoration: none !important;
    box-shadow: 0 1px .148em 0 rgba(0, 0, 0, 0.14);
    background: var(--gold-gradient);
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.btn:hover,
.bbcodes:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.btn:active,
.bbcodes:active,
.ui-button:active {
    transform: scale(0.98);
}

.btn > .icon {
    fill: #fff;
}

.btn_white,
.btn_white:hover {
    color: var(--text-primary) !important;
    background-color: var(--bg-input);
}

.btn_white:hover {
    border-color: var(--gold) !important;
}

.btn_white:active {
    background: var(--bg-card-hover);
}

.btn_border {
    background: none;
    color: var(--text-primary) !important;
    box-shadow: inset 0 0 0 1px var(--border-color);
}

.btn_border:hover {
    background: none;
    color: var(--gold) !important;
    box-shadow: inset 0 0 0 1px var(--gold);
}

.btn_border:active {
    background: var(--bg-card-hover);
}

.bbcodes.cancelchanges {
    background-color: var(--text-muted);
}

.bbcodes.cancelchanges:hover,
.bbcodes.cancelchanges:active {
    background-color: var(--text-muted);
    opacity: 0.8;
}

.mediaupload-col3 button {
    font-size: 13px;
}

.tox .tox-dialog__header {
    background: var(--gold-gradient) !important;
    border-bottom: 1px solid var(--gold) !important;
}

/* ============================================= */
/* ТАБЛИЦЫ XFIELDS */
/* ============================================= */

table.xfields {
    width: 100%;
}

.xfields textarea,
.xprofile textarea {
    width: 100%;
    height: 186px;
    margin-top: 5px;
}

.xfieldsnote {
    color: var(--text-muted);
    font-size: .9em;
}

.xfields_table td {
    vertical-align: top;
}

.xfieldsrow {
    padding-top: 5px;
    clear: both;
}

.xfieldscolleft {
    float: left;
    width: 30%;
    padding-top: 14px;
    color: var(--text-primary);
}

.xfieldscolright {
    float: left;
    width: 70%;
}

.file-box {
    width: 95%;
    max-width: 437px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-input);
    padding: 10px;
    margin-top: 10px;
}

/* ============================================= */
/* ГАЛЕРЕИ ИЗОБРАЖЕНИЙ */
/* ============================================= */

.xfieldimagegallery,
.comments-image-gallery {
    margin: 0;
    padding: 0;
    list-style: none;
    clear: both;
}

.xfieldimagegallery li,
.comments-image-gallery li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.xfieldimagegallery li img,
.comments-image-gallery li img {
    float: left;
    margin-right: 5px;
    border: 5px solid var(--bg-secondary);
    width: 100px;
    height: 100px;
    border-radius: 8px;
    transition: box-shadow 0.5s ease;
}

.xfieldimagegallery li img:hover,
.comments-image-gallery li img:hover {
    box-shadow: var(--box-shadow);
}

/* ============================================= */
/* UPLOADER */
/* ============================================= */

.qq-uploader {
    position: relative;
    width: 100%;
}

.qq-upload-button {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}

.qq-upload-drop-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    max-width: 437px;
    background: var(--danger-bg);
    border: 2px dashed var(--danger-color);
    text-align: center;
    border-radius: 8px;
}

.qq-upload-drop-area span {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -8px;
    font-size: 16px;
    color: var(--text-secondary);
}

.qq-upload-drop-area-active {
    background: var(--danger-bg);
    border-color: var(--gold);
}

.qq-upload-file {
    margin-left: .555em;
    margin-right: .555em;
}

.sortable-ghost {
    opacity: 0.4;
}

/* ============================================= */
/* ПРОГРЕСС-БАРЫ */
/* ============================================= */

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.progress {
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--bg-input);
    height: 10px;
    border-radius: 8px;
    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: 12px;
    line-height: 20px;
    color: white;
    text-align: center;
    background: var(--gold-gradient);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: width 0.6s ease;
    transition: width 0.6s ease;
    border-radius: 8px;
    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: -webkit-gradient(linear, left 0%, left 100%, from(#9bcff5), to(#6db9f0));
    background-image: -webkit-linear-gradient(top, #9bcff5, 0%, #6db9f0, 100%);
    background-image: -moz-linear-gradient(top, #9bcff5 0%, #6db9f0 100%);
    background-image: linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);
    background-repeat: repeat-x;
    border: 1px solid #55aeee;
}

/* ============================================= */
/* EMOJI */
/* ============================================= */

.emoji {
    border: none;
    vertical-align: bottom;
}

span.emoji {
    margin-left: 0.313rem;
    margin-right: 0.313rem;
}

.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.2em;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
    line-height: 1;
}

/* ============================================= */
/* РЕДАКТОРЫ */
/* ============================================= */

.wseditor {
    border-top: 5px solid var(--gold);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.wseditor .tox-tinymce {
    border-top: none;
}

.mobilewseditor .tox:not(.tox-tinymce-inline) .tox-editor-header {
    border-bottom: none;
}

#dlefastreplycomments .wseditor {
    margin-bottom: 10px;
}

.dlecomments-editor .tox .tox-toolbar__primary,
.dlefastedit-editor .tox .tox-toolbar__primary {
    border-top: 0;
    box-shadow: none;
}

/* ============================================= */
/* MCE-ЭЛЕМЕНТЫ */
/* ============================================= */

.mce-toc {
    border: 1px solid var(--border-color);
    margin: 0 0 .7rem 0;
    border-radius: 8px;
}

.mce-toc h2 {
    margin: 4px;
    color: var(--text-primary);
}

.mce-toc ul {
    padding-left: 20px;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.mce-toc ul ul {
    padding-left: 20px;
    margin-block-start: 0;
    margin-block-end: 0;
}

.mce-toc li {
    list-style-type: none;
}

.image-bordered {
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.image-shadows {
    box-shadow: var(--box-shadow);
}

.image-padded {
    padding: 0.5rem;
}

.comments-user-profile {
    font-weight: bold;
    cursor: pointer;
    color: var(--gold);
}

.mce-accordion summary {
    cursor: pointer;
}

/* ============================================= */
/* КНОПКА САМОУДАЛЕНИЯ */
/* ============================================= */

.self_delete_link {
    border: 0 none;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 8px;
    margin-left: 15px;
    outline: none;
    background-color: var(--danger-color);
    color: #fff;
    text-decoration: none !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    transition: all ease .1s;
}

.self_delete_link:hover {
    opacity: 0.85;
}

/* ============================================= */
/* ПОЛЯ КОММЕНТАРИЕВ */
/* ============================================= */

input[type="text"].comments_author_field {
    width: 100%;
    margin-bottom: 10px;
}

.user_fields .xfieldscolright {
    float: none;
    width: auto;
}

.user_fields .form-check-input {
    margin: 0.375rem 0.625rem 0 0;
}

/* ============================================= */
/* DLE PUSH УВЕДОМЛЕНИЯ */
/* ============================================= */

.DLEPush {
    z-index: 2001;
    position: fixed;
    right: 1.389em;
    top: 1.389em;
}

@keyframes DLEPush-show {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.DLEPush-notification.wrapper {
    animation-name: DLEPush-show;
    animation-duration: 1s;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    color: var(--text-primary);
    margin-bottom: .694em;
    width: 100%;
    max-width: 27.78em;
    box-shadow: var(--box-shadow);
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.DLEPush-notification .DLEPush-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 3.125em;
    height: 100%;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
    width: 1.78em;
    height: 1.78em;
}

.DLEPush-notification .DLEPush-header {
    font-weight: 500;
    grid-column: 2;
    grid-row: 1;
    font-size: var(--font-size-lg);
    margin-left: 1em;
    margin-top: .5em;
}

.DLEPush-notification .DLEPush-header:empty {
    margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
    grid-column: 2;
    grid-row: 2;
    font-size: var(--font-size-sm);
    margin: 1.163em;
}

.DLEPush-notification .DLEPush-message li,
.DLEPush-notification .DLEPush-message ul {
    list-style-type: none;
    padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-weight: 300;
    background: none;
    border: 0;
    font-size: calc(var(--font-size-lg) * 1.15);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: var(--text-muted);
    outline: 0;
    opacity: 0.75;
}

@media only screen and (min-width: 601px) {
    .DLEPush-notification.wrapper {
        min-width: 27.78em;
    }
}

@media only screen and (max-width: 600px) {
    .xfieldscolleft {
        float: none;
        width: 100%;
    }
    .xfieldscolright {
        float: none;
        width: 100%;
    }
}

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

.DLEPush-notification.wrapper.push-success {
    background-color: var(--success-bg);
    border-color: var(--success-color);
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
    background-color: var(--success-color);
}

.DLEPush-notification.wrapper.push-warning {
    background-color: rgba(255, 152, 0, 0.1);
    border-color: #FF9800;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
    background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
    background-color: var(--danger-bg);
    border-color: var(--danger-color);
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
    background-color: var(--danger-color);
}

/* ============================================= */
/* РАЗНОЕ */
/* ============================================= */

.quote_link {
    float: right;
}

.quote_link svg {
    color: var(--text-muted);
    vertical-align: middle;
}

.clipboard-copy-link svg {
    color: var(--text-muted);
    vertical-align: middle;
    margin-top: -3px;
}

select#category {
    max-width: 24.31em !important;
    height: 9.72em !important;
}

.smart-captcha {
    display: inline-block;
}

.mathml-container {
    font-family: math;
}

div.mathml-block {
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .139em .35em;
}

div.mathml-block .katex {
    font-size: 1.1em;
}

span.mathml-inline {
    display: inline-block;
    vertical-align: middle;
    margin: 0 .12em;
}

.dleshowhidden {
    color: var(--gold);
    background-color: var(--bg-input);
    border: 1px solid var(--gold);
    box-shadow: var(--box-shadow);
    padding: .83em;
    border-radius: 8px;
}

.title_spoiler svg {
    vertical-align: middle;
    margin-top: -.28em;
    margin-right: .47em;
    height: 1.11em;
    width: 1.11em;
}

.social-list-item,
.ignore-list-item,
#pmlist_doaction {
    margin-right: .5em;
}

.monthselect-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
}

.monthselect-title {
    display: inline-block;
}

.dlepopupnewsedit .wseditor {
    border-top: none;
}

textarea.ajaxwysiwygeditor,
textarea.wysiwygeditor,
.dleaddcomments-editor.wseditor textarea {
    visibility: hidden;
}

textarea.ajaxwysiwygeditor,
.dleaddcomments-editor.wseditor textarea {
    height: 260px;
}

/* ============================================= */
/* СВЕТЛАЯ ТЕМА - КОРРЕКТИРОВКИ */
/* ============================================= */

[data-theme="light"] .ui-dialog {
    background-color: #ffffff;
}

[data-theme="light"] .ui-menu {
    background: #ffffff;
}

[data-theme="light"] #dropmenudiv {
    background-color: #ffffff;
}

[data-theme="light"] #searchsuggestions {
    background: #ffffff;
}

[data-theme="light"] .c-capcha img {
    background: #fcfcfc;
}

[data-theme="light"] .file-box {
    background-color: #f5f5f5;
}

[data-theme="light"] .DLEPush-notification.wrapper {
    background-color: #ffffff;
}

[data-theme="light"] .xfieldimagegallery li img,
[data-theme="light"] .comments-image-gallery li img {
    border-color: #ffffff;
}