.lord-reactions {
    /* The episode selector has its own bottom padding. Pull reactions into
       that reserved space so they sit directly below the player. */
    margin: -5px 0 15px;
}

.lord-reactions-shell {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 38px;
}

.lord-reactions-list,
.lord-reactions-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.lord-reactions-chip,
.lord-reactions-more,
.lord-reactions-add,
.lord-reactions-picker button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: #f3f3f3;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

.lord-reactions-chip {
    min-height: 37px;
    gap: 7px;
    padding: 6px 12px 6px 9px;
}

.lord-reactions-more {
    min-height: 37px;
    padding: 6px 12px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.lord-reactions-chip:hover,
.lord-reactions-more:hover,
.lord-reactions-add:hover,
.lord-reactions-picker button:hover {
    border-color: rgba(255, 204, 0, .72);
    background: rgba(255, 204, 0, .1);
    transform: translateY(-1px);
}

.lord-reactions-chip.is-selected,
.lord-reactions-picker button.is-selected {
    border-color: rgba(255, 204, 0, .85);
    background: rgba(255, 204, 0, .16);
    color: #fff4c0;
}

.lord-reactions-chip:focus-visible,
.lord-reactions-more:focus-visible,
.lord-reactions-add:focus-visible,
.lord-reactions-picker button:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

.lord-reactions-chip:disabled,
.lord-reactions-more:disabled,
.lord-reactions-add:disabled,
.lord-reactions-picker button:disabled {
    cursor: default;
    opacity: .65;
    transform: none;
}

.lord-reactions-emoji,
.lord-reactions-image,
.lord-reactions-tgs {
    display: block;
    width: 24px;
    height: 24px;
    font-size: 20px;
    line-height: 24px;
    object-fit: contain;
    transition: transform .16s ease;
}

.lord-reactions-tgs {
    position: relative;
    overflow: hidden;
    color: currentColor;
    text-align: center;
}

.lord-reactions-tgs canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.lord-reactions-count {
    min-width: 1ch;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lord-reactions-add {
    position: relative;
    width: 40px;
    min-width: 40px;
    height: 37px;
    padding: 0;
    border: 0;
    background: #222326;
    color: #aaacb2;
    box-shadow: none;
}

.lord-reactions-add:hover {
    border: 0;
    background: #2c2d31;
    color: #d2d4d8;
    transform: none;
}

.lord-reactions-add-icon {
    display: block;
    width: 24px;
    height: 24px;
    overflow: visible;
}

.lord-reactions-add:hover .lord-reactions-add-icon {
    transform: none;
}

.lord-reactions-picker {
    position: absolute;
    z-index: 25;
    display: block;
    bottom: calc(100% + 10px);
    left: 0;
    width: 370px;
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: #252629;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .48);
}

.lord-reactions-picker[hidden] {
    display: none;
}

.lord-reactions-picker-exclusive,
.lord-reactions-picker-classic {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.lord-reactions-picker-exclusive {
    min-height: 50px;
    padding: 0 3px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.lord-reactions-picker-classic {
    min-height: 50px;
    margin: 8px 0 0;
    padding: 4px;
    border-radius: 16px;
    background: #303135;
}

.lord-reactions-picker-exclusive::-webkit-scrollbar,
.lord-reactions-picker-classic::-webkit-scrollbar {
    display: none;
}

.lord-reactions-picker .lord-reactions-picker-group {
    position: relative;
    flex: 0 0 auto;
    width: 42px;
    min-width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #f3f3f3;
}

.lord-reactions-picker .lord-reactions-picker-group--exclusive {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
}

.lord-reactions-picker .lord-reactions-picker-group:hover,
.lord-reactions-picker .lord-reactions-picker-group:focus-visible,
.lord-reactions-picker .lord-reactions-picker-group.is-active {
    border-color: rgba(255, 204, 0, .48);
    background: rgba(255, 204, 0, .14);
    color: #fff4c0;
    outline: none;
    transform: none;
}

.lord-reactions-picker .lord-reactions-picker-group--exclusive.is-active {
    box-shadow: inset 0 0 0 1px rgba(255, 204, 0, .12);
}

.lord-reactions-picker .lord-reactions-picker-group .lord-reactions-emoji,
.lord-reactions-picker .lord-reactions-picker-group .lord-reactions-image,
.lord-reactions-picker .lord-reactions-picker-group .lord-reactions-tgs {
    width: 28px;
    height: 28px;
    font-size: 26px;
    line-height: 28px;
}

.lord-reactions-picker .lord-reactions-picker-group--exclusive .lord-reactions-emoji,
.lord-reactions-picker .lord-reactions-picker-group--exclusive .lord-reactions-image,
.lord-reactions-picker .lord-reactions-picker-group--exclusive .lord-reactions-tgs {
    width: 32px;
    height: 32px;
    font-size: 30px;
    line-height: 32px;
}

.lord-reactions-picker-group-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lord-reactions-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    /* Four full rows plus a restrained glimpse of the fifth row as a scroll cue. */
    max-height: min(247px, calc(100dvh - 186px));
    margin-top: 8px;
    padding: 3px 5px 4px 2px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(255, 255, 255, .25) transparent;
    scrollbar-width: thin;
    touch-action: pan-y;
}

.lord-reactions-picker-grid::-webkit-scrollbar {
    width: 6px;
}

.lord-reactions-picker-grid::-webkit-scrollbar-thumb {
    border: 2px solid #252629;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
}

.lord-reactions-picker-grid > button {
    width: 100%;
    height: 48px;
    border-color: transparent;
    border-radius: 12px;
    background: transparent;
    padding: 0;
}

.lord-reactions-picker-grid > button:hover,
.lord-reactions-picker-grid > button.is-selected {
    border-color: rgba(255, 204, 0, .35);
    background: rgba(255, 204, 0, .1);
}

.lord-reactions-picker .lord-reactions-emoji,
.lord-reactions-picker .lord-reactions-image,
.lord-reactions-picker .lord-reactions-tgs {
    width: 29px;
    height: 29px;
    font-size: 27px;
    line-height: 29px;
}

.lord-reactions-picker button:hover .lord-reactions-emoji,
.lord-reactions-picker button:hover .lord-reactions-image,
.lord-reactions-picker button:hover .lord-reactions-tgs {
    transform: scale(1.1) translateY(-1px);
}

.lord-reactions-picker .lord-reactions-picker-group:hover .lord-reactions-emoji,
.lord-reactions-picker .lord-reactions-picker-group:hover .lord-reactions-image,
.lord-reactions-picker .lord-reactions-picker-group:hover .lord-reactions-tgs {
    transform: none;
}

.lord-reactions-picker-empty {
    grid-column: 1 / -1;
    margin: 8px 2px;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

.lord-reactions-picker::after {
    position: absolute;
    bottom: -6px;
    left: 17px;
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: #252629;
    content: '';
    transform: rotate(45deg);
}

.lord-reactions-picker.is-below {
    top: calc(100% + 10px);
    bottom: auto;
}

.lord-reactions-picker.is-below::after {
    top: -6px;
    bottom: auto;
    transform: rotate(225deg);
}

.lord-reactions-access-note {
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
}

.lord-reactions-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 560px) {
    .lord-reactions-shell {
        gap: 7px;
    }

    .lord-reactions-chip {
        min-height: 36px;
        padding-right: 11px;
    }

    .lord-reactions-more {
        min-height: 36px;
        padding-right: 11px;
        padding-left: 11px;
    }

    .lord-reactions-picker {
        max-width: calc(100vw - 24px);
        width: min(370px, calc(100vw - 24px));
    }

    .lord-reactions-picker-grid {
        gap: 6px;
    }
}

@media (max-width: 420px) {
    .lord-reactions-picker-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-height: min(247px, calc(100dvh - 180px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lord-reactions-chip,
    .lord-reactions-more,
    .lord-reactions-add,
    .lord-reactions-picker button {
        transition: none;
    }
}

/* Native DLE story actions: vote, comments, bookmark and views. */
.fhd-news-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 22px 0 10px;
    padding-top: 8px;
    color: rgba(255, 255, 255, .68);
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.stream-episode-page > .fhd-news-actions,
.article > .clone-player + .fhd-news-actions {
    margin-top: -5px;
}

.fhd-news-actions-rating {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 37px;
    min-height: 37px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 19px;
    background: #252629;
}

.fhd-news-actions a {
    color: inherit;
    text-decoration: none;
}

.fhd-news-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 37px;
    height: 37px;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 19px;
    background: #252629;
    color: rgba(255, 255, 255, .76);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.fhd-news-action > svg,
.fhd-news-actions-views > svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.fhd-news-action > svg > *,
.fhd-news-actions-views > svg > * {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85px;
}

.fhd-news-actions-rating .fhd-news-action {
    width: 35px;
    min-width: 35px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.fhd-news-action:hover,
.fhd-news-action:focus-visible {
    border-color: rgba(255, 204, 0, .72);
    background: rgba(255, 204, 0, .1);
    color: #fff4c0;
    outline: none;
    transform: translateY(-1px);
}

.fhd-news-actions-rating .fhd-news-action--up:hover,
.fhd-news-actions-rating .fhd-news-action--up:focus-visible {
    background: rgba(82, 217, 127, .13);
    color: #52d97f;
}

.fhd-news-actions-rating .fhd-news-action--down:hover,
.fhd-news-actions-rating .fhd-news-action--down:focus-visible {
    background: rgba(255, 109, 109, .13);
    color: #ff7777;
}

.fhd-news-actions-score {
    min-width: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.fhd-news-actions-score .ratingtypeplusminus {
    color: inherit;
}

.fhd-news-actions-score.is-negative,
.fhd-news-actions-score.is-negative .ratingtypeplusminus {
    color: #ff6d6d;
}

.fhd-news-action--favorite.is-active {
    border-color: rgba(255, 204, 0, .54);
    background: rgba(255, 204, 0, .13);
    color: #ffd24d;
}

.fhd-news-action--favorite.is-guest {
    opacity: .45;
}

.fhd-news-action--favorite.is-guest:hover,
.fhd-news-action--favorite.is-guest:focus-visible {
    opacity: .78;
}

.fhd-news-actions-views {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 7px;
    min-width: 37px;
    height: 37px;
    margin-left: auto;
    min-height: 37px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 19px;
    background: #252629;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.fhd-news-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 620px) {
    .fhd-news-actions {
        gap: 7px;
        min-height: 42px;
        margin: 16px 0 9px;
        padding-top: 7px;
    }

    .stream-episode-page > .fhd-news-actions,
    .article > .clone-player + .fhd-news-actions {
        margin-top: -5px;
    }

    .fhd-news-action {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
    }

    .fhd-news-actions-rating .fhd-news-action {
        width: 34px;
        min-width: 34px;
    }

    .fhd-news-actions-rating,
    .fhd-news-actions-views {
        height: 36px;
        min-height: 36px;
    }

    .fhd-news-actions-score {
        min-width: 23px;
    }

    .fhd-news-actions-views {
        gap: 5px;
        min-width: 36px;
        padding: 0 9px;
        font-size: 13px;
    }

    .fhd-news-actions-views > svg {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fhd-news-action {
        transition: none;
    }
}

/* Story actions, reactions and comments: compact mobile layout and unified dark cards. */
.fhd-news-actions-rating > a {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.fhd-news-actions-rating .fhd-news-action {
    display: flex;
    flex: 0 0 35px;
    align-self: stretch;
}

.fhd-news-actions-rating > a:hover .fhd-news-action--up,
.fhd-news-actions-rating > a:focus-visible .fhd-news-action--up {
    background: rgba(82, 217, 127, .17);
    color: #52d97f;
}

.fhd-news-actions-rating > a:hover .fhd-news-action--down,
.fhd-news-actions-rating > a:focus-visible .fhd-news-action--down {
    background: rgba(255, 109, 109, .17);
    color: #ff7777;
}

.fhd-news-actions-rating > a:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: -2px;
}

.stream-title-page > .fhd-news-actions {
    margin-top: 14px;
}

#dle-comments-list .dle-comment,
#dle-ajax-comments .dle-comment,
.comments-box .dle-comment {
    margin: 0 0 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 12px;
    background: linear-gradient(145deg, #242528, #1d1e21);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

#dle-comments-list .dle-comment:last-child,
#dle-ajax-comments .dle-comment:last-child,
.comments-box .dle-comment:last-child {
    margin-bottom: 0;
}

.dle-comment-news {
    margin: 0 0 8px;
    color: #f5d978;
    font-size: 12px;
    font-weight: 700;
}

.dle-comment-actions a {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: #252629;
    color: rgba(255, 255, 255, .76);
    padding: 6px 10px;
    font-weight: 650;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.dle-comment-actions a:hover,
.dle-comment-actions a:focus-visible {
    border-color: rgba(255, 204, 0, .65);
    background: rgba(255, 204, 0, .10);
    color: #fff4c0;
    outline: none;
    transform: translateY(-1px);
}

.dle-comment-rating-vote a {
    border: 1px solid rgba(255, 255, 255, .13);
    background: #252629;
}

.dle-comment-rating-vote a:first-child:hover,
.dle-comment-rating-vote a:first-child:focus-visible {
    border-color: rgba(82, 217, 127, .66);
    background: rgba(82, 217, 127, .13);
}

.dle-comment-rating-vote a:last-child:hover,
.dle-comment-rating-vote a:last-child:focus-visible {
    border-color: rgba(255, 109, 109, .66);
    background: rgba(255, 109, 109, .13);
}

#dle-comments-form .dle-comm-form-title {
    color: #f3f3f3;
    font-size: 20px;
}

#dle-comments-form .dle-comm-guest input,
#dle-comments-form .dle-comm-check input {
    min-height: 42px;
    border-color: rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: #151619;
}

#dle-comments-form .dle-comm-submit .btn-submit {
    min-height: 42px;
    border: 1px solid rgba(255, 204, 0, .78);
    border-radius: 8px;
    background: #ffcc00;
    color: #171717;
    padding: 0 17px;
    font-weight: 800;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

#dle-comments-form .dle-comm-submit .btn-submit:hover,
#dle-comments-form .dle-comm-submit .btn-submit:focus-visible {
    border-color: #ffe27a;
    background: #ffe07a;
    outline: none;
    transform: translateY(-1px);
}

/* DLE comments: preserve a compact, readable form on the dark theme. */
#dle-comments-form .dle-comm-form {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 12px;
    background: linear-gradient(145deg, #242528, #1b1c1f);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

#dle-comments-form .dle-comm-form-title {
    margin: 0;
}

#dle-comments-form .dle-comm-guest {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#dle-comments-form .dle-comm-check {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
}

#dle-comments-form .dle-comm-captcha > div {
    display: flex;
    flex: 1 1 180px;
    align-items: center;
    gap: 8px;
}

#dle-comments-form .dle-comm-captcha img {
    width: auto;
    max-width: 130px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 7px;
    background: #fff;
}

#dle-comments-form .dle-comm-check input:focus,
#dle-comments-form .dle-comm-guest input:focus,
#dle-comments-form textarea:focus {
    border-color: rgba(255, 204, 0, .72);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .12);
    outline: 0;
}

/* CAPTCHA is mandatory for guests: keep it visible even if the form arrives
   after an AJAX episode switch, before JavaScript gets a chance to enhance it. */
#dle-comments-form .dle-comm-guest ~ .dle-comm-captcha {
    display: flex;
}

@media (max-width: 599px) {
    #dle-comments-form .dle-comm-form {
        padding: 13px;
        border-radius: 10px;
    }

    #dle-comments-form .dle-comm-guest {
        grid-template-columns: 1fr;
    }

    #dle-comments-form .dle-comm-captcha > div {
        flex-basis: 100%;
        flex-wrap: wrap;
    }

    #dle-comments-form .dle-comm-captcha input {
        flex: 1 1 150px;
    }
}

