.lds-roller {
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: auto;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login-popup__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 5px;
    margin-bottom: 16px;
}

.login-popup__stats .login-popup__stat {
    margin-bottom: 0;
}

.login-popup__top-link {
    gap: 0 4px;
    font-size: 13px;
    font-weight: 600;
}

.login-popup__top-link svg {
    fill: var(--secondary-color);
}

.login-popup__top-link--notice svg {
    fill: var(--orange-color-3);
}

.login-popup .login-popup__top-links {
    width: fit-content;
    margin-left: auto;
}

.login-popup__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.login-popup__notifications.is-empty .simplebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
}

.login-popup__notifications-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    margin: 0;
    padding: 16px 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    width: 100%;
    text-align: center;
    color: var(--text-color-3);
}

.login-popup__notifications-empty[hidden] {
    display: none;
}

.login-popup__top-all-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid var(--gray-color-5);
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.login-popup__top-all-message:hover {
    border-color: var(--blue-color);
    background-color: var(--blue-color);
    color: var(--white-color);
}

.login-popup__top-all-message.is-on {
    border-color: var(--blue-color);
    background-color: var(--blue-color);
    color: var(--white-color);
}

.login-popup__top-all-message.is-on:hover {
    border-color: var(--primary-hover-color);
    background-color: var(--primary-hover-color);
}

.login-popup__top-all-message[hidden] {
    display: none;
}

.login-popup__push-icon {
    display: block;
    flex: 0 0 auto;
}

.login-popup__push-icon--on {
    display: none;
}

.login-popup__top-all-message.is-on .login-popup__push-icon--off {
    display: none;
}

.login-popup__top-all-message.is-on .login-popup__push-icon--on {
    display: block;
}

.comment__more-tooltip {
    position: relative;
    z-index: 3;
}

.comment__more-tooltip .tippy-box {
    position: absolute;
    right: 100%;
    transform: translate(50%, 12px);
    padding: 4px 0;
}

.gm-control-admin {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: column;
}

.news-edit-mobile {
    margin-bottom: 16px;
}

.gm-btn {
    height: 44px;
    display: grid;
    place-content: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    transition: var(--t-base);
}

.gm-btn:hover {
    color: var(--white-color);
    opacity: 0.9;
}

.gm-btn--settings:hover {
    background-color: var(--secondary-color);
}

.gm-btn--delete:hover {
    background-color: var(--red-color);
}

.gm-control-admin .gm-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.gm-control-admin .gm-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.gm-btn svg {
    display: block;
}

