.aii18n {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.aii18n_current {
    cursor: pointer;
    background: #4a6cf7;
    color: #fff;
    border-radius: 28px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4);
    transition: all 0.3s ease;
    user-select: none;
}

.aii18n_current:hover {
    background: #3b5de7;
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.5);
    transform: translateY(-2px);
}

.aii18n_current svg {
    flex-shrink: 0;
}

.aii18n_list {
    display: none;
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    background: #fff;
    border-radius: 12px;
    min-width: 140px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.aii18n_list::-webkit-scrollbar {
    width: 4px;
}

.aii18n_list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.aii18n_list_show {
    display: block;
    animation: aii18n_fadeIn 0.2s ease;
}

@keyframes aii18n_fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aii18n_list a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 10px 16px;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.aii18n_list a:last-child {
    border-bottom: none;
}

.aii18n_list a:hover {
    background: #4a6cf7;
    color: #fff;
}

.aii18n_list a:first-child {
    border-radius: 12px 12px 0 0;
}

.aii18n_list a:last-child {
    border-radius: 0 0 12px 12px;
}