.dtm-i18n-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dtm-i18n-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    line-height: 1;
    transition: transform .15s ease, opacity .15s ease, border-color .15s ease;
}

.dtm-i18n-switcher__flag img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 20px !important;
		width: 20px!important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
}

.dtm-i18n-switcher__item:hover,
.dtm-i18n-switcher__item:focus {
    transform: translateY(-1px);
    text-decoration: none;
}

.dtm-i18n-switcher__item.is-active {
    border-color: rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.dtm-i18n-switcher__item.is-missing {
    opacity: .45;
}

.dtm-i18n-switcher__flag {
    font-size: 18px;
    line-height: 1;
}

.dtm-i18n-switcher__name {
    font-size: 13px;
}

.dtm-i18n-switcher--floating {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
}

.dtm-i18n-switcher--footer {
    display: flex;
    justify-content: center;
    padding: 18px 0;
}

.dtm-i18n-switcher__item.is-missing {
    cursor: default;
    pointer-events: none;
}


/* DTM local square flags - no remote Twemoji rendering */
.dtm-i18n-switcher__flag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

.dtm-i18n-switcher__flag img,
.dtm-i18n-switcher__flag .dtm-i18n-flag-img {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    border-radius: 3px !important;
    object-fit: cover !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dtm-i18n-switcher__item.is-missing .dtm-i18n-switcher__flag img {
    filter: grayscale(1) contrast(.9) brightness(.95) !important;
}