.gm-btn svg:not([stroke]) {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* === BULK DELETE COMMENTS FEATURE START - 2025-11-26 === */

.comments__bulk-actions {
    position: fixed;
    bottom: 160px;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

[data-theme="dark"] .comments__bulk-actions {
    background: var(--black-a80);
}

.comments__bulk-count {
    font-weight: 600;
    font-size: 14px;
}

.button--danger {
    background-color: var(--red-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t-base);
}

.button--danger:hover {
    opacity: 0.8;
    color: var(--white-color);
}

/* === BULK DELETE COMMENTS FEATURE END - 2025-11-26 === */

/* === NEWS GALLERY: justified rows + tighter spacing (2026-07-24) === */
/* Отступы вокруг галереи в статье (было 60px).
   Ширину фиксируем, чтобы раскладка галереи совпадала с «Предпросмотром
   галереи» в редакторе (у редактора нет доступа к резиновой ширине статьи). */
.content-row__gallery { margin: 24px 0; max-width: 740px; }
/* Нижняя галерея обзора на ширину колонки текста: ячейки те же ~200px, влезает 4 в ряд. */
.content-row__gallery--wide { max-width: none; width: 100%; }
@media (max-width: 768px) {
    .content-row__gallery { margin: 16px 0; }
}
/* Отступы у картинок-фигур в теле (было 52px) */
.figure-row { margin: 28px 0; }

/* Одинаковые кадры галереи. Размеры ячеек ставит gallery-justified.js. */
.content-row__gallery .gallery-grid__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Телефон: два квадрата в ряд на всю колонку. Нечётное последнее — на всю ширину. */
@media (max-width: 768px) {
    .news-gallery-block {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1.4em 0 !important;
    }

    .content-row__gallery .gallery-grid__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        justify-content: stretch;
    }

    .content-row__gallery .gallery-grid__item {
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        aspect-ratio: 1;
        flex: none !important;
    }

    .content-row__gallery .gallery-grid__item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
}

/* === ARTICLE QUOTES: плотная карточка, полоса слева и серая кавычка === */
.content-row__content blockquote,
.comment__desc .comment__desc-item blockquote,
.text-editor .ql-editor blockquote,
.text-editor .ql-editor .comment__editor-quote {
    position: relative;
    margin: 0 0 20px;
    padding: 16px 22px 16px 72px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #f2f4f8;
    box-shadow: none;
    font-style: italic;
    font-weight: 500;
    font-size: inherit;
    line-height: 1.55;
    text-transform: none;
    color: #2c3340;
}
.content-row__content blockquote::before,
.comment__desc .comment__desc-item blockquote::before,
.text-editor .ql-editor blockquote::before,
.text-editor .ql-editor .comment__editor-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 14px 0 0 14px;
    background: #aeb6c9;
    pointer-events: none;
}
.content-row__content blockquote::after,
.comment__desc .comment__desc-item blockquote::after,
.text-editor .ql-editor blockquote::after,
.text-editor .ql-editor .comment__editor-quote::after {
    content: "\201C";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-54%);
    font-family: Georgia, "Times New Roman", serif;
    font-style: normal;
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    color: #8e96a8;
    pointer-events: none;
}
[data-theme="dark"] .content-row__content blockquote,
[data-theme="dark"] .comment__desc .comment__desc-item blockquote,
[data-theme="dark"] .text-editor .ql-editor blockquote,
[data-theme="dark"] .text-editor .ql-editor .comment__editor-quote {
    background: #2c3348;
    color: #eceef3;
}
[data-theme="dark"] .content-row__content blockquote::before,
[data-theme="dark"] .comment__desc .comment__desc-item blockquote::before,
[data-theme="dark"] .text-editor .ql-editor blockquote::before,
[data-theme="dark"] .text-editor .ql-editor .comment__editor-quote::before {
    background: #9aa3c2;
}
[data-theme="dark"] .content-row__content blockquote::after,
[data-theme="dark"] .comment__desc .comment__desc-item blockquote::after,
[data-theme="dark"] .text-editor .ql-editor blockquote::after,
[data-theme="dark"] .text-editor .ql-editor .comment__editor-quote::after {
    color: #b4b8c9;
}
.content-row__content blockquote p,
.comment__desc .comment__desc-item blockquote p,
.text-editor .ql-editor blockquote p,
.text-editor .ql-editor .comment__editor-quote p {
    margin-top: 0;
    margin-bottom: 8px;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    line-height: inherit;
}
.content-row__content blockquote p:last-of-type,
.comment__desc .comment__desc-item blockquote p:last-of-type,
.text-editor .ql-editor blockquote p:last-of-type,
.text-editor .ql-editor .comment__editor-quote p:last-of-type { margin-bottom: 0; }
/* Убираем крупную первую букву (drop-cap) внутри цитат */
.content-row__content blockquote p:first-of-type::first-letter,
.comment__desc .comment__desc-item blockquote p:first-of-type::first-letter,
.text-editor .ql-editor blockquote p:first-of-type::first-letter,
.text-editor .ql-editor .comment__editor-quote p:first-of-type::first-letter {
    -webkit-initial-letter: normal;
    initial-letter: normal;
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin-right: 0;
    font-weight: inherit;
}

