.nxx-title-translation-heading {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    direction: rtl;
}

.nxx-title-translation-toggle {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 22px;
    order: 1;
    margin: 0 2px;
    padding: 1px 3px;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #f4c84b !important;
    cursor: pointer;
    font: 700 10px/1.2 system-ui, sans-serif;
    text-decoration: none;
    vertical-align: middle;
    white-space: nowrap;
}

.nxx-title-translation-toggle:hover,
.nxx-title-translation-toggle:focus-visible {
    border-bottom-color: #f4c84b;
    color: #ffe078 !important;
    outline: 0;
}

.nxx-title-translation-toggle svg {
    display: block;
    flex: 0 0 auto;
}

.nxx-title-translation-toggle__text {
    color: inherit !important;
}

.nxx-title-translation-title-text {
    order: 0;
    display: inline;
    color: #e1dfdf !important;
    font-weight: 800 !important;
    unicode-bidi: isolate;
}

.nxx-title-translation-heading .episode-info-card__episode {
    order: 2;
}

@media (max-width: 600px) {
    .nxx-title-translation-toggle {
        min-height: 24px;
        margin-inline: 2px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nxx-title-translation-toggle {
        transition: none;
    }
}