@media (max-width: 599px) {
    .lord-reactions-shell {
        gap: 6px;
    }

    .lord-reactions-list {
        flex-wrap: nowrap;
        gap: 6px;
        min-width: 0;
    }

    .lord-reactions.is-expanded .lord-reactions-list {
        flex-wrap: wrap;
    }

    .lord-reactions-chip {
        min-height: 36px;
        gap: 4px;
        padding: 6px 7px;
    }

    .lord-reactions-chip .lord-reactions-emoji,
    .lord-reactions-chip .lord-reactions-image {
        width: 24px;
        height: 24px;
        font-size: 20px;
        line-height: 24px;
    }

    .lord-reactions-count {
        font-size: 13px;
    }

    .lord-reactions-more {
        min-height: 36px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 13px;
    }

    .lord-reactions-add {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .lord-reactions-add-icon {
        width: 22px;
        height: 22px;
    }

    .fhd-news-actions-rating .fhd-news-action {
        flex-basis: 34px;
        width: 34px;
    }

    #dle-comments-list .dle-comment,
    #dle-ajax-comments .dle-comment,
    .comments-box .dle-comment {
        padding: 13px;
        border-radius: 10px;
    }

    .dle-comment-actions {
        gap: 5px;
    }

    .dle-comment-actions a {
        padding: 6px 9px;
    }
}


/* Keep action rows compact and aligned with their season or series content. */
@media (min-width: 700px) {
    .stream-title-page > .fhd-news-actions {
        min-height: 37px;
        margin: 8px 0 5px;
        padding-top: 0;
        border-top: 0;
    }

    .stream-title-page > .lord-reactions {
        margin: 0;
    }

    .stream-title-page > .stream-section-title {
        padding-top: 24px;
    }

    .stream-season-interactions .fhd-news-actions {
        min-height: 37px;
    }
}

/* Keep season interactions outside the episode grid on every viewport. */
.stream-season-interactions {
    padding-top: 8px;
    padding-bottom: 12px;
    background: #0c0c0c;
}

.stream-season-interactions .fhd-news-actions {
    margin: 0 0 5px;
    padding-top: 0;
    border-top: 0;
}

.stream-season-interactions .lord-reactions {
    margin: 0;
}

/* The comments form remains lightweight until the visitor starts typing.
   The visual DLE editor is loaded asynchronously from that interaction. */
#dle-comments-form .bb-editor textarea {
    display: block;
    width: 100% !important;
    min-height: 168px;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: #17181c;
    color: #f3f3f3;
    resize: vertical;
}

#dle-comments-form .bb-editor textarea:focus {
    border-color: rgba(255, 204, 0, .72);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .12);
    outline: 0;
}

/* The native editor is activated on demand. Keep its dark skin visually
   connected with the comment card instead of falling back to TinyMCE white. */
#dle-comments-form .tox.tox-tinymce {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}

#dle-comments-form .tox .tox-editor-header {
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    box-shadow: none;
}

#dle-comments-form .tox .tox-edit-area__iframe {
    background: #17181c;
}

@media (max-width: 520px) {
    #dle-comments-form .tox .tox-toolbar__primary {
        padding: 4px;
    }
}

#dle-comments-form.fhd-comment-form--editor-loading .bb-editor {