/* Цитата в комментарии плотнее новостной: кавычка сверху, имя голубое, вложенная цитата другим слоем. */
.comment__desc .comment__desc-item blockquote,
.text-editor .ql-editor blockquote,
.text-editor .ql-editor .comment__editor-quote {
    margin: 0 0 8px;
    padding: 8px 12px 8px 40px;
    background: rgba(174, 182, 201, 0.28);
    color: inherit;
    font-size: 13px;
    font-style: normal;
    font-weight: inherit;
    line-height: 1.45;
    white-space: normal;
}
@media (width < 768px) {
    .comment__desc .comment__desc-item blockquote,
    .text-editor .ql-editor blockquote,
    .text-editor .ql-editor .comment__editor-quote {
        font-size: 12px;
    }
}
.comment__desc .comment__desc-item blockquote::after,
.text-editor .ql-editor blockquote::after,
.text-editor .ql-editor .comment__editor-quote::after {
    left: 12px;
    top: 4px;
    transform: none;
    font-size: 32px;
    line-height: 1;
}
.comment__desc .comment__desc-item blockquote p,
.comment__desc .comment__desc-item blockquote .comment__desc-item,
.text-editor .ql-editor blockquote p,
.text-editor .ql-editor .comment__editor-quote p,
.text-editor .ql-editor .comment__editor-quote .comment__desc-item {
    margin: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-style: normal;
    font-weight: inherit;
    line-height: inherit;
    white-space: normal;
}
.comment__desc .comment__desc-item blockquote a,
.text-editor .ql-editor .comment__editor-quote a,
.text-editor .ql-editor blockquote a {
    font-style: normal;
    text-decoration: none;
    background: none;
}
.comment__desc .comment__desc-item blockquote .comment__quote-author,
.text-editor .ql-editor blockquote .comment__quote-author,
.text-editor .ql-editor .comment__editor-quote .comment__quote-author {
    color: var(--red-color);
    font-style: normal;
    font-weight: inherit;
}
.comment__desc .comment__desc-item blockquote blockquote,
.text-editor .ql-editor .comment__editor-quote blockquote,
.text-editor .ql-editor blockquote blockquote {
    margin: 6px 0 0;
    background: rgba(255, 255, 255, 0.62);
}
[data-theme="dark"] .comment__desc .comment__desc-item blockquote,
[data-theme="dark"] .text-editor .ql-editor blockquote,
[data-theme="dark"] .text-editor .ql-editor .comment__editor-quote {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
}
[data-theme="dark"] .comment__desc .comment__desc-item blockquote blockquote,
[data-theme="dark"] .text-editor .ql-editor .comment__editor-quote blockquote,
[data-theme="dark"] .text-editor .ql-editor blockquote blockquote {
    background: rgba(0, 0, 0, 0.28);
}

/* Списки в тексте новости: маркеры и вложенные отступы. Без класса, чтобы не задеть галерею и меню. */
.content-row__content ul:not([class]),
.content-row__content ol:not([class]) {
    margin: 0 0 1em;
    padding-left: 1.5em;
}
.content-row__content ul:not([class]) {
    list-style: disc outside;
}
.content-row__content ol:not([class]) {
    list-style: decimal outside;
}
.content-row__content ul:not([class]) ul {
    list-style: circle outside;
    margin-bottom: 0;
}
.content-row__content ul:not([class]) ul ul {
    list-style: square outside;
}
.content-row__content ol:not([class]) ol {
    list-style: lower-alpha outside;
    margin-bottom: 0;
}
.content-row__content ul:not([class]) > li + li,
.content-row__content ol:not([class]) > li + li {
    margin-top: 0.25em;
}
.content-row__content li > ul:not([class]),
.content-row__content li > ol:not([class]) {
    margin-top: 0.25em;
    margin-bottom: 0;
}

/* === DARK THEME: подпись «эмоций нет» не должна быть чёрной на тёмном фоне === */
[data-theme="dark"] .overview__emotions {
    color: rgba(255, 255, 255, .7);
}

/* Editor two-column layout: left column holds the text editor. */
.editor-page .section__header {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.editor-page .section__header-right {
    flex-shrink: 0;
    margin-left: auto;
}
@media (width < 768px) {
    .editor-page .section__header {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .editor-page .section__title {
        flex: 1 1 100%;
        min-width: 0;
    }
    .editor-page .section__header-right {
        flex: 1 1 100%;
        margin-left: 0;
    }
}
.editor-form__link {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}
.editor-form__link:hover {
    color: var(--primary-hover-color);
}
.editor-form__slug {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
}
.editor-form__slug .form-control {
    flex: 1 1 220px;
    min-width: 0;
}
.editor-form .editor-form__slug-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    background-color: transparent;
    border: 1px solid var(--border-1);
    color: var(--text-color-3);
}
.editor-form .editor-form__slug-btn:hover,
.editor-form .editor-form__slug-btn:focus {
    background-color: var(--background-color-12);
    border-color: var(--primary-hover-color);
    color: var(--text-color-3);
}
.editor-form__layout {
    --editor-article-width: 880px;
    display: grid;
    grid-template-columns: minmax(0, var(--editor-article-width)) minmax(280px, 1fr);
    gap: 8px 32px;
    align-items: start;
    margin-bottom: 24px;
}
.editor-form__main,
.editor-form__side {
    min-width: 0;
}
.editor-form__side .editor-form__section-title:not(:first-child) {
    margin-top: 24px;
}
@media (width < 1200px) {
    .editor-form__layout {
        grid-template-columns: 1fr;
    }
}

.editor-form input[type='file'] {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-color-3);
    background-color: var(--background-color-12);
    border: 1px dashed var(--border-1);
    border-radius: 5px;
    cursor: pointer;
}
.editor-form input[type='file']::file-selector-button,
.editor-form input[type='file']::-webkit-file-upload-button {
    display: inline-flex;
    align-items: center;
    height: 36px;
    margin-right: 12px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    color: var(--white-color);
    background-color: var(--blue-color);
    cursor: pointer;
}

.editor-form__media {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid var(--border-1);
    border-radius: 10px;
    background-color: var(--background-color-11);
}

.editor-form__thumb,
.editor-form__thumb--square {
    display: block;
    max-width: 100%;
    max-height: none;
    height: auto;
    border: 1px solid var(--border-1);
    border-radius: 8px;
    object-fit: cover;
}

.editor-form .input-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}
.editor-form .input-group > .form-control {
    display: block;
    width: 1%;
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    border-radius: 0 5px 5px 0;
}
.editor-form .input-group-btn {
    display: flex;
    flex: 0 0 auto;
}
.editor-form .input-group-addon,
.editor-form .input-group-text,
.editor-form .kv-datetime-picker,
.editor-form .datetime-now-btn,
.editor-form .input-group-btn .btn,
.editor-form .input-group > .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--border-1);
    border-right: 0;
    border-radius: 0;
    background-color: var(--background-color-12);
    color: var(--text-color-3);
    cursor: pointer;
    white-space: nowrap;
}
.editor-form .input-group > :first-child,
.editor-form .input-group-btn:first-child .btn:first-child {
    border-radius: 5px 0 0 5px;
}
.editor-form .input-group-prepend {
    display: flex;
}

.editor-form .glyphicon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
}
.editor-form .glyphicon::before {
    display: block;
    width: 16px;
    height: 16px;
    content: '';
    background-color: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}
.editor-form .glyphicon-time::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 11h-5V7h2v4h3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 11h-5V7h2v4h3z'/%3E%3C/svg%3E");
}
.editor-form .glyphicon-calendar::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm13 8H4v10h16V10z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm13 8H4v10h16V10z'/%3E%3C/svg%3E");
}
.editor-form .glyphicon-plus::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6z'/%3E%3C/svg%3E");
}
.editor-form .glyphicon-pencil::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z'/%3E%3C/svg%3E");
}
.editor-form .glyphicon-trash::before,
.editor-form .glyphicon-remove::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 7h12l-1 14H7L6 7zm3-3h6l1 2H8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 7h12l-1 14H7L6 7zm3-3h6l1 2H8z'/%3E%3C/svg%3E");
}
.editor-form .glyphicon-repeat::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 6V2L7 7l5 5V8a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 6V2L7 7l5 5V8a6 6 0 1 1-6 6H4a8 8 0 1 0 8-8z'/%3E%3C/svg%3E");
}

.editor-form .fileinput-button,
.editor-form .btn-file {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.editor-form .fileinput-button input[type='file'],
.editor-form .btn-file input[type='file'] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    border: 0;
    background: none;
}

.editor-form .btn-xs,
.editor-form .btn-sm {
    min-height: 32px;
    padding: 4px 12px;
    font-size: 13px;
}
.editor-form .btn-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.editor-form .btn-group {
    display: inline-flex;
    gap: 4px;
}

.editor-form .bootstrap-datetimepicker-widget,
.bootstrap-datetimepicker-widget {
    z-index: 30;
    padding: 8px;
    background: var(--background-color-4);
    border: 1px solid var(--border-1);
    border-radius: 8px;
    box-shadow: var(--box-shadow-1);
}
.editor-form .bootstrap-datetimepicker-widget table,
.bootstrap-datetimepicker-widget table {
    width: 100%;
}
.editor-form .bootstrap-datetimepicker-widget table td,
.editor-form .bootstrap-datetimepicker-widget table th,
.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th {
    padding: 6px 8px;
    text-align: center;
}
.editor-form .bootstrap-datetimepicker-widget table td.day,
.bootstrap-datetimepicker-widget table td.day {
    cursor: pointer;
    border-radius: 4px;
}
.editor-form .bootstrap-datetimepicker-widget table td.day:hover,
.editor-form .bootstrap-datetimepicker-widget table td.active,
.editor-form .bootstrap-datetimepicker-widget table td.active:hover,
.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: var(--blue-color);
    color: var(--white-color);
}

.moderator-panel__dates {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 12px;
    margin-bottom: 8px;
}
.moderator-panel__flags {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 12px;
}
@media (width < 768px) {
    .moderator-panel__dates {
        grid-template-columns: 1fr;
    }
    .moderator-panel__flags {
        grid-template-columns: 1fr 1fr;
    }
}

